cl-mcp: Skill for Claude Code

.claude/skills/dogfooding-cl-spec/SKILL.md

dogfooding-cl-spec is a skill for Claude Code from cl-ai-project/cl-mcp. It costs 61 tokens per session (6,580 once invoked), scanned A, original, MIT.

A guided exercise for evaluating cl-spec, a group of tools for reading and checking declared code contracts. It uses a small throwaway project to measure whether an agent can repair code while respecting those contracts.

In plain words
What is it for?
Use it when testing cl-spec, considering new specification tools, or measuring contract-driven code repair. TDD means developing through tests and repeated checks; this exercise is related to that kind of measured feedback but is not itself a TDD workflow.
Why use it?
It replaces assumptions about missing tools with evidence from several repair cycles. It also records what the tools proved, what they did not prove, and where the agent misunderstood results.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is cl-ai-project/cl-mcp's own configuration. It tells Claude Code how to work on cl-mcp 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 cl-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cl-ai-project/cl-mcp. 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/cl-ai-project/cl-mcp/main/.claude/skills/dogfooding-cl-spec/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cl-ai-project/cl-mcp

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 dogfooding-cl-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/cl-ai-project/cl-mcp/dogfooding-cl-spec/github.svg)](https://agentmods.dev/skills/cl-ai-project/cl-mcp/dogfooding-cl-spec)
Your own site
<a href="https://agentmods.dev/skills/cl-ai-project/cl-mcp/dogfooding-cl-spec"><img src="https://agentmods.dev/badge/skills/cl-ai-project/cl-mcp/dogfooding-cl-spec/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 dogfooding-cl-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/cl-ai-project/cl-mcp/dogfooding-cl-spec"><img src="https://agentmods.dev/badge/skills/cl-ai-project/cl-mcp/dogfooding-cl-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,580 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.00061 $0.06580
Opus 5.5 $0.00024 $0.02632
Sonnet 5.5 $0.00012 $0.01316
Haiku 4.5 $0.00006 $0.00658

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

Security

Grade A, and why

dogfooding-cl-spec 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 10d 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/dogfooding-cl-spec/SKILL.md · 439 lines

How it starts

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

Dogfooding cl-spec

Overview

Repair a bug in a throwaway project that carries cl-spec contracts, using only the four spec-* tools plus the ordinary cl-mcp tools. Record every place the first-class tools were not enough and every response field that was misread.

Core principle: the question is not "which tools are missing" — it is can an agent read a contract, change the code, and tell verified from unverified. A missing operation is a measurement (how often, how painful), not a conclusion. Three to five recorded cycles decide what gets built; one frustrating moment does not.

This differs from dogfooding-cl-mcp, which measures tool-surface breadth. Here the project is small and the epistemics are the subject: what the run proved, what it did not, and whether the agent claimed more than it measured.

When to Use

  • User asks for cl-spec dogfooding, spec-driven development feedback, or "try the spec tools on a real task"
  • A new spec-* tool (spec-check-call, spec-impact, spec-coverage, …) is being considered and nobody has measured whether the repl-eval fallback is actually painful
  • You changed the adapter (src/spec-adapter-*.lisp, src/tools/spec-*.lisp) and want evidence beyond unit tests

Do NOT use for: exercising the whole cl-mcp tool surface (use dogfooding-cl-mcp), or for a project the user intends to keep.

The Iron Rule of this skill

Do not implement a new tool during a dogfooding cycle. Not spec-check-call, not spec-coverage, not a convenience wrapper. The cycle's output is a ledger, and a cycle that "fixed" its own friction measured nothing. Adding tools is a separate PR, after three cycles, and only for friction classed C or D (see Fallback ledger).

repl-eval is an allowed escape hatch. Using it without recording it is the one way to fail a cycle outright.

Setup

Scaffolds live under experiments/ inside the cl-mcp checkout (gitignored, so generated files never reach git status). The feedback file is claudedocs/dogfooding-cl-spec-feedback.md (also gitignored) unless the user named another — append, never overwrite.

Read the full file on GitHub · 439 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. 10d ago Changed dc4329aa166a
  2. 1mo ago Changed · +1 lines 6f620aea15be
  3. 1mo ago First seen · 438 lines · 61 tokens per session scan A a88938c14a10

Subscribe to this mod's changes

dogfooding-cl-spec is a skill published in the GitHub repository cl-ai-project/cl-mcp (90 stars, last pushed 9d ago), licensed MIT. It adds 61 tokens to every session and 6,580 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-09-21.