← Portal ↑ Claude Artifacts

🤖 Agents

Why hand a task to an agent, which agents the three repos ship, and how each AI tool runs them
Generated from claude-shared@79653f3 2026-11-22 · claude-admin@42f1773 2026-11-22 · claude-dev@5e0502d 2026-11-22
10
Agent definitions
7
An administrator has
7
A developer has
2
Run on Opus
2
No Write/Edit tools

What an agent is

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

Your session
writes a brief: the goal, what is known, where to look
→
The agent
its definition + the brief; reads, searches, runs commands in its own context
→
One report
the conclusion comes back; the file dumps and dead ends stay behind

Why use an agent

1
Focused context

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.

2
Your session stays clean

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.

3
Specialized context, better results

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.

What it costs, and when to skip it

Skill or agent? A skill is instructions loaded into your session when needed; an agent is a separate worker that reports back. The pair 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?

What each person receives

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

claude-shared
4 agents, everyone
+
claude-admin
3 agents
=
An administrator
7 agents
claude-shared
4 agents, everyone
+
claude-dev
3 agents
=
A developer
7 agents

The agents

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.

claude-shared · for everyone · 4 agents

bugfixer
claude-shared:bugfixer · tools: Read, Grep, Glob, Bash

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.

Opus no Write/Edit tools 58 lines of instructions definition on GitLab
pm
claude-shared:pm · tools: Read, Write, Grep, Glob, Bash

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.

Sonnet writes files 382 lines of instructions definition on GitLab
qa
claude-shared:qa · tools: Read, Write, Edit, Grep, Glob, Bash

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.

Opus writes files 178 lines of instructions definition on GitLab
semble-search
claude-shared:semble-search · tools: Bash, Read

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.

Sonnet no Write/Edit tools 19 lines of instructions definition on GitLab

claude-admin · for administrators · 3 agents

architect
claude-admin:architect · tools: Read, Write, Grep, Glob, Bash

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.

Sonnet writes files 1185 lines of instructions definition on GitLab
developer
claude-admin:developer · tools: Read, Write, Edit, Grep, Glob, Bash

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.

Sonnet writes files 1459 lines of instructions definition on GitLab
security
claude-admin:security · tools: Read, Write, Grep, Glob, Bash

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.

Sonnet writes files 1463 lines of instructions definition on GitLab

claude-dev · for developers · 3 agents

architect
claude-dev:architect · tools: Read, Write, Grep, Glob, Bash

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.

Sonnet writes files 159 lines of instructions definition on GitLab
developer
claude-dev:developer · tools: Read, Write, Edit, Grep, Glob, Bash

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.

Sonnet writes files 1603 lines of instructions definition on GitLab
security
claude-dev:security · tools: Read, Write, Grep, Glob, Bash

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.

Sonnet writes files 231 lines of instructions definition on GitLab

Same name, two roles

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.

Agentclaude-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

Using an agent in each AI tool

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.

ToolWhere the agents come fromHow you use oneModelTool limitsStatus
Claude CodeRead 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
CodexGenerated by setup.py as ~/.codex/agents/claude-skills/<name>.toml, registered in ~/.codex/config.tomlAsk Codex to use the role by name; it starts it with spawn_agent. Opus → gpt-6-astra, high effort; Sonnet → gpt-6-astra, medium effortNot 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
AntigravityGenerated by setup.py as ~/.gemini/agents/<name>.md; the same file serves Gemini CLIagy --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 CLIGenerated by setup.py as ~/.gemini/agents/<name>.md; the same file serves AntigravityAsk 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.
OpenCodeLinked as ~/.config/opencode/agents/{repo}Not verified. Not verified.Not verified.unknown
adapter written from docs; harness never executed here
After changing a definition, Claude Code has it at once. For Codex and Antigravity run ~/projects/claude-skills/claude-shared/setup.py to regenerate their copies; setup.py --status shows whether they are current.

Agents from outside these repos

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.

Adding or changing an agent

  1. Pick the repo by who may read it: everyone → claude-shared, administrators → claude-admin, developers → claude-dev.
  2. Add 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.
  3. Commit and push. Claude Code picks up a new agent without a restart; run setup.py for Codex and Antigravity.
  4. Add one sentence for it to AGENTS in scripts/agents_catalog.py and regenerate this page. The generator refuses to run until every agent is described.

How this page is made

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