Discover & Use Skills
This page walks through installing AgentRoot in your AI agent, resolving a domain's published records, and installing a skill into your agent's local skills folder.
Install AgentRoot in your agent
Three options depending on how your agent loads tools:
Option 1: As a CLI
npm install -g agent-root
agent-root --versionThen call agent-root resolve <domain> directly, or wrap it in a tool definition for your agent.
Option 2: As an MCP server
Add AgentRoot to your agent's MCP config. The exact location varies per tool:
Claude Code
~/.claude.json (mcpServers block)
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
Cursor
~/.cursor/mcp.json
Codex CLI
~/.codex/mcp.json
Generic config snippet:
{
"mcpServers": {
"agent-root": {
"command": "npx",
"args": ["-y", "agent-root", "mcp"]
}
}
}After restart, the agent has access to agentroot_resolve, agentroot_install_record, and agentroot_list tools.
Option 3: As a library
Use programmatically when building your own agent or backend integration.
Resolve a domain
Discover what a domain offers:
Sample output:
This is the same data the agent uses internally to decide which skill to install for a given user intent.
Install a skill
Pick a record by id and install it:
Where the skill lands depends on which agent tool is detected first on PATH / config:
Claude Code / Claude Desktop
~/.claude/skills/doma.xyz/trade-tokens/
Cursor
~/.cursor/skills/doma.xyz/trade-tokens/
Codex CLI
~/.codex/skills/doma.xyz/trade-tokens/
Gemini CLI
~/.gemini/skills/doma.xyz/trade-tokens/
OpenCode
~/.opencode/skills/doma.xyz/trade-tokens/
Force a specific tool with --tool=<name>:
List installed skills
Output shows skill ID, source domain, install path, and verification status.
Verify the install in your agent
After installing, prompt your agent with one of the skill's trigger phrases (listed in each skill's reference page). For example, after installing trade-tokens:
The agent should pick up the trigger, follow the workflow encoded in SKILL.md, and walk you through prerequisites + execution.
What's next
Zone File Reference: understand what's in the JSON the resolver returns.
Publish Your Own: author a zone for your own domain.
Skills: reference pages for the three skills Doma publishes.
Last updated