Skip to main content
Trinity

agent-dev Plugin

Development tools for extending existing agents - skills, memory systems, git-backed state, a GitHub Issues development cycle, and long-running pipelines.

Why Every AI Agent Needs a GitHub Repo

Apr 2026

3 AI Agents Run My Software Development Pipeline

Apr 2026

Installation

/plugin install agent-dev@abilityai

Skills

SkillDescription
/agent-dev:create-playbookCreate a new skill/playbook for the agent
/agent-dev:adjust-playbookModify an existing skill/playbook
/agent-dev:add-memoryAdd a memory system (file-index, brain, json-state, workspace)
/agent-dev:add-git-syncAdd git-as-state hooks - auto-commit on stop, rebase on session start
/agent-dev:add-backlogInstall the full GitHub Issues development cycle into the agent
/agent-dev:backlogView the agent's current GitHub Issues backlog
/agent-dev:claimClaim the next issue - picks the highest-priority todo, marks it in-progress
/agent-dev:autoplanAnalyze a claimed issue before implementing - affected files, changes, risks
/agent-dev:commitCommit changed skill files and close the in-progress issue with traceability
/agent-dev:closeClose the current issue without a commit (use /commit when files changed)
/agent-dev:groomGroom the backlog - label untagged issues, verify priorities, surface stale work
/agent-dev:roadmapStrategic view - open issues grouped by skill area
/agent-dev:sprintHuman-supervised cycle: roadmap → claim → autoplan → implement → commit
/agent-dev:work-loopAutonomous unit of work: pick one issue, execute, close, exit
/agent-dev:planPlan and execute a large multi-session project
/agent-dev:add-pipelineScaffold a long-running multi-stage pipeline inside the agent
/agent-dev:add-pipeline-instanceAdd an instance (tenant / zone / case) to an existing pipeline
/agent-dev:add-pipeline-stageAppend a stage to an existing pipeline definition
/agent-dev:validate-pipelineLint a pipeline.yaml - schema, DAG acyclicity, referenced skills

Memory Systems

Add persistent memory to agents via /agent-dev:add-memory:

SystemPurposeUse When
file-indexWorkspace file awareness and searchAgent needs to know what files exist
brainZettelkasten-style knowledge graphAgent builds connected notes over time
json-stateStructured JSON state with jq updatesAgent tracks counters, config, or structured data
workspaceMulti-session project trackingAgent works on long-running projects

Memory systems are copied directly into the agent - no plugin dependency at runtime.

Git Sync (git-as-state)

/agent-dev:add-git-sync

Installs hooks that treat the agent's own repository as durable memory:

Auto-commit on Stop - work-in-progress is committed when a session ends
Rebase on SessionStart - each session begins from the latest remote state
Snapshot on PreCompact - state is preserved before context compaction

This gives agents durable cross-session memory through their repo, complementing Trinity's GitHub Sync on the platform side.

Playbook Development

Create a New Playbook

/agent-dev:create-playbook

Guides through purpose (what the playbook accomplishes), triggers (when it should run), steps (the workflow steps), and state (what data it reads/writes).

Modify an Existing Playbook

/agent-dev:adjust-playbook daily-report

Options: add/remove steps, change automation level, update schedule, fix issues.

GitHub Backlog Workflow

Add task management via GitHub Issues:

/agent-dev:add-backlog

This installs the full development cycle directly into the agent. After install, the agent has:

/backlog - view current issues
/claim - claim the next issue to work on
/autoplan - analyze the claimed issue before implementing
/commit - commit changes and close the issue with a traceable message
/close - close without a commit
/groom and /roadmap - keep the backlog labeled, prioritized, and surveyable
/sprint - the human-supervised end-to-end cycle
/work-loop - the autonomous variant (below)

Autonomous Work Loop

/agent-dev:work-loop

One bounded unit of work: the agent picks the highest-priority issue, executes it, closes it, and exits. It is designed to be re-invoked - by a Trinity schedule for a steady cadence, or by a Trinity agent loopfor a bounded burst ("drain up to 20 items, stop when the backlog is empty").

Pipelines (long-running multi-stage work)

/agent-dev:add-pipeline

Scaffolds an agent-owned pipeline for work that spans days or weeks (e.g. perception → synthesis → publish → measure): a projects/<slug>/ directory with pipeline.yaml and per-instance state, tick/status/recover/pause/resume skills, a heartbeat schedule that advances stages, and a ~/.trinity/ read surface so Trinity can display pipeline state without owning it.

/agent-dev:add-pipeline-instance - add a tenant/zone/case to an existing pipeline
/agent-dev:add-pipeline-stage - extend the stage DAG
/agent-dev:validate-pipeline - lint the definition (schema, acyclicity, skill references)

Pipelines are owned by the agent, not by Trinity - the platform only reads the published state. This matches Trinity's agent-defined-pipelines design: no central DAG engine.

Multi-Session Planning

For large projects that span multiple sessions:

/agent-dev:plan

Creates a persistent plan that tracks overall goals and milestones, current session focus, completed work, and next steps.

See Also

create-agent Plugin - Create new agents
trinity Plugin - Deploy, sync, and loop agents on Trinity
Skills and Playbooks - How skills work in Trinity
Abilities Overview - Full toolkit overview