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.
npx skills add plainlang/plain-forge --skill add-functional-specgit clone --depth 1 https://github.com/plainlang/plain-forgeWrote 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.
[](https://agentmods.dev/skills/plainlang/plain-forge/add-functional-spec)<a href="https://agentmods.dev/skills/plainlang/plain-forge/add-functional-spec"><img src="https://agentmods.dev/badge/skills/plainlang/plain-forge/add-functional-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.
<a href="https://agentmods.dev/skills/plainlang/plain-forge/add-functional-spec"><img src="https://agentmods.dev/badge/skills/plainlang/plain-forge/add-functional-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00111 | $0.01489 |
| Opus 5.5 | $0.00044 | $0.00596 |
| Sonnet 5.5 | $0.00022 | $0.00298 |
| Haiku 4.5 | $0.00011 | $0.00149 |
Grade A, and why
add-functional-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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Functional Spec
Load the rules first. Before you read, edit, or write any .plain file, invoke the load-plain-reference skill and read the rule files it routes you to. Skip this only if load-plain-reference already ran in this conversation.
Workflow
- Identify the target
.plainfile. If ambiguous, ask the user. - Read the entire file to understand existing definitions, implementation reqs, and all current functional specs (including those in
requiresmodules). - Pick the func-id and draft the functional spec. Choose a func-id per
semantic-ids.mdand confirm no# <func-id>heading with that id exists in the module. Draft the body, a statement line and any detail under it, following the rules below, then run the review pass inconcise-specs.mdover the draft — trim it to the shortest wording that keeps every fact before any other check. - Analyze complexity — use the
analyze-if-func-spec-too-complexskill to verify the drafted spec implies ≤ 200 LOC. If too complex, use thebreak-down-func-specskill to split it, then repeat from step 3 for each resulting spec. - Check for conflicts with every existing functional spec — this is critical. Run
analyze-func-specsonce with the new spec plus all existing specs (in the file and in anyrequireschain) as a single batch. The batched analyzer returns every conflicting pair in one call — do not invoke a pair-by-pair analyzer. For each conflicting pair it reports, runresolve-spec-conflicton that pair; re-runanalyze-func-specsover the touched set after each resolution until the verdict isCOMPATIBLE. - Append the spec to the end of the
***functional specs***section as a# <func-id>heading followed by its body, one blank line after the previous functionality (specs are chronological; new ones go last). - Read the file again to confirm correct placement and syntax.
- Write the test plain file. When conformance tests are enabled for the module, invoke
add-test-scenariosfor the new functionality (see Test Scenarios below).
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.
- 1mo ago Changed 699068ec190f
- 1mo ago Changed c426e4d4001d
- 1mo ago Changed · +4 lines 33cbc80241bb
- 1mo ago Changed 1f026f74bef1
- 3mo ago First seen · 86 lines · 111 tokens per session scan A c4715c7873ea
add-functional-spec is a skill published in the GitHub repository plainlang/plain-forge (132 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 1,489 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-30.
add-functional-spec compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-functional-specplainlang/plain-forge | Skill | 132 | today | MIT | A | 111 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |