prospec: Skill for Claude Code

.agents/skills/prospec-learn/SKILL.md

prospec-learn is a skill for Claude Code, Codex from benwu95/prospec. It costs 111 tokens per session (3,570 once invoked), scanned A, original, MIT.

A feedback system that collects repeated corrections, failed checks, and serious review findings in a version-controlled lessons ledger. It scores proposed lessons using a stated rule and suggests moving them through three levels only after human approval.

In plain words
What is it for?
Use it to identify patterns in archived changes, score recurring lessons, and propose updates to a team playbook or project Constitution. Human approval is required before promotion.
Why use it?
It turns recurring mistakes into reviewable team knowledge without silently changing the team’s rules. The recorded scores make each promotion suggestion traceable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is benwu95/prospec's own configuration. It tells Claude Code and Codex how to work on prospec 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 prospec configures →

Reuse

Borrowing it

Nothing to install: this file belongs to benwu95/prospec. 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/benwu95/prospec/main/.agents/skills/prospec-learn/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/benwu95/prospec

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 prospec-learn

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benwu95/prospec/prospec-learn"><img src="https://agentmods.dev/badge/skills/benwu95/prospec/prospec-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,570 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.00111 $0.03570
Opus 5.5 $0.00044 $0.01428
Sonnet 5.5 $0.00022 $0.00714
Haiku 4.5 $0.00011 $0.00357

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

Security

Grade A, and why

prospec-learn 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 4d 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.

.agents/skills/prospec-learn/SKILL.md · 144 lines

How it starts

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

Prospec Learn Skill

Activation

When triggered, briefly describe:

  • That you'll collect recurring lessons from archived changes' quality_log and review.md into a version-controlled lessons ledger (auto-fed at archive time)
  • That promotion is decided by an explicit, reproducible rule (not a black-box heuristic) and every suggestion carries an auditable score
  • That nothing reaches the team playbook or Constitution without explicit human approval and a version-controlled record

Language Policy

Write each generated document in the language the Constitution's Language Policy rule assigns to its path — change artifacts and their archived summaries in the project's artifact language, the trust zone (Knowledge base, Feature Specs, index) in English. One skill run may write both. Free text you pass the CLI that lands in a change artifact follows the artifact language too, leaving its paths, commands, enum values and the fixed prefixes the CLI matches untranslated. Keep code, identifiers, technical terms, and git commit messages in English.

CLI Prerequisite (required)

The prospec CLI is a required file for this skill — its deterministic steps call prospec commands. Probe BEFORE any other step; there is no manual fallback.

  1. Run prospec --version (Bash).
  2. Command not found / not executable → STOP. Ask the user to install the prospec standalone executable — the one-click installer script from the project README (macOS/Linux install.sh, Windows install.ps1) or a release binary from GitHub Releases; prospec is NOT published to npm. Then re-run this skill.
  3. Version older than 2.10.0 → STOP. Report the installed vs required version and ask the user to upgrade, then re-run this skill.

Hand-executing a CLI-owned mutation is NEVER the fallback — that re-introduces the nondeterministic serialization this contract exists to remove.

Read the full file on GitHub · 144 lines

Files

What ships with it

2 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. 4d ago Changed a03ff53f52ad
  2. 9d ago Changed 1ba129ae8ebf
  3. 13d ago Changed 36ccac2cc3d8
  4. 16d ago Changed c7ba4797e786
  5. 20d ago Changed 3cea98204930
  6. 22d ago Changed 5b9504aa14ca
  7. 23d ago Changed 8fc49676f205
  8. 25d ago Changed 18e57ff1a294
  9. 27d ago Changed d97043cbcd57
  10. 28d ago First seen · 144 lines · 111 tokens per session scan A e623eec590a4

Subscribe to this mod's changes

prospec-learn is a skill published in the GitHub repository benwu95/prospec (6 stars, last pushed yesterday), licensed MIT. It adds 111 tokens to every session and 3,570 once invoked, about $0.0004 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

prospec-learn compared with skills from other repositories

prospec-learn next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prospec-learnbenwu95/prospecSkill6yesterdayMITA111Claude Code, Codex
ospec-goalclawplays/ospecSkill3902mo agoMITA29Codex
ospecclawplays/ospecSkill3902mo agoMITA26Claude Code, Codex
ospec-changeclawplays/ospecSkill3902mo agoMITA18Codex
moai-workflow-jit-docsmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A42Claude Code
semantic-anchor-translatorLLM-Coding/Semantic-AnchorsSkill5352d agoApache-2.0A94Claude Code
talk-stage3-conceptsFlorianBruniaux/claude-code-ultimate-guideSkill6.4k2d agoCC-BY-SA-4.0A64Claude Code