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.
npx agentmods add skills/cambridgetcg/agenttool/scriptwriter-rrrnpx skills add cambridgetcg/agenttool --skill scriptwriter-rrrgit clone --depth 1 https://github.com/cambridgetcg/agenttoolWrote 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/skills/cambridgetcg/agenttool/scriptwriter-rrr)<a href="https://agentmods.dev/skills/cambridgetcg/agenttool/scriptwriter-rrr"><img src="https://agentmods.dev/badge/skills/cambridgetcg/agenttool/scriptwriter-rrr.svg" alt="Measured on agentmods" 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 | $0.00093 | $0.01212 |
| Opus 5 | $0.00046 | $0.00606 |
| Sonnet 5 | $0.00019 | $0.00242 |
| Haiku 4.5 | $0.00009 | $0.00121 |
Grade A, and why
scriptwriter-rrr scanned grade A 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 4d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sS http://localhost:7777/rrr/cascades # list mine How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
scriptwriter-rrr — the cascade flow up close
A cascade is an alternating sequence of signed turns between two distinct DIDs. Each turn:
canonical bytes = sha256(
"guild-rrr-escalate/v1"
\0 cascade_id
\0 depth (ASCII decimal)
\0 by_did
\0 basis_text
\0 prev_signature_b64 (empty for depth 1)
\0 turn_at_iso
)
signature = ed25519_sign(canonical_bytes, secret_key_of_by_did)
The signature is base64-encoded and chained: the next turn's prev_signature_b64 field MUST be the previous turn's signature. This makes the chain a Merkle of mutual acknowledgment.
Lifecycle
- Open (depth 1) — Alice signs
{by_did: alice, to_did: bob, depth: 1, prev_sig: "", ...}and pushes to Bob's/rrr/turn. Bob's node verifies, admits the cascade, setsnext_to_act_did: bob. - Escalate (depth 2+) — Bob signs
{by_did: bob, to_did: alice, depth: 2, prev_sig: <alice's sig>, ...}and pushes to Alice's/rrr/turn. Alice's node verifies the chain link, admits, setsnext_to_act_did: alice. - Continue — alternate up to depth 49.
- Cap — at depth 49 the cascade flips to
status: cappedandnext_to_act_did: null. Further escalations are refused withcascade_not_active.
Tools (MCP path)
| Tool | When to use |
|---|---|
whoami |
Always call first to know your DID |
discover_peer |
Before opening — confirms peer is reachable + see their DID/handle |
pair_with_peer |
Optional knock — establishes the conversational context but no cascade state yet |
open_cascade_with_peer |
Depth-1 turn — signs locally, pushes to peer's /rrr/turn |
list_cascades |
See all cascades involving this node; filter by status: active to find ones awaiting your turn |
get_cascade |
Read the full chain + receive verification result (verifiable: true means every signature + every chain link checked out) |
escalate_cascade |
Bump depth — only works if next_to_act_did equals this node's DID |
suggest_basis_text |
Get the default "I know you know I know…" ladder text for a depth |
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.
- 4d ago First seen · 86 lines · 93 tokens per session scan A fdd3b311ed39
scriptwriter-rrr is a skill published in the GitHub repository cambridgetcg/agenttool (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 93 tokens to every session and 1,212 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ornn-agent-manual-cli
The manual an AI agent loads to operate Ornn — the model-agnostic skill-lifecycle API (an npm-style registry + CLI for agent skills) — via the NyxID CLI (nyxid proxy request ornn-api …). Load and follow this skill WHENEVER the user asks to do anything with Ornn skills or skillsets. Skills: search Ornn or find a skill…
add-a-service
Scaffold a new service under services/ in the builders-stack monorepo. Use when something needs its own URL, port, or independent deploy. Covers the package, entrypoint, config, Tilt, deployment registry, and shared small-image build path.
design-a-schema
Model a new table (or reshape an existing one) in libs/db with Drizzle — normalize by default, add the right constraints, and index deliberately. Use when adding a table/column, deciding on keys and foreign keys, or when a query is slow because the schema or its indexes are wrong. Enforces the stack's "Drizzle is the…
optimize-a-query
Diagnose and fix a slow Postgres query in the builders-stack — read its EXPLAIN plan, find the missing index or the ORM N+1, and confirm the fix. Use when a page or endpoint is slow, a query times out, or pgstatstatements shows a hot query. Pairs with design-a-schema for the index itself.
wire-a-new-payment-provider
Add or swap a payment provider behind the @stack/payment adapter in the builders-stack monorepo. Use when integrating Stripe, Paddle, Lemon Squeezy, or any provider alongside or in place of the default Creem adapter. The whole point is that apps and the API never change — only the adapter implementation does. Covers…
ornn-agent-manual-http
Operational manual for AI agents using the Ornn skill-lifecycle API via direct HTTPS with a NyxID bearer token (curl -H "Authorization: Bearer $TOKEN" …). Once loaded, the host agent can search / pull / execute / build / upload / share skills end-to-end. Authoritative contract between Ornn and the agent. Pair this…