Agent skills

From agentclash/agentclash · View interactive version

Agent skills is an AI agent skill from the GitHub repository agentclash/agentclash. Use when creating, reviewing, or updating AgentClash agent-skill folders so the catalog taxonomy, frontmatter, generated docs, markdown exports, and llms.txt surfaces stay consistent.

How to use this skill

Skill file

AgentClash Skill Catalog

Purpose

Define the folder taxonomy and publishing contract for AgentClash Agent Skills. Use this skill before adding or changing any web/content/agent-skills/**/SKILL.md file.

Use When

Do Not Use When

Inputs Needed

Canonical Folder Taxonomy

The canonical source is always a SKILL.md file under web/content/agent-skills.

web/content/agent-skills/SKILL.md
web/content/agent-skills/<top-level-skill>/SKILL.md
web/content/agent-skills/agent-build-skills/<skill>/SKILL.md
web/content/agent-skills/challenge-pack-skills/<skill>/SKILL.md

Use top-level folders for cross-cutting workflows such as CLI setup, eval running, scorecard reading, regression, and CI gates. Use agent-build-skills/ for agent build specs, runtime resources, deployments, providers, secrets, and model aliases. Use challenge-pack-skills/ for challenge pack planning, YAML authoring, inputs, tools, artifacts, scoring, judges, validation, and publish workflows.

Required Frontmatter

Every skill must start with YAML frontmatter that the docs generator can parse with gray-matter.

---
name: agentclash-example-skill
description: Use when the trigger is specific enough that an agent can choose this skill before reading the body.
metadata:
  agentclash.role: example
  agentclash.version: "1"
  agentclash.requires_cli: "true"
---

Field rules:

Required Body Sections

Each skill should be useful without reading the AgentClash source code. Include these sections unless the section is not applicable and explicitly say why.

Generated Docs Contract

The web docs generator discovers skill files from web/content/agent-skills/**/SKILL.md.

When adding a new category, update the docs navigation and category map in web/src/lib/docs.ts so the category page, markdown path, and bundle order are explicit.

Hosted Backend Examples

Use hosted production by default:

export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash auth login --device
agentclash workspace list
agentclash workspace use <workspace-id>

Only use local or self-hosted URLs when the skill is explicitly about local development or deployment:

agentclash --api-url http://localhost:8080 doctor

Authoring Procedure

  1. Pick the folder from the taxonomy.
  2. Read the related upstream skills in dependency order.
  3. Verify command names, config names, YAML fields, and API behavior from source-backed docs or code.
  4. Write trigger-oriented frontmatter and the required body sections.
  5. Prefer production hosted examples unless the workflow is local or self-hosted.
  6. Add or update docs-generation tests when a new path, category, or export behavior is introduced.
  7. Run the docs tests and lint before opening a PR.

Validation Commands

cd web
npm test -- docs.test.ts
npm run lint

For CLI packaging-related skill changes, also validate from cli/:

go build ./...
go test -short -race -count=1 ./...

Failure Modes

Safety Notes

Dependency Order

Read related skills in this order so downstream workflows do not redefine upstream concepts:

  1. agentclash-hub
  2. agentclash-cli-setup
  3. agentclash-quickstart
  4. agentclash-runtime-resources-setup
  5. agentclash-agent-build-author
  6. agentclash-agent-deployment-setup
  7. agentclash-challenge-pack-planner
  8. agentclash-challenge-pack-yaml-author
  9. agentclash-challenge-pack-input-sets
  10. agentclash-challenge-pack-tools-sandbox
  11. agentclash-challenge-pack-artifacts
  12. agentclash-challenge-pack-scoring-validators
  13. agentclash-challenge-pack-llm-judges
  14. agentclash-challenge-pack-validation-publish
  15. agentclash-eval-runner
  16. agentclash-scorecard-reader
  17. agentclash-compare-and-triage
  18. agentclash-regression-flywheel
  19. agentclash-ci-release-gate
  20. agentclash-agent-harness-setup
  21. agentclash-multi-turn-operator
  22. agentclash-dataset-workflows
  23. agentclash-workspace-admin
  24. agentclash-security-evaluation

Review Checklist

Report Back Format

Skill: <name>
Path: web/content/agent-skills/<path>/SKILL.md
Category: <core | agent-build-skills | challenge-pack-skills>
Docs: /docs-md/agent-skills/<path>
Validation: <commands run and result>
Notes: <source-backed caveats or follow-ups>

Related Docs

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.