ruslands/plugins/threads-publisher

Claude Code and agent skill by ruslands/plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks to "publish to Threads", "post to Threads", "use the Threads API", "get a Threads access token", or "find my Threads user id".

Install

npx vskill@latest install ruslands/plugins/threads-publisher

SKILL.md

The same SKILL.md was published earlier as ruslands/plugins/threads-publisher.

Threads Publisher

Use this skill for Threads publishing work through the official Threads Graph API.

Focus

  • Use the bundled scripts in this plugin before inventing ad hoc curl flows
  • Keep auth, token exchange, and publish requests aligned with official Threads API behavior
  • Verify whether the task needs only threads_basic and threads_content_publish or also additional permissions
  • Catch the 500 UTF-8 byte text limit before attempting to publish
  • Read drafts from either markdown sections or a table with Текст and Дата публикации columns

Bundled Files

  • scripts/threads-auth.mjs
  • scripts/threads-user.mjs
  • scripts/threads-post.mjs
  • .env.example
  • drafts/posts.md

Working Approach

  1. Read .env.local, use THREADS_ENV_FILE for an external env file, or ask the user for missing Threads app values.
  2. For auth and tokens:
  • use threads-auth.mjs auth-url
  • use threads-auth.mjs exchange-code
  • use threads-auth.mjs exchange-long-lived
  • use threads-auth.mjs refresh
  1. For user inspection:
  • use threads-user.mjs debug-token to extract user_id
  • use threads-user.mjs me and limit for profile and quota checks
  1. For publishing:
  • use threads-post.mjs list-drafts
  • use --drafts-file /absolute/path/to/posts.md when drafts live outside the plugin folder
  • use threads-post.mjs split for long drafts
  • use threads-post.mjs publish for text, image, or video posts
  1. Do not paste app secrets or long-lived tokens into tracked files.

Notes

  • Threads publishing still requires a Meta app and a user access token even for a single self-managed account.
  • user_id can be returned by the code exchange response or by debug-token.
  • Image and video publishing require public URLs.

Reference

  • Threads docs: https://developers.facebook.com/documentation/threads
  • Access tokens: https://developers.facebook.com/documentation/threads/get-started/get-access-tokens-and-permissions
  • Long-lived tokens: https://developers.facebook.com/documentation/threads/get-started/long-lived-tokens

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ruslands/plugins/threads-publisher/badge)](https://verified-skill.com/skills/ruslands/plugins/threads-publisher)

Something wrong with this skill or its page? Tell us.