cratis-screenplay-availability

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

A guide for deciding whether a Screenplay feature, module, or slice is available to a tenant, user, or system, and for providing shared context values. Screenplay is a modelling system for describing business actions and rules.

In plain words
What is it for?
Use it when modelling rollouts, feature switches, incidents, audiences, availability rules, or ambient context values.
Why use it?
It separates availability from permission checks, input validation, and commercial entitlements so each question uses the right mechanism.

Skill for Claude CodeCodex

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

Good fit Use it when modelling rollouts, feature switches, incidents, audiences, availability rules, or ambient context values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-screenplay-availability
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.

Any agent
npx skills add Cratis/AI --skill cratis-screenplay-availability
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

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-availability

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-screenplay-availability"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-screenplay-availability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 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.00056 $0.00857
Opus 5.5 $0.00022 $0.00343
Sonnet 5.5 $0.00011 $0.00171
Haiku 4.5 $0.00006 $0.00086

Measured today against content hash f22f671907d2, 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-availability 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-availability/SKILL.md · 46 lines

How it starts

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

Model availability and request-scoped context

Use available for where a package or rollout first changes what the application offers. Put the gate at the highest level where it applies to everything below it; membership is granted at runtime.

audience Plus
  description "Customers on the Plus package"

module Fleet
  feature Vessels
    available for Plus

Keep authorization separate: policy and authorize decide who may act; a command rule validates input. Availability is checked before authorization. A closed offer is NotAvailable, not an authorization denial. Never put role checks into availability or package checks into authorization. See model interaction for policies.

Choose a gate

  • For an offer, use available for Plus. Combine audience names with and, or and parentheses. To close an offer only for callers with a granted audience, use available for Plus and not Incident; not applies to a single audience name and binds before and and or. Unknown never opens a gate, even under not.
  • When the offer depends on a request value, use available when $context.region == "Nordics". A condition has its own and and or.
  • To reuse gates, put for, when and with lines under an availability <Name> and use available with <Name>. The lines all have to hold. with can combine named availabilities with and, or and parentheses; do not negate one or introduce a cycle.

Gates can live on modules, features, slices, commands, queries, and screens. Several available lines on a construct and all gates above it have to hold. A bound screen action or data element inherits the command or query's availability and authorization; write an element gate only to narrow it. For the supported elements, evaluation reasons, target limits and operator suspension, read runtime ownership.

Provide context at the level that knows its input

Read the full file on GitHub · 46 lines

Files

What ships with it

4 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 Changed · -154 lines · -3 tokens per session f22f671907d2
  2. 5d ago Changed · +47 lines 02220f743076
  3. 6d ago Changed · +2 lines 067a89ddd91e
  4. 17d ago First seen · 151 lines · 59 tokens per session scan A 254800e98a79

Subscribe to this mod's changes

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

Related

cratis-screenplay-availability compared with skills from other repositories

cratis-screenplay-availability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-screenplay-availabilityCratis/AISkill4todayMITA56Claude 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