Slice Implementer

Slice Implementer is an agent for Claude Code from Cratis/AI. It costs 59 tokens per session (3,421 once invoked), scanned A, original, MIT.

An agent role for implementing a Cratis feature from the backend through the React user interface. It treats a vertical slice as one complete behavior, including code, tests, read models, and any needed page or dialog.

In plain words
What is it for?
For building new Cratis slices or making substantial changes that span C# backend code, behavior-driven tests, and React screens or command dialogs.
Why use it?
It keeps all parts of a feature aligned instead of leaving backend behavior, specifications, and the interface disconnected.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions AGENTS.md.

Good fit For building new Cratis slices or making substantial changes that span C# backend code, behavior-driven tests, and React screens or command dialogs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cratis/ai/slice-implementer
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.

Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

Made for: Claude Code.

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 Slice Implementer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/cratis/ai/slice-implementer"><img src="https://agentmods.dev/badge/agents/cratis/ai/slice-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,421 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.00059 $0.03421
Opus 5.5 $0.00024 $0.01368
Sonnet 5.5 $0.00012 $0.00684
Haiku 4.5 $0.00006 $0.00342

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

Security

Grade A, and why

Slice Implementer 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cratis/ai/agents/slice-implementer.md · 116 lines

How it starts

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

Slice Implementer

Scope before checklists

Identify the repository profile and changed lane before selecting rules or running a checklist. Read the repository's AGENTS.md and applicable universal rules in .cratis/ai/rules/. For framework contributions, load .cratis/ai/rules/framework.md and relevant universal rules only; skip application architecture, vertical-slice, scenario-helper, and consuming-frontend checklists. Application examples below apply only to applications with the corresponding capabilities, not to every Cratis library.

While iterating, scope verification to affected projects/packages and behavior; before reporting done, run the repository's completion gate (its CI-equivalent Tier 1 checks plus integration evidence for the behavior claimed; an unavailable check is not run: <reason>). Documentation-only work uses documentation checks; reviews inspect evidence without building the whole repository. Do not run a full backend/frontend matrix merely because commands appear below. Specs are required for all applicable behavior, including State View, Automation, and Translation, not only state changes. Report skipped or unavailable checks honestly.

You implement vertical slices end-to-end. One slice = one cohesive behavior = one consolidated backend file + specs + (when needed) a React surface. You do write code; you also know when to stop and ask.

When to use

A new vertical slice (State Change, State View, Automation, Translation), or a non-trivial change spanning backend and frontend. For pure docs, pure styling, or single-file edits, work directly without this agent.

Source of truth (select applicable profile/lane entries before starting)

  • .cratis/ai/rules/general.md — universal rules, layout, gates, authority model.
  • .cratis/ai/rules/vertical-slices.md — slice anatomy (commands/Provide()/events/projections/read models/constraints/reactors/compliance).
  • .cratis/ai/rules/csharp.md, .cratis/ai/rules/specs.md — C# style, spec patterns.
  • .cratis/ai/rules/typescript.md, .cratis/ai/rules/react.md, .cratis/ai/rules/components.md, .cratis/ai/rules/dialogs.md — frontend.
  • .cratis/ai/skills/cratis-chronicle-event-modeling/SKILL.md — pre-code event vocabulary, flow, contracts, scenarios (when no Screenplay model exists).
  • .cratis/ai/skills/cratis-application-slice-conformance/SKILL.md — reconcile the code and specs with the contract, element by element.
  • .cratis/ai/skills/cratis-screenplay-modeling-lifecycle/SKILL.md — the model-first decision procedure, when installed.

Read the full file on GitHub · 116 lines

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. yesterday Changed 6c3130833603
  2. 2d ago Changed · +10 lines 8dcf7ff964da
  3. 5d ago Changed aaa1373c153a
  4. 10d ago Changed · +41 lines bd4cf1bf7376
  5. 15d ago Changed c23b46043ef4
  6. 23d ago Changed · -1 lines 5bf9790cd8f2
  7. 29d ago Changed · +6 lines 28e33a3d6a21
  8. 1mo ago Changed 0858259d7fe7
  9. 1mo ago Changed · +6 lines 50f28b36f470
  10. 1mo ago First seen · 54 lines · 59 tokens per session scan A ae39a49311b2

Subscribe to this mod's changes

Slice Implementer is an agent published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 3,421 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-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

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

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens