Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计提醒

agent-factoryAgent 工厂

Agent Skill

agent-factory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,022

周安装

43

GitHub Stars

732

下载量

358
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-factory(Agent 工厂)
来源仓库:https://github.com/alirezarezvani/claude-code-skill-factory
仓库路径:skills/agent-factory
安装命令:
npx skills add https://github.com/alirezarezvani/claude-code-skill-factory --skill agent-factory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/alirezarezvani/claude-code-skill-factory --skill agent-factory

简介

Agent Factory 提供一套完整的系统,用于生成生产就绪的 Claude Code 自定义代理及其子代理。

  • 适用于需要为前端、后端、测试或产品等不同领域创建专用代理的场景。
  • 自动生成符合规范的代理文件,支持丰富元数据、工具配置建议和 MCP 集成指导。
  • 生成的代理文件由 Claude Code 自动发现并调用,无需手动注册;建议遵循模板标准以确保兼容性。
  • agent-factory 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agent Factory

A comprehensive system for generating production-ready Claude Code agents and sub-agents. This skill provides templates, standards, and generation tools to create custom agents that seamlessly integrate with Claude Code's agent system.

What This Skill Does

This skill helps you create custom Claude Code agents for any domain or workflow. It generates properly formatted agent files that Claude Code can automatically discover and invoke when relevant.

Capabilities

  1. Generate Custom Agents - Create specialized agents for any domain (frontend, backend, testing, product, etc.)
  2. Enhanced YAML Frontmatter - Rich metadata including color coding, field categorization, expertise levels
  3. Tool Access Guidance - Recommends optimal tool configurations based on agent type
  4. MCP Integration - Suggests relevant MCP server tools for enhanced capabilities
  5. Execution Pattern Assignment - Ensures proper parallel/sequential execution for safety
  6. Validation - Checks agent configuration against best practices

Agent Types Supported

Strategic Agents (Lightweight, Parallel-Safe)

  • Purpose: Planning, research, analysis
  • Tools: Read, Write, Grep only
  • Execution: 4-5 agents can run in parallel
  • Color: Blue
  • Examples: product-planner, market-researcher, architect

Implementation Agents (Full Tools, Coordinated)

  • Purpose: Code writing, feature building
  • Tools: Read, Write, Edit, Bash, Grep, Glob
  • Execution: 2-3 agents coordinated
  • Color: Green
  • Examples: frontend-developer, backend-developer, api-builder

Quality Agents (Heavy Bash, Sequential Only)

  • Purpose: Testing, validation, review
  • Tools: Read, Write, Edit, Bash, Grep, Glob
  • Execution: 1 agent at a time (NEVER parallel)
  • Color: Red
  • Examples: test-runner, code-reviewer, security-auditor

Coordination Agents (Lightweight, Orchestration)

  • Purpose: Manages other agents, validates integration
  • Tools: Read, Write, Grep
  • Execution: Orchestrates others
  • Color: Purple
  • Examples: fullstack-coordinator, workflow-manager

Enhanced YAML Frontmatter

Every generated agent includes rich metadata:

---
name: agent-name-kebab-case
description: When to invoke this agent
tools: Read, Write, Edit  # Comma-separated
model: sonnet  # sonnet|opus|haiku|inherit
color: green  # Visual categorization
field: frontend  # Domain area
expertise: expert  # beginner|intermediate|expert
mcp_tools: mcp__playwright  # MCP integrations
---

Field Categories

Development: frontend, backend, fullstack, mobile, devops Quality: testing, security, performance Strategic: product, architecture, research, design Domain: data, ai, content, finance, infrastructure

Color Coding

  • Blue: Strategic/planning agents
  • Green: Implementation/development agents
  • Red: Quality/testing agents
  • Purple: Coordination/orchestration agents
  • Orange: Domain-specific specialists

Expertise Levels

  • Beginner: Simple, focused tasks
  • Intermediate: Moderate complexity workflows
  • Expert: Advanced, complex operations

How to Use

Quick Start

  1. Open the prompt template: documentation/templates/AGENTS_FACTORY_PROMPT.md
  2. Scroll to bottom - Find template variables
  3. Fill in your details: AGENT_NAME: my-custom-agent DESCRIPTION: What this agent does and when to invoke it DOMAIN_FIELD: frontend TOOLS_NEEDED: Read, Write, Edit, Bash
  4. Copy entire prompt - Include filled variables
  5. Paste into Claude - Claude.ai, Claude Code, or API
  6. Receive agent file - Complete.md file ready to use
  7. Install agent - Copy to .claude/agents/ or ~/.claude/agents/

Example Invocation

@agent-factory

Create a custom agent:
Name: api-integration-specialist
Type: Implementation
Domain: backend
Description: API integration expert for third-party services
Capabilities: OAuth, REST clients, error handling
Tools: Read, Write, Edit, Bash
MCP: mcp__github

Output: Complete .claude/agents/api-integration-specialist.md file

Generated Agent Structure

Each generated agent is a single Markdown file:

---
name: custom-agent
description: Triggers auto-invocation
tools: Read, Write, Edit
model: sonnet
color: green
field: backend
expertise: expert
mcp_tools: mcp__github
---

You are a [role] specializing in [domain].

When invoked:
1. [Step 1]
2. [Step 2]
3. [Step 3]

[Detailed instructions]
[Checklists]
[Best practices]
[Output format]

Integration Workflows

Workflow 1: Feature Development

1. product-planner → Creates requirements
2. frontend-developer + backend-developer → Build (parallel)
3. test-runner → Validates (sequential)
4. code-reviewer → Reviews (sequential)

Workflow 2: Bug Fix

1. debugger → Analyzes issue
2. [appropriate-dev-agent] → Fixes
3. test-runner → Validates fix

Workflow 3: Code Review

1. code-reviewer → Quality review (can run solo)
2. security-auditor → Security scan (can run solo)

MCP Tool Integration

Common MCP servers to integrate:

  • mcp__github: PR reviews, issues, repo operations
  • mcp__playwright: E2E testing, screenshots, browser automation
  • mcp__context7: Documentation search, knowledge queries
  • mcp__filesystem: Advanced file operations
  • Custom MCP servers: Any user-configured MCP tools

Agents automatically reference MCP tools in their capabilities when configured.

Safety & Performance

Process Monitoring

Agents consume system resources. Monitor with:

ps aux | grep -E "mcp|npm|claude" | wc -l

Safe ranges:

  • 15-20: Strategic agents (parallel)
  • 20-30: Implementation agents (coordinated)
  • 12-18: Quality agents (sequential)

Warnings:

  • 30: Reduce parallelization
  • 60: Critical - restart system

Execution Rules

Safe: 4-5 strategic agents in parallel ✅ Safe: 2-3 implementation agents coordinated ❌ Unsafe: Quality agents in parallel (crashes system)

Best Practices

  1. Keep agents focused - One clear responsibility per agent
  2. Use descriptive descriptions - Enables auto-invocation
  3. Follow tool access patterns - Match tools to agent type
  4. Specify execution pattern - Prevents performance issues
  5. Leverage MCP tools - Enhance agent capabilities
  6. Test agents incrementally - Start simple, add complexity
  7. Version control agents - Check project agents into git

Limitations

  • Agents are templates - customize for your specific needs
  • Tool suggestions are guidelines, not requirements
  • MCP tools require servers to be configured
  • Performance depends on system resources
  • Generated agents need testing in your environment

Installation

Generated Agent Files:

Place in one of these locations:

Project agents (shared with team):

.claude/agents/custom-agent.md

Personal agents (available everywhere):

~/.claude/agents/custom-agent.md

When to Use This Skill

Create custom agents for:

  • Domain-specific workflows (data science, ML, finance)
  • Team-specific conventions (your code style, testing approach)
  • Specialized tools or frameworks (Shopify, AWS, Kubernetes)
  • Custom MCP server integrations
  • Rapid prototyping of agent ideas

Use the AGENTS_FACTORY_PROMPT.md template when:

  • You need multiple related agents
  • You want consistent agent patterns
  • You're building an agentic framework
  • You want to test agent concepts quickly

Version: 1.0.0 Last Updated: October 22, 2025 Compatibility: Claude Code (agents system) Template Location: documentation/templates/AGENTS_FACTORY_PROMPT.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

26.77%
按下载量换算96

Claude Code

22.83%
按下载量换算82

Gemini CLI

17.97%
按下载量换算64

OpenCode

13.03%
按下载量换算47

trae

8.24%
按下载量换算29

Cursor

3.56%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills