Agentclash challenge pack input sets

From agentclash/agentclash · View interactive version

Agentclash challenge pack input sets is an AI agent skill from the GitHub repository agentclash/agentclash. Use when designing AgentClash challenge pack cases and input sets for smoke, full benchmark, regression, edge-case, or CI suite-only coverage.

How to use this skill

Skill file

AgentClash Challenge Pack Input Sets

Purpose

Design input_sets and cases that are valid, repeatable, and useful for runs, regression promotion, and CI gates.

Use this skill after the challenge pack structure is known and before scoring is finalized. The goal is to make every case observable: each case should have a stable key, a declared challenge, concrete inputs, expected evidence, and a clear reason to exist.

Use When

Do Not Use When

Environment

Use hosted production for CLI examples unless the user intentionally targets a local or self-hosted backend.

export AGENTCLASH_API_URL="https://api.agentclash.dev"

Validation Commands

Validate the pack after editing input sets.

agentclash challenge-pack validate path/to/pack.yaml
agentclash challenge-pack validate path/to/pack.yaml --json

Human output prints Challenge pack is valid or Challenge pack has errors. Use --json for structured valid and errors fields.

Exact YAML Shape

The current bundle parser accepts top-level input_sets, each with key, name, optional description, and cases.

input_sets:
  - key: refund-smoke
    name: Refund Smoke
    description: Fast refund-policy checks for CI and authoring smoke tests.
    cases:
      - challenge_key: refund-question
        case_key: refund-window-basic
        payload:
          customer_message: Can I get a refund after 14 days?
          account_tier: standard
        inputs:
          - key: prompt
            kind: text
            value: Can I get a refund after 14 days?
        expectations:
          - key: policy_reference
            kind: text
            source: input:prompt

Case fields:

Use cases, not legacy items, in new YAML. Legacy items are normalized by the parser, but new skills and packs should not author them.

Hard Validator Rules

Because an input set cannot mix challenge keys today, use separate input sets per challenge when designing pack-wide smoke or CI coverage:

input_sets:
  - key: refund-smoke
    name: Refund Smoke
    cases:
      - challenge_key: refund-question
        case_key: refund-window-basic
  - key: billing-smoke
    name: Billing Smoke
    cases:
      - challenge_key: billing-question
        case_key: invoice-copy-basic

Input And Expectation Patterns

Use payload for case data the evaluator or prompt builder should understand as structured context. Use inputs when individual evidence keys need to be referenced by expectations, validators, judges, or review output.

cases:
  - challenge_key: summarize-policy
    case_key: policy-summary-edge-exclusions
    payload:
      audience: customer-support-agent
      risk: exclusion missed
    inputs:
      - key: prompt
        kind: text
        value: Summarize the policy and call out exclusions.
      - key: source_doc
        kind: file
        artifact_key: policy_pdf
        path: assets/policy.pdf
    expectations:
      - key: required_topics
        kind: json
        value:
          must_include:
            - refund window
            - exclusions
      - key: prompt_reference
        kind: text
        source: input:prompt

Use value when the expected content is inline. Use source: input:<key> when the expectation should refer to an input in the same case. Use source: artifact:<key> only for version-level assets.

Input Set Types

Use names that describe run intent and challenge scope.

| Input set | Purpose | Typical size | Guidance |

| --- | --- | --- | --- |

| <challenge>-smoke | Fast sanity check | 1-3 cases | Covers the most ordinary success path and one cheap edge case. |

| <challenge>-ci | CI gate input set | 1-5 cases | Deterministic, stable, low-cost, no flaky external dependency. |

| <challenge>-full | Benchmark coverage | 5+ cases | Representative distribution across easy, medium, hard, and expert cases. |

| <challenge>-regression | Known failure replay | As needed | Minimal reproductions of real failures with stable expectations. |

| <challenge>-edge | Boundary behavior | Focused | Valid unusual inputs, ambiguity, malformed-but-recoverable payloads, or safety guardrails. |

Do not put unrelated capabilities into one input set. If a run needs multiple challenges, model that through multiple challenge-specific input sets or downstream run/eval selection, not a mixed challenge_key input set.

Coverage Review

For each challenge, check:

Each case should have a reason. If two cases would fail for the same reason and exercise the same evidence, keep the clearer one unless you need variance.

Stable Key Rules

Regression And CI Guidance

Regression input sets should be small and forensic: they preserve the evidence needed to reproduce a known failure. Use them to seed regression suites later, but do not confuse pack input_sets with regression suites.

CI-oriented input sets should be deterministic. Avoid:

The eval runner can select a published input set with:

agentclash eval start --input-set <INPUT_SET_ID_OR_KEY_OR_EXACT_NAME>

--scope suite_only is for regression suite/case selection, not a replacement for input_sets.

Common Validation Failures

Authoring Procedure

  1. List challenges and confirm their exact key values.
  2. Draft cases per challenge, not across challenges.
  3. Split by run intent: smoke, CI, full, regression, and edge.
  4. Give every case a stable case_key, concrete payload, and clear reason.
  5. Add inputs when expectations or scoring need named evidence.
  6. Add expectations that reference inline value, input:<key>, or artifact:<key> only when those references exist.
  7. Review duplicates and remove cases with no unique signal.
  8. Validate the pack with agentclash challenge-pack validate ... --json.
  9. Hand off to scoring, validation/publish, or eval runner skills.

Report Back Format

Challenge:
Input sets:
- key:
  purpose:
  case count:
  intended use: <smoke | ci | full | regression | edge>
  cases:
    - case_key:
      payload summary:
      inputs:
      expectations:
      reason:
Coverage gaps:
Validation command:
Ready for scoring: <yes/no>
Next skill:

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.