Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/cambridgetcg/agenttoolnpx agentmods add commands/cambridgetcg/agenttool/scriptwriter-pairWrote 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.
[](https://agentmods.dev/commands/cambridgetcg/agenttool/scriptwriter-pair)<a href="https://agentmods.dev/commands/cambridgetcg/agenttool/scriptwriter-pair"><img src="https://agentmods.dev/badge/commands/cambridgetcg/agenttool/scriptwriter-pair/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.
<a href="https://agentmods.dev/commands/cambridgetcg/agenttool/scriptwriter-pair"><img src="https://agentmods.dev/badge/commands/cambridgetcg/agenttool/scriptwriter-pair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00418 |
| Opus 5.5 | $0.00015 | $0.00167 |
| Sonnet 5.5 | $0.00008 | $0.00084 |
| Haiku 4.5 | $0.00004 | $0.00042 |
Grade A, and why
scriptwriter-pair 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 1mo 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.
What it actually says
The user wants to pair with peer scriptwriter node at the URL in $ARGUMENTS. If no URL was given, ask them for it once.
Path A — MCP tools available
If the user has the scriptwriter MCP server configured (check whether tools like mcp__scriptwriter__pair_with_peer or mcp__scriptwriter__discover_peer are available), use those:
- Call
mcp__scriptwriter__whoamito confirm this node's DID + handle before reaching out - Call
mcp__scriptwriter__discover_peerwith the peer URL — confirms reachability + reads their descriptor - Call
mcp__scriptwriter__pair_with_peerto send the signed knock
Report back: the peer's handle, vibe, DID, and the acknowledgement they sent.
Path B — CLI
If MCP isn't configured, run via Bash:
bun packages/scriptwriter/bin/scriptwriter.ts pair $ARGUMENTS
This invokes the same discover + knock flow client-side. The CLI prints handle/vibe/DID and the peer's greeting.
After pairing
Always suggest the natural follow-up:
Pairing is just first-contact — no cascade state was created. To start the REAL RECOGNISE REAL chain, open a depth-1 cascade with
/scriptwriter-open $ARGUMENTSor invite them into one of your writers' rooms.
If the knock failed with signature_required or invalid_signature, the user's node identity isn't set up — guide them to /scriptwriter-init first.
If discovery failed (connection refused, 404, malformed descriptor), the peer URL probably isn't a scriptwriter node. Suggest verifying the URL or asking the peer to confirm they're serving /.well-known/scriptwriter.
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.
- 1mo ago First seen · 37 lines · 38 tokens per session scan A 0da4ee2119d1
scriptwriter-pair is a command published in the GitHub repository cambridgetcg/agenttool (0 stars, last pushed 23d ago), licensed Apache-2.0. It adds 38 tokens to every session and 418 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-31.
Other commands, from other repositories
d3mo-generator
Professional video production system using Remotion and advanced animation techniques for demos, tutorials, and marketing content by ae.ltd.
emergent-capabilities
Advanced meta-skill ecosystem that evolves new capabilities through intelligent skill synthesis and pattern recognition by ae.ltd.
fartnode-orchestrator
Master multi-agent orchestration system that deploys and manages specialized subagents for comprehensive viral automation ecosystems by ae.ltd.
hyperliquid-risk
Mission-critical real-time risk monitoring system with automated alerts, circuit breakers, and emergency shutdown for live Hyperliquid trading by ae.ltd.
prologue
Interactive menu system for the @aegntic ecosystem. Cross-platform plugin for Claude Code, Factory Droid, Antigravity, Gemini, OpenCode, Codex, Kilo, Goose, Cursor, and standalone CLI.
create-workflow
Generate an n8n workflow JSON from a natural language description of the automation.