agentleFS
AbilityaiAbilityai/trinity/CLAUDE.md

trinity

CLAUDE.md619 starsChanged 2 months agoApache-2.0View on GitHub

This file provides guidance to Claude Code when working with this repository. Repository: https://github.com/abilityai/trinity (PUBLIC) AI agent orienting in this repo? AGENTS.md is the authoritative agent entry point — a task router with key facts, exact commands, and a "done when" check per task. This file is the contributor working agreement (Rules of Engagement, SDLC, architectural invariants), auto-loaded by Claude Code when you work on the codebase. Read it when your task is "contribute code"; start at AGENTS.md for deploy…

  • Reads credentials
  • Sends data out
  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

27 rules. About 0 are common, 19 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run git diff and review all changes line by line

    line 40
  2. Very specific:

    Search for patterns: API keys (often start with sk-, pk-, ghp_), emails (@), IPs (192.168., 10.0.)

    line 41
  3. Very specific:

    Verify no .env or config files with real credentials are staged

    line 42
  4. Distinctive:

    Check that examples use placeholder values

    line 43
  5. Distinctive:

    All work follows a 4-stage lifecycle tracked via GitHub Issues (labels + open/closed state — no project board):

    line 97
  6. Very specific:

    Update the relevant area file under docs/memory/requirements/ BEFORE implementing new features (the requirements.md index maps areas → …

    line 117
  7. Distinctive:

    All features must trace back to documented requirements

    line 118
  8. Distinctive:

    Never add features without requirements update first

    line 119
  9. Distinctive:

    Only change what's required for the task

    line 122
  10. Distinctive:

    No unsolicited refactoring or reorganization

    line 123
  11. Distinctive:

    No cosmetic formatting changes to unrelated code

    line 124
  12. Distinctive:

    No creating documentation files unless explicitly requested

    line 125
  13. Very specific:

    Check GitHub Issues for current priorities (gh issue list) — labels are the single source of truth

    line 128
  14. Distinctive:

    Never expose credentials, API keys, or tokens in code or logs

    line 141
  15. Distinctive:

    Never commit internal URLs, IP addresses, or email addresses

    line 142
  16. Distinctive:

    Use environment variables for all secrets

    line 143
  17. Distinctive:

    All credential operations logged via structured logging (values masked, captured by Vector)

    line 144
  18. Very specific:

    Use placeholder values in example configs (e.g., your-domain.com, your-api-key)

    line 145
  19. Distinctive:

    TDD: write the failing test first, then minimal code to pass

    line 153
  20. Distinctive:

    Code review: verify feedback technically before implementing

    line 154
  21. Distinctive:

    Credential security: Never log credentials. Credential values are masked in all logs.

    line 253
  22. Very specific:

    Logging via Vector: All container logs are captured by Vector and written to JSON files.

    line 261
  23. Very specific:

    Base image rebuilds: After modifying docker/base-image/Dockerfile, run ./scripts/deploy/build-base-image.sh.

    line 265
  24. Distinctive:

    Re-login after restart: When the backend restarts, users need to re-login (JWT tokens are invalidated).

    line 267
  25. Very specific:

    MCP reconnection: After backend restart, MCP clients (Claude Code, etc.) need to be manually reconnected (run /mcp or restart the client).

    line 269
  26. Distinctive:

    Keep working directory clean: Delete temporary files (screenshots, test outputs, cache directories) after use.

    line 271
  27. Distinctive:

    All authenticated API calls require a JWT Bearer token.

    line 283

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code when working with this repository.

Repository: https://github.com/abilityai/trinity (PUBLIC)

AI agent orienting in this repo? AGENTS.md is the authoritative agent entry point — a task router with key facts, exact commands, and a "done when" check per task. This file is the contributor working agreement (Rules of Engagement, SDLC, architectural invariants), auto-loaded by Claude Code when you work on the codebase. Read it when your task is "contribute code"; start at AGENTS.md for deploy / operate / evaluate.

Core team: internal working-agreement context (current product focus, tracker routing, remote agent, methodology skill map) auto-loads via the import below from the private .claude submodule. On OSS clones without the submodule the import is silently skipped — everything an external contributor needs is in this file.

@.claude/TEAM_CONTEXT.md


⚠️ PUBLIC OPEN SOURCE REPOSITORY

This is a PUBLIC open-source repository visible to the entire world.

What NEVER to Commit

  • ❌ API keys, tokens, PATs, or any credentials (even in comments or docs)
  • ❌ Internal company URLs, production domains, IP addresses
  • ❌ Real user emails, personal information, or PII
  • ❌ Database dumps, backups, or data exports
  • ❌ .env files or deployment configs with real values
  • ❌ Auth0 client secrets, OAuth credentials, or service account keys
  • ❌ Private repository references or internal tooling details
  • ❌ Customer names, company-specific configurations, or business data
  • ❌ Enterprise/paid-feature designs — the catalog of which capabilities are gated behind the paid tier, their private schema (enterprise_* tables), per-module implementation, or the open-core monetization/gating rationale. Public docs describe the generic open-core seam only (the entitlement/registry mechanism and how OSS code conditionally registers private modules). Specific enterprise module designs live ONLY in the private trinity-enterprise repo (docs/memory/ENTERPRISE_DOCS.md there). See the standing rule below; a CI grep-guard (.github/workflows/enterprise-docs-guard.yml) flags regressions. (trinity-enterprise#45)

Open Source Best Practices

✅ Use placeholders: your-domain.com, your-api-key, user@example.com ✅ Example files: Commit .example templates (e.g., .env.example) ✅ Environment variables: Reference ${VAR_NAME} instead of hardcoded values ✅ Local examples: Use localhost or 127.0.0.1 in documentation ✅ Review diffs: Always check git diff before committing to catch accidental secrets ✅ Public-first mindset: Assume every commit will be visible forever and indexed by search engines

Git Safety Checklist

Before every commit:

  1. Run git diff and review all changes line by line
  2. Search for patterns: API keys (often start with sk-, pk-, ghp_), emails (@), IPs (192.168., 10.0.)
  3. Verify no .env or config files with real credentials are staged
  4. Check that examples use placeholder values
  5. Confirm commit message doesn't reference internal systems

Standing Rule: Enterprise Docs Are Private (trinity-enterprise#45)

Enterprise feature designs, paid-module schema, and the open-core gating/monetization strategy live ONLY in the private trinity-enterprise repo. Public docs (docs/, this file) describe the generic open-core seam only — that an entitlement/registry mechanism exists and how OSS code conditionally registers private modules — with no catalog of specific paid features, no enterprise_* table DDL, and no per-module implementation detail.

  • New enterprise design → write it in trinity-enterprise/docs/, not here.
  • Touching the seam in public docs → describe the mechanism, never enumerate the modules behind it.
  • .github/workflows/enterprise-docs-guard.yml greps live public docs and the open-core seam files (src/backend/main.py, src/backend/services/entitlement_service.py — a code comment can name the catalog just as a doc can, #1461) for paid-feature/private-schema tokens and fails the build on a hit; keep historical point-in-time docs (docs/archive/, docs/releases/, docs/security-reports/) out of scope (covered by the separate git-history-scrub follow-up).

Project Overview

Trinity is an autonomous agent orchestration and infrastructure platform — sovereign infrastructure for deploying, orchestrating, and governing fleets of autonomous AI agents on your own hardware.

Each agent runs as an isolated Docker container with standardized interfaces for credentials, tools, and MCP server integrations.

Local: http://localhost Backend API: http://localhost:8000/docs


Development Skills (.claude submodule)

Skills, agents, and methodology guides live in the .claude/ directory, which is a git submodule pointing to abilityai/trinity-dev (private, core-team only). This is where /sprint, /cso, /autoplan, /implement, /review, /validate-pr, etc. come from.

Both of this repo's submodules (.claude and src/backend/enterprise) are private and optional, marked update = none in .gitmodules (#1443) — a plain git submodule update --init --recursive skips them, so OSS clones never hit an auth prompt. Mounting one is an explicit per-clone opt-in.

One-time setup after cloning (core team)

git config submodule..claude.update checkout  # durable opt-in: overrides the update=none default for this clone
git submodule update --init .claude           # now actually clones (needs trinity-dev access)
git config submodule.recurse true             # auto-syncs .claude when switching branches

The config line must come first — with the update = none default, a plain --init is skipped, and any init path (plain --init, --init --checkout, clone --recurse-submodules) copies none into your local config, so future updates keep skipping until the override is set. Without submodule.recurse true, switching branches will leave .claude stale and skills will disappear. The fetchRecurseSubmodules = on-demand in .gitmodules handles git pull automatically once .claude is checked out (a submodule-bump commit triggers the fetch), but branch switching requires the local config above. (Clones initialized before #1443 already carry the update = checkout local override — no action needed. on-demand, not true: true unconditionally tries to recurse-fetch .claude even when it was never checked out, which fails with "Could not access submodule '.claude'" for anyone — human or self-hosting agent — without trinity-dev credentials.)

External contributors

You don't need .claude — it's internal tooling. The public abilities marketplace ships the dev-methodology plugin with the equivalent development workflow skills (implement, review, validate-pr, release, and more):

/plugin marketplace add abilityai/abilities
/plugin install dev-methodology@abilityai

For the optional enterprise submodule (src/backend/enterprise), see docs/ENTERPRISE.md.


SDLC

All work follows a 4-stage lifecycle tracked via GitHub Issues (labels + open/closed state — no project board):

 Todo → In Progress → In Dev → Done
  • Todo: Issue created, triaged with priority (P0-P3), type, and theme labels, acceptance criteria defined
  • In Progress: Developer assigned, feature branch created (feature/<issue>-<slug>), status-in-progress label
  • In Dev: PR squash-merged to dev — status-in-dev label, awaiting the next release cut (dev → main)
  • Done: Release PR merged to main, issue auto-closed via Closes #N

Two trackers (open-core). The public tracker (abilityai/trinity) carries bugs, refactors, and docs; feature/epic planning lives in a private tracker. Tracker ≠ code repo — core code always lands as a public-repo PR. (Core team: routing rules are in the imported team context and .claude/DEVELOPMENT_WORKFLOW.md → Repository Routing.)

Enterprise-tracker features are entitlement-gated by default. Treat every feature filed in abilityai/trinity-enterprise as a gated enterprise module (private logic behind requires_entitlement(...), gated Vue behind enterprise_features) unless the user explicitly decides it should be OSS-core. Do NOT infer "generic OSS" just because it reuses OSS tables/endpoints — "can build in OSS" ≠ "should"; monetization is the user's call. If OSS-core is chosen, the OSS side keeps only the edition-agnostic enforcement primitive; the feature stays in the private submodule. Confirm the gating shape before building.


Rules of Engagement

1. Requirements-Driven Development

  • Update the relevant area file under docs/memory/requirements/ BEFORE implementing new features (the requirements.md index maps areas → files and states the write-path rule)
  • All features must trace back to documented requirements
  • Never add features without requirements update first

2. Minimal Necessary Changes

  • Only change what's required for the task
  • No unsolicited refactoring or reorganization
  • No cosmetic formatting changes to unrelated code
  • No creating documentation files unless explicitly requested

3. Follow the Roadmap

  • Check GitHub Issues for current priorities (gh issue list) — labels are the single source of truth
  • Work P0 issues first, then P1 (type-bug before type-feature, then newest issue number first), then P2/P3
  • Assign yourself and update status-* labels as you progress (see SDLC above)
  • Close issues when complete

4. Tiered Documentation Updates

Documentation requirements scale with change type (change history is tracked via git commits):

  • Bug fix: Descriptive commit message only
  • Feature / API change: the owning area file under docs/memory/architecture/ (mapped by the Architecture Map in architecture.md) or feature-flows/ as needed
  • New capability: docs/memory/requirements/<area>.md (index: requirements.md) + feature-flows/

5. Security First (PUBLIC REPO)

  • This is a public repository - assume all commits are visible worldwide
  • Never expose credentials, API keys, or tokens in code or logs
  • Never commit internal URLs, IP addresses, or email addresses
  • Use environment variables for all secrets
  • All credential operations logged via structured logging (values masked, captured by Vector)
  • Use placeholder values in example configs (e.g., your-domain.com, your-api-key)
  • Review diffs before committing for accidental sensitive data

6. Development Methodology

Non-negotiables regardless of tooling (core team: methodology guides in the .claude submodule's skills/; external contributors: the public dev-methodology plugin — see Development Skills above):

  • Verification: no "done" claims without evidence (run the command, show the output)
  • Systematic debugging: find the root cause BEFORE attempting fixes
  • TDD: write the failing test first, then minimal code to pass
  • Code review: verify feedback technically before implementing

7. Architectural Invariants

Before adding endpoints, services, DB tables, or frontend views, review the Architectural Invariants section in @docs/memory/architecture.md — the always-loaded core, which also carries the Architecture Map naming the on-demand area file that owns each part of the tree (read that file before changing behaviour it documents — a deliberate step, nothing injects it for you). Violations of these patterns will break the system. Run /validate-architecture weekly to catch drift. For decisions about new capabilities or significant design choices, also consult docs/planning/TARGET_ARCHITECTURE.md — prefer changes that move toward the target, reject changes that move away from it.

8. Agent-Defined Pipelines (Trinity ≠ DAG engine)

Long-running multi-stage work inside agents (perception → synthesis → publish → measure, etc.) is owned by the agent, not by Trinity. The agent runs a heartbeat skill that advances stages, retries failures, and escalates via the operator queue. Trinity's only contribution is a standardized read surface — agents publish ~/.trinity/pipelines/<id>.yaml (definition) and ~/.trinity/pipeline-state/<id>/<instance>.json (state); Trinity exposes these via thin MCP tools (list_agent_pipelines, get_agent_pipeline_state) that wrap the existing agent_files router. Do not add a DAG executor, pipeline state tables, or backend transition logic — those belong in the agent. See docs/memory/requirements/scheduling.md (Agent-Defined Pipelines, formerly §34) and issue #919.

9. Dual-Track DB Migrations (SQLite + PostgreSQL) — #1183

Trinity supports both SQLite (default) and PostgreSQL, on separate migration systems. Every schema change requires TWO migrations:

  1. SQLite → add a versioned entry to src/backend/db/migrations.py (bespoke runner: PRAGMA + INSERT OR IGNORE, tracked in schema_migrations).
  2. PostgreSQL → add a new Alembic revision under src/backend/migrations/versions/ (init_database()'s non-SQLite branch runs db/alembic_runner.upgrade_to_head()).

Also update the table DDL in src/backend/db/schema.py / db/tables.py so fresh builds stay correct. Do not drop or skip the SQLite track — SQLite stays supported (PostgreSQL-only is an eventual goal, not near-term). The single-source-of-truth consolidation (tables.py MetaData → autogenerated revisions, retiring migrations.py) is deferred to #746. Enterprise tables migrate through their own separate runner (enterprise/backend/_migrations.py, enterprise_schema_migrations) — see invariant #3 in architecture.md.

10. Frontend Design System — #1430

Before writing or changing any code under src/frontend/, read docs/memory/design-system-contract.md — the condensed, binding build contract. The full system of record is docs/memory/design-system.md (token taxonomy, both-theme rules, primitives catalog, data-loading motion standard, and the 29 UI Construction Principles), with docs/memory/design-system-reference.html as the approved visual spec. Non-negotiables: semantic tokens only (no raw Tailwind palette classes, no hardcoded hex), primitives over hand-rolled lookalikes, light and dark both first-class, layout stability (reserve space; no scroll/state resets), bounded viewports for unbounded data. Raw-color usage is ratcheted, and enforced (#2605): tests/unit/rawColorRatchet.spec.js fails npm run test:unit when a file's raw-palette / hex counts grow past src/frontend/raw-color-baseline.json, when a file with no baseline entry carries any non-gray palette class ("new code starts at zero"), or when an entry sits above reality after a paydown (regenerate so the ratchet keeps biting: node src/frontend/scripts/scan-raw-colors.mjs src/frontend --baseline src/frontend/raw-color-baseline.json). It was documented as ratcheted from 2026-07-31 and nothing ran it until #2605, so the baseline was re-frozen there with the increases named. Bare loading gates are ratcheted too (#1927): tests/unit/loadingGateRatchet.spec.js fails npm run test:unit when a file's count of v-if="<loading flag>" gates grows past src/frontend/loading-gate-baseline.json — gate on "no data yet" via utils/loadingState.js::viewState instead, and regenerate the baseline with node src/frontend/scripts/scan-loading-gates.mjs src/frontend/src --baseline src/frontend/loading-gate-baseline.json when you fix one.


Memory Files

FilePurpose
docs/memory/requirements.mdSINGLE SOURCE OF TRUTH — index over per-area files in docs/memory/requirements/ (split from the former monolith, #1406). All features
@docs/memory/architecture.mdAlways-loaded core — system shape, all Architectural Invariants, network topology, and the Architecture Map (area → owned code paths → the regression reading it prevents). Budget: ≤500 lines (#2306)
docs/memory/architecture/Per-area detail, read on demand — never @-imported. 14 files: backend/API catalogs, execution, reliability, agent lifecycle, agent runtime, integrations, observability, workspace, frontend, MCP server, database, security, background services. Architecture updates land here, not in the core
docs/planning/TARGET_ARCHITECTURE.mdTarget system design + active orchestration direction — pull / work-stealing coordination (Epic #1045, umbrella #1081). v2 (2026-07-01): side-effect handling reframed to retry-with-prior-trace recovery + deterministic tool-side gates on capability-confined irreversible rails (Direction B); pull default-on now gates per-effect not per-agent (#1401 recovery trace + injection, #1402 async operator-queue human-gate). v1 archived at docs/archive/plans/TARGET_ARCHITECTURE_v1_2026-06-06.md. Use when evaluating tradeoffs and prioritizing work; consult before touching task_execution_service, capacity_manager, slot_service, backlog_service, dispatch_breaker, or cleanup_service.
docs/memory/feature-flows.mdIndex of vertical slice docs
docs/memory/design-system.mdFrontend design system — system of record (#1430): tokens, both-theme rules + dark ink ladder, primitives catalog, data-loading motion standard, 29 UI Construction Principles. Binding contract: design-system-contract.md (read before any src/frontend/ change); approved visual spec: design-system-reference.html
docs/archive/plans/ORCHESTRATION_RELIABILITY_2026-04.mdArchived (historical) — completed Sprint A–D′ execution-reliability plan (all shipped). Superseded 2026-06-05 by the pull-coordination direction in TARGET_ARCHITECTURE.md. Read for background on the slot/backlog/cleanup machinery.
GitHub IssuesPrioritized task queue — labels are authoritative: priority (P0-P3), type, theme-*, complexity-*; status via status-* labels + open/closed; epics are type-epic issues with native sub-issues. No project board. (Tracker routing: see SDLC above.)

Development Commands

# Start all services
./scripts/deploy/start.sh

# Stop all services
./scripts/deploy/stop.sh

# Build base agent image
./scripts/deploy/build-base-image.sh

# Rebuild services
docker-compose build

# View logs
docker-compose logs -f backend

Local URLs


Project Structure

project_trinity/
├── src/
│   ├── backend/          # FastAPI backend (main.py, database.py)
│   ├── frontend/         # Vue.js 3 + Tailwind CSS
│   └── mcp-server/       # Trinity MCP server (121 tools)
├── docker/
│   ├── base-image/       # Universal agent base (agent-server.py)
│   ├── backend/          # Backend Dockerfile
│   └── frontend/         # Frontend Dockerfile
├── config/
│   ├── agent-templates/  # Pre-configured templates
│   └── vector.yaml       # Vector log aggregation config
├── .claude/              # Dev methodology (private submodule — skills, agents, workflow docs)
└── docs/                 # Additional documentation

Key Files

CategoryFileDescription
Backendsrc/backend/main.pyFastAPI app, ~500 endpoints across 72 routers
Backendsrc/backend/database.pySQLite persistence
Backendsrc/backend/routers/credentials.pyCredential injection (CRED-002)
Frontendsrc/frontend/src/views/AgentDetail.vueAgent detail page
Frontendsrc/frontend/src/stores/agents.jsAgent state management
Agentdocker/base-image/agent-server.pyAgent internal server

Important Notes for Claude Code

  1. Credential security: Never log credentials. Credential values are masked in all logs.
  2. Docker socket access: Backend has read-only Docker socket access. Be cautious with Docker API calls.
  3. Port conflicts: Agents use incrementing SSH ports (2222+). Check for conflicts.
  4. Data persistence: SQLite at ~/trinity-data/trinity.db (bind mount). Redis for secrets (Docker volume). Backups are automatic (#2216): nightly at 03:30 UTC plus a boot-time pre-migration copy, under ~/trinity-data/backups/ (/data/backups/ in-container); status via GET /api/settings/retention → backup.
  5. Logging via Vector: All container logs are captured by Vector and written to JSON files. Query logs with jq or grep.
  6. Frontend dev mode: Vite with hot reload. Changes to .vue files reflect immediately.
  7. Base image rebuilds: After modifying docker/base-image/Dockerfile, run ./scripts/deploy/build-base-image.sh.
  8. Re-login after restart: When the backend restarts, users need to re-login (JWT tokens are invalidated).
  9. MCP reconnection: After backend restart, MCP clients (Claude Code, etc.) need to be manually reconnected (run /mcp or restart the client).
  10. Keep working directory clean: Delete temporary files (screenshots, test outputs, cache directories) after use. Never leave PNG files, test artifacts, or debug outputs in the project root.

Authentication

  • Email Login: Primary method - users enter email, receive 6-digit code, login
  • Admin Login: Password-based login for admin user (username fixed as 'admin')
  • Email Whitelist: Manage allowed emails in Settings → Email Whitelist

API Authentication Pattern

All authenticated API calls require a JWT Bearer token. To get one:

# 1. Login (form-encoded, NOT JSON)
curl -s -X POST http://localhost:8000/api/token \
  -d 'username=admin&password=${ADMIN_PASSWORD}'
# Returns: {"access_token": "eyJ...", "token_type": "bearer"}

# 2. Use token in Authorization header
curl -s -H "Authorization: Bearer <token>" http://localhost:8000/api/agents

Key facts:

  • Login endpoint: POST /api/token (OAuth2 form-encoded: username=...&password=...)
  • Admin password: Set via ADMIN_PASSWORD env var in .env (see CLAUDE.local.md for actual value)
  • Token lifetime: 7 days, invalidated on backend restart
  • MCP API keys (trinity_mcp_*) also work as Bearer tokens
  • Unauthenticated endpoints: /api/auth/mode, /api/setup/status, /api/token

Quick Reference

Creating an Agent

# Via API
curl -X POST http://localhost:8000/api/agents \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent", "template": "github:Org/repo"}'

# Via UI
# Visit http://localhost → Create Agent

Agent Container Labels

  • trinity.platform=agent - Identifies Trinity agents
  • trinity.agent-name - Agent name
  • trinity.template - Template used

Credential Pattern

.env                    # Source of truth (KEY=VALUE)
.mcp.json.template      # Template with ${VAR} placeholders (rendering is #2007, not yet live)
.mcp.json               # Written by credential injection

Related Repositories

RepositoryDescription
abilityai/trinityThis repository - Autonomous Agent Orchestration Platform
abilityai/trinity-ops-publicClaude Code ops agent — manage any Trinity instance (health, updates, logs, rollback, provisioning)
abilityai/abilitiesCanonical agent development toolkit — plugins for the full autonomous agent lifecycle (scaffolding, onboarding, deployment, scheduling, ops)

Abilities (agent development toolkit)

The abilities repo is the canonical development workflow for building and managing autonomous agents with Claude Code. It provides 5 focused plugins covering the full agent lifecycle:

PluginWhat it does
create-agent12 wizards for agent scaffolding (create, prospector, chief-of-staff, webmaster, recon, receptionist, ghostwriter, kb-agent, website, custom, clone, adjust)
agent-dev15 skills: add skills, memory systems, git-sync hooks, GitHub backlog workflow, grooming, sprints, autonomous work loops
trinity5 skills: connect, onboard, deploy, sync, create-dashboard
dev-methodology24 skills: implementation, testing, security (CSO audit), PR validation, release, architecture/schema/config validation, feature flows, user doc generation
utilities7 skills: incident investigation, safe deployment, Docker ops, batch processing, conversation export, bug reports, ops knowledge sync

Installation:

/plugin marketplace add abilityai/abilities

Onboarding an agent to Trinity:

/plugin install trinity@abilityai
/trinity:onboard

See Also

  • SDLC & Development Workflow: .claude/DEVELOPMENT_WORKFLOW.md ← Start here for dev process (core team; external contributors: dev-methodology plugin, see Development Skills above)
  • Orchestration Reliability Plan (archived): docs/archive/plans/ORCHESTRATION_RELIABILITY_2026-04.md ← Sprint A–D′ historical record; superseded by docs/planning/TARGET_ARCHITECTURE.md (pull coordination) as the active execution-stack direction
  • Full Architecture: @docs/memory/architecture.md (core) → docs/memory/architecture/ (per-area detail, on demand)
  • All Requirements: docs/memory/requirements.md (index) → per-area files in docs/memory/requirements/
  • Current Roadmap: https://github.com/abilityai/trinity/issues
  • Recent Changes: git log --oneline --since="2 weeks ago"
  • Agent Guide: docs/TRINITY_COMPATIBLE_AGENT_GUIDE.md
  • Agent Network Demo: docs/AGENT_NETWORK_DEMO.md
  • Agent Development Toolkit: https://github.com/abilityai/abilities
  • Docs Q&A Bot: ./scripts/ask-trinity.sh "your question" or public endpoint

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.