claude-shared@79653f3 2026-11-22 · claude-admin@42f1773 2026-11-22 · claude-dev@5e0502d 2026-11-22An agent (a sub-agent) is a separate AI worker your session hands one whole task to. It runs in a
context window of its own, starting from its definition, the project's CLAUDE.md and the brief your session writes,
does the work with its own tool calls, and sends back one report. Your session continues from that report.
The agent starts clean: its own instructions, the project's CLAUDE.md and your brief. It does not see your
conversation, the files your session already read or the skills it used, so an hour of history, file dumps and abandoned
ideas do not crowd it, and all of its attention goes to one task.
The twenty files the agent reads, its searches and its failed attempts fill its context, not yours. Your session gets
back only the result: a diagnosis, a test suite, a list of file:line locations. A smaller context stays sharper
and lasts longer before it has to be compacted.
Each definition is a page of rules for one kind of work, learned the hard way. bugfixer must show where bad
data is produced before it proposes a fix; qa deletes any test that cannot fail. A general session would need
those rules every time, and usually is not given them. Each card below says what its agent brings.
A definition can also fix the model for the job (bugfixer and qa run on Opus) and
limit the tools (bugfixer and semble-search have no Write or Edit tool). Independent tasks can go to several agents at once.
bugfixer
asks for the raw symptom, not a proposed fix.qatests (skill: the standard you apply to code as you
write it) and qa (agent: writes a whole suite of tests) shows the difference. More in
Skill, CLAUDE.md, or agent?Each repo is a Claude Code plugin; its agents/ folder is loaded as is. Everyone has claude-shared;
setup.py adds claude-admin for the administrators group or claude-dev for
developers (why three repos).
The description is what Claude reads to decide when to hand a task to the agent, so it is shown as written. The definitions themselves are not published here; open one on GitLab.
Root-cause bug diagnostician. Use for ANY bug, failure, test failure, or unexpected behavior BEFORE writing a fix. Returns two separate deliverables — a DIAGNOSIS (root cause + where the bad state is produced) and a DESIGN (proposed fix with alternatives). Hand it the raw symptom and evidence, NOT a proposed fix.
Specialized context: A root-cause method: trace the bad value back to where it is first produced, weigh at least two fixes and label the ones that only patch the symptom, then return a diagnosis and a fix design as separate deliverables. It has no Write or Edit tool and is told to investigate only; you make the fix.
Project orchestration specialist. Use for multi-step tasks requiring coordination between architect, security, and developer agents. Breaks down complex projects, tracks progress, and synthesizes results.
Specialized context: How to break a multi-part project into tasks for the architect, security and developer agents, decide what runs in sequence and what in parallel, track progress and write one report at the end.
Test-authoring specialist. Delegate to it when a BODY of tests needs writing — backfilling coverage for untested code, building an end-to-end Playwright suite against a deployed app, or adding a regression suite after a bug. Writes both unit/integration tests (pytest, jest) and E2E browser tests. Not for diagnosing a failing test — that is bugfixer. Not a substitute for the `qatests` skill, which is the inline standard you apply to your own code as you write it.
Specialized context: Test-writing rules learned from real failures on this server: a test that cannot fail is deleted, assert what you send and not only what comes back, and for a deployed app a Playwright suite that goes through the real front door, starting with a check that every page asset returns 200 with the right content type.
Code search agent for exploring a codebase with the local semble CLI. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code across one or more repos. Prefer over Grep/Glob/Read loops for semantic or exploratory questions. Returns file:line locations and a short answer, not file dumps.
Specialized context: How to search code with the local semble tool and read only the lines it points to, never searching all of ~/projects (secrets and live data are there). Answers with file:line locations, not whole files.
System design and architecture specialist. Use for infrastructure design, technology stack decisions, service integration planning, performance optimization, and architecture reviews.
Specialized context: The platform's design rules, first among them the centralized-infrastructure principle (use the shared PostgreSQL, Redis and Qdrant instead of bundling your own), with standard service patterns, a decision framework and an architecture-decision template.
Implementation and deployment specialist. Use for coding, service deployment, debugging, database operations, container management, and hands-on technical work.
Specialized context: Implementation and deployment patterns for this server: a FastAPI service and multi-stage Dockerfile template, deploy steps, debugging playbooks (container will not start, 502/504, database connections), PostgreSQL, MongoDB and Redis operations, and pre- and post-deployment checklists.
Security and network infrastructure specialist. Use for network topology, firewall rules, SSL/TLS configuration, Keycloak/OAuth2 setup, Traefik routing, and security audits.
Specialized context: Network topology and isolation patterns, Traefik routing recipes (plain HTTP, behind Keycloak sign-in, TCP, several domains), the two Keycloak integration patterns (native OIDC or an OAuth2 proxy) and a security audit format.
Application architecture specialist for developers. Use for designing new applications, choosing technology stacks, data modeling, and understanding available infrastructure services.
Specialized context: The application side only: which shared services a developer's app may use and how to connect to them, a standard Docker Compose pattern, preferred stacks, and the list of things to request from an administrator instead of changing.
Implementation and deployment specialist. Use for coding, service deployment, debugging, database operations, container management, and hands-on technical work.
Specialized context: The same description and body as the administrator's developer agent, plus a section on working inside projects the pm agent coordinates. Unlike the developer-role architect and security agents, it is not narrowed to the application side.
Application security guide for developers. Use for secrets management, secure coding practices, authentication integration, and understanding what security actions require administrator involvement.
Specialized context: Secure coding for applications: keeping secrets out of code and git, the application side of Keycloak sign-in, a checklist (input validation, APIs, Docker, dependencies), common mistakes, and what only an administrator can change.
These names exist in both role repos as separate definitions. Each person receives only one role repo, so the names never clash. Where the descriptions differ, the administrator's version manages the platform and the developer's builds applications on it and hands platform changes to an administrator.
| Agent | claude-admin (administrators) | claude-dev (developers) |
|---|---|---|
architect |
System design and architecture specialist. Use for infrastructure design, technology stack decisions, service integration planning, performance optimization, and architecture reviews. 1185 lines |
Application architecture specialist for developers. Use for designing new applications, choosing technology stacks, data modeling, and understanding available infrastructure services. 159 lines |
developer same description |
Implementation and deployment specialist. Use for coding, service deployment, debugging, database operations, container management, and hands-on technical work. 1459 lines |
Implementation and deployment specialist. Use for coding, service deployment, debugging, database operations, container management, and hands-on technical work. 1603 lines |
security |
Security and network infrastructure specialist. Use for network topology, firewall rules, SSL/TLS configuration, Keycloak/OAuth2 setup, Traefik routing, and security audits. 1463 lines |
Application security guide for developers. Use for secrets management, secure coding practices, authentication integration, and understanding what security actions require administrator involvement. 231 lines |
Claude Code reads the definitions directly. Other tools need their own format, so setup.py writes it from the
same agents/*.md files and rewrites it when a definition changes. The model and tool limits do not carry over exactly.
| Tool | Where the agents come from | How you use one | Model | Tool limits | Status |
|---|---|---|---|---|---|
| Claude Code | Read as is from each repo's agents/ (the repo is a plugin) | Ask for it in plain words ("have the qa agent backfill tests for parser.py"), or let Claude hand off a task whose wording matches an agent's description. Full name: claude-shared:qa. |
The definition's model. | The definition's tools list, enforced. | supported verified 2026-07-31: plugin agents discovered and namespaced |
| Codex | Generated by setup.py as ~/.codex/agents/claude-skills/<name>.toml, registered in ~/.codex/config.toml | Ask Codex to use the role by name; it starts it with spawn_agent. |
Opus → gpt-6-astra, high effort; Sonnet → gpt-6-astra, medium effort | Not per agent: Codex's own sandbox and approval policy apply. | supported verified 2026-09-08: spawn_agent(role) with a generated role file replied as instructed |
| Antigravity | Generated by setup.py as ~/.gemini/agents/<name>.md; the same file serves Gemini CLI | agy --agent qa; agy agents lists them. |
The session's model: the file carries none, because Antigravity rejects a model key. | Written into the agent's instructions as a line, not enforced. | supported verified 2026-09-08: agy agents lists the shared ~/.gemini/agents files; --agent qa ran it as instructed once Gemini's `model:` key was removed (before that: 'Agent execution terminated due to error') |
| Gemini CLI | Generated by setup.py as ~/.gemini/agents/<name>.md; the same file serves Antigravity | Ask for the agent by name; Gemini hands the task to it. | The session's model: the file carries none, because Antigravity rejects a model key. | Written into the agent's instructions as a line, not enforced. | supported verified 2026-09-08: delegation to a generated ~/.gemini/agents/*.md replied as instructed (mapped tool list accepted) Gemini CLI is no longer installed on linuxserver.lan; the adapter stays for machines that have it. |
| OpenCode | Linked as ~/.config/opencode/agents/{repo} | Not verified. | Not verified. | Not verified. | unknown adapter written from docs; harness never executed here |
~/projects/claude-skills/claude-shared/setup.py to regenerate their copies; setup.py --status shows
whether they are current.Claude Code has built-in agents of its own (for example a general-purpose one and a read-only code explorer), and plugins you install yourself can add more. They are not part of these repos and are not listed here. Ask Claude which agents it can hand work to in your session.
claude-shared, administrators → claude-admin,
developers → claude-dev.agents/<name>.md: frontmatter with name (same as the file name), a description that
says when to use it, tools and model; the body is the agent's instructions. A name may appear only once in
what a person receives.setup.py for Codex and Antigravity.AGENTS in scripts/agents_catalog.py and regenerate this page. The generator
refuses to run until every agent is described.Generated from the frontmatter of every agents/*.md in the three repos and from
claude-shared/adapters/. Never edit it by hand:
cd ~/projects/claude-skills/claude-shared python3 scripts/agents_catalog.py --publish ~/projects/nginx/sites/claude-artifacts # regenerate and publish python3 scripts/agents_catalog.py --check --publish ~/projects/nginx/sites/claude-artifacts # exits 1 if stale