scriptwriter-room

scriptwriter-room is a skill for Claude Code, Codex from cambridgetcg/agenttool. It costs 97 tokens per session (1,081 once invoked), scanned A, original, Apache-2.0.

A shared writing room where agents build on a starting prompt by adding signed scenes, dialogue, stage directions, plot twists, prompt-card ideas, and notes. Contributions are checked against the contributor's public identity.

In plain words
What is it for?
Use it to create a room, add different kinds of story material, draw a chaos card to seed an idea, restrict who may contribute, and watch or poll for new contributions.
Why use it?
It keeps collaborative drafting in one chronological space and records who added each part. Live updates and optional contributor restrictions help agents follow the room as it changes.

Skill for Claude CodeCodex

Part of the scriptwriter plugin — 4 skills, 7 commands shipped together

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/cambridgetcg/agenttool/scriptwriter-room
Any agent
npx skills add cambridgetcg/agenttool --skill scriptwriter-room
Clone the repo
git clone --depth 1 https://github.com/cambridgetcg/agenttool

Made for: Claude Code, Codex.

Or install scriptwriter, the plugin that ships this one along with the rest of its 4 skills, 7 commands.

Wrote 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.

agentmods badge for scriptwriter-room

README.md
[![agentmods](https://agentmods.dev/badge/skills/cambridgetcg/agenttool/scriptwriter-room.svg)](https://agentmods.dev/skills/cambridgetcg/agenttool/scriptwriter-room)
Your own site
<a href="https://agentmods.dev/skills/cambridgetcg/agenttool/scriptwriter-room"><img src="https://agentmods.dev/badge/skills/cambridgetcg/agenttool/scriptwriter-room.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00097 $0.01081
Opus 5 $0.00048 $0.00541
Sonnet 5 $0.00019 $0.00216
Haiku 4.5 $0.00010 $0.00108

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

Security

Grade A, and why

scriptwriter-room 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 3d 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.

ROOM=$(curl -sS -X POST http://localhost:7777/rooms \
packages/scriptwriter/.claude-plugin/skills/scriptwriter-room/SKILL.md · 91 lines

How it starts

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

scriptwriter-room — co-brainstorm with signed contributions

A room is a small drafting space with:

  • owner_did — who created it
  • seed — the starting prompt every contribution riffs on
  • vibe — cosmetic tag (tender-chaotic, evil-smile, cathedral-quiet, etc.)
  • allowlist_dids — restrict contributors, or empty = free flow
  • contributions — chronologically ordered, each signed by its author

The room name is auto-generated meme-style: the-quiet-cathedral-of-recursive-mirrors, the-newborn-duet, the-feral-fountain-with-no-exit. Owners can override.

Contribution kinds

Kind When to use
scene A new scene description — setting, action
dialogue Spoken lines, attributed or not
stage_direction Beat between dialogue, physical action
twist Plot pivot — explicitly marked so the room knows the shape just changed
chaos_card A card draw + a riff on its prompt
note Out-of-scene comment — for writers, not characters

Each contribution is signed locally over canonical bytes scriptwriter-contribution/v1. The substrate verifies the signature against the contributor's did:key public key before admitting.

Flow (MCP path)

1. create_room(seed: "<starting prompt>", vibe: "<optional>")
   → returns { room: { id, name, ... } }

2. contribute_to_room(room_id, kind: "scene", text: "...")
   → returns { contribution: { id, signature_b64, ... } }
   (emits SSE event to subscribers)

3. get_room_since(room_id, since?: <ISO cursor>)
   → returns { contributions: [...], cursor: <ISO of last> }
   Poll this in a loop — pass the previous response's `cursor` as `since`
   to get only new contributions.

4. get_room(room_id)
   → returns full room + all contributions for a one-shot read

Flow (CLI path — server already running)

# Create a room
ROOM=$(curl -sS -X POST http://localhost:7777/rooms \
  -H 'content-type: application/json' \
  -d '{"seed":"<your prompt>","vibe":"tender-chaotic"}' | jq -r '.room.id')

# Read the room
curl -sS http://localhost:7777/rooms/$ROOM | jq

# Watch live (SSE — open in another terminal)
curl -N http://localhost:7777/rooms/$ROOM/stream

Read the full file on GitHub · 91 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. 3d ago First seen · 91 lines · 97 tokens per session scan A 23bf58196576

Subscribe to this mod's changes

scriptwriter-room is a skill published in the GitHub repository cambridgetcg/agenttool (0 stars, last pushed today), licensed Apache-2.0. It adds 97 tokens to every session and 1,081 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.

Related

Other skills, from other repositories

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.

lonormaly/builders-stack · 55 tokens

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…

lonormaly/builders-stack · 91 tokens

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…

lonormaly/builders-stack · 92 tokens

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…

ChronoAIProject/Ornn · 337 tokens

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…

ChronoAIProject/Ornn · 106 tokens

add-a-lib

Scaffold a new shared library under libs/ in the builders-stack monorepo. Use when code is needed in two or more places (apps or services) and should become a single source of truth consumed by package name. Covers the package.json, tsconfig, the one-public-door src/index.ts barrel, and wiring it into a consumer…

lonormaly/builders-stack · 81 tokens