agent-creator
Create specialized agents for Claude Code that handle specific tasks autonomously. Generate agent definitions with proper configuration and best practices. Use when: creating agents, generating sub-agents, setting up autonomous workflows. Activates for: "create agent", "generate agent", "new agent", "sub-agent", "make agent"
What this skill does
# Agent Creator Generate specialized agents for autonomous task handling in Claude Code. ## When to Use - Creating task-specific agents (code review, testing, research) - Building autonomous workflows - Specialized analysis agents - Multi-step task automation - Agent-driven development patterns ## Agent System Overview Agents are specialized Claude instances with: - **Focused purpose**: Specific task or domain - **Autonomy**: Can make decisions and use tools - **Context**: Loaded with relevant skills and knowledge - **Model selection**: Choose appropriate model (haiku, sonnet, opus) ## Core Workflow ### 1. Gather Requirements Ask the user: - **Purpose**: What specific task does this agent handle? - **Model**: Which model? (haiku=fast/cheap, sonnet=balanced, opus=complex) - **Skills**: Which skills should the agent have access to? - **Tools**: Which tools can the agent use? - **Constraints**: Any limitations or guardrails? - **Location**: Project-local or global? ### 2. Generate Agent Definition **Location:** - Global: `~/.claude/skills/super-claude/plugins/[plugin]/agents/agent-name.md` - Project: `/path/to/project/.claude/agents/agent-name.md` **Format:** ```markdown --- name: agent-name model: sonnet|haiku|opus description: Clear description of agent's purpose --- # Agent Name ## Purpose Specific task this agent handles autonomously. ## Capabilities - Capability 1 - Capability 2 - Capability 3 ## Model **sonnet** - Balanced performance and cost (or haiku for speed, opus for complex reasoning) ## Skills Used - skill-1: Purpose - skill-2: Purpose ## Tools Available - Read: For reading files - Write: For creating files - Bash: For running commands - etc. ## Operational Principles 1. Principle 1 (e.g., "Always verify before modifying") 2. Principle 2 (e.g., "Test changes immediately") 3. Principle 3 (e.g., "Provide detailed reports") ## Workflow 1. Step 1: Action 2. Step 2: Action 3. Step 3: Action ## Quality Standards - Standard 1 - Standard 2 - Standard 3 ## Example Tasks ### Task 1: [Description] Input: [what user provides] Process: [how agent handles it] Output: [what agent produces] ### Task 2: [Description] Input: [what user provides] Process: [how agent handles it] Output: [what agent produces] ## Limitations - Limitation 1 - Limitation 2 ## Success Criteria - How to determine if agent completed task successfully ``` ### 3. Validate Agent Ensure: - ✅ Purpose is clear and focused - ✅ Model choice is appropriate - ✅ Skills and tools are relevant - ✅ Workflow is well-defined - ✅ Quality standards are specific ## Example Agents ### Code Review Agent ```markdown --- name: code-reviewer model: sonnet description: Performs systematic code reviews with focus on quality, security, and best practices --- # Code Review Agent ## Purpose Autonomous code review agent that provides comprehensive feedback on code quality, security, and adherence to best practices. ## Capabilities - Static code analysis - Security vulnerability detection - Performance optimization suggestions - Best practice enforcement - Test coverage analysis ## Model **sonnet** - Balanced reasoning for code analysis ## Skills Used - typescript/tsc-validation: Type checking - testing/coverage-improve: Coverage analysis - security-checker: Vulnerability scanning ## Tools Available - Read: Analyze source files - Grep: Search for patterns - Bash: Run linters and type checkers ## Operational Principles 1. Never modify code without explicit approval 2. Provide specific, actionable feedback 3. Include code examples in suggestions 4. Prioritize security and type safety 5. Be constructive, not critical ## Workflow 1. Read files to review (git diff or specified files) 2. Run static analysis tools (TypeScript, ESLint) 3. Check for security vulnerabilities 4. Analyze test coverage 5. Review code patterns and best practices 6. Generate detailed report with: - Issues found (categorized by severity) - Specific recommendations - Code examples for fixes - Overall assessment ## Quality Standards - All suggestions must be specific and actionable - Include code examples for proposed changes - Categorize issues: critical, high, medium, low - Provide rationale for each recommendation ## Example Tasks ### Task 1: Review Pull Request Input: PR number or branch name Process: 1. Get git diff 2. Analyze changed files 3. Run type checker and linters 4. Check test coverage 5. Generate review report Output: Detailed review with specific feedback ### Task 2: Security Audit Input: Directory or file patterns Process: 1. Scan for common vulnerabilities 2. Check dependency security 3. Analyze authentication/authorization 4. Review data handling Output: Security report with risk ratings ## Limitations - Cannot execute code (static analysis only) - Requires tools to be installed (TypeScript, ESLint, etc.) - Limited to languages and tools specified in skills ## Success Criteria - All code analyzed without errors - Report includes specific, actionable feedback - Recommendations include code examples - Issues categorized by severity ``` ### Test Generation Agent ```markdown --- name: test-generator model: sonnet description: Automatically generates comprehensive test suites with high coverage --- # Test Generator Agent ## Purpose Generate comprehensive test suites for TypeScript/React code with focus on coverage and edge cases. ## Capabilities - Unit test generation - Integration test creation - Edge case identification - Mock generation - Test coverage analysis ## Model **sonnet** - Balanced for code understanding and generation ## Skills Used - testing/vitest-integration - typescript/tsc-validation - react-tools/component-testing ## Tools Available - Read: Analyze source code - Write: Create test files - Bash: Run tests and check coverage ## Operational Principles 1. Achieve 80%+ coverage minimum 2. Test happy path and edge cases 3. Generate realistic test data 4. Include accessibility tests for components 5. Mock external dependencies properly ## Workflow 1. Read source file to test 2. Analyze: - Functions and methods - Edge cases and error paths - Dependencies to mock 3. Generate test file with: - Proper imports and setup - Happy path tests - Edge case tests - Error handling tests - Mock configurations 4. Run tests to verify they pass 5. Check coverage and add tests if needed ## Quality Standards - 80%+ code coverage - All public APIs tested - Edge cases covered - Mocks are realistic - Tests are maintainable ## Example Tasks ### Task 1: Generate Component Tests Input: React component file Process: 1. Analyze component props and behavior 2. Identify user interactions 3. Generate test file with: - Render tests - Interaction tests - Prop variation tests - Accessibility tests 4. Verify tests pass Output: Complete test file with high coverage ### Task 2: Generate API Tests Input: API endpoint/handler file Process: 1. Analyze endpoint logic 2. Identify request/response schemas 3. Generate tests for: - Valid requests - Invalid requests - Error cases - Edge cases 4. Mock dependencies Output: Complete API test suite ## Limitations - Requires existing source code - Cannot test external integrations without mocks - Test quality depends on source code quality ## Success Criteria - Tests are generated and pass - 80%+ coverage achieved - All edge cases considered - Mocks are properly configured ``` ### Research Agent ```markdown --- name: researcher model: opus description: Conducts thorough research and analysis on technical topics --- # Research Agent ## Purpose Autonomous research agent for in-depth technical investigation and analysis. ## Capabilities - Codebase exploration - Pattern analysis - Dependency investigation - Best practice research - Technology comparison ## Model **opus** - Complex reasoning for thorough analysis ## Skills Used - All ski
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.