agents — CLAUDE.md
Intelligent automation and multi-agent orchestration for Claude Code
wshobson/agents 32,393
# Project: claude-agents
Claude Code plugin marketplace — 72 focused plugins, 112 agents, 146 skills, 79 tools.
## Repository Structure
```
claude-agents/
├── .claude-plugin/marketplace.json # Registry of all plugins
├── plugins/ # All 72 plugins
│ ├── <plugin-name>/
│ │ ├── .claude-plugin/plugin.json
│ │ ├── agents/*.md
│ │ ├── commands/*.md
│ │ └── skills/<skill-name>/SKILL.md
│ └── ...
├── docs/ # Documentation
│ ├── plugins.md # Plugin catalog
│ ├── agents.md # Agent reference
│ ├── agent-skills.md # Skills reference
│ ├── usage.md # Usage guide
│ ├── architecture.md # Design principles
│ └── plugin-eval.md # Evaluation framework
└── tools/ # Development utilities
```
## Plugin Authoring Conventions
### Agent frontmatter
```yaml
---
name: agent-name
description: "What this agent does. Use PROACTIVELY when [trigger conditions]."
model: opus|sonnet|haiku|inherit
color: blue|green|red|yellow|cyan|magenta # optional
tools: Read, Grep, Glob # optional — restricts available tools
---
```
### Skill structure
```
skills/<skill-name>/
├── SKILL.md # Required — frontmatter + content
├── references/ # Optional — supporting material
│ └── *.md
└── assets/ # Optional — templates, configs
```
Skill frontmatter:
```yaml
---
name: skill-name
description: "Use this skill when [specific trigger conditions]."
---
```
### Command frontmatter
```yaml
---
description: What this command does
argument-hint: <path> [--flag]
---
```
### plugin.json
Only `name` is required. Agents, commands, and skills are auto-discovered from directory structure.
```json
{ "name": "plugin-name" }
```
### marketplace.json
Lists all plugin component paths for the registry. Agents as `./agents/name.md`, skills as `./skills/skill-name` (directory, not SKILL.md).
## Model Tiers
| Tier | Model | Use Case |
| ------ | ------- | ------------------------------------------------------ |
| Tier 1 | Opus | Architecture, security, code review, production coding |
| Tier 2 | Inherit | Complex tasks — user chooses model |
| Tier 3 | Sonnet | Docs, testing, debugging, support |
| Tier 4 | Haiku | Fast ops, SEO, deployment, simple tasks |
## PluginEval — Quality Evaluation Framework
Three-layer evaluation system in `plugins/plugin-eval/`. Full docs: [docs/plugin-eval.md](docs/plugin-eval.md).
### Quick Reference
```bash
cd plugins/plugin-eval
# Run tests
uv run pytest
# Evaluate a skill (static only)
uv run plugin-eval score path/to/skill --depth quick --output json
# Evaluate with LLM judge
uv run plugin-eval score path/to/skill --depth standard
# Full certification (all 3 layers)
uv run plugin-eval certify path/to/skill
# Compare two skills
uv run plugin-eval compare path/to/skill-a path/to/skill-b
# Build corpus for Elo ranking
uv run plugin-eval init plugins/
```
### Evaluation Layers
1. **Static** (Layer 1) — Deterministic structural analysis. < 2 seconds, free, always runs.
2. **LLM Judge** (Layer 2) — Semantic evaluation via Claude (Haiku + Sonnet). ~30s, 4 LLM calls.
3. **Monte Carlo** (Layer 3) — Statistical reliability via N simulated runs. ~2–5 min, 50–100 calls.
### 10 Dimensions (weights)
triggering_accuracy (25%), orchestration_fitness (20%), output_quality (15%), scope_calibration (12%), progressive_disclosure (10%), token_efficiency (6%), robustness (5%), structural_completeness (3%), code_template_quality (2%), ecosystem_coherence (2%)
### Badges
Platinum ≥90, Gold ≥80, Silver ≥70, Bronze ≥60
### Anti-Patterns
OVER_CONSTRAINED (>15 MUST/ALWAYS/NEVER), EMPTY_DESCRIPTION (<20 chars), MISSING_TRIGGER (no "Use when…"), BLOATED_SKILL (>800 lines no refs), ORPHAN_REFERENCE (dead link), DEAD_CROSS_REF (missing skill)
### Tech Stack
- Python ≥ 3.12, uv, ruff, ty, pytest
- Dependencies: pydantic, typer, rich, pyyaml
- Optional: claude-agent-sdk (LLM layers), anthropic (API alternative)
## Development
### Python Tooling
Use the Astral Rust toolchain: `uv` (package manager), `ruff` (linter/formatter), `ty` (type checker). Do not use pip, mypy, or black.
### Adding a Plugin
1. Create `plugins/<name>/` with `.claude-plugin/plugin.json`
2. Add agents in `agents/`, commands in `commands/`, skills in `skills/`
3. Update `.claude-plugin/marketplace.json`
4. Follow naming conventions: lowercase, hyphen-separated
こちらもおすすめ
Frontend カテゴリの他のルール
もっとルールを探す
CLAUDE.md、.cursorrules、AGENTS.md、Image Prompts の全 223 ルールをチェック。



