content-repurposing

Browser scripts and workflows that turn existing X/Twitter posts into related content formats.

In plain words
What is it for?
Find top-performing posts, create thread outlines, summaries, numbered tweet storms, blog outlines, quote-post templates, and content-calendar or posting-schedule analyses.
Why use it?
They reduce the work of creating new material from posts that have already performed well.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nirholas/xactions/content-repurposing
Any agent
npx skills add nirholas/XActions --skill content-repurposing
Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions

Made for: Claude Code, Codex.

Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00062 $0.00907
Opus 5 $0.00031 $0.00453
Sonnet 5 $0.00012 $0.00181
Haiku 4.5 $0.00006 $0.00091

Measured 2d ago against content hash 25fc5407efa5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

content-repurposing 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 2d 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.

skills/content-repurposing/SKILL.md · 90 lines

How it starts

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

Content Repurposing

Browser scripts and MCP workflows for identifying top content and generating repurposed variations.

Script Selection

Goal File Navigate to
Repurpose tweets (5 formats) src/contentRepurposer.js x.com/USERNAME
Compose threads from ideas src/threadComposer.js x.com/USERNAME
Content calendar analysis src/contentCalendar.js x.com/USERNAME
Find top-performing content src/tweetPerformance.js x.com/USERNAME
Optimize posting schedule src/tweetScheduleOptimizer.js x.com/USERNAME

Content Repurposer

File: src/contentRepurposer.js

The main repurposing engine. Scans your timeline, then converts any tweet into 5 content formats.

Controls

  • XActions.scan() -- Scrape tweets from current page
  • XActions.list() -- Show all scraped tweets with indices
  • XActions.toThread(i) -- Convert tweet to thread outline
  • XActions.toSummary(i) -- Condense to punchy summary variations
  • XActions.toStorm(i) -- Break into numbered tweet storm
  • XActions.toBlog(i) -- Generate blog/article outline with SEO keywords
  • XActions.toQuoteTemplates(i) -- Create 3 quote-retweet variations
  • XActions.all(i) -- Run ALL 5 repurposing strategies
  • XActions.export() -- Download all repurposed content as JSON

Repurposing Formats

Format Best For Output
Thread Deep dives, tutorials Hook + body parts + CTA
Summary Time-sensitive repost 3 punchy variations
Storm Long content splitting Numbered 1/N tweets
Blog SEO content, articles Title + sections + keywords
Quote Templates Engagement farming Agreement/personal/contrarian takes

MCP Workflow

  1. Call x_get_tweets with limit: 100 for the target account
  2. Call x_get_profile to get follower count for rate calculation
  3. Rank by engagement rate: (likes + RTs + replies) / followers * 100
  4. For top 5, generate variations using the content repurposer patterns

Read the full file on GitHub · 90 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. 2d ago First seen · 90 lines · 62 tokens per session scan A 25fc5407efa5

Subscribe to this mod's changes

content-repurposing is a skill published in the GitHub repository nirholas/XActions (496 stars, last pushed 5d ago), licensed Apache-2.0. It adds 62 tokens to every session and 907 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

the-open-agent/openagent · 22 tokens

browser-test

Validate a feature works by driving a real browser with Playwright MCP. No test files — just interactive verification.

langwatch/langwatch · 25 tokens

browser-pair

Collaborative headed browser session for UI work. Launch Playwright Chromium visible to the user, handle auth, then interactively drive the browser while the user watches and gives real-time visual feedback. Edit code and refresh to verify fixes live. Use when the user says 'browser pair', 'paired browser', 'let's…

langwatch/langwatch · 87 tokens

debug-frontend-with-browser

Frontend diagnosis extension for the acceptance skill. Use for intermittent rendering, ordering, stale-state, navigation, virtual-list, React/Zustand, optimistic-update, refresh-dependent, or browser-only failures where the first broken boundary may be DOM, component input, derived state, client cache, network data…

lobehub/lobehub · 118 tokens

design-prototype

Produce an interactive single-file HTML design prototype using the REAL LobeHub design system (@lobehub/ui + antd + antd-style tokens) with production-style React — no build step, opens directly in a browser. Use when asked for a design prototype / interactive mockup / 交互原型 / 出个原型 / 设计稿 HTML for a page or flow, or to…

lobehub/lobehub · 92 tokens

share

Use when a user needs a browser-accessible link to preview, present, or send Agent-generated workspace files, an entire project, or the current topic outside Super Magic—especially rendered output such as HTML that messaging or file-viewing channels cannot display directly—or when they need to find, reuse, change, or…

dtyq/magic · 69 tokens