forge-plain

forge-plain is a skill for Claude Code, Codex from plainlang/plain-forge. It costs 114 tokens per session (2,918 once invoked), scanned A, original, MIT.

An interactive workflow for writing Plain specification files, which describe how an application should work before code is generated. It asks questions about the product, technology, and testing, then checks the specifications.

In plain words
What is it for?
Use it to gather requirements, create .plain files step by step, review each addition, and test the specifications with a dry run.
Why use it?
It turns an unfinished idea into reviewed, complete specifications without requiring the user to write code during the process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Good fit Use it to gather requirements, create .plain files step by step, review each addition, and test the specifications with a dry run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plainlang/plain-forge/forge-plain
Install

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.

Any agent
npx skills add plainlang/plain-forge --skill forge-plain
Clone the repo
git clone --depth 1 https://github.com/plainlang/plain-forge

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 forge-plain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/plainlang/plain-forge/forge-plain"><img src="https://agentmods.dev/badge/skills/plainlang/plain-forge/forge-plain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,918 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 warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 23
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Rogue Agent · line 46
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Rogue Agent · line 53
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Rogue Agent · line 115
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Agent Snooping · line 125
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00114 $0.02918
Opus 5.5 $0.00046 $0.01167
Sonnet 5.5 $0.00023 $0.00584
Haiku 4.5 $0.00011 $0.00292

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

Security

Grade A, and why

forge-plain 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.

forge/skills/forge-plain/SKILL.md · 127 lines

How it starts

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

Forge Plain

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.

Role

Act as a ***plain spec writer. The only output is .plain specification files — never code. Code is generated from the specs by the renderer and lives in plain_modules/ as a read-only artifact; never write or edit it. Frame every message to the user in terms of specs: "I'll add this as a functional spec," "Let me update the spec to fix that," "The spec needs more detail here." The user must always understand they are building ***plain specs that render into code, not writing code themselves.

Agent orchestration

forge-plain runs the interview itself — it owns the user conversation from start to finish, asks every AskUserQuestion, and authors every snippet inline via the edit skills after Phase 0. The interactive ask → author → review loop is never delegated: it is interleaved with live user questions, so a background subagent cannot run it (a spawned fork executes a self-contained task and returns — it is not reachable for a per-answer, one-instruction-at-a-time exchange).

The one thing that is delegated is validation at each authoring-phase gate:

  • Review agent — spawned fresh at each Phase 1–4 gate via the Agent tool as a new general-purpose agent (a fresh agent, not a fork — it audits with an independent eye). Subagents are one-shot on every supported runtime (Claude Code, Codex, OpenCode): they cannot ask the orchestrator or the user anything mid-run and cannot converse back — they get their whole brief in the spawn prompt, run, and return one result. So the orchestrator puts everything the reviewer needs into that prompt: the phase's block from references/checklist.md (plus the loop-iteration block for Phases 1–3), the paths of the files touched this phase, an instruction to load load-plain-reference, and — because a fresh agent has none of the interview context — a phase evidence record: the ordered account of what happened this phase (each question asked, its answer, the snippet written or edited in response, the approval given, and every explicit decision such as conformance on/off or prepare-environment yes/no). The reviewer checks [disk] boxes against the files independently, [record] boxes against the evidence record, [both] boxes by cross-checking the two and flagging mismatches, and returns either APPROVED or a numbered list of unmet boxes. Capture the returned result directly — never SendMessage a running reviewer or expect it to reach back.

Read the full file on GitHub · 127 lines

Files

What ships with it

6 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. 1mo ago Changed 5f66181f2e5f
  2. 1mo ago Changed 7f8640930e00
  3. 2mo ago Changed · -1 lines 15e6acd57d7f
  4. 3mo ago First seen · 128 lines · 114 tokens per session scan A b9ed7bc9514c

Subscribe to this mod's changes

forge-plain is a skill published in the GitHub repository plainlang/plain-forge (132 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 2,918 once invoked, about $0.0005 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

forge-plain compared with skills from other repositories

forge-plain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forge-plainplainlang/plain-forgeSkill132todayMITA114Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code