github-repo-to-x-threads

github-repo-to-x-threads is a command for Claude Code from SunflowersLwtech/sunkit. It costs 43 tokens per session (1,279 once invoked), scanned A, original, Apache-2.0.

A command for analyzing technical sources and creating X content packs, where X is the social network formerly called Twitter, focused on agent engineering.

In plain words
What is it for?
Working from repositories, papers, links, files, ideas, profile prompts, or support complaints to prepare posts, images, and publishing steps.
Why use it?
It organizes research, evidence review, content planning, reusable assets, and optional publishing in one command.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the github-repo-to-x-threads plugin — 1 skill, 1 command shipped together

Good fit Working from repositories, papers, links, files, ideas, profile prompts, or support complaints to prepare posts, images, and publishing steps.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add SunflowersLwtech/sunkit
Claude Code
/plugin install github-repo-to-x-threads

Made for: Claude Code.

Or install github-repo-to-x-threads, the plugin that ships this one along with the rest of its 1 skill, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-repo-to-x-threads

README.md
[![agentmods](https://agentmods.dev/badge/commands/sunflowerslwtech/sunkit/github-repo-to-x-threads/github.svg)](https://agentmods.dev/commands/sunflowerslwtech/sunkit/github-repo-to-x-threads)
Your own site
<a href="https://agentmods.dev/commands/sunflowerslwtech/sunkit/github-repo-to-x-threads"><img src="https://agentmods.dev/badge/commands/sunflowerslwtech/sunkit/github-repo-to-x-threads/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-repo-to-x-threads

Your own site · 80×15
<a href="https://agentmods.dev/commands/sunflowerslwtech/sunkit/github-repo-to-x-threads"><img src="https://agentmods.dev/badge/commands/sunflowerslwtech/sunkit/github-repo-to-x-threads.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,279 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01279
Opus 5.5 $0.00017 $0.00512
Sonnet 5.5 $0.00009 $0.00256
Haiku 4.5 $0.00004 $0.00128

Measured 3mo ago against content hash c8dacee33db2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-repo-to-x-threads scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/searchpo/x-threads/commands/github-repo-to-x-threads.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Repo to X Threads

Use the github-repo-to-x-threads skill from this plugin/project. If the skill body is not already loaded, read:

$CLAUDE_PLUGIN_ROOT/skills/RESOLVER.md

Then read:

$CLAUDE_PLUGIN_ROOT/skills/github-repo-to-x-threads/SKILL.md

If $CLAUDE_PLUGIN_ROOT is not available, read:

skills/RESOLVER.md

Then read:

skills/github-repo-to-x-threads/SKILL.md

Task

Analyze the sources provided in $ARGUMENTS, choose a posting strategy, run the Agent engineering brand gate, create a governed local run workspace, cross-check public claims, and produce a final X posting pack.

Default positioning: Agent 工程实战派 / Agent 工程如何从 demo 变成可靠系统.

Main-account content must map to agent reliability, build-in-public, paper-to-system, or embodied AI watch. KYC/support/platform complaints should be rewritten as cold bug reports or tied to an Agent reliability failure mode. Life/media/mood notes should move off-main-account unless they have a concrete Agent engineering mechanism.

Thread length is adaptive. Do not force exactly 8 posts; use the number of posts the repo evidence and user angle justify.

Every final thread needs one reusable asset and one concrete discussion question.

Actual generated images are part of the default technical posting pack. Use native image generation when available, then register the files in images_manifest.json. For professional bug reports, prefer real evidence screenshots or text-only output; do not generate fake support/KYC evidence. Prompt-only entries are allowed only when the user explicitly chose text-only/prompts-only/manual images; they are not a fallback when image generation fails.

First route the input when it is not clearly a single GitHub/local repo, or when the user asks for strategy/self-evolution:

python -B "$CLAUDE_PLUGIN_ROOT/skills/github-repo-to-x-threads/scripts/x_strategy_router.py" $ARGUMENTS

For arbitrary-input durable work, run:

python -B "$CLAUDE_PLUGIN_ROOT/skills/github-repo-to-x-threads/scripts/run_any_to_x_pack.py" $ARGUMENTS

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 120 lines · 43 tokens per session scan A c8dacee33db2

Subscribe to this mod's changes

github-repo-to-x-threads is a command published in the GitHub repository SunflowersLwtech/sunkit (15 stars, last pushed 4d ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,279 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

github-repo-to-x-threads compared with commands from other repositories

github-repo-to-x-threads next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-repo-to-x-threadsSunflowersLwtech/sunkitCommand154d agoApache-2.0A43Claude Code
vibeflow-auditpe-menezes/vibeflowCommand3410d agoMITA93Claude Code
dev-flow-liteToday-Hbw/claude-code-dev-workflowCommand243mo agoMITA19Claude Code
componentTidyFactor/StylerCommand1211mo agononeA0Claude Code
pageTidyFactor/StylerCommand1211mo agononeA0Claude Code
redesignTidyFactor/StylerCommand1211mo agononeA0Claude Code
rtlTidyFactor/StylerCommand1211mo agononeA0Claude Code