
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
agentic-repurpose
Advanced tools
Local content repurposing for X, LinkedIn, Instagram, and Reddit with six text templates, a TypeScript SDK, CLI, and MCP server.
agentic-repurpose is an open-source content repurposing library that creates text drafts for developers. Six deterministic templates produce social captions, outlines, and scripts. It runs locally through TypeScript, a command-line interface, or Model Context Protocol (MCP).
npm install agentic-repurpose
Requires Node.js 18 or later. The package includes TypeScript declarations and has two direct runtime dependencies.
Run this command after installation. No credentials, environment variables, or .env loader are required.
npx agentic-repurpose repurpose --text "A useful source." --platforms linkedin,x-thread
Success prints JSON with dryRun: true and two variants. Each variant includes content, disclosure, a truncation report, and a score.
import { repurpose, scoreVariant } from "agentic-repurpose";
const [draft] = repurpose("A useful source.", ["linkedin"]);
console.log(draft.content);
console.log(scoreVariant(draft));
The second output has score: 100 and the reason within platform limits and disclosed.
Text / listing fields / loaded file or URL
|
Fixed text templates
|
Hashtags + truncation + disclosure
|
Drafts + reports + scores
URL loading returns the response body as text. It does not extract article content from HTML.
Developers can generate predictable drafts inside their own tools. Buffer handles scheduling; Repurpose.io handles distribution workflows. This package provides local text transformations.
Scope checked on 2026-10-14 using the linked product documentation.
| Scope | agentic-repurpose | Buffer | Repurpose.io |
|---|---|---|---|
| Primary operation | Local text templates | Compose, schedule, publish posts | Transform and distribute content |
| Workflow configuration | SDK arguments or CLI flags | Publishing interface | Connected source and destination accounts |
| Format or destination | Local draft | Publishing integration |
|---|---|---|
X (Twitter), x-thread | ✓ | — |
LinkedIn, linkedin | ✓ | — |
Instagram, instagram-caption | ✓ | — |
Carousel outline, carousel-outline | ✓ | — |
Short video script, short-video-script | ✓ | — |
Reddit, reddit-post | ✓ | — |
The source registry has six templates and zero social publishing integrations. Local tests cover generation; no platform credentials are checked.
The Node.js SDK exports generation, source loading, scoring, text statistics, routing, guards, logging, and session cost helpers.
CLI commands: repurpose, costs, and mcp. Help uses --help or -h; version uses --version or -V.
repurpose accepts --text, --file, --platforms, --dry-run, and --live --approve.
The CLI defaults to dry-run. Live requires approval but still only generates drafts.
npx agentic-repurpose mcp
MCP exposes exactly two tools: repurpose and score_variant. Its repurpose tool requires approved: true when live: true.
The repository also contains a Worker handler with GET /health and POST /repurpose.
It is source code for deployment by the user, rather than a managed endpoint or package export.
Generation uses fixed templates, without a language-model API. It does not publish, schedule, render media, or create separate thread posts. The X template caps the entire draft at 280 JavaScript string units.
Scores check disclosure, length, and truncation. They do not predict engagement or validate platform acceptance. URL loading has no built-in retry or timeout configuration. Generic HTTP routing defaults to a ten-second timeout and has no retries.
Local routing returns a receipt without external delivery. HTTP routing sends { text } to a caller-supplied endpoint.
Cost reports store in-memory units, rather than vendor billing totals. Draft generation does not record cost entries.
Use the SDK example for Node.js applications. Use the MCP command for clients that support stdio servers.
For local files, run npx agentic-repurpose repurpose --file source.txt --platforms linkedin.
No public documentation site is configured in the repository metadata.
Version 0.1.0 is an early release; interfaces can change. Report problems through GitHub issues. Public case studies are not yet published in this repository.
agentic-repurpose is a local text draft generator. It offers six fixed templates through an SDK, CLI, and MCP server.
agentic-repurpose has six locally tested templates. It has no credential-verified social publishing integrations.
agentic-repurpose provides local code. Users run the package and deploy any endpoints themselves.
agentic-repurpose generates local drafts. Buffer provides post scheduling and publishing.
agentic-repurpose transforms supplied text through fixed templates. Repurpose.io connects content sources and destinations for distribution workflows.
agentic-repurpose does not call a model provider. Its output comes from fixed templates, despite the disclosure wording.
agentic-repurpose exports loadSource for HTTP URLs. It returns raw response text; the CLI accepts text or files.
agentic-repurpose requires explicit approval for the CLI and MCP live flags. Those paths still generate drafts without social delivery.
MIT.
FAQs
Local content repurposing for X, LinkedIn, Instagram, and Reddit with six text templates, a TypeScript SDK, CLI, and MCP server.
The npm package agentic-repurpose receives a total of 0 weekly downloads. As such, agentic-repurpose popularity was classified as not popular.
We found that agentic-repurpose demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.