codev: Skill for Claude Code

.claude/skills/porch/SKILL.md

porch is a skill for Claude Code from cluesmith/codev. It costs 76 tokens per session (1,065 once invoked), scanned A, original, Apache-2.0.

A command-line protocol manager that tracks development phases, approval gates, consultations, and state transitions.

In plain words
What is it for?
Use it to inspect project status, get the next tasks, run checks, mark phases complete, request or record human approvals, roll back phases, and initialize protocols.
Why use it?
It makes required checkpoints explicit and prevents an AI agent from approving human-only gates on its own.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is cluesmith/codev's own configuration. It tells Claude Code how to work on codev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cluesmith/codev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cluesmith/codev/main/.claude/skills/porch/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cluesmith/codev

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 porch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cluesmith/codev/porch"><img src="https://agentmods.dev/badge/skills/cluesmith/codev/porch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,065 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00076 $0.01065
Opus 5.5 $0.00030 $0.00426
Sonnet 5.5 $0.00015 $0.00213
Haiku 4.5 $0.00008 $0.00106

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

Security

Grade A, and why

porch 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 20d 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.

.claude/skills/porch/SKILL.md · 87 lines

How it starts

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

porch - Protocol Orchestrator

Porch manages the state machine behind development protocols. It tracks phases, gates, consultations, and transitions.

Commands

porch status [id]              Show current project state and phase
porch run [id]                 Run the protocol loop (strict mode)
porch next [id]                Get next tasks as JSON
porch done [id]                Signal current phase is complete
porch check [id]               Run checks for current phase
porch gate [id]                Request human approval at a gate
porch approve <id> <gate> --a-human-explicitly-approved-this
porch rollback <id> <phase>    Rewind to an earlier phase
porch init <protocol> <id> <name>   Initialize a new project

Project ID auto-detects from worktree path when inside a builder worktree.

Gate approvals

Gates are human-only approval checkpoints. The --a-human-explicitly-approved-this flag is required — it exists to prevent AI agents from auto-approving.

Gate Protocol When
spec-approval SPIR After spec is written
plan-approval SPIR After plan is written
pr SPIR, TICK, AIR After PR is created
porch approve 42 spec-approval --a-human-explicitly-approved-this
porch approve 42 plan-approval --a-human-explicitly-approved-this
porch approve 42 pr --a-human-explicitly-approved-this

ASPIR and BUGFIX have no spec/plan gates — they run autonomously through those phases.

Checking pending gates

porch pending                  # List all gates waiting for approval
porch pending --all            # Include stale records on finished/advanced projects (hidden by default)

Critical rules

  • Builders must NEVER call porch approve — only humans approve gates
  • Never edit status.yaml directly — porch manages all state
  • Builders signal completion with porch done, not porch approve
  • porch run is for strict mode only — soft mode builders follow the protocol document manually
  • When running porch approve from the architect, use a subshell if you need worktree context: (cd /path/to/worktree && porch approve ...)

Read the full file on GitHub · 87 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. 20d ago Changed · +2 lines af4a1849ecd6
  2. 1mo ago Changed · +1 lines 1c2678a7fe73
  3. 2mo ago First seen · 84 lines · 76 tokens per session scan A 2386f491ecac

Subscribe to this mod's changes

porch is a skill published in the GitHub repository cluesmith/codev (297 stars, last pushed 2d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,065 once invoked, about $0.0003 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-30.

Related

porch compared with skills from other repositories

porch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
porchcluesmith/codevSkill2972d agoApache-2.0A76Claude Code
hns-lsel-curatormodu-ai/moai-adkSkill1.3k3d agoApache-2.0A135Claude Code
moai-workflow-worktreemodu-ai/moai-adkSkill1.3k3d agoApache-2.0A41Claude Code
moai-lane-watchdogmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A86Claude Code
hns-workflow-ci-loopmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A76Claude Code
hns-moaiadk-patternsmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A116Claude Code
moai-harness-learnermodu-ai/moai-adkSkill1.3k3d agoApache-2.0A61Claude Code