From coral-skills
Install built-in agents (Claude Code, Hermes, Puppet) into the Coral Protocol environment. Use this skill after coral-server is set up and the user wants to add agents, or when the user says "install agents", "setup agents", "add claude-code agent", "add hermes agent", "built-in agents", "coral agents", or mentions setting up agents for Coral. Always trigger this skill after coral-setup completes to ask the user if they want to install built-in agents.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coral-skills:coral-built-in-agent-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill installs built-in agents into `~/.coral/` and registers them in the Coral server config.
This skill installs built-in agents into ~/.coral/ and registers them in the Coral server config.
The bundled agent templates are in ${SKILL_DIR}/agents/ (claude-code, hermes, puppet).
First, verify that coral-server exists:
test -f ~/.coral/coral-server/gradlew && echo "CORAL_SERVER_OK" || echo "CORAL_SERVER_NOT_FOUND"
coral-setup/SKILL.md to set it up. After coral-server setup completes, come back here and continue from Step 1.Tell the user:
Coral server is ready. Would you like to install built-in agents? Available agents:
- Claude Code — an AI coding agent powered by Anthropic's Claude
- Hermes — a general-purpose AI agent by Nous Research
(The Puppet test agent will be installed automatically.)
Wait for the user's response before proceeding.
For each agent the user selected, check if the required CLI tool is installed:
echo "=== CLAUDE CODE ===" && (claude --version 2>&1 || echo "NOT_INSTALLED") && echo "=== HERMES ===" && (hermes --version 2>&1 || echo "NOT_INSTALLED")
Parse the output:
If any selected agent is missing its CLI, stop and wait for the user to install it, then re-check. Do NOT proceed until all selected agents have their CLIs available.
Puppet has no prerequisites — it only uses curl and bash.
For each agent to install (user-selected ones + puppet which is always installed), copy from the skill's bundled templates:
# Always install puppet
cp -r ${SKILL_DIR}/agents/puppet ~/.coral/puppet
# If user wants Claude Code
cp -r ${SKILL_DIR}/agents/claude-code ~/.coral/claude-code
# If user wants Hermes
cp -r ${SKILL_DIR}/agents/hermes ~/.coral/hermes
Make startup scripts executable:
chmod +x ~/.coral/puppet/startup.sh
chmod +x ~/.coral/claude-code/startup.sh # if installed
chmod +x ~/.coral/hermes/startup.sh # if installed
Read ~/.coral/coral-server/src/main/resources/config.toml and update the local_agents list under [registry] to point to the new ~/.coral/ paths.
The paths should use the user's actual home directory (expand ~). Build the list based on what was installed:
"<HOME>/.coral/puppet""<HOME>/.coral/claude-code""<HOME>/.coral/hermes"Example result in config.toml:
[registry]
local_agents = ["/Users/username/.coral/claude-code", "/Users/username/.coral/hermes", "/Users/username/.coral/puppet"]
Use the Edit tool to update only the local_agents line. Do not modify any other part of config.toml.
Confirm the setup:
echo "=== INSTALLED AGENTS ===" && ls -d ~/.coral/claude-code ~/.coral/hermes ~/.coral/puppet 2>/dev/null && echo "=== CONFIG CHECK ===" && grep "local_agents" ~/.coral/coral-server/src/main/resources/config.toml
Tell the user:
cd ~/.coral/coral-server && ./gradlew run if not already runningAfter reporting the setup results, ask the user:
Would you like to try running these agents through Coral server? I can help you orchestrate a multi-agent session.
If the user says yes, read the sibling skill at ${SKILL_DIR}/../coral-agent-swarm/SKILL.md and follow its instructions to set up and run a multi-agent session.
npx claudepluginhub coral-protocol/coral-skill-set --plugin coral-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.