Command Palette

Search for a command to run...

Назад к скиллам
скилл № 22719

agentclash-challenge-pack-validation-publish

Use when validating AgentClash challenge pack YAML, fixing schema/scoring/tool/asset errors, publishing runnable pack versions, recording returned IDs, and…

БесплатноБез исполняемых скриптов
agentclashот agentclash★ 38 звёзд на GitHub

Установить agentclash-challenge-pack-validation-publish в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

AgentClash Challenge Pack Validation and Publish

Purpose

Validate a complete AgentClash challenge pack against the real workspace-backed parser, fix any source-reported errors, publish a runnable version only when intended, and report the IDs needed to start an eval.

Use When

  • A challenge pack YAML file is ready for validation after planning, YAML authoring, inputs, tools, artifacts, scoring, and judges are in place.
  • The user asks whether a pack is publishable.
  • The user asks to publish a pack and needs the returned pack/version/evaluation/input-set IDs.
  • A reviewer needs exact next commands for agentclash eval start or agentclash run create.

Do Not Use When

  • The pack idea is still being designed; use agentclash-challenge-pack-planner.
  • The YAML structure is being written from scratch; use agentclash-challenge-pack-yaml-author.
  • The task is only to run an already published eval; use agentclash-eval-runner.
  • The task is to upload standalone workspace artifacts; use agentclash-challenge-pack-artifacts.

Inputs Needed

  • Pack YAML path.
  • Target workspace ID or a configured workspace from agentclash link, agentclash workspace use, --workspace, AGENTCLASH_WORKSPACE, or .agentclash.yaml.
  • Whether publish is explicitly allowed now.
  • Deployment ID/name for the next run command, if the user wants a ready-to-run command.

Environment

Use hosted production by default unless the user intentionally targets local or self-hosted infrastructure:

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

agentclash challenge-pack validate is not an offline-only local parser in the current CLI. It reads the YAML file, requires auth and a workspace, then posts the raw bundle to:

POST /v1/workspaces/<workspace-id>/challenge-packs/validate

agentclash challenge-pack publish posts the same raw bundle to:

POST /v1/workspaces/<workspace-id>/challenge-packs

Use --json for coding-agent workflows because human output intentionally omits several IDs.

CLI Surface

Use the full command names in docs and automation. challenge-pack also has the cp alias, but the full form is clearer for agents.

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

Exact command notes from the CLI:

  • validate and publish each take exactly one file path.
  • validate and publish have no command-specific flags today; --json, --workspace, --api-url, and --quiet are global flags.
  • publish does not implement a challenge-pack-specific dry run, confirmation flag, or update flag.
  • list --json returns visible packs for the current workspace, with each pack's runnable versions.
  • The API request body is capped at 1 MiB.

Work with drafts

Create a draft from a composition file, or generate one from an app description.

agentclash challenge-pack draft create --name "Support eval" --composition-file composition.yaml --json
agentclash challenge-pack draft generate --description "Test a support agent" --provider-account <ACCOUNT_ID> --model <MODEL> --json

Draft generation starts a paid model call. After exit 75, run agentclash challenge-pack draft list before a retry. The server can create a draft even if the CLI gives exit 75.

Compile the draft with its returned id. Fix any errors before you publish. Get user approval before you publish.

agentclash challenge-pack draft compile <DRAFT_ID> --yaml-out pack.yaml
agentclash challenge-pack draft publish <DRAFT_ID> --json

Get user approval before you use agentclash challenge-pack draft delete <DRAFT_ID> --yes.

Validation Procedure

  1. Set hosted API URL unless the workflow is explicitly local or self-hosted.
  2. Verify the workspace context before making workspace-backed calls.
  3. Run validation with --json.
  4. If the command fails, inspect both stdout and stderr. Current validation failures use HTTP 400, so the CLI can report the response body through its generic API-error path instead of returning a clean JSON object on stdout.
  5. Fix every field and message pair reported by the API.
  6. Re-run validation until it succeeds.
  7. Only then publish, and only when the user has already approved publishing.
export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash auth status
agentclash workspace use <WORKSPACE_ID>
agentclash challenge-pack validate path/to/pack.yaml --json

On success, validate --json returns:

{
  "valid": true,
  "errors": null
}

On validation failure, the API response shape is:

{
  "valid": false,
  "errors": [
    {
      "field": "version.evaluation_spec.validators[0].type",
      "message": "must be one of ..."
    }
  ]
}

Because invalid validation is returned with HTTP 400 today, do not assume a failing CLI invocation will print that object as successful structured stdout. S

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл agentclash-challenge-pack-validation-publish?

Use when validating AgentClash challenge pack YAML, fixing schema/scoring/tool/asset errors, publishing runnable pack versions, recording returned IDs, and preparing next eval commands.

Как установить скилл agentclash-challenge-pack-validation-publish?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agentclash-challenge-pack-validation-publish запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agentclash-challenge-pack-validation-publish с