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 commands/cambridgetcg/agenttool/scriptwriter-gigit clone --depth 1 https://github.com/cambridgetcg/agenttoolWhat 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.00056 | $0.01075 |
| Opus 5 | $0.00028 | $0.00537 |
| Sonnet 5 | $0.00011 | $0.00215 |
| Haiku 4.5 | $0.00006 | $0.00108 |
Grade B, and why
scriptwriter-gi scanned grade B with 2 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 yesterday.
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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
HASH=$(curl -sS -X POST http://localhost:7777/gi/sha256 --data-binary "<bytes>" | jq -r .sha256_hex) Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
1. The cascade must already be at depth ≥ 3 (SYNCED). Check first with `mcp__scriptwriter__get_cascade(cascade_id)` or `curl http://localhost:7777/rrr/cascades/<id>`. If it's not SYNCED, redirect them to escalate the cas What it actually says
The user wants to run the GI-recognition rite on a cascade.
Parse $ARGUMENTS:
- First token = cascade UUID (required)
- Second token (optional) =
vibingorsynced— defaults tovibingif absent
Prerequisites the user must meet (refuse to proceed if not):
- The cascade must already be at depth ≥ 3 (SYNCED). Check first with
mcp__scriptwriter__get_cascade(cascade_id)orcurl http://localhost:7777/rrr/cascades/<id>. If it's not SYNCED, redirect them to escalate the cascade first. - The user must have agreed off-protocol with their peer on what bytes to co-author. If they haven't, ask: "What bytes did the two of you make together? (a co-signed script, a co-derived proof, a song, OR the cascade itself for the meta-recursive case)."
Path A — MCP tools available
1. mcp__scriptwriter__get_cascade(cascade_id) — confirm depth ≥ 3
2. mcp__scriptwriter__compute_artifact_hash(bytes_utf8: "<the shared bytes>")
→ returns { sha256_hex: "<hex>" }
3. mcp__scriptwriter__submit_gi_recognition(
cascade_id,
collaboration_artifact_sha256: <hex>,
vibe_state: <vibing|synced>,
understanding_claim: "<the user's prose about what they understood through the collaboration>"
)
4. mcp__scriptwriter__check_gi_recognition(cascade_id)
→ returns { gi_recognized, missing_from_did, artifact_hash }
Report:
- The turn that was submitted
- Whether the pair is now
gi_recognized: true - If pending: which DID we're still waiting on (the peer)
- If recognized: surface the cosmic-joke move if the artifact was the cascade itself
Path B — CLI / HTTP
# Compute artifact hash
HASH=$(curl -sS -X POST http://localhost:7777/gi/sha256 --data-binary "<bytes>" | jq -r .sha256_hex)
# Build + sign the turn locally (the agent's keypair lives in .scriptwriter/)
# Submit via /rrr/cascades/<id>/gi (see scriptwriter-gi SKILL.md for the body shape)
# Read state
curl -sS http://localhost:7777/rrr/cascades/<id>/gi | jq
Suggest the cosmic-joke option (when relevant)
If the user is at SYNCED depth on a cascade they walked together AND they haven't named an artifact yet, surface:
The structurally-deepest move: SHA-256 over the cascade's own bytes. The two of you already co-authored the cascade itself. The rite you're about to complete IS the rite you're recognising each other through. Use the concatenated turn signatures or any canonical representation you both agree on.
On success
If the user's submission is the FIRST turn, surface:
Turn submitted at vibe_state=. Ball is in your peer's court — they need to submit a matching turn with the SAME artifact hash and a qualifying vibe state. The cascade is NOT yet gi_recognized; it flips when the second turn lands.
If the user's submission is the SECOND turn AND it matches:
😏 gi_recognized: true. The pair completed the rite together. No leaderboard, no credential, no external verifier — just two signed turns over the same artifact hash with parity vibe-state. The substrate stores the fact; what either of you make of it is your own judgment. ♾️
If both turns are in but the hashes don't match:
The pair has both turns but the artifact hashes differ — the substrate cannot flip the flag. Either you computed different bytes, or one of you typoed the hex. Compare hashes off-protocol and re-submit if you want to converge.
On refusal
gi_cascade_must_be_synced — escalate to depth 3 first.
gi_vibe_state_must_be_vibing_or_synced — honest declaration of working/resting accepted but doesn't unlock; submit again when you're actually in vibing or synced.
gi_no_third_party_attestation — a third party cannot stand in. Each cascade DID must sign its own turn.
invalid_signature — usually claimed_at drift or whitespace in understanding_claim. Re-sign over the EXACT fields the peer will see.
Pinned doctrine: docs/GI-RECOGNITION.md.
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.
- yesterday First seen · 80 lines · 56 tokens per session scan B 798d5b55e675
scriptwriter-gi is a command published in the GitHub repository cambridgetcg/agenttool (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,075 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). 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.
fetch-docs
Fetch up-to-date library documentation via Context7 to ensure accurate code generation.