cratis-screenplay-author-extension

cratis-screenplay-author-extension is a skill for Claude Code, Codex from Cratis/AI. It costs 48 tokens per session (729 once invoked), scanned A, original, MIT.

A guide to creating a reusable Screenplay extension package with a shared ability contract and a backend implementation. A package lets several applications use the same integration definition.

In plain words
What is it for?
Use it to scaffold a C# or React extension, define its inputs and results, register its backend ability, and check compatibility with the target environment.
Why use it?
It helps keep an integration's public contract consistent with the code that provides it. It also clarifies the difference between packaging reusable capability and implementing application-specific policy.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/test.sh.

Good fit Use it to scaffold a C# or React extension, define its inputs and results, register its backend ability, and check compatibility with the target environment.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Cratis/AI
agentmods
npx agentmods add skills/cratis/ai/cratis-screenplay-author-extension

Made for: Claude Code, Codex.

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 cratis-screenplay-author-extension

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-author-extension/github.svg)](https://agentmods.dev/skills/cratis/ai/cratis-screenplay-author-extension)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-screenplay-author-extension"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-author-extension/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.

agentmods 80×15 button for cratis-screenplay-author-extension

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-screenplay-author-extension"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-author-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00048 $0.00729
Opus 5.5 $0.00019 $0.00292
Sonnet 5.5 $0.00010 $0.00146
Haiku 4.5 $0.00005 $0.00073

Measured today against content hash 3e2a6b01a300, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-screenplay-author-extension 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.

.cratis/ai/skills/cratis-screenplay-author-extension/SKILL.md · 33 lines

What it actually says

Build and check a backend ability

Use a package when several applications need the same integration contract. Package the greeting capability, not the business policy that decides when to greet. Choose --kind package --component react instead of --backend csharp when shipping only React components in npm.

  1. From the parent of a new package directory, scaffold the C# backend (.NET 10 SDK for this template):

    cratis extension new -n LibraryGreeting --backend csharp --no-prompts
    cd LibraryGreeting
    
  2. Read contract.play first. The scaffold declares setting greeting public and ability Greet safe, with name String input and a returned message String. Never put credentials in the public greeting setting. Stage rejects packages whose requires stage excludes the target, and the scaffold can declare such a range. Before building, follow the Stage candidate procedure to correct the requirement for the test host without claiming untested compatibility.

  3. Keep src/backend-csharp/LibraryGreeting/Program.cs and the contract in agreement. The sample registers Greet with EffectClass.Safe; Greeter.Greet takes the resolved greeting and JSON input. For {"name":"Aster"} and no setting it returns the message Hello, Aster!. A blank name yields NotSent because no effect occurred. Don't reuse that outcome for a side effect whose completion is unknown. Change the contract, registration, handler and specifications together when replacing this sample.

  4. From the package root, run the generated specifications, build the backend and lay out the files exactly as they ship. Treat backend/ and dist/extension/ as build outputs: packaging replaces dist/extension/, so keep hand-edited files in source.

    bash scripts/test.sh
    bash scripts/build.sh
    bash scripts/package.sh
    

    The package should contain contract.play (with its manifest), declared assets and the backend assembly. For inspection without a running backend, choose cratis extension verify dist/extension; this is not readiness proof.

  5. Start a dedicated test backend with STAGE_EXTENSION_LISTEN=127.0.0.1:50051 dotnet dist/extension/backend/LibraryGreeting.dll. Run cratis extension verify dist/extension --strict --backend http://127.0.0.1:50051 and require all applicable checks to pass. EXTV020 means the declared backend is missing: compare its path and filename with the packaged assembly. Never point verification at a backend attached to Stage: the Describe call replaces its host session. A skipped handshake (EXTV070) fails strict verification. Stop the test backend. The handshake does not invoke abilities or prove Stage package admission. Packaging and verification do not publish anything.

  6. Use the Stage candidate procedure to pin the rebuilt package in a test model and prove admission and invocation before using it.

When adding a released package to a model, consume it from a reviewed lock.

Files

What ships with it

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

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. today First seen · 33 lines · 48 tokens per session scan A 3e2a6b01a300

Subscribe to this mod's changes

cratis-screenplay-author-extension is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 729 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-30.

Related

cratis-screenplay-author-extension compared with skills from other repositories

cratis-screenplay-author-extension next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-screenplay-author-extensionCratis/AISkill4todayMITA48Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code