prospec: Skill for Claude Code

.agents/skills/prospec-knowledge-generate/SKILL.md

prospec-knowledge-generate is a skill for Claude Code, Codex from benwu95/prospec. It costs 84 tokens per session (4,542 once invoked), scanned A, original, MIT.

A project-knowledge generator that reads a raw project scan and turns its structure into small, recipe-based documentation files.

In plain words
What is it for?
Use it to identify project modules, create a README for each one, and maintain an index and shared conventions file.
Why use it?
It removes the need to manually decide how a codebase should be divided and documented for future work.

Skill for Claude CodeCodex

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

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-knowledge-generate/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-knowledge-generate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benwu95/prospec/prospec-knowledge-generate"><img src="https://agentmods.dev/badge/skills/benwu95/prospec/prospec-knowledge-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,542 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.00084 $0.04542
Opus 5.5 $0.00034 $0.01817
Sonnet 5.5 $0.00017 $0.00908
Haiku 4.5 $0.00008 $0.00454

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

Security

Grade A, and why

prospec-knowledge-generate 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-knowledge-generate/SKILL.md · 256 lines

How it starts

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

Prospec Knowledge Generate Skill

Activation

When triggered, briefly describe:

  • That you'll read raw-scan.md to understand the project structure
  • You'll autonomously decide module boundaries using the configured granularity strategy
  • Each module gets exactly one README.md in Recipe-First format (≤100 lines)
  • You'll populate prospec/index.md (with the Progressive Knowledge Loading Strategy section) and _conventions.md

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.

Startup Loading

  1. [STABLE] Read prospec/ai-knowledge/_conventions.md — if exists
  2. [STABLE] Read prospec/ai-knowledge/_module-readme-conventions.md and prospec/ai-knowledge/_diagram-conventions.md — the canonical module-README structure and diagram rules to generate against (Step 4 generates directly against this canonical file — it is not restated here)
  3. [STABLE] Read prospec/CONSTITUTION.md — if exists
  4. [DYNAMIC] Ensure prospec/ai-knowledge/raw-scan.md is current, then read it — first run prospec knowledge init --raw-scan-only (deterministic, no LLM; creates it if absent) so READMEs generate against the real current structure. module-map.yaml must already exist (init bootstrap)
  5. [DYNAMIC] Read prospec/index.md — if exists
  6. [DYNAMIC] Read .prospec.yaml → check knowledge.strategy (auto|architecture|domain|package) and knowledge.token_budget

Read the full file on GitHub · 256 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. 4d ago Changed bd2f0d854384
  2. 9d ago Changed 4c929f1a073f
  3. 13d ago Changed 11d3f7d6a946
  4. 20d ago Changed 724a07e08968
  5. 23d ago Changed 829e418c0128
  6. 28d ago Changed b6f598e88409
  7. 1mo ago Changed · -1 lines fbf79de1c3e5
  8. 1mo ago Changed · -1 lines 954c013a63bb
  9. 1mo ago Changed · -1 lines b5d6aabd625e
  10. 1mo ago First seen · 259 lines · 84 tokens per session scan A 105ffc957c75

Subscribe to this mod's changes

prospec-knowledge-generate is a skill published in the GitHub repository benwu95/prospec (6 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 4,542 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-31.

Related

prospec-knowledge-generate compared with skills from other repositories

prospec-knowledge-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prospec-knowledge-generatebenwu95/prospecSkill6yesterdayMITA84Claude Code, Codex
ospec-goalclawplays/ospecSkill3902mo agoMITA29Codex
ospecclawplays/ospecSkill3902mo agoMITA26Claude Code, Codex
ospec-changeclawplays/ospecSkill3902mo agoMITA18Codex
review-spdzhu1090093659/spec_driven_developSkill9933mo agoMITA72Claude Code
deep-discusszhu1090093659/spec_driven_developSkill9933mo agoMITA181Claude Code
spec-driven-developzhu1090093659/spec_driven_developSkill9933mo agoMITA148Claude Code