agent-operations-contract
Skill16 starsChanged 5 months agoMITView on GitHub
Define and review concrete agent capability cards, asynchronous operation receipts, decision receipts with revalidation, isolated and trust-graded memory scopes, and evidence-backed provider or tool registry entries. Use when a project introduces named agents, scheduled or long-running work, durable decisions or memory, provider routing, MCP tools, or external-action approval boundaries.
In this repository94 other files it gives its agents.
- agent-friction-ledgerSkill
- agent-learning-layer-triageSkill
- agents-best-practicesSkill
- agent-tool-contract-reviewSkill
- anti-slop-reviewSkill
- architecture-deepening-reviewSkill
- assumption-excavationSkill
- authorized-security-routerSkill
- book-to-skillSkill
- bounded-evaluationSkill
- bounded-growth-loopSkill
- bounded-orchestration-contractSkill
- brief-first-executionSkill
- browser-verificationSkill
- bug-evidence-protocolSkill
- codex-review-loopSkill
- compaction-survivalSkill
- complexity-optimizerSkill
- confidence-fragility-reviewSkill
- context-degradation-reviewSkill
- corporate-surfaceSkill
- delivery-baseline-auditSkill
- delivery-preflight-gateSkill
- design-critique-polishSkill
- designmd-brand-kitSkill
- design-register-bootstrapSkill
- diagnoseSkill
- doc-grounded-grillingSkill
- doc-to-lora-evaluatorSkill
- durable-context-maintenanceSkill
- dynamic-workflow-packetsSkill
- editorial-surfaceSkill
- evidence-ledger-researchSkill
- filesystem-context-disciplineSkill
- fluid-interaction-reviewSkill
- frontend-product-builderSkill
- frontend-taste-layerSkill
- git-native-context-contractSkill
- goal-loop-designerSkill
- graph-guided-code-readingSkill
- handoffSkill
- happy-handoffSkill
- html-brief-artifactSkill
- html-diagram-artifactSkill
- hypothesis-diversificationSkill
- idea-to-ship-gatesSkill
- knowledge-base-enrichmentSkill
- lean-context-layoutSkill
- local-inference-tuningSkill
- loop-hardening-contractSkill
- loopops-protocolSkill
- loop-readiness-reviewSkill
- lottie-motion-builderSkill
- minimal-diff-builderSkill
- motion-review-gateSkill
- overengineering-reviewSkill
- personal-workspace-routerSkill
- phase-spec-executionSkill
- pipeline-readiness-gateSkill
- plan-to-issuesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill to make configured agents and their operations inspectable without installing an agent runtime.
- Very specific: line 18
Create one card per concrete agent from templates/agent-capability-card.yaml.
- Very specific: line 39
Use templates/operation-receipt.json for scheduled, queued, or long-running work.
- Very specific: line 53
Use templates/memory-record.yaml.
- Distinctive: line 60
Every record declares provenance, owner, editability, retention, sensitivity, and trust.
- Very specific: line 70
Use templates/decision-receipt.yaml for material architecture, product, operational, or hardware decisions.
- Very specific: line 81
Use templates/provider-tool-capability.yaml for each model provider, local runtime, API, CLI, or MCP surface.
- Distinctive: line 107
Before enabling a named agent or schedule, report:
- Very specific: line 120
If any row is missing, return CONTRACT_AMBIGUOUS and keep the route disabled or report-only.
- Distinctive: line 133
Do not install LobeHub, an agent marketplace, MCP servers, schedulers, databases, or memory services.
- Distinctive: line 134
Do not create self-assembling teams or infer authority from agent assignment.
- Distinctive: line 135
Do not authorize messages, transactions, production writes, device writes, or protected-data access.
- Distinctive: line 136
Do not turn a successful operation into durable memory automatically.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Operations Contract
Use this skill to make configured agents and their operations inspectable without installing an agent runtime. It complements skill cards: a skill describes a reusable method; an agent card describes one actual worker, its current capabilities, and its authority.
This contract is opt-in and fail-closed. Documentation, configuration, marketplace presence, or a successful probe never grants authority.
1. Agent Capability Card
Create one card per concrete agent from templates/agent-capability-card.yaml.
Require:
- stable
agent_id, purpose, bounded responsibilities, owner; - authority:
read,proposal,write, orexternal_action; - configured models, tools, and knowledge bases;
- allowed schedules, including whether unattended runs are permitted;
- explicit approval boundary;
- dated capability confirmations with evidence.
Rules:
- List secret names, never values.
external_actionnames exact action families; it is not blanket permission.- An allowed schedule controls timing, not authority.
- Missing owner, approval boundary, or current confirmation blocks use.
- Capability changes update the card before a run depends on them.
2. Async Operation Receipt
Use templates/operation-receipt.json for scheduled, queued, or long-running work.
Allowed states:
QUEUED -> RUNNING -> NEEDS_APPROVAL -> SUCCEEDED | FAILED | CANCELLEDRUNNING may settle directly when approval is unnecessary. Each retry creates a new operation_id or records a stable parent/idempotency relationship; never overwrite a failed receipt as success.
NEEDS_APPROVAL must retain an action fingerprint and the exact proposed action. Approval is one-shot, expires, and cannot widen the agent card. A receipt contains compact operational facts and evidence references, not hidden reasoning, credentials, private content, full prompts, transcripts, or unrestricted logs.
3. Scoped Memory
Use templates/memory-record.yaml. Every memory record has exactly one scope:
personal: reviewed owner preferences;project: repository or product context;agent: reviewed domain knowledge for one agent;run: temporary operation state.
Every record declares provenance, owner, editability, retention, sensitivity, and trust. Allowed trust states are:
UNREVIEWED -> VERIFIED | DEPRECATED | SUPERSEDEDNew records start UNREVIEWED. DEPRECATED and SUPERSEDED records never supply active context; SUPERSEDED requires superseded_by. Derived records inherit the highest source sensitivity. Cross-project reads, background learning, and automatic scope promotion are off by default. run memory expires unless a human-reviewed proposal promotes it. Memory is context, not completion evidence.
4. Decision Receipt And Revalidation
Use templates/decision-receipt.yaml for material architecture, product, operational, or hardware decisions. Record:
- stable
decision_id, owner, stakes, reversibility, and deadline; - the decision, rationale, expected outcome, and evidence references;
- revisit date and an observable success criterion;
- revalidation result:
CONFIRMED,REVISED,REVERSED, orINCONCLUSIVE.
The owner or authorized reviewer confirms the initial decision and every revalidation. A receipt does not authorize implementation or an external action. REVISED and REVERSED retain the original receipt and link the replacement; never rewrite history to make the first decision appear correct.
5. Provider And Tool Registry
Use templates/provider-tool-capability.yaml for each model provider, local runtime, API, CLI, or MCP surface.
Record:
- modalities, tool calling, structured output, streaming, and async support;
localorcloudexecution;- required secret names and data-egress boundary;
- availability:
declared,probed,confirmed, orunavailable; - dated cost and rate-limit observations with sources;
- authority and exact side effects.
Availability meanings:
declared: documentation or configuration only;probed: endpoint, binary, or authentication path was reachable;confirmed: the relevant task path succeeded with evidence;unavailable: missing, disabled, incompatible, or insufficient for the task.
Route only through entries whose confirmed capabilities and authority satisfy the task. Treat cost, limits, models, and availability as expiring observations.
Public Workflow / Private Operator State
Keep reusable workflow logic, schemas, and redacted examples in the public skill or project repository. Keep personal preferences, client or contract material, private archives, credentials, protected evidence, and secret values in an explicitly owned private location. Public templates may name required secret variables but never contain their values. No sync, publication, or cross-project transfer is implied.
Project Gate
Before enabling a named agent or schedule, report:
| Check | Evidence |
| agent card owner and authority | card path and revision |
| provider/tool route | registry entry and current status |
| memory scope | allowed scopes and retention |
| operation persistence | receipt location and redaction rule |
| decision revalidation | receipt path, owner, revisit date, and observable criterion |
| approval boundary | action families and approver |
| cancellation/idempotency | recovery behavior |
| verification | real runtime path exercised |
If any row is missing, return CONTRACT_AMBIGUOUS and keep the route disabled or report-only.
Output
- Verdict:
CONTRACT_OK,CONTRACT_AMBIGUOUS, orCONTRACT_UNSAFE. - Authority: effective authority of the reviewed agent and operation.
- Cards/receipts/registry: paths or missing artifacts.
- Findings: ambiguity, stale evidence, over-broad authority, unsafe memory crossing, or hidden side effects.
- Smallest changes: bounded edits required before enablement.
- Verification: checks run and unavailable runtime evidence.
Non-Goals
- Do not install LobeHub, an agent marketplace, MCP servers, schedulers, databases, or memory services.
- Do not create self-assembling teams or infer authority from agent assignment.
- Do not authorize messages, transactions, production writes, device writes, or protected-data access.
- Do not turn a successful operation into durable memory automatically.
Attribution
Adapted at the contract level from LobeHub's agent-as-unit, scheduling/status, white-box memory, and multi-provider ideas, plus MakerSkills' decision revisit, source trust, and public-workflow/private-state patterns. Rewritten as a provider-neutral ABVX review contract without either upstream runtime.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

