
agents-plugin
Task-focused agents that split test, review, debug, and security work across teammate or subagent roles.
- version
- 1.16.3
- GitHub stars
- 60
What it does
- Adds 13 agents, including
test,review,debug,refactor,ci,security-audit, andperformance, each bounded to about 3 to 20 steps - Covers review, security, research, and documentation work that runs best in parallel as teammates alongside implementation
- Enforces a turn budget on every agent, so each reports before its limit instead of returning nothing when cut off
- Designed for Claude Code users who want domain agents that keep verbose output out of the main context
Task-focused agents with teammate and subagent role guidance for test, review, debug, docs, CI, security, refactoring, research, and performance
Add marketplace
/plugin marketplace add laurigates/claude-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install agents-plugin@laurigates-claude-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from source/agents:analyze
Analyze the plugin collection to identify where sub-agents would improve workflows by isolating verbose output, enforcing constraints, or specializing behavior.
When to Use This Skill
| Use this skill when... | Use a sibling skill instead when... |
|---|---|
| Auditing the whole plugin collection for sub-agent opportunities (verbose-output skills, model mismatches, tool over-permissions) | Auditing a single agent's frontmatter, tool list, and prompt completeness — use agent-patterns-plugin:meta-audit |
| Mapping delegation gaps and producing a list of proposed new agents | Authoring the new agent file from that proposal — use agent-patterns-plugin:custom-agent-definitions |
| Checking each agent's model fits its task-shape tier | Configuring an agent's hooks, permissions, or settings.json wiring — use hooks-plugin:hooks-configuration |
Focusing the analysis on a single plugin's skills (--focus <plugin>) | Coordinating multiple agents at runtime — use agent-patterns-plugin:agent-teams or parallel-agent-dispatch |
Agentic Optimizations
| Context | Command |
|---|---|
| List all plugins | find . -maxdepth 1 -type d -name '*-plugin' |
| Count skills per plugin | find <plugin>/skills -name 'SKILL.md' -o -name 'skill.md' | wc -l |
| List existing agents | find agents-plugin/agents -maxdepth 1 -name '*.md' |
| Check agent model field | grep -r '^model:' agents-plugin/agents/ |
| Check agent allowed-tools | grep -r '^allowed-tools:' agents-plugin/agents/ |
| Skill tool permissions | grep -r '^allowed-tools:' */skills/*/SKILL.md |
Context
- Plugin directories: !
find . -maxdepth 1 -type d -name '*-plugin' - Existing agents: !
find . -path '*/agents-plugin/agents/*' -maxdepth 3 -name '*.md' - Skills: !
find . -path '*/skills/*/skill.md' - Skills (user-invocable): !
find . -path '*/skills/*/SKILL.md' -not -path './agents-plugin/*'
Parameters
$1: Optional--focus <plugin-name>to analyze a single plugin in depth
Your Task
Perform a systematic analysis of the plugin collection to identify sub-agent opportunities.
Step 1: Inventory Current State
Scan the repository to build an inventory:
- List all plugins with their skill/command counts
- Read existing agents in
agents-plugin/agents/to understand current coverage - If
--focusis provided, restrict analysis to that plugin only
Step 2: Identify Sub-Agent Opportunities
For each plugin (or focused plugin), evaluate skills and commands against these criteria:
Context Isolation (Primary Value)
Operations that produce verbose output benefiting from isolation:
| Indicator | Examples |
|---|---|
| Build tools | docker build, cargo build, webpack, tsc |
| Infrastructure ops | terraform plan/apply, kubectl describe |
| Test runners | Full test suite output, coverage reports |
| Profiling tools | Flame graphs, benchmark results |
| Security scanners | Vulnerability reports, audit output |
| Log analysis | Application logs, system logs |
| Package managers | Dependency trees, audit results |
Constraint Enforcement
Operations that should be limited to specific tools:
| Constraint | Rationale |
|---|---|
| Read-only analysis | Security audit, code review - no writes |
| No network | Pure code analysis tasks |
| Limited bash | Tasks that shouldn't execute arbitrary commands |
Model: By Task Shape
Pick the model by task shape (.claude/rules/agent-development.md § "Model Selection for Agents"): opus for judgement work, sonnet with an explicit effort: for bounded work whose done check fits in one sentence, haiku only as a lean read-only reader whose output a stronger stage checks. A subagent's output re-enters the main loop as a tool result, so a weaker model's output needs a check. Recommend moving an existing agent off opus only with a measurement behind it; otherwise dial effort down on the current model.
| Audit finding | Recommendation |
|---|---|
Agent file declares model: opus or fable | OK — no change |
Agent file declares sonnet with an explicit effort:, and its Scope is bounded and checked | OK — no change |
Agent file declares sonnet for judgement work (review, audit, multi-file edits, untrusted input) | Flag it — recommend model: opus |
Agent file declares haiku outside the lean read-only shape, or inherit, or omits model: | Flag it — the lint rejects these; recommend an explicit tier |
Agent file's Scope describes mechanical/high-volume work but sets no effort: | Recommend effort: low (advisory — not lint-enforced) |
scripts/check-agent-model.sh enforces the tier shapes: sonnet needs an explicit effort:, and haiku is accepted only as a lean read-only reader (omitClaudeMd: true, Read/Grep/Glob tools, explicit effort). Whether an agent's job fits its tier is this audit's judgement, not the lint's; see .claude/rules/agent-development.md § "Model Selection for Agents".
Step 3: Gap Analysis
Compare identified opportunities against existing agents:
- Missing agents: Skills that have no corresponding agent
- Tier mismatches: An agent whose model does not fit its task shape (judgement work below
opus, or a tier shape the lint rejects) - Tool over-permissions: Agents with tools they don't need
- Consolidation opportunities: Multiple agents that could be merged
- Delegation mapping: Check if
/delegatereferences agents that don't exist
Step 4: Produce Recommendations
For each recommended new agent, specify:
### Proposed: <agent-name>
- **Model**: <tier> — `opus` by default; `sonnet` + explicit `effort:` only for bounded, checked work
- **Covers plugins**: <list>
- **Context value**: <what verbose output it isolates>
- **Tools**: <minimal set>
- **Constraint**: <read-only, no-network, etc.>
- **Priority**: HIGH | MEDIUM | LOW
- **Rationale**: <why this is better than inline execution>
For model/tool corrections to existing agents:
### Fix: <agent-name>
- **Current model**: <model> → **Recommended**: <tier>
- **Reason**: <why the tier fits the task shape — e.g. judgement work moved back to opus>
Step 5: Implementation Check
If new agents are recommended, check:
- Agent name doesn't conflict with existing
- Agent fills a gap referenced by
/delegatecommand - Model fits the task-shape tier (
opusby default;sonnet+ expliciteffort:only for bounded, checked work) - Tool set is minimal (principle of least privilege)
- Agent has clear "does / does NOT do" boundaries
Output Format
## Sub-Agent Analysis Report
**Scope**: [All plugins | focused plugin name]
**Date**: [today]
**Plugins analyzed**: N
**Existing agents**: N
**Skills without agent coverage**: N
### Current Coverage Map
| Domain | Agent | Skills Covered | Gaps |
|--------|-------|----------------|------|
| ... | ... | ... | ... |
### Recommended New Agents
[Proposals from Step 4]
### Recommended Fixes
[Model/tool corrections from Step 4]
### Delegation Mapping Updates
[Any updates needed for /delegate command's agent reference table]
### Priority Summary
| Priority | Count | Top Recommendation |
|----------|-------|-------------------|
| HIGH | N | ... |
| MEDIUM | N | ... |
| LOW | N | ... |
Post-Actions
After presenting the analysis:
- Ask the user if they want to implement any of the recommendations
- If yes, create the agent files following the existing patterns in
agents-plugin/agents/ - Update
agents-plugin/README.mdwith new agents - Update
/delegatecommand's agent reference table if needed
Readme
agents-plugin
Task-focused agents following 12-factor agent principles. Each agent completes a bounded task (3-20 steps) and can operate as a teammate (parallel, communicating) or subagent (focused, isolated).
Flow
See docs/flow.md for a diagram of how attribute-router delegates to the domain agents.
Agents
Every agent except lean-reader runs on opus; lean-reader runs on haiku — see Model Selection.
| Agent | Model | Purpose | Team Role |
|---|---|---|---|
attribute-router | opus | Route to domain agents by codebase-health attributes | Subagent — delegates to specialists by severity |
test | opus | Write and run tests | Either — parallel test suites as teammate, focused testing as subagent |
review | opus | Code review, commit review, PR review | Teammate preferred — parallel security/performance/correctness review |
debug | opus | Diagnose and fix bugs | Either — parallel investigation as teammate, single fix as subagent |
docs | opus | Generate documentation | Teammate preferred — parallel doc generation across modules |
ci | opus | Full CI/CD scaffold (multi-workflow buildout) | Subagent — delegate a from-scratch pipeline; edit single workflows inline |
security-audit | opus | Vulnerability scanning, OWASP analysis | Teammate preferred — continuous audit alongside development |
refactor | opus | Code restructuring, SOLID improvements | Either — parallel refactoring with file-locking as teammate |
dependency-audit | opus | CVE scanning, outdated packages, licenses | Subagent preferred — quick focused audit |
research | opus | API docs, framework evaluation, best practices | Teammate preferred — parallel research alongside implementation |
performance | opus | Profiling, bottleneck identification, benchmarks | Subagent preferred — verbose profiling isolated |
search-replace | opus | Cross-platform search and replace | Subagent preferred — focused bounded replacement task |
lean-reader | haiku | Context-free read-only extraction and classification against a self-contained brief | Subagent — workflow agentType for mechanical fan-out stages |
Team Roles
Each agent includes a ## Team Configuration section documenting when to use it as a teammate vs subagent:
| Role | When to Use |
|---|---|
| Teammate | Task benefits from parallel execution and inter-agent communication via shared task list |
| Subagent | Task is focused, short, and produces a single isolated result |
Recommended Roles
| Best as Teammate | Best as Subagent | Either |
|---|---|---|
| review, security-audit, research, docs | dependency-audit, performance, search-replace, ci, lean-reader | test, debug, refactor |
Design Principles
- Task-oriented: Each agent maps to a real user request
- Complete the job: Agents finish what they start
- Small scope: 3-20 steps per task
- Report before the limit: Each agent sets
maxTurnsand carries a## Turn Budgetsection: at about 80% of the budget it stops investigating and delivers its report, marking unfinished areas as not verified. A run cut off at the limit returns nothing (#3152), so size briefs to the agent's limit and split large ones (scripts/check-agent-turn-budget.shenforces the section) - Generic + Skills: Expertise lives in skills, agents are task runners
- Context isolation: Verbose output stays in agent, only summaries return
- Team-aware: Each agent documents its optimal team role
Model Selection
Every agent except lean-reader runs on opus. The repo picks models by task shape: opus for judgement work, sonnet with an explicit effort for bounded and checkable work, haiku for a lean reader checked downstream. A subagent's output re-enters the main loop as a tool result, so a weaker model's output needs a check. Moving an agent here off opus waits on a measurement (#3116); until then effort: is the cost lever. The lint scripts/check-agent-model.sh enforces the tier shapes. See .claude/rules/agent-development.md § "Model Selection for Agents".
lean-reader is the exception, and the guard admits it only in this shape: Haiku 5.5, omitClaudeMd: true, tools limited to Read/Grep/Glob, and an explicit effort. Its first request is about 3k tokens. A default subagent starts at about 124k, carrying the CLAUDE.md + rules chain and every tool schema including the skill listing. The lean reader is meant for stages whose brief carries the whole job and whose output a schema or an Opus stage checks. It is not for edits, commands, or anything the main loop acts on unchecked. See .claude/rules/agent-development.md § "Lean subagents".
Usage
Agents are invoked automatically based on task context or explicitly via agent routing.
Examples
"Write tests for the auth module" → test agent
"Review this PR" → review agent
"This endpoint is returning 500" → debug agent
"Document the API" → docs agent
"Scaffold a full CI/CD pipeline from scratch" → ci agent
"Check for security vulnerabilities" → security-audit agent
"Clean up this class, it's too complex" → refactor agent
"Check for vulnerable dependencies" → dependency-audit agent
"How does the Stripe API handle pagination?" → research agent
"The API endpoint is slow, find the bottleneck" → performance agent
"Replace oldFunction with newFunction across the codebase" → search-replace agent
In a workflow script, use the lean reader as a stage's agentType:
const parsed = await agent(BRIEF_WITH_RUBRIC_AND_FILES, {
label: 'parse', agentType: 'agents-plugin:lean-reader',
model: 'haiku', effort: 'medium', schema: SCHEMA,
})
Details
- Marketplace
- laurigates/claude-plugins
- Source
- agents-plugin
- Author
- Lauri Gates
- Category
- Ai
- License
- MIT
- Keywords
- agents, teammates, subagents, testing, code-review, debugging, documentation, ci-cd
- Listed since
- Apr 7, 2026
More from laurigates/claude-plugins
All 52- api-pluginv2.0.1
- bevy-pluginv1.4.2
- bios-pluginv1.2.0
- blog-pluginv1.3.4
- blueprint-pluginv3.52.0
- cloud-pluginv1.1.1
- code-quality-pluginv1.30.4
- codebase-attributes-pluginv1.3.4
- comfyui-pluginv1.15.7
- communication-pluginv1.2.7
- component-patterns-pluginv1.5.4
- configure-pluginv1.43.12
- container-pluginv2.11.5
- css-pluginv1.2.4
- documentation-pluginv1.16.1
- evaluate-pluginv1.21.1
- feedback-pluginv1.16.3
- finops-pluginv1.4.7
- foundryvtt-pluginv1.6.4
- git-pluginv2.74.4
- github-actions-pluginv1.13.8
- health-pluginv1.24.9
- home-assistant-pluginv1.4.1
- hooks-pluginv2.22.3
Similar to agents-plugin
More Agent Workflow & Planning
agent-patterns-pluginPluginlaurigates/claude-plugins60 starsAgent configuration utilities - project assimilation, config auditing, teammate definitions, MCP management, MCP code execution patterns
agent-teamsPluginwshobson/agents42.8K starsOrchestrate multi-agent teams for parallel code review, hypothesis-driven debugging, and coordinated feature development using Claude Code's Agent Teams
agent-coordinationSkillruvnet/ruflo1.2K installsStructured multi-agent spawning, lifecycle control, and routing across 60+ specialized agent types.
experienced-engineerPluginananddtyagi/cc-marketplace689 starsComprehensive plugin with specialized engineering subagents (API Architect, Security Specialist, Code Quality Reviewer, etc.) and productivity commands for soft
cavecrewSkilljuliusbrussee/caveman381.3K installsDecision guide that routes tasks to compressed cavecrew subagents for locating, editing, or reviewing code.
agents-quality-securityPlugindavepoon/buildwithclaude3.8K starsAgents for code review, security audits, debugging, and quality assurance