cratis-stage-render-slice

cratis-stage-render-slice is a skill for Claude Code, Codex from Cratis/AI. It costs 41 tokens per session (1,075 once invoked), scanned A, original, MIT.

A guide to using Stage to generate application files from an approved Screenplay model. Stage is the tool that turns that model into a chosen output folder or a selected part of an application.

In plain words
What is it for?
Use it to render a whole application or a specific slice, preview the output, and review the generated target before implementation.
Why use it?
It helps prevent generated files from colliding with source files or an existing scaffold. It also checks that the generated result matches the approved scope before delivery.

Skill for Claude CodeCodex

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

Good fit Use it to render a whole application or a specific slice, preview the output, and review the generated target before implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-stage-render-slice
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-render-slice
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-render-slice

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-stage-render-slice"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-stage-render-slice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 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.00041 $0.01075
Opus 5.5 $0.00016 $0.00430
Sonnet 5.5 $0.00008 $0.00215
Haiku 4.5 $0.00004 $0.00108

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

Security

Grade A, and why

cratis-stage-render-slice 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-stage-render-slice/SKILL.md · 30 lines

How it starts

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

Render into an owned destination

Start with the accepted handoff (cratis-screenplay-handoff-slice skill in cratis/screenplay): full source, exact revision, application name, scope and the outcomes the target must demonstrate. Use the CLI's bundled Stage: standalone Screenplay acceptance does not prove renderability.

  1. Choose the destination and scope before running a check. For a new application accepted in full, use an empty destination separate from model/. Do not run cratis new there first: a template scaffold is not a previous Stage publication and can collide. Preview the whole application to include the scaffold and default Scene:

    cratis render model --name Library --destination out --check
    

    Choose a scoped render when the handoff covers only part of the application. Keep the same application identity and check only the approved source scope. Use the authored Module[.Feature…][.Slice] address, without prepending the application name. For a slice RegisterAuthor in module Authors:

    cratis render model --name Library --destination out --scope Authors.RegisterAuthor --check
    

    The first scoped publication adds the plain scaffold but not the default Scene. Include separately changed views and dependencies not already published with repeatable --scope options; CLI-RENDER-014 names the missing declaration and scope. Get agreement before widening the scope and check the revised selection again.

  2. Review ownership and the planner result. Exit 6 means changes are pending; exit 0 means current and needs no publication. A refusal isn't an empty plan. Don't use --force to get past edited or colliding files: save manual work and reconcile it with its owner first. On CLI-RENDER-004, keep the accepted model intact; use a renderer verified to admit its schema or agree on a hand-written implementation (cratis-platform-deliver-slice in cratis/application). If a scoped projection is refused for overwriting identity, compare the assignment with the resolved key: a simple assignment restating its event-source, event-property or literal key can be admitted; a different value is not equivalent.

    For pending changes, get approval for the checked writes and removals from the requesting user unless they named another owner. Publish by repeating the approved command with only --check removed. If the inputs or destination changed, preview and review again first. Compare the resulting diff to the approved plan, including deletions, and repeat the same check: no pending writes should remain.

  3. Use the whole-slice reconciliation procedure in cratis-platform-deliver-slice (in cratis/application): map contract to code and code to contract, name an executable target spec for every contracted scenario, and report unmatched items even after delta delivery. For an attached C# query body, check the C# performer reference in cratis-screenplay-model-interaction (in cratis/screenplay) before treating it as a gap. Inspect diagnostics and STAGE-NOT-RUNNABLE.md when present. A compiled stub that throws is a gap, not delivered behavior. Record the requirement identity, missing effect, application owner and target check that remains unmet. A refused plan is not permission to remove a rule from the model.

  4. Fill an authorized gap only at a supported seam: for example, implement the generated host's ConfigureServices partial in the application-owned Customizations/Program.cs to register a directory adapter. In the global namespace, add static partial void ConfigureServices(WebApplicationBuilder builder) inside public partial class Program; add the registration to the existing implementation if present. Keep the generated declaration untouched. Registering a service doesn't replace a throwing stub. If the stub has no callable extension point, stop and choose a supported model attachment or a separately owned implementation with the team. Do not add another handler for the same generated route.

  5. From out/, run dotnet build Library.csproj to generate client proxies (the scaffold expects Debug), then install and build the frontend as directed by the generated README (Yarn for the ordinary scaffold, npm for a repository-root scaffold). With the configured local Chronicle available, run the existing covering specs. Add a spec for any uncovered consequential decision; check the visible outcome once on the running target. For Library, prove registering Aster adds the row for the addressed ID, and a blank name reports Name is required without adding one. Rerender in a comparison copy and repeat the tests before declaring manual work regeneration-safe. A clean diff or a passing model test alone proves neither outcome on the target. Report any Stage semantic specification job separately from rendered application tests; use cratis-stage-run-sandbox in cratis/stage when installed.

Read the full file on GitHub · 30 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. today First seen · 30 lines · 41 tokens per session scan A 44d64f46434d

Subscribe to this mod's changes

cratis-stage-render-slice is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,075 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-stage-render-slice compared with skills from other repositories

cratis-stage-render-slice next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-stage-render-sliceCratis/AISkill4todayMITA41Claude 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