cratis-stage-rendering-and-sandbox

cratis-stage-rendering-and-sandbox is a skill for Claude Code, Codex from Cratis/AI. It costs 102 tokens per session (2,541 once invoked), scanned A, original, MIT.

A technical guide to Cratis Stage, an experimental tool that turns a narrowly defined Screenplay .play model into Cratis application source. It also describes its disposable test environment and specification runner, plus the model shapes it refuses.

In plain words
What is it for?
Use it when checking whether a model can be rendered, understanding the generated artifacts, or running model-level specifications in the Stage sandbox.
Why use it?
It prevents you from assuming Stage can render models outside its documented limits or from expecting partial output when validation fails.

Skill for Claude CodeCodex

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

Good fit Use it when checking whether a model can be rendered, understanding the generated artifacts, or running model-level specifications in the Stage sandbox.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-stage-rendering-and-sandbox
View source ↗ Cratis/AI
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-stage-rendering-and-sandbox
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-stage-rendering-and-sandbox

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-stage-rendering-and-sandbox"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-stage-rendering-and-sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,541 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.00102 $0.02541
Opus 5 $0.00051 $0.01270
Sonnet 5 $0.00020 $0.00508
Haiku 4.5 $0.00010 $0.00254

Measured 2d ago against content hash 09bcda8fafd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cratis-stage-rendering-and-sandbox 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 2d 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.

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.

skills/cratis-stage-rendering-and-sandbox/SKILL.md · 231 lines

How it starts

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

What Stage renders, and what it refuses

Stage turns a Screenplay .play model into Cratis Arc + Chronicle application source. It ships three things: a renderer exposed as a .NET library, a disposable runtime sandbox container, and a specification runner container.

⚠️ Stage is experimental, and its admitted model shape is very small. The renderer accepts one command per state-change slice, one produced event, not empty validation only, one read model with one projection, and at most one by-identifier snapshot query. Anything richer produces no artifacts at all, not thinner ones. Read the admission rules below before promising a model can be rendered.

Verified product sources

Artifact Version What it is
Cratis.Stage.Contracts 3.11.0 ArtifactRenderPlan, EventModelLoader, specification-result contracts
Cratis.Stage.Rendering.Cratis 3.11.0 The one rendering target and the CratisRendering facade
Cratis.Stage 3.11.0 The partial direct runtime engine
cratis/stage 3.11.0, latest Disposable HTTP host plus an in-memory Chronicle kernel
cratis/stage-specrunner 3.11.0, latest Run-to-completion specification job

Behavior below is read from the repository at revision 4f3fc6a. Cratis.Stage.Host and Cratis.Stage.SpecRunner are not packable — they exist only as the two container images.

Input

The authoritative input is Screenplay source: a folder of .play files, compiled recursively over **/*.play and merged into one model. There is no other supported entry format — an event-model.json file is not the current startup or rendering contract, and the loader cannot read one.

The renderer

There is no CLI, no dotnet tool, and no container for rendering. The entry point is a static facade in Cratis.Stage.Rendering.Cratis:

var options = new CratisRenderingOptions("Projects", "Projects");
var scope = new ArtifactRenderScope(ArtifactRenderScopeKind.Application, model.Application.Id);
var plan = CratisRendering.Plan(model, executionPlan, scope, options);

Read the full file on GitHub · 231 lines

Files

What ships with it

1 file 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. 2d ago First seen · 231 lines · 102 tokens per session scan A 09bcda8fafd4

Subscribe to this mod's changes

cratis-stage-rendering-and-sandbox is a skill published in the GitHub repository Cratis/AI (2 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 2,541 once invoked, about $0.0005 per session on Opus 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-09-06.

Related

Other skills, from other repositories

Event Sourcing Testing

Testing event sourcing patterns including event store validation, projection testing, saga orchestration, and event versioning compatibility.

PramodDutta/qaskills · 27 tokens

author-test

Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.

Azure/azure-sdk-for-net · 68 tokens

crap-score

Calculates CRAP (Change Risk Anti-Patterns) for a named .NET method, class, or file. USE FOR: explicit CRAP calculation or coverage-and-complexity risk within that named target, including which tests to prioritize. DO NOT USE FOR: project-wide coverage/CRAP, plateaus, or project-wide blockers/priorities…

managedcode/dotnet-skills · 99 tokens

coverlet

Use the open-source free coverlet toolchain for .NET code coverage. Use when a repo needs line and branch coverage, collector versus MSBuild driver selection, or CI-safe coverage commands. USE FOR: coverlet setup; CI line or branch coverage; choosing between collector and MSBuild drivers. DO NOT USE FOR: coverage…

managedcode/dotnet-skills · 114 tokens

archunitnet

Use the open-source free ArchUnitNET library for architecture rules in .NET tests. Use when a repo needs richer architecture assertions than lightweight fluent rule libraries usually provide. USE FOR: the repo uses or wants ArchUnitNET; architecture testing needs richer modeling than simple dependency checks. DO NOT…

managedcode/dotnet-skills · 104 tokens

reportgenerator

Use the open-source free ReportGenerator tool for turning .NET coverage outputs into HTML, Markdown, Cobertura, badges, and merged reports. USE FOR: the repo uses or wants ReportGenerator; CI needs human-readable coverage reports; multiple coverage files must be merged. DO NOT USE FOR: raw coverage collection with no…

managedcode/dotnet-skills · 101 tokens