Skip to main content
Trinity
Getting Started/Building Agents

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@abilityai

Or 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

1

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.

2

Connect to Trinity (one-time)

/trinity:connect

Authenticates and saves your MCP connection config. Only needed once per machine.

3

Deploy to Trinity

/trinity:onboard

Creates 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.

1

Connect to Trinity (one-time)

/trinity:connect
2

Onboard the agent

/trinity:onboard

Checks your agent for Trinity compatibility, creates required files (template.yaml, .mcp.json.template), and deploys.

3

Review and improve (optional)

/create-agent:adjust

Audits 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-playbook

Add a memory system

/agent-dev:add-memory   # Choose: file-index, brain, json-state, workspace

Add GitHub Issues task management

/agent-dev:add-backlog

Push changes to Trinity

/trinity:sync          # Or just: git push

What 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