From coral-skills
Connect any AI agent project to the Coral Protocol multi-agent network. Use this skill when the user wants to "coralize" an agent, "connect to coral", "add my agent to coral", "register agent with coral", "make my agent work with coral", "coral integration", "coral MCP setup", or mentions integrating their own custom agent (not a built-in one) with Coral Protocol. Currently supports Mastra framework agents, with more frameworks coming soon.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coral-skills:coralize-your-agentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill walks the user through connecting their existing AI agent project to the Coral Protocol, so it can participate in multi-agent sessions alongside other Coral-connected agents.
This skill walks the user through connecting their existing AI agent project to the Coral Protocol, so it can participate in multi-agent sessions alongside other Coral-connected agents.
Currently supported frameworks:
More frameworks will be added over time.
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.Ask the user:
What's the path to your agent project?
Wait for their response. The path should be an absolute path to a directory containing an agent project.
Go to the provided path and identify the framework by checking for signature files:
AGENT_PATH="<user-provided-path>"
echo "=== CHECKING FRAMEWORK ===" && \
(test -f "$AGENT_PATH/package.json" && grep -l "@mastra" "$AGENT_PATH/package.json" && echo "FRAMEWORK: mastra") || \
echo "FRAMEWORK: unknown"
Detection rules:
package.json exists and contains @mastra dependenciesIf the framework is detected, confirm with the user:
I detected this is a Mastra agent project. I'll set it up for Coral integration. Proceed?
Wait for confirmation before continuing.
Based on the detected framework, read the corresponding reference guide and follow its instructions:
${SKILL_DIR}/references/mastra.md and follow the steps there.Read ~/.coral/coral-server/src/main/resources/config.toml and add the agent's absolute path to the local_agents list under [registry].
Use the Edit tool to update only the local_agents line. Do not modify any other part of config.toml. Make sure not to add duplicates - check if the path is already in the list first.
Tell the user:
cd ~/.coral/coral-server && ./gradlew runnpm run dev for Mastra) without coral - the coral integration is additive and doesn't break local developmentAfter 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.