Answer Contract — AI skill for Claude Code
Four rules that stop your AI agent from padding, rambling, and shipping one mediocre answer: Implicit-Need Fill, Structured Output, 3-Option-Plus-Premium, Assumption-Circuit-Breaker.
How to install Answer Contract
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open chenhz01/answer-contract and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Answer Contract does
Four rules that stop your AI agent from padding, rambling, and shipping one mediocre answer: Implicit-Need Fill, Structured Output, 3-Option-Plus-Premium, Assumption-Circuit-Breaker. A single-file skill for Claude Code, Codex, OpenCode and any SKILL.md-reading agent.
Alternatives in AI
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Ralph For Claude Code — by Frank Bria - An autonomous AI development framework that enables Claude Code to work iteratively on project 8k ★
- Wiki Query — Query the LLM Wiki and synthesize an answer 2.3k ★
README
answer-contract
**Four rules that stop your AI agent from padding, rambling, and shipping one mediocre answer.**
`Implicit-Need Fill` · `Structured Output` · `3-Option-Plus-Premium` · `Assumption-Circuit-Breaker`
A single-file skill for coding agents (Claude Code, Codex, OpenCode, Pi, and anything that reads `SKILL.md`). Works as a standalone output contract — and composes well with style-level skills like [i-have-adhd](https://github.com/ayghri/i-have-adhd): that skill shapes sentences, this one shapes documents and decisions.
Why
AI output fails in four predictable ways: it answers the question you *typed*, not the one you *meant*; it rambles; it ships one path when you needed a comparison and a recommendation; it sounds confident while guessing — and nobody knows what was assumed or what was never checked.
The four rules
| Rule | Fires when | Effect |
|---|---|---|
| Implicit-Need Fill | every substantive request | The 2–5 unstated needs behind the request are surfaced and labeled (assumption:), or confirmed before full execution |
| Structured Output | every response | Conclusion first; tables over prose; no opener, no recap, no closer |
| 3-Option-Plus-Premium | non-code tasks with >1 defensible approach | ≥3 options compared across named dimensions + exactly one recommendation + one premium path |
| Assumption-Circuit-Breaker | before sending | Self-attack the conclusion, list assumptions, state coverage (N/N verified), pre-commit a fallback and kill signal |
Worked case 1 — a code task (executed, not claimed)
Prompt: *"Count files and total size per repo in a vendor directory, compare them."*
**Default single-pass behavior:** 20 lines of plausible-looking code that was never run, wrapped in "this should work" — no numbers, no verification.
**With the four rules:** conclusion first — `6 repos, 6,399 files, 203.91 MB`, top repo 83.89 MB; the exact 10-line script; coverage stated as `6/6 directories, full scan`; assumpti
Related Skills
Tkflyc AI CLI
Run Claude Code, Codex, Antigravity and any OpenAI-compatible API as MCP tools with background jobs — registry
LinkedIn Automation AI Agent
Run your LinkedIn on autopilot: one post a day, useful comments, connection notes with a real message, and pro
Lean Canvas Template
Answer nine questions. Ship the smallest app that tests your riskiest assumption. A Lean Canvas template for b
Agentic Agent Prompt Builder
A free, single-file builder for well-structured AI agent prompts. Pick a starting preset, fill in the parts yo
AI Visualizer
Give your AI agent a face. Four full-screen visualizers. A living circuit board with a cinematic fly-through,
B2B AI FDE Contract Counsel
Four-lens contract counsel for AI B2B deals — legal, regulatory, finance/tax, commercial. A Claude Code skill
Related Agents
Application Agent
Fill out a job application form in the browser (Claude-in-Chrome) from the user's CV/profile and answer librar
Resilience HTTP
Configura padrões de resiliência HTTP — retry com backoff, circuit breaker, timeouts e propagação de Correlati
SRE Oncall
Revisor SRE pre-merge para Booster AI — observabilidad, rollback readiness, SLOs, capacity, costos GCP, depend