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-model-interactiongit 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-model-interaction)<a href="https://agentmods.dev/skills/cratis/ai/cratis-screenplay-model-interaction"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-model-interaction/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-model-interaction"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-model-interaction.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.01090 |
| Opus 5.5 | $0.00021 | $0.00436 |
| Sonnet 5.5 | $0.00010 | $0.00218 |
| Haiku 4.5 | $0.00005 | $0.00109 |
Grade A, and why
cratis-screenplay-model-interaction 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bind the Add author form and authors list
Use the command and observable query from declaring the Authors slice. In the existing model/Authors/registration.play, insert the form directly under module Library. Insert each screen block inside the existing slice that owns its command or query, alongside those declarations. The headers below show placement; do not redeclare the slices in another file.
- Bind the form to
RegisterAuthorand label the editable name. Do not add anidfield. The AddAuthor dialog (cratis-components-submit-formskill incratis/components) initializes the generated command with a fresh ID. - Make Add a screen action: it does not require a selected row. Navigate to Authors only after successful submission.
- Bind the list to
AllAuthorsso the screen uses the modeled collection instead of a second local list.
module Library
form AddAuthorForm for RegisterAuthor
field name label "Name"
feature Authors
slice StateChange RegisterAuthor
screen AddAuthor
action RegisterAuthor for screen
label "Add"
navigate to Authors
slice StateView ListAuthors
screen Authors
data Author[] via query AllAuthors
title "Authors"
toolbar authorActions
item addAuthor navigate to AddAuthor
label "Add author"
From the directory containing model, run screenplay export model --format ui --output screens.json. In screens.json, verify the Authors screen title, the toolbar item's AddAuthor destination, the Add action's RegisterAuthor command and Authors destination, and the live AllAuthors data binding. Check the form separately in registration.play: form AddAuthorForm for RegisterAuthor binds the editable name; a screen export alone need not contain the form declaration.
Choose a row gesture when the action is to inspect a specific record. Bind the screen's collection with data Author[] via query AllAuthors. Put the interaction on the table displaying that collection, not at screen level. With an existing AuthorDetails screen whose input is authorId, pass the activated row's key explicitly:
screen Authors
data Author[] via query AllAuthors
table AuthorRows
column name
on double click
navigate to AuthorDetails
with authorId from item.id
For an action for item, explicit bindings win, then compatible case-sensitive field names. A required non-generated scalar identifier may use a single key of the same nominal concept. Two UUIDs are not interchangeable just because they share a primitive. Where several collections could supply the subject, narrow to one displayed table or bind explicitly. Never choose the first row to resolve ambiguity.
If the command returns registeredAuthorId, pass it to the destination with with authorId from registeredAuthorId under the navigate to AuthorDetails action. Put the navigation in the form's on submit block. If the interaction issues the command directly with execute <Command>, put the navigation in its on success block. Use the bare returned name, not $response.registeredAuthorId, and check that the target renderer binds it. A failed submission has no returned value; do not read an old selection as a substitute.
For conditional actions, the first matching when wins. An otherwise branch is not a way to run a row action with no row. A change handler should act on the changed item, not the previous selection. A visibility guard is never the command's authorization policy.
For a template, a performer-backed query or a renderer discrepancy, check composition and provider boundaries. For a C# attachment, see snapshot and live performer bodies.
For a decision that generates an identifier, attaches code, or compares time-sensitive inputs, choose the command contract before you bind the form.
What ships with it
5 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.
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 · -6 lines · +4 tokens per session 0a50d98e4f15
- 2d ago First seen · 76 lines · 48 tokens per session scan A 8bc5e9f44451
cratis-screenplay-model-interaction 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,090 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-11-27.
cratis-screenplay-model-interaction compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cratis-screenplay-model-interactionCratis/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 |