x-promoter

x-promoter is a skill for Claude Code from korbinjoe/TeemAI. It costs 114 tokens per session (1,272 once invoked), scanned C, original, MIT.

A workflow that turns a public GitHub repository into a draft or posted X (formerly Twitter) post. It summarizes the repository, creates short post variations, and can publish one post or a thread after approval.

In plain words
What is it for?
Use it to summarize GitHub projects, draft up to 280-character X posts or threads, and publish approved drafts through a saved browser login.
Why use it?
It separates drafting from publishing, so you can review the proposed text before anything is posted publicly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to summarize GitHub projects, draft up to 280-character X posts or threads, and publish approved drafts through a saved browser login.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/korbinjoe/teemai/x-promoter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add korbinjoe/TeemAI --skill x-promoter
Clone the repo
git clone --depth 1 https://github.com/korbinjoe/TeemAI

Made for: Claude Code.

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 x-promoter

README.md
[![agentmods](https://agentmods.dev/badge/skills/korbinjoe/teemai/x-promoter/github.svg)](https://agentmods.dev/skills/korbinjoe/teemai/x-promoter)
Your own site
<a href="https://agentmods.dev/skills/korbinjoe/teemai/x-promoter"><img src="https://agentmods.dev/badge/skills/korbinjoe/teemai/x-promoter/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 x-promoter

Your own site · 80×15
<a href="https://agentmods.dev/skills/korbinjoe/teemai/x-promoter"><img src="https://agentmods.dev/badge/skills/korbinjoe/teemai/x-promoter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00114 $0.01272
Opus 5 $0.00057 $0.00636
Sonnet 5 $0.00023 $0.00254
Haiku 4.5 $0.00011 $0.00127

Measured 12d ago against content hash 68f850a55cf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

x-promoter scanned grade C with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/draft-tweet.sh, scripts/post-tweet.mjs, scripts/post-tweet.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.teemai/browser-profiles/x
ai-assets/skills/x-promoter/SKILL.md · 95 lines

How it starts

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

x-promoter — GitHub repo → X tweet

This skill is the end-to-end primitive the growth-marketer agent composes. Other agents may call the individual scripts directly when they only need one phase.

Primitives

Script Input Output
scripts/summarize-repo.sh <repoUrl> A https://github.com/<owner>/<repo> URL Structured JSON on stdout
scripts/draft-tweet.sh --summary <path> [--lang en|zh] [--thread] [--style hook|narrative] A summary JSON file Markdown draft at ~/.teemai/agents/growth-marketer/drafts/<owner>-<repo>-<ts>.md
scripts/post-tweet.sh --draft <path> [--variant A|B|C] [--confirm] A draft markdown file Without --confirm: prints would post: <body> (exit 11). With --confirm: posts via Playwright, prints permalink URL on success (exit 0)

Defaults that matter

  • Draft-then-approve. post-tweet.sh is a dry-run unless --confirm is passed. There is no global override.
  • Persistent profile. The Playwright user-data dir is ~/.teemai/browser-profiles/x/. Log in once interactively; cookies persist across runs. The dir is created with mode 0700 and walked to restrict every file to owner-only.
  • Headed by default. post-tweet.mjs launches Chromium with headless: false because X aggressively challenges headless contexts. Override by exporting X_HEADLESS=1 only if you have verified your account is not gated.
  • Locale-aware selectors. Composer / Add-post / Post / View link locators use ARIA-name regexes that cover English, Chinese (zh-CN), Japanese, and Korean X UIs. If your X interface is in another locale and a selector fails (exit 20), extend the regex bank in scripts/post-tweet.mjs rather than switching to CSS selectors.
  • No credential reads. The skill never asks for or stores a password, an API token, or a session cookie. Only the browser profile dir holds session state.
  • One post per invocation. The post script posts exactly one tweet (or one thread) and exits. No queues, no scheduling, no retry loops.
  • ARIA-role selectors only. Composer / Post button are located by getByRole, never CSS class names — X's classes rotate, ARIA roles survive redesigns longer.

Read the full file on GitHub · 95 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 95 lines · 114 tokens per session scan C 68f850a55cf2

Subscribe to this mod's changes

x-promoter is a skill published in the GitHub repository korbinjoe/TeemAI (2 stars, last pushed 2mo ago), licensed MIT. It adds 114 tokens to every session and 1,272 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

starting-a-new-project

Use when the workspace is empty — no code yet — and the user brings a raw idea: the brand-new branch of setting-up-a-project, normally reached via that dispatcher, directly only when the situation is unmistakable. Not for features in an existing project — use brainstorming instead.

JetBrains/thinkrail · 61 tokens

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

agent-spec-estimate

An effort-estimation method for agent-spec Task Contracts, which are structured descriptions of software work. It estimates work in rounds, meaning cycles of an AI agent doing and checking tasks.

ZhangHanDong/agent-spec · 116 tokens

brainstorming

Use this BEFORE any creative or feature work: building a new feature, adding functionality, changing behavior, or making a nontrivial design decision. Turns the user's request into a validated design — recorded as a spec-graph task-spec — before any implementation. Do not skip this because a change looks small.

JetBrains/thinkrail · 65 tokens

reviewing-changes

Use when a review package asks you to review a plan step's change set (todo.startReview): you are the REVIEWER, not the author. How to judge an agent-written diff, file findings with addreviewcomment, and settle with exactly one reviewverdict.

JetBrains/thinkrail · 59 tokens