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 kotaroyamame/formal-agent-contracts --skill import-natural-specgit clone --depth 1 https://github.com/kotaroyamame/formal-agent-contractsWrote 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/kotaroyamame/formal-agent-contracts/import-natural-spec)<a href="https://agentmods.dev/skills/kotaroyamame/formal-agent-contracts/import-natural-spec"><img src="https://agentmods.dev/badge/skills/kotaroyamame/formal-agent-contracts/import-natural-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/kotaroyamame/formal-agent-contracts/import-natural-spec"><img src="https://agentmods.dev/badge/skills/kotaroyamame/formal-agent-contracts/import-natural-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00189 | $0.02496 |
| Opus 5 | $0.00095 | $0.01248 |
| Sonnet 5 | $0.00038 | $0.00499 |
| Haiku 4.5 | $0.00019 | $0.00250 |
Grade A, and why
import-natural-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 11d 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 — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Importing Natural Language Specifications into VDM-SL
Read a Markdown requirements document and convert it to a VDM-SL formal specification through interactive dialogue. The key challenge is that natural language is inherently ambiguous — this skill systematically identifies and resolves those ambiguities rather than silently guessing.
MD形式の自然言語仕様をVDM-SL形式仕様に変換する。自然言語の曖昧さを対話的に解消しながら、 漏れのない形式仕様を構築する。
Why This Skill Exists
The define-contract skill builds VDM-SL from scratch through Q&A.
The extract-spec skill extracts VDM-SL from existing source code.
This skill fills the gap between them: the user already has a written specification (requirements document, design doc, API spec, etc.) but it's in natural language, not code. Rather than starting from zero or from code, we start from the document and systematically formalize it.
Dialogue Flow
Step 1: Read and Parse the Document
Ask the user for the MD file path (or accept it from the conversation context).
Read the file and identify its structure:
- Headings → potential module/agent boundaries
- Bullet lists → requirements, constraints, rules
- Numbered lists → sequential operations, workflows
- Tables → data models, field definitions
- Code blocks → existing type definitions, API schemas, examples
- Bold/italic text → emphasis on important constraints
Produce a structural summary for the user:
📄 Document Analysis: requirements.md
Found:
Sections: 5 (potential modules/agents)
Requirements: 23 bullet points
Data models: 2 tables
Constraints: 7 explicitly stated
Examples: 3 code blocks
Identified agents/modules:
1. "User Management" (lines 5-45)
2. "Order Processing" (lines 47-120)
3. "Payment Gateway" (lines 122-180)
Present this to the user and confirm the scope before proceeding.
Step 2: Requirement Classification
For each requirement found in the document, classify it:
| Category | VDM-SL Mapping | Example from document |
|---|---|---|
| Data definition | types |
"A user has name, email, and role" |
| Constraint | inv |
"Email must be unique" |
| Operation | operations / functions |
"The system shall allow users to register" |
| Pre-condition | pre |
"Only active users can place orders" |
| Post-condition | post |
"After payment, order status becomes confirmed" |
| State | state |
"The system maintains a list of all orders" |
| Business rule | Combination of inv + pre + post |
"Users cannot order more than their credit limit" |
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.
- 11d ago First seen · 256 lines · 189 tokens per session scan A 90006ccae042
import-natural-spec is a skill published in the GitHub repository kotaroyamame/formal-agent-contracts (1 stars, last pushed 2mo ago), licensed MIT. It adds 189 tokens to every session and 2,496 once invoked, about $0.0009 per session on Opus 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.
Other skills, from other repositories
claude-code-session-broker
Use when running Arcgentic V2 in Claude Code and fixed Planner, Developer, and Auditor role sessions must be coordinated through a broker.
arcgentic
Use when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development → self-audit → external audit workflow in Codex.
verify-gates
Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Invoked indirectly by transition.sh OR directly by orchestrator agent before declaring a state transition. Use when about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria.…
session-mode
Use when a project has not yet stored session mode, when a user asks for complete arcgentic workflow execution, or when role identity handoff prompts are needed.
cross-session-handoff
Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.
agency-roster
Use when a round references agency-agents catalogs, role-family routing, multi-agent identity prompts, or English/Chinese specialist role catalogs.