feat(kyberforge): implement agent-author skill #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plugin:
plugins/kyberforge/Grill session: 2026-06-27
What to build
A new skill
agent-authorin the kyberforge plugin — the agent-definition equivalent ofskill-author. Creates and improves agent definition files for Claude Code and GitHub Copilot CLI, at plugin, project, or user scope.Design decisions
.md) and Copilot CLI (.agent.md)new-agent.sh <name> <root>— derives both paths by conventionagents/sources.mdat plugin scope onlyagent-audit(follow-on); inline validation in close stepplugins/kyberforge/skills/agent-author/Path derivation convention (
new-agent.sh <name> <root>):plugin.jsonin root):<root>/agents/<name>.md+<root>/agents/<name>.agent.mdplugin.json):<root>/.claude/agents/<name>.md+<root>/.github/agents/<name>.agent.md~):~/.claude/agents/<name>.md+~/.copilot/agents/<name>.agent.mdSee ADR-0015 (
docs/adr/0015-agent-author-dual-provider-scaffold.md) for the rationale behind always generating both provider files from a single root input.Files to produce
Key gotchas (must appear in
deployment-modes.mdand SKILL.md)hooks,mcpServers,permissionMode— these only take effect in.claude/agents/or~/.claude/agents/.agent.mdextension (not.md) for CLI agentsAskUserQuestion,EnterPlanMode,ExitPlanMode,ScheduleWakeupare never available to any Claude Code subagent regardless of thetoolsfieldplugin:dir:name) — keep agents flat inagents/Acceptance criteria
plugins/kyberforge/skills/agent-author/SKILL.mdexists;metadata.category: factory; passes/skill-auditscripts/new-agent.shpasses all bats testsplugin.json, script createsagents/<name>.mdANDagents/<name>.agent.mdplugin.json), script creates.claude/agents/<name>.mdAND.github/agents/<name>.agent.md~, script creates~/.claude/agents/<name>.mdAND~/.copilot/agents/<name>.agent.mdassets/templates/claude-code.mdis a valid annotated Claude Code agent template withFILL IN:placeholdersassets/templates/copilot.agent.mdis a valid annotated Copilot CLI agent template withFILL IN:placeholdersreferences/deployment-modes.mdcovers plugin/project/user scope restrictions for both providersreferences/sources.mdpopulated from claude-code-plugins and github-copilot-plugins research sourcestests/new-agent.batscovers plugin scope, project scope, user scope, no-op behavior, invalid namedocs/adr/0015-agent-author-dual-provider-scaffold.mdcommitted/agent-authorin a fresh session; verify create flow produces both files at plugin scopeBlocked by
None — research docs already present at
plugins/kyberforge/docs/research/docs/claude-code-plugins/andplugins/kyberforge/docs/research/docs/github-copilot-plugins/.