Files
holocron/plugins/kyberforge/skills/agent-author/scripts
Defame1297 996d9be428 fix(agents): relocate provenance sources.md outside agents/ dir
`claude plugin validate --strict` auto-discovers every .md under a
plugin's agents/ directory as an agent requiring frontmatter, so the
provenance file there always needs fake agent frontmatter to pass
validation. Confirmed empirically that an explicit `agents` manifest
array can't suppress this discovery. Move the file to <plugin-root>/
sources.md instead, and update agent-author/agent-audit accordingly.

Adds ADR-0010, partially superseding ADR-0005's `agents/sources.md`
convention. Fixes #63.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-05 09:01:06 +00:00
..

scripts/

new-agent.sh

Scaffolds agent definition files for both Claude Code and GitHub Copilot CLI from a single root directory input.

Usage: new-agent.sh <agent-name> <root>

Detects scope from the root: plugin.json present → plugin scope (both files in <root>/agents/); ~ → user scope (~/.claude/agents/ + ~/.copilot/agents/); otherwise project scope (.claude/agents/ + .github/agents/). Each file is a no-op if it already exists. See --help for full usage.

Tests: tests/new-agent.bats (requires bats-support and bats-assert).