slice

slice is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (1,124 once invoked), scanned A, original, MIT.

A procedure for deciding whether a large work item should stay together or be split into smaller pieces. Each proposed piece should deliver and demonstrate a useful result on its own.

In plain words
What is it for?
Use it to examine a product requirement, project rules, existing code, and related issues before producing a small, justified work plan.
Why use it?
It prevents splitting work into parts that only make sense together, while also avoiding one item that is too large to plan or review safely.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to examine a product requirement, project rules, existing code, and related issues before producing a small, justified work plan.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coleam00/archon/slice
About the project

Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.

coleam00/Archon · 24,028 stars · on GitHub · archon.diy

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/coleam00/Archon

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/slice"><img src="https://agentmods.dev/badge/commands/coleam00/archon/slice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,124 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.00000 $0.01124
Opus 5.5 $0.00000 $0.00450
Sonnet 5.5 $0.00000 $0.00225
Haiku 4.5 $0.00000 $0.00112

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

Security

Grade A, and why

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 18d 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.

.archon/workflows/sdlc/split/commands/slice.md · 33 lines

How it starts

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

Split One Item, or Build It Whole

Break this item into the fewest pieces that each prove something on their own, or don't split it. Triage judged that building it as one work item would not work. Check that first: one run can plan and deliver a large change, and one pull request for one outcome is easier to review than several that only make sense together.

The item: $INPUTS.url, with its title and body in $ARTIFACTS_DIR/split/prd.md. A dated "Current scope" section in it overrides what it rules on. Triage's reason for splitting: $INPUTS.reason (empty when none was recorded).

Read first

  • The triage policy: the pack's default in $PACK_DIR/.shared/policy/triage.md, then the project's .archon/sdlc/policy/triage.md when it exists, which adds to the default and wins where they conflict. Its sections on splitting, on how each kind splits, and on PRDs are the bar you judge against.
  • The project's direction document and repository guidance, the current code, and the open issues, enough to tell what already exists. You may read the item's comments, linked items and the open issues through the Archon CLI, whose argv is the JSON string array in $ARCHON_CLI_COMMAND, as <argv...> forge <op> --json --data '<request>', taking the repository and number from the item's URL: workitem.comments takes {"subject":{"kind":"issue","ref":{"repo":{"host":…,"path":…},"number":…}}}, workitem.view takes that {"ref":…}, and workitem.search takes {"repo":…,"text":"<terms>","kind":"issue"}. An earlier split's comment on the item holds its plan.

Decide

  1. Build whole, or split? Split only for a reason the policy names and the item itself shows. Weigh triage's reason; don't take it on trust. When one work item works, answer { "kind": "whole", "route" }: deliver when the item is already an implementation-ready work order, plan when implementation decisions remain. An item an earlier split already filed issues from is the exception: those pieces may be in flight, so the split stands.
  2. What kind is it? prd, epic or bundle, as the policy defines them, and split it the way the policy says that kind splits. A PRD's verdict, judged on real use after release, is never a piece.
  3. What comes next? File only the current phase or increment: the smallest piece that proves the next thing, often one issue. Each later phase waits for a signal the earlier work must show before it is filed; a later split files it. A bundle files every task as written and has no later phase.

Read the full file on GitHub · 33 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. 18d ago Changed ba800c0651f6
  2. 19d ago Changed 6c7301fcc3c8
  3. 23d ago First seen · 33 lines · 0 tokens per session scan A 6e33e48132a3

Subscribe to this mod's changes

slice is a command published in the GitHub repository coleam00/Archon (24,028 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,124 tokens. 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-07.

Related

slice compared with commands from other repositories

slice next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slicecoleam00/ArchonCommand24ktodayMITA0Claude Code
fix-issuescan1357/oh-my-piCommand40ktodayMITA0Claude Code
review-prscan1357/oh-my-piCommand40ktodayMITA0Claude Code
triagecan1357/oh-my-piCommand40ktodayMITA0Claude Code
releasecan1357/oh-my-piCommand40ktodayMITA0Claude Code
cleanupcan1357/oh-my-piCommand40ktodayMITA0Claude Code
hatch3r-workflowhatch3r/hatch3rCommand262mo agoMITA42Claude Code