Review a capability contract ↗
Review a proposed agent/tool contract for target identity, independent authority, replay/freshness, bounded effects, receipts, compatibility, and denial fixtures before implementation.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Design agent/tool capabilities with explicit target identity, authority, effects, resource bounds, privacy, receipts, replay/reconciliation, distribution boundaries, and synthetic conformance before implementation.
"design-bounded-capability""Design or review an agent/tool capability so target identity, authority, effects, resource bounds, privacy, receipts, replay, and conformance are explicit before implementation.""MIT"Use this Skill when defining a new tool, local capability, remote operation, connector action, or agent-facing API that may read data or produce effects.
The goal is to finish the contract and trust boundary before implementation convenience hardens into authority.
Describe what the caller should be able to accomplish without describing private machinery.
Write one sentence each for:
If the capability's value depends on exposing protected implementation details, redesign around a narrower public interface.
Define how the runtime proves it is acting on the exact intended target.
Avoid implicit widening through:
When state can change between review and effect, define a precondition or other fresh identity check appropriate to the resource.
Keep these questions distinct:
Do not infer later answers from earlier ones.
Authentication proves identity, not permission to perform every effect that identity can name.
Prefer a narrow operation vocabulary and explicit structured arguments over arbitrary command text.
Declare applicable bounds for:
A read-only operation still needs bounds and side-effect review.
Identify which information belongs in model-visible/caller-visible context and which must remain behind the trusted capability boundary.
Return the minimum structured result needed by the caller. Do not return protected decision tables, credentials, secret-bearing traces, internal topology, or unrelated state merely because the capability used them internally.
Apply privacy minimization/masking before evidence crosses the relevant trust boundary.
For effects that can outlive a request/response round trip, use a stable operation identity or equivalent reconciliation handle.
Make status vocabulary explicit enough to distinguish states such as:
A timeout or lost response is not automatically proof that the effect failed.
Define how a caller reconciles uncertain outcomes before retrying a non-idempotent effect.
Where applicable, specify:
Fail closed on unsupported or ambiguous cases rather than guessing.
Specify the logical contract first.
Do not unnecessarily bind the public meaning of the capability to one JSON envelope, RPC framework, IPC mechanism, browser bridge, queue, or provider transport unless that representation itself is part of the deliberate public interface.
The same semantic contract may have different adapters while preserving authority and effect guarantees.
Before implementation, define the smallest public-safe fixture matrix that proves the contract.
Include positive cases and applicable denial cases for:
Use synthetic identities, paths, credentials, revisions, and payloads.
If any implementation will ship to a client, verify that the client receives only deliberately distributable code/contracts. Keep managed secrets and protected decision logic on the trusted side when they do not need to execute locally.
Inspect final artifacts and transitive dependencies rather than relying only on source repository privacy.
Produce a capability design record with:
Use READY_FOR_IMPLEMENTATION only when the logical contract is sufficiently explicit that two independent implementations should not disagree on authority, effects, failure, or reconciliation semantics.
---
name: design-bounded-capability
description: Design or review an agent/tool capability so target identity, authority, effects, resource bounds, privacy, receipts, replay, and conformance are explicit before implementation.
license: MIT
---
# Design a bounded capability
Use this Skill when defining a new tool, local capability, remote operation, connector action, or agent-facing API that may read data or produce effects.
The goal is to finish the **contract and trust boundary before implementation convenience hardens into authority**.
## 1. State the public outcome
Describe what the caller should be able to accomplish without describing private machinery.
Write one sentence each for:
- intended outcome;
- allowed target/resource class;
- effect class: read, write, execute, network/external, or composite;
- what the capability explicitly does **not** promise.
If the capability's value depends on exposing protected implementation details, redesign around a narrower public interface.
## 2. Bind target identity
Define how the runtime proves it is acting on the exact intended target.
Avoid implicit widening through:
- parent/sibling paths;
- ambiguous aliases;
- mutable environment redirects;
- stale revisions;
- caller-controlled optional fields that change scope.
When state can change between review and effect, define a precondition or other fresh identity check appropriate to the resource.
## 3. Separate capability from authority
Keep these questions distinct:
1. Is the capability installed/known?
2. Is it visible to this caller?
3. Is the request syntactically and cryptographically valid where applicable?
4. Is the target technically compatible/ready?
5. Has the correct user/resource-owner/policy layer authorized this exact effect?
6. Is any downstream authority still required?
Do not infer later answers from earlier ones.
Authentication proves identity, not permission to perform every effect that identity can name.
## 4. Bound the execution surface
Prefer a narrow operation vocabulary and explicit structured arguments over arbitrary command text.
Declare applicable bounds for:
- input size;
- output size;
- total deadline;
- helper/process fanout;
- filesystem scope;
- network destinations;
- environment/config inheritance;
- cancellation/termination;
- concurrency.
A read-only operation still needs bounds and side-effect review.
## 5. Minimize secrets and context
Identify which information belongs in model-visible/caller-visible context and which must remain behind the trusted capability boundary.
Return the minimum structured result needed by the caller. Do not return protected decision tables, credentials, secret-bearing traces, internal topology, or unrelated state merely because the capability used them internally.
Apply privacy minimization/masking before evidence crosses the relevant trust boundary.
## 6. Define operation and receipt semantics
For effects that can outlive a request/response round trip, use a stable operation identity or equivalent reconciliation handle.
Make status vocabulary explicit enough to distinguish states such as:
- accepted/queued;
- running;
- completed;
- failed;
- cancelled;
- unknown.
A timeout or lost response is not automatically proof that the effect failed.
Define how a caller reconciles uncertain outcomes before retrying a non-idempotent effect.
## 7. Define freshness and replay policy
Where applicable, specify:
- request expiry/freshness;
- replay behavior;
- idempotency semantics;
- precondition invalidation;
- behavior when target state changes after approval.
Fail closed on unsupported or ambiguous cases rather than guessing.
## 8. Keep transport separate from semantics
Specify the logical contract first.
Do not unnecessarily bind the public meaning of the capability to one JSON envelope, RPC framework, IPC mechanism, browser bridge, queue, or provider transport unless that representation itself is part of the deliberate public interface.
The same semantic contract may have different adapters while preserving authority and effect guarantees.
## 9. Build synthetic conformance fixtures
Before implementation, define the smallest public-safe fixture matrix that proves the contract.
Include positive cases and applicable denial cases for:
- wrong target;
- unsupported capability/version;
- expired request;
- replay;
- stale precondition;
- denied authority;
- malformed output/input;
- resource-bound violation;
- unknown outcome and reconciliation;
- postcondition verification.
Use synthetic identities, paths, credentials, revisions, and payloads.
## 10. Review distribution boundary
If any implementation will ship to a client, verify that the client receives only deliberately distributable code/contracts. Keep managed secrets and protected decision logic on the trusted side when they do not need to execute locally.
Inspect final artifacts and transitive dependencies rather than relying only on source repository privacy.
## Output
Produce a capability design record with:
- outcome and non-goals;
- target identity rule;
- effect class;
- authority layers;
- execution/resource bounds;
- context/privacy boundary;
- operation/receipt states;
- freshness/replay policy;
- transport-independent request/result semantics;
- minimum conformance fixture list;
- unresolved security or compatibility questions;
- implementation-readiness verdict.
Use `READY_FOR_IMPLEMENTATION` only when the logical contract is sufficiently explicit that two independent implementations should not disagree on authority, effects, failure, or reconciliation semantics.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind design-bounded-capabilityDesign agent/tool capabilities with explicit target identity, authority, effects, resource bounds, privacy, receipts, replay/reconciliation, distribution boundaries, and synthetic conformance before implementation.
Best for: Specifying an agent-facing tool before implementation. When not to use: Minor internal refactors inside an already-approved tool contract where target identity, permissions, and effects do not change. Status: Source draft, not a supported catalog release.
partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)For a read-only issue search, specify authorized project, result cap, deadline, redaction and what a timeout means before choosing transport.
Skill guidance produces a contract specification and review checklist; runtime enforcement, secret isolation, and live model compliance remain separate.
No. It produces a design and review plan; implementation and effect authority are separate.
The current registry records partial verification for this draft (Level 1–2 structural and contract validation only; blinded runtime and paired baseline evaluation are pending). Inspect the registry record for the current evidence and limitations.
Yes. Feed's MIT license permits use, modification and redistribution, including commercial use, with the required notices. The bundled MIT notice stays with the Skill when copied. It does not grant access to external services or trademarks.
native
Native SKILL.md format validation only; runtime-specific tool availability, permissions and execution behavior are not claimed.
Clean-room public re-authoring of cross-repository capability-contract, bounded-execution, authority-separation, privacy, receipt, and distribution invariants; no private protocol implementation, thresholds, routing logic, or topology is embedded.