mandu-contract

mandu-contract is a skill for Claude Code, Codex from konamgil/mandu. It costs 12 tokens per session (150 once invoked), scanned A, original, MPL-2.0.

A set of rules for defining and preserving typed API contracts in the Mandu project. An API contract describes accepted requests, returned data, methods, and status codes in a machine-readable form.

In plain words
What is it for?
Use it when changing an API or its data contract, then update the related handler and run focused verification.
Why use it?
It keeps handlers, validation, documentation, and generated clients aligned without hiding real mismatches or accidentally breaking existing users.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when changing an API or its data contract, then update the related handler and run focused verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konamgil/mandu/mandu-contract
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 konamgil/mandu --skill mandu-contract
Clone the repo
git clone --depth 1 https://github.com/konamgil/mandu

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 mandu-contract

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/konamgil/mandu/mandu-contract"><img src="https://agentmods.dev/badge/skills/konamgil/mandu/mandu-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 150 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.00012 $0.00150
Opus 5 $0.00006 $0.00075
Sonnet 5 $0.00002 $0.00030
Haiku 4.5 $0.00001 $0.00015

Measured 9d ago against content hash b130399f1c27, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mandu-contract 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 9d 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.

packages/mcp/src/resources/generated-skills/mandu-contract/SKILL.md · 21 lines

What it actually says

Mandu Contracts

Use after planning selects an API or contract change.

  • Keep request, response, method, and status schemas machine-readable.
  • Co-locate or link the contract using the surrounding project convention.
  • Change handler and contract together; do not weaken validation to silence a mismatch.
  • Generated clients and OpenAPI artifacts are outputs, not direct-edit inputs.
  • Preserve existing consumer behavior unless the plan explicitly authorizes a breaking change.

Prefer mandu.agent.apply for a typed contract operation. Run targeted tests and finish with mandu.agent.verify --changed --json --write.

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. 9d ago First seen · 21 lines · 12 tokens per session scan A b130399f1c27

Subscribe to this mod's changes

mandu-contract is a skill published in the GitHub repository konamgil/mandu (46 stars, last pushed 12d ago), licensed MPL-2.0. It adds 12 tokens to every session and 150 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

api-design-patterns

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices.

aAAaqwq/AGI-Super-Team · 29 tokens

architecture-patterns

Software architecture patterns and best practices.

aAAaqwq/AGI-Super-Team · 10 tokens

Full Stack Engineer

Full Stack Engineer delivers production-grade technical work with clear architecture, tests, maintainability, and operational awareness.

ahmadrrrtx/xr · 25 tokens

pipeline

This skill should be used when the user asks to "create a pipeline spec", "document data transformations", "document data flow", "specify pipeline invariants", "wyx pipeline", or wants to design, retrofit, or discover data pipelines with quality invariants and boundary ownership. Produces PIPELINE.md specs.

jlifyio/wyx · 66 tokens

add-service

Add a service capsule (or Kafka topic node) to the Cosmos map. Use when the user says "add service X to the cosmos", "wire X into the map", or "add a topic node for Y". Researches the service from source, maps all its connections, then adds SERVICES/TOPICS entries to src/scenarios/ with correct position, color, and…

ludeo-labs/cosmos-os · 92 tokens

contract-test-engineer

Use when the user asks to verify compatibility between an API provider and consumer, SDK and service, event producer and consumer, schema versions, or serialized data. Define and test the shared contract, including failures and compatibility rules, before changing either side.

lfyxhappy/lfcode · 54 tokens