Source profileQuality 73/100

affaan-m/ECC/skills/agent-harness-construction/SKILL.md

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates.

Source repository stars
234,327
Declared platforms
0
Static risk flags
0
Last source update
2026-07-27
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Use this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.

Best for

    Not for

    • Too many tools with overlapping semantics.
    • Opaque tool output with no recovery hints.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/affaan-m/ECC --skill "skills/agent-harness-construction"
    Safe inspection promptEditorial

    Inspect the Agent Skill "agent-harness-construction" from https://github.com/affaan-m/ECC/blob/4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38/skills/agent-harness-construction/SKILL.md at commit 4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Core Model

      Agent output quality is constrained by: 1. Action space quality 2. Observation quality 3. Recovery quality 4. Context budget quality

      Action space qualityObservation qualityRecovery quality
    2. 02

      Action Space Design

      1. Use stable, explicit tool names. 2. Keep inputs schema-first and narrow. 3. Return deterministic output shapes. 4. Avoid catch-all tools unless isolation is impossible.

      Use stable, explicit tool names.Keep inputs schema-first and narrow.Return deterministic output shapes.
    3. 03

      Granularity Rules

      Use micro-tools for high-risk operations (deploy, migration, permissions).

      Use micro-tools for high-risk operations (deploy, migration, permissions).Use medium tools for common edit/read/search loops.Use macro-tools only when round-trip overhead is the dominant cost.
    4. 04

      Observation Design

      Every tool response should include: - status: success|warning|error - summary: one-line result - nextactions: actionable follow-ups - artifacts: file paths / IDs

      status: success|warning|errorsummary: one-line resultnextactions: actionable follow-ups

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score73/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars234,327SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    affaan-m/ECC
    Skill path
    skills/agent-harness-construction/SKILL.md
    Commit
    4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38
    License
    MIT
    Collected
    2026-07-28
    Default branch
    main
    View the original SKILL.md

    Agent Harness Construction

    Use this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.

    Core Model

    Agent output quality is constrained by:

    1. Action space quality
    2. Observation quality
    3. Recovery quality
    4. Context budget quality

    Action Space Design

    1. Use stable, explicit tool names.
    2. Keep inputs schema-first and narrow.
    3. Return deterministic output shapes.
    4. Avoid catch-all tools unless isolation is impossible.

    Granularity Rules

    • Use micro-tools for high-risk operations (deploy, migration, permissions).
    • Use medium tools for common edit/read/search loops.
    • Use macro-tools only when round-trip overhead is the dominant cost.

    Observation Design

    Every tool response should include:

    • status: success|warning|error
    • summary: one-line result
    • next_actions: actionable follow-ups
    • artifacts: file paths / IDs

    Error Recovery Contract

    For every error path, include:

    • root cause hint
    • safe retry instruction
    • explicit stop condition

    Context Budgeting

    1. Keep system prompt minimal and invariant.
    2. Move large guidance into skills loaded on demand.
    3. Prefer references to files over inlining long documents.
    4. Compact at phase boundaries, not arbitrary token thresholds.

    Architecture Pattern Guidance

    • ReAct: best for exploratory tasks with uncertain path.
    • Function-calling: best for structured deterministic flows.
    • Hybrid (recommended): ReAct planning + typed tool execution.

    Benchmarking

    Track:

    • completion rate
    • retries per task
    • pass@1 and pass@3
    • cost per successful task

    Anti-Patterns

    • Too many tools with overlapping semantics.
    • Opaque tool output with no recovery hints.
    • Error-only output without next steps.
    • Context overloading with irrelevant references.

    Alternatives

    Compare before choosing

    Computed 56234,327

    affaan-m/ECC

    agent-harness-construction

    Review agent-harness-construction's use cases, installation, workflow, and original source instructions.

    Computed 51234,327

    affaan-m/ECC

    agent-harness-construction

    Review agent-harness-construction's use cases, installation, workflow, and original source instructions.

    Computed 10042,015

    coreyhaines31/marketingskills

    ab-testing

    When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

    Computed 10042,015

    coreyhaines31/marketingskills

    churn-prevention

    When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o