task-contract

Writes pre-task contracts defining false-success conditions, evidence, verification, and replan budgets.

2|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/ShineBreaker/Guix-configs --skill task-contract-shinebreaker
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: task-contract
Source: https://github.com/ShineBreaker/Guix-configs/tree/main/dotfiles/mutable/agents/hermes/.local/share/hermes/skills/hermes-agent-ops/task-contract
Command: npx skills add https://github.com/ShineBreaker/Guix-configs --skill task-contract-shinebreaker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Complex or long-running agent tasks often end with unverifiable completion claims, where work looks done but actually is not. This Skill forces a written task contract before work begins, so a verifier can later falsify premature success declarations. ## Core Features & Use Cases - False-Success Conditions: Requires listing at least three ways the task could appear successful while actually failing, such as green tests with altered assertions. - Evidence and Verification Ladder: Defines expected artifacts and a layered verification approach from static checks to human judgment, plus paired counter-metrics to catch Goodhart-style gaming. - Replan Budget: Caps retries per failure and mandates immediate re-planning when a whole layer of steps fails. - Use Case: Before delegating a multi-file refactor with irreversible deployment steps, write a contract specifying what evidence must exist at completion, then check each false-success condition independently at task close. ## Quick Start Ask the agent to write a task contract with false-success conditions, expected evidence, verification approach, and replan budget before starting the complex task.

Frequently Asked Questions about task-contract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a task contract before starting a complex task?▼

Copy the contract template and fill four required sections: at least three false-success conditions, expected evidence, a layered verification approach, and a replan budget. Then record it in the todo tool's notes and confirm it with the user before starting work.

What are false-success conditions in task planning?▼

False-success conditions describe ways a task can look complete while actually failing, such as tests passing because assertions were weakened or a clean git status hiding missing commit history. Each condition must be independently checked at task close, not merely asserted as checked.

When should I not write a task contract?▼

Skip the contract for single-file edits like README or typo fixes, query or chat tasks, and cases where the user already provided explicit success criteria. Over-writing contracts for trivial work is treated as unproductive busywork.

What is a counter-metric in task verification?▼

A counter-metric pairs with each success metric to detect cheating paths, based on Goodhart's law. For example, test pass rate pairs with code review rejection rate, and both must look normal for the task to count as complete.

How does the replan budget limit retries?▼

The replan budget caps retries per failure, typically one or two attempts. If an entire layer of steps fails, the agent must stop and re-plan rather than pushing forward, and any user request to adjust halts progress immediately.