Token导航 LogoToken导航

Agent Skill · AI 工具

spawn(spawn 命令行)

spawn 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

spawn 是AI 工具类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在AI 工具类的 2,536 个 Skill 里排第 1,499。

总安装 659周安装 28GitHub Stars 17下载 231核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/0xdarkmatter/claude-mods --skill spawn

这个 Skill 是做什么的

AI 工具类 Skill 用来扩展助手本身的能力,例如接模型、接检索、接外部服务。

spawn 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。通过 npx skills add 命令从指定 GitHub 仓库安装使用。

安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。spawn 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/spawn

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/0xdarkmatter/claude-mods --skill spawn;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

spawn 怎么安装?

在终端执行 npx skills add https://github.com/0xdarkmatter/claude-mods --skill spawn。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

spawn 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

spawn 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

spawn 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

spawn 用的人多吗?

公开数据是累计安装 659 次,近一周安装 28 次,下载 231 次,GitHub 17 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

spawn 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理AI 工具类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

AI 工具类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
executing-plans

执行计划 · Codex、Claude

1,515,336173,110只读MIT通过
verification-before-completion

完成前的验证 · Codex、Claude

1,319,472173,121权限未标注MIT通过
subagent-driven-development

子 Agent 驱动开发 · Codex、Claude

1,312,416173,138只读MIT通过
copy-editing

复制编辑 · Codex、Claude

1,209,57625,632只读MIT通过
paywall-upgrade-cro

付费专区升级 cro · Codex、Claude

1,030,17625,617只读MIT通过
spawn

spawn 命令行 · 本页

65917接触敏感数据MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Spawn - Expert Agent Generator

Generate world-class, comprehensive expert agent prompts for Claude Code. Each agent should be a definitive reference for its domain - the kind of guide a PhD-level practitioner would create.

Target quality: 500-1000 lines per agent with real code examples, complete configs, and detailed patterns.

Benchmark agents: python-expert.md (1600 lines), claude-architect.md (1242 lines), react-expert.md (440 lines)

Usage Modes

Mode 1: Single Agent Generation

Generate one expert agent prompt for a specific technology platform.

Prompt for:

  • Technology platform/framework name
  • Scope (project-level or global/user-level)
  • Focus areas (optional: specific features, patterns, use cases)
  • Output format (markdown file or clipboard-ready text)

Mode 2: Batch Agent Generation

Create multiple agent prompts from a list of technology platforms.

Accept:

  • Multi-line list of technology platforms
  • Scope (project-level or global/user-level)
  • Common focus areas (optional)
  • Output format (individual.md files or consolidated text)

Mode 3: Architecture Analysis

Analyze a tech stack or architecture description and suggest relevant agents.

Process:

  1. Read architecture description (from user input or file)
  2. Identify all technology platforms/services
  3. Ask for scope (project or global)
  4. Present checkbox selector for agent creation
  5. Generate selected agents

Agent File Format

All agents MUST be created as Markdown files with YAML frontmatter:

  • Project-level: .claude/agents/ (current project only)
  • Global/User-level: ~/.claude/agents/ or C:\Users\[username]\.claude\agents\ (all projects)

File Structure:

---
name: technology-name-expert
description: When this agent should be used. Can include examples and use cases. No strict length limit - be clear and specific. Include "use PROACTIVELY" for automatic invocation.
model: inherit
color: blue
---

[Agent system prompt content here]

YAML Frontmatter Fields:

  • name (required): Unique identifier, lowercase-with-hyphens (e.g., "asus-router-expert")
  • description (required): Clear, specific description of when to use this agent

- No strict length limit - prioritize clarity over brevity - Can include examples, use cases, and context - Use "use PROACTIVELY" or "MUST BE USED" to encourage automatic invocation - Multi-line YAML string format is fine for lengthy descriptions

  • tools (optional): Comma-separated list of allowed tools (e.g., "Read, Grep, Glob, Bash")

- If omitted, agent inherits all tools from main session - Best practice: Only grant tools necessary for the agent's purpose (improves security and focus)

  • model (optional): Specify model ("sonnet", "opus", "haiku", or "inherit" to use main session model)
  • color (optional): Visual identifier in UI ("blue", "green", "purple", etc.)

File Creation: Agents can be created programmatically using the Write tool:

Project-level: .claude/agents/[platform]-expert.md
Global/User-level: ~/.claude/agents/[platform]-expert.md (or C:\Users\[username]\.claude\agents\ on Windows)

Choosing Scope:

  • Project Agent (.claude/agents/): Specific to the current project, can be version controlled and shared with team
  • Global Agent (~/.claude/agents/): Available across all projects on your machine

After creation, the agent is immediately available for use with the Task tool.

Claude Code Agent Documentation

Essential Reading:

Key Concepts from Documentation:

  • Subagents operate in separate context windows with customized system prompts
  • Each subagent can have restricted tool access for focused capabilities
  • Multiple subagents can run concurrently for parallel processing
  • User-level agents (~/.claude/agents/) are available across all projects
  • Project-level agents (.claude/agents/) are project-specific and shareable
  • Use /agents command for the recommended UI to manage agents
  • Start with Claude-generated agents, then customize for best results
  • Version control project-level subagents for team collaboration

Generation Requirements

For each agent, create a comprehensive expert prompt with:

Agent Content Structure (10-Part Template):

Every generated agent MUST follow this comprehensive 10-part structure:

  1. Part 1: Core Concepts - Fundamental principles, mental model, architecture overview
  2. Part 2: Essential Patterns (5-10 patterns) - Each with: when to use, full implementation (20-50 lines), variations, common mistakes
  3. Part 3: Advanced Techniques (3-5 techniques) - Deep dives with complete examples
  4. Part 4: Configuration - Complete dev config, complete prod config, environment variables table
  5. Part 5: Integration Patterns - Integration code for 2-3 common technologies
  6. Part 6: Testing Strategies - Unit tests with mocks, integration tests, test configuration
  7. Part 7: Error Handling - Custom exception hierarchy, retry/circuit breaker patterns, structured logging
  8. Part 8: Performance Optimization - Profiling techniques, optimization table, caching strategies
  9. Part 9: Security Considerations - Common vulnerabilities, security hardening checklist
  10. Part 10: Quick Reference - Common operations cheat sheet (20-30 snippets), CLI commands, troubleshooting table

Plus: Quality Checklist, Anti-Patterns (5-10 with bad/good code), Canonical Resources (10-15 URLs)

See python-expert.md and react-expert.md in agents/ for reference implementations.

Requirements:

  • YAML frontmatter at top with required fields (name, description)
  • Concise, actionable system prompt (not verbose)
  • Minimum 10 official/authoritative URLs
  • Include real, production-ready code examples (10+ code blocks)
  • Include complete configuration files (dev + prod)
  • Include testing patterns with actual test code
  • Focus on patterns, best practices, architecture
  • Include canonical references for expansion
  • Markdown formatted for direct use
  • Description field can be lengthy with examples if needed for clarity

Output Options

Ask user to choose scope:

  1. Project Agent - Save to .claude/agents/ (project-specific, version controlled)
  2. Global Agent - Save to ~/.claude/agents/ or C:\Users\[username]\.claude\agents\ (all projects)

Ask user to choose format:

  1. Clipboard-ready - Output complete markdown (with YAML frontmatter) in code block
  2. File creation - Use Write tool to save to appropriate agents directory based on scope
  3. Both - Create file using Write tool AND show complete content in chat for review

File Creation Process: When creating files programmatically:

  1. Generate complete agent content with YAML frontmatter
  2. Determine path based on scope selection:

- Project: .claude/agents/[platform-name]-expert.md - Global: ~/.claude/agents/[platform-name]-expert.md (or Windows equivalent)

  1. Use Write tool with appropriate path
  2. Verify file was created successfully
  3. Agent is immediately available for use

Examples

Example 1: Single Agent

User: /spawn
Agent: [Shows multi-tab AskUserQuestion with 5 tabs]
  Tab 1 (Mode): Single Agent / Batch Generation / Architecture Analysis
  Tab 2 (Scope): Project Agent / Global Agent
  Tab 3 (Output): Create File / Show in Chat / Both
  Tab 4 (Platform): Custom Platform / [or popular options]
  Tab 5 (Focus): [Multi-select] General Coverage / Caching Patterns / Pub/Sub / etc.
User: [Selects all answers and submits once]
  Mode: Single Agent
  Scope: Global Agent
  Output: Both
  Platform: Redis (via Other field)
  Focus: General Coverage, Caching Patterns, Pub/Sub
Agent: [Generates Redis expert prompt and saves to ~/.claude/agents/redis-expert.md]

Example 2: Batch Generation

User: /spawn
Agent: [Shows multi-tab AskUserQuestion with 3 tabs]
  Tab 1 (Mode): Single Agent / Batch Generation / Architecture Analysis
  Tab 2 (Scope): Project Agent / Global Agent
  Tab 3 (Output): Create Files / Show in Chat / Both
User: [Submits]
  Mode: Batch Generation
  Scope: Project Agent
  Output: Create Files
Agent: Please provide platforms (one per line):
User: PostgreSQL
Redis
RabbitMQ

Agent: [Creates 3 .md files in .claude/agents/ (project directory)]

Example 3: Architecture Analysis

User: /spawn
Agent: [Shows multi-tab AskUserQuestion with 3 tabs]
  Tab 1 (Mode): Single Agent / Batch Generation / Architecture Analysis
  Tab 2 (Scope): Project Agent / Global Agent
  Tab 3 (Output): Create Files / Show in Chat / Both
User: [Submits]
  Mode: Architecture Analysis
  Scope: Global Agent
  Output: Both
Agent: Describe your architecture or provide file path:
User: E-commerce platform: Next.js frontend, Node.js API, PostgreSQL, Redis cache, Stripe payments, AWS S3 storage, SendGrid emails
Agent: Found platforms: Next.js, Node.js, PostgreSQL, Redis, Stripe, AWS S3, SendGrid
[Shows multi-select AskUserQuestion]
User: [Selects: nextjs-expert, postgres-expert, redis-expert, stripe-expert]
Agent: [Generates 4 selected agents in ~/.claude/agents/]

Implementation Steps

  1. Ask All Questions at Once using a single multi-question AskUserQuestion call: For Single Mode, also ask in the same call:

- Question 1 (header: "Mode"): Single Agent / Batch Generation / Architecture Analysis - Question 2 (header: "Scope"): Project Agent (this project only) / Global Agent (all projects) - Question 3 (header: "Output"): Create File / Show in Chat / Both - Question 4 (header: "Platform"): Offer "Custom Platform" option (user types in Other field) - Question 5 (header: "Focus", multiSelect: true): General Coverage / [2-3 common focus areas for that tech]

  1. For Single Mode:

- If user selected "Custom Platform", prompt for the platform name in chat - Generate comprehensive prompt based on answers - Create file and/or display based on output preference

  1. For Batch Mode:

- Ask user to provide multi-line platform list in chat - For each platform: - Generate expert prompt - Save to .claude/agents/[platform]-expert.md - Report completion with file paths

  1. For Architecture Analysis:

- Ask user for architecture description in chat - Parse and identify technologies - Present checkbox selector using AskUserQuestion (multiSelect: true) - Generate selected agents - Save to files based on output preference

  1. Generate Each Agent Prompt:

- Research official docs (WebSearch or WebFetch) - Find 10+ authoritative URLs - Structure according to template above - Focus on patterns and best practices - Target 500-1000 lines with comprehensive patterns - Markdown formatted

  1. Output:

- Determine file path based on Scope selection: - Project Agent: .claude/agents/[platform]-expert.md - Global Agent: ~/.claude/agents/[platform]-expert.md (Unix/Mac) or C:\Users\[username]\.claude\agents\[platform]-expert.md (Windows) - If "Create File" or "Both": Use Write tool with appropriate path and complete YAML frontmatter + system prompt - If "Show in Chat" or "Both": Display complete markdown (including frontmatter) in code block - Confirm creation with full file path - Remind user agent is immediately available via Task tool

Important: Always use a single AskUserQuestion call with multiple questions (2-4) to create the multi-tab interface. Never ask questions sequentially one at a time.

Quality Checklist

Before outputting each agent prompt, verify:

  • YAML frontmatter present with required fields (name, description)
  • Name uses lowercase-with-hyphens format
  • Description is clear and specific (length is flexible)
  • Tools field specified if restricting access (best practice: limit to necessary tools)
  • 10+ authoritative URLs included in system prompt
  • 10+ production-ready code examples included
  • Complete dev and prod configuration files
  • Testing patterns with actual test code
  • Error handling patterns and exception hierarchy
  • 5+ anti-patterns with bad/good code comparison
  • Concise and scannable system prompt
  • Clear use cases defined
  • Integration points identified
  • Common patterns referenced
  • Anti-patterns listed
  • Proper markdown formatting throughout
  • Filename matches name field: [name].md
  • Follows Claude Code subagent best practices (see documentation links above)

Post-Generation

After creating agents, remind user:

  1. Review generated prompts
  2. Test agent with sample questions
  3. Refine based on actual usage
  4. Add to version control if satisfied
  5. Consult Claude Code documentation links above for advanced features and best practices

Additional Resources:

平台分布

OpenCode

29.61%
按下载量换算68

Gemini CLI

21.31%
按下载量换算49

Antigravity

16.68%
按下载量换算39

Claude Code

12.94%
按下载量换算30

Codex

8.87%
按下载量换算20

windsurf

3.55%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills