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 skills add Cratis/AI --skill cratis-screenplay-streams-and-consistencygit clone --depth 1 https://github.com/Cratis/AIWrote 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/cratis/ai/cratis-screenplay-streams-and-consistency)<a href="https://agentmods.dev/skills/cratis/ai/cratis-screenplay-streams-and-consistency"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-streams-and-consistency/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/skills/cratis/ai/cratis-screenplay-streams-and-consistency"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-streams-and-consistency.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.00052 | $0.01009 |
| Opus 5.5 | $0.00021 | $0.00404 |
| Sonnet 5.5 | $0.00010 | $0.00202 |
| Haiku 4.5 | $0.00005 | $0.00101 |
Grade A, and why
cratis-screenplay-streams-and-consistency 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 28 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Choose an identity and protect its decisions
Default to one business identity per stream. Keep related IDs in the payload only when a consumer needs them. For example, an enrollment stream answers “Is this member enrolled in this course?” A seat-limit change belongs to the course, even when both facts refer to it.
- List the writers. Inspect every command, reaction and capture that writes the history. Give each identifier an identity sentence and each event a reason to belong. Use stream patterns for the membership table, split criteria, fact granularity and lifecycle. For unresolved decisions, use the interview; ask one missing question at a time. Record an unattended assumption as
ASSUMEDin modeldocumentationand the ignoredSTATE.md. - Place each rule at its authoritative decision point. Fill the invariant table. Use validation for rules on inputs alone, a named constraint covering all writers for uniqueness, and
reads <View>under rootcommand reads protectedfor an admitted state-dependent rule. Never substitute caller assertions or unguarded view reads. If protection is unavailable, keep the rule visible as intent, mark it NOT enforced in the slice description, record the missing guarantee, race and intended mechanism in slicedocumentation, and assign an owner inSTATE.md. Never weaken authorization,piiorsecretto pass a tool. - Specify a race, a retry and a duplicate for each rule. For a lost reply, reuse the operation identity chosen before the first attempt. A
generated identifieris fresh per accepted operation, not deduplication. Useunique eventonly for a genuinely once-only fact; use a value constraint for a claim across sources. See the worked enrollment model for a competing claim, release and an explicitly unprotected rule. Use the review questions to challenge the outcome. - Separate identity from storage and views. Use Chronicle boundaries for routing, tenancy, privacy and target guarantees, stream ID rules for typed route sources and view keys when a view needs its own key. Keep
piiandsecretoff identities; use surrogate IDs and protected payload. A narrowed caller-supplied concurrency scope and a strategy-issued scope behave differently on their first append; use the first-append check in the invariant reference rather than assuming either succeeded.
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- LICENSE 2.0 KB
- references/boundaries.md 14 KB
- references/chronicle-boundaries.md 3.6 KB
- references/consistency-and-concurrency.md 17 KB
- references/evolution-example.md 3.1 KB
- references/evolution.md 9.2 KB
- references/interview-batch.md 1.4 KB
- references/multi-service-models.md 8.9 KB
- references/neighbouring-skills.md 1.0 KB
- references/read-model-keys.md 3.1 KB
- references/review-questions.md 772 B
- references/stream-id-rules.md 1.7 KB
- references/stream-patterns.md 16 KB
- references/streams-example.md 17 KB
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.
- today Changed · -177 lines · +11 tokens per session f25972af10d7
- 17d ago Changed · +2 lines 7034bdc52448
- 1mo ago Changed · -86 tokens per session d4cf41ceb05c
- 1mo ago Changed · +3 lines 634db313b38a
- 1mo ago Changed · +2 lines e842d56d0b07
- 1mo ago Changed 8420cb336aa8
- 1mo ago Changed · +6 lines 18304c470928
- 1mo ago Changed · +1 lines 1912c0b2c4f1
- 1mo ago Changed · -54 lines 66d95d17cb60
- 1mo ago First seen · 245 lines · 127 tokens per session scan A 815530e64896
cratis-screenplay-streams-and-consistency is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,009 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-10-07.
cratis-screenplay-streams-and-consistency compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cratis-screenplay-streams-and-consistencyCratis/AI | Skill | 4 | today | MIT | A | 52 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |