cratis-application-slice-conformance

cratis-application-slice-conformance is a skill for Claude Code, Codex from Cratis/AI. It costs 160 tokens per session (2,742 once invoked), scanned A, original, MIT.

A conformance check for Cratis application slices, comparing hand-written code with the slice's agreed specification. It checks both that required behaviour exists and that the code contains no unapproved behaviour.

In plain words
What is it for?
Use it when finishing, reviewing, or handing over a slice, including after a model change or generated-code gap fill. It checks fields, rules, events, read-model properties, and specifications against their implementation.
Why use it?
Code can drift from its design when work is completed or changed by hand. This check exposes missing contract elements and extra code before “done” is treated as complete.

Skill for Claude CodeCodex

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

Good fit Use it when finishing, reviewing, or handing over a slice, including after a model change or generated-code gap fill. It checks fields, rules, events, read-model properties, and specifications against their implementation.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-application-slice-conformance"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-application-slice-conformance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,742 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.00160 $0.02742
Opus 5.5 $0.00064 $0.01097
Sonnet 5.5 $0.00032 $0.00548
Haiku 4.5 $0.00016 $0.00274

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

Security

Grade A, and why

cratis-application-slice-conformance 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 3d 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.

.cratis/ai/skills/cratis-application-slice-conformance/SKILL.md · 191 lines

How it starts

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

Slice conformance: the code matches its contract, element by element

Purpose

Hand-written code drifts from what was agreed in two directions: something agreed is missing, or something nobody agreed is there. This skill is the check that closes both, plus the rules for specifications, re-delivery and the final status. It does not decide what a slice should do; the contract does.

Model-first rule: when a .play model covers the slice, the model is the contract and the code is derived. Code is written only for scope the renderer rejects, adapters and other infrastructure. Change behaviour in the model first, never in managed output.

When to use / when not

  • Use: implementing or finishing a slice by hand; gap-fill after a render; re-delivery after a model or outline change; reviewing slice code; a hand-over where "done" must mean something.
  • Not for: the choice of behaviour (cratis-screenplay-slice-design, cratis-chronicle-event-modeling); how to write specifications (cratis-application-slice-specifications); the render workflow itself (cratis-screenplay-render-and-gap-fill).

Startup verification for Automation and Translation

  • Real startup participation. A ReactorScenario bypasses observer registration, so it cannot show that the application subscribes the reactor. Verify, through the repository's integration route or a startup check, that the real application discovers the intended reactor (its assembly is scanned, per the repository's discovery convention), that it observes the intended event store and event sequence, and that a trigger event delivered there reaches it. Report this apart from the in-process specifications.

Product facts

This skill is a method: it names no API of its own. When the Screenplay skills are installed their SKILL.md (in cratis-screenplay-toolchain) explains how to read the installed tool versions.

Fact used here Source
Where each rule lives (validator, Provide(), handler result, constraint, exception) rules/vertical-slices.md "The decision matrix"
A customization never makes a rejected model renderable; managed output is never hand-edited Stage (Customizations/ is the unmanaged seam; managed output is regenerated)
Attached file or inline command handlers are refused with PLAY0800, a permanent requirement for a code implementation attachment (Requires Screenplay 4.210.0; older binders report PLAY0268); pending handlers with unconditional productions bind v23 as described commands, but reached bodies are Unsupported ImplementationBody and Stage refuses STAGE-IMPL-002 even in Stub mode Screenplay and Stage; use the model as the gap-fill contract

Read the full file on GitHub · 191 lines

Files

What ships with it

7 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. 3d ago Changed 07db93ecae21
  2. 5d ago Changed 4f4a3d76a957
  3. 6d ago Changed · -4 lines 2b29b00aa108
  4. 7d ago Changed · +1 lines 5e61ae87eb46
  5. 10d ago Changed · +5 lines e52d74b0091f
  6. 11d ago Changed ee5481719b99
  7. 12d ago Changed · +9 lines eb768156db05
  8. 15d ago First seen · 180 lines · 160 tokens per session scan A f2bc2fd6e6e9

Subscribe to this mod's changes

cratis-application-slice-conformance is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed yesterday), licensed MIT. It adds 160 tokens to every session and 2,742 once invoked, about $0.0006 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-10-07.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens