Building Agents with Claude Code
Use the abilitiesplugins to create, develop, and deploy agents to Trinity — all from your terminal.
Prerequisites
Claude Code installed — npm install -g @anthropic-ai/claude-code
Trinity instance running — either on ability.ai or self-hosted
One-Time Setup
Add the abilities marketplace and install the core plugins:
# Add the abilities marketplace (one-time)
/plugin marketplace add abilityai/abilities
# Install the core plugins
/plugin install create-agent@abilityai
/plugin install agent-dev@abilityai
/plugin install trinity@abilityaiOr from the terminal: claude plugin add abilityai/abilities
Choose Your Starting Point
Path A: Creating a New Agent
Start from scratch with a guided wizard
Choose a wizard and run it
/create-agent:create # Shows all available wizards
# Or jump directly to a specific wizard:
/create-agent:prospector # B2B sales research agent
/create-agent:chief-of-staff # Executive assistant
/create-agent:webmaster # Website management
/create-agent:recon # Competitive intelligence
/create-agent:ghostwriter # Content writer
/create-agent:custom # Blank canvas (you define everything)Each wizard asks domain-specific questions and scaffolds a complete agent.
Connect to Trinity (one-time)
/trinity:connectAuthenticates and saves your MCP connection config. Only needed once per machine.
Deploy to Trinity
/trinity:onboardCreates template.yaml, checks compatibility, and deploys. Your agent is now running 24/7.
Path B: Onboarding an Existing Agent
Already have a Claude Code agent? Deploy it to Trinity.
Connect to Trinity (one-time)
/trinity:connectOnboard the agent
/trinity:onboardChecks your agent for Trinity compatibility, creates required files (template.yaml, .mcp.json.template), and deploys.
Review and improve (optional)
/create-agent:adjustAudits your agent against best practices and proposes improvements to CLAUDE.md, skills, and Trinity files.
Path C: Ongoing Development
Add capabilities and keep your agent in sync
Add a new skill/playbook
/agent-dev:create-playbookAdd a memory system
/agent-dev:add-memory # Choose: file-index, brain, json-state, workspaceAdd GitHub Issues task management
/agent-dev:add-backlogPush changes to Trinity
/trinity:sync # Or just: git pushWhat Gets Created
Wizard-created agents include everything needed for Trinity:
CLAUDE.md— Agent identity and instructions
.claude/skills/— 2-4 starter skills
template.yaml— Trinity deployment config
.mcp.json.template— Credential declarations
dashboard.yaml— Custom metrics dashboard
onboarding.json— Setup progress tracker