Token导航 LogoToken导航

Agent Skill · 研究检索

subagents(subagents 搜索)

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

subagents 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 51,212。

总安装 588周安装 25GitHub Stars 26下载 206核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/outfitter-dev/agents --skill subagents

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合根据关键词、任务场景快速定位候选结果。通过 npx skills add 命令从指定仓库安装使用。建议确认权限范围和维护状态,避免触发联网或文件读写操作。

subagents 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/subagents

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

subagents 怎么安装?

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

subagents 支持哪些 AI 工具?

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

subagents 需要什么权限?

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

subagents 是免费的吗?

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

subagents 用的人多吗?

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

subagents 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
subagents

subagents 搜索 · 本页

58826接触敏感数据MIT通过

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

SKILL.md 原文

Subagent Coordination

Orchestrate outfitter subagents by matching tasks to the right agent + skill combinations.

Orchestration Planning

For complex multi-agent tasks, start with the Plan subagent to research and design the orchestration strategy before execution.

Complex task arrives
    │
    ├─► Plan subagent (research stage)
    │   └─► Explore codebase, gather context
    │   └─► Identify which agents and skills needed
    │   └─► Design execution sequence (sequential, parallel, or hybrid)
    │   └─► Return orchestration plan
    │
    └─► Execute plan (dispatch agents per plan)

Plan subagent benefits:

  • Runs in isolated context — doesn't consume main conversation tokens
  • Can read many files without bloating orchestrator context
  • Returns concise plan for execution

When to use Plan subagent:

  • Task touches multiple domains (auth + performance + testing)
  • Unknown codebase area — needs exploration first
  • Sequence of agents matters (dependencies between steps)
  • High-stakes changes requiring careful coordination

Context Management

For long-running orchestration, load the context-management skill. It teaches:

  • Using Tasks as survivable state (persists across compaction)
  • Delegating to subagents to preserve main context
  • Pre-compaction checklists to capture progress
  • Cross-session patterns for multi-day work

Key principle: Main conversation context is precious. Delegate exploration and research to subagents — only their summaries return, keeping main context lean.

Roles and Agents

Coordination uses roles (what function is needed) mapped to agents (who fulfills it). This allows substitution when better-suited agents are available.

Baselayer Agents

RoleAgentPurpose
codingengineerBuild, implement, fix, refactor
reviewingreviewerEvaluate code, PRs, architecture, security
researchanalystInvestigate, research, explore
debuggingdebuggerDiagnose issues, trace problems
testingtesterValidate, prove, verify behavior
challengingskepticChallenge complexity, question assumptions
specialistspecialistDomain expertise (CI/CD, design, accessibility, etc.)
patternsanalystExtract reusable patterns from work

Other Available Agents

Additional agents may be available in your environment (user-defined, plugin-provided, or built-in). When dispatching:

  1. Check available agents for best fit to the role
  2. Prefer specialized agents over generalists when they match the task
  3. Fall back to outfitter agents when no better option exists

Examples of role substitution:

  • coding → senior-engineer, developer, engineer
  • reviewing → security-auditor, code-reviewer, reviewer
  • research → research-engineer, docs-librarian, analyst
  • specialist → cicd-expert, design-agent, accessibility-auditor, bun-expert

Task Routing

Route by role, then select the best available agent for that role:

User request arrives
    │
    ├─► "build/implement/fix/refactor" ──► coding role
    │
    ├─► "review/critique/audit" ──► reviewing role
    │
    ├─► "investigate/research/explore" ──► research role
    │
    ├─► "debug/diagnose/trace" ──► debugging role
    │
    ├─► "test/validate/prove" ──► testing role
    │
    ├─► "simplify/challenge/is this overkill" ──► challenging role
    │
    ├─► "deploy/configure/CI/design/a11y" ──► specialist role
    │
    └─► "capture this workflow/make reusable" ──► patterns role

Workflow Patterns

Sequential Handoff

One agent completes, passes to next:

research (investigate) → coding (implement) → reviewing (verify) → testing (validate)

Use when: Clear stages, each requires different expertise.

Parallel Execution

Multiple agents work simultaneously using run_in_background: true:

┌─► reviewing (code quality)
│
task ──┼─► research (impact analysis)
│
└─► testing (regression tests)

Use when: Independent concerns, time-sensitive, comprehensive coverage needed.

Challenge Loop

Build → challenge → refine:

coding (propose) ←→ challenging (evaluate) → coding (refine)

Use when: Complex architecture, preventing over-engineering, high-stakes decisions.

Investigation Chain

Narrow down, then fix:

research (scope) → debugging (root cause) → coding (fix) → testing (verify)

Use when: Bug reports, production issues, unclear symptoms.

Role + Skill Combinations

Coding Role

TaskSkills
New featuresoftware-craft, tdd
Bug fixdebugging → software-craft
Refactorsoftware-craft + simplify
API endpointhono-dev, software-craft
React componentreact-dev, software-craft
AI featureai-sdk, software-craft

Reviewing Role

TaskSkills
PR reviewcode-review
Architecture reviewarchitecture
Performance auditperformance
Security auditsecurity
Pre-merge checkcode-review + scenarios

Research Role

TaskSkills
Codebase explorationcodebase-recon
Research questionresearch
Unclear requirementspathfinding
Status reportstatus, report-findings

Testing Role

TaskSkills
Feature validationscenarios
TDD implementationtdd
Integration testingscenarios

Advanced Execution Patterns

Background Execution

Run agents asynchronously for parallel work:

{
  "description": "Security review",
  "prompt": "Review auth module for vulnerabilities",
  "subagent_type": "outfitter:reviewer",
  "run_in_background": true
}

Retrieve results with TaskOutput:

{
  "task_id": "agent-abc123",
  "block": true
}

Chaining Subagents

Sequence agents for complex workflows — each agent's output informs the next:

research agent → "Found 3 auth patterns in use"
    ↓
coding agent → "Implementing refresh token flow using pattern A"
    ↓
reviewing agent → "Verified implementation, found 1 issue"
    ↓
coding agent → "Fixed issue, ready for merge"

Pass context explicitly between agents via prompt.

Resumable Sessions

Continue long-running work across invocations:

{
  "description": "Continue security analysis",
  "prompt": "Now examine session management",
  "subagent_type": "outfitter:reviewer",
  "resume": "agent-abc123"
}

Agent preserves full context from previous execution.

Use cases:

  • Multi-stage research spanning topics
  • Iterative refinement without re-explaining context
  • Long debugging sessions with incremental discoveries

Model Selection

Override model for specific needs:

{
  "subagent_type": "outfitter:analyst",
  "model": "haiku"  // Fast, cheap for exploration
}
  • haiku: Fast exploration, simple queries
  • sonnet: Balanced reasoning (default)
  • opus: Complex analysis, nuanced judgment

Coordination Rules

  1. Single owner: One role owns each task stage
  2. Clear handoffs: Explicit deliverables between agents
  3. Skill loading: Agent loads only needed skills
  4. User prefs first: Check CLAUDE.md before applying defaults
  5. Minimal agents: Don't parallelize what can be sequential

Decision Framework

When agents face implementation choices:

  1. Favor existing patterns — Match what's already in the codebase
  2. Prefer simplicity — Cleverness is a liability; simple is maintainable
  3. Optimize for maintainability — Next developer (or agent) must understand it
  4. Consider backward compatibility — Breaking changes require explicit approval
  5. Document trade-offs — When choosing between options, record why

These principles apply across all roles. Agents should surface decisions to the orchestrator when trade-offs are significant.

Communication Style

Orchestrators and agents should:

  • Report progress at each major step (don't go silent)
  • Flag blockers immediately — don't spin on unsolvable problems
  • Provide clear summaries of delegated work (what was done, what remains)
  • Include file paths and line numbers when referencing code

Progress format:

░░░░░░░░░░ [1/5] research: Exploring auth patterns
▓▓▓▓░░░░░░ [2/5] coding: Implementing refresh token flow

When to Escalate

  • Blocked: Agent can't proceed → route to research role
  • Conflicting findings: Multiple agents disagree → surface to user
  • Scope creep: Task expands beyond role's domain → re-route
  • Missing context: Not enough info → research role with pathfinding skill

Git Operations Policy

CRITICAL: Subagents MUST NOT perform git operations (commit, push, branch creation) when running in parallel. Only the orchestrator handles git state. Subagents write code to the filesystem and report completion.

For detailed workflows and recovery procedures, see the source-control plugin:

  • source-control:multi-agent-vcs — Full orchestrator-only workflow patterns
  • source-control:graphite-stacks — Graphite-specific commands and recovery

Anti-Patterns

  • Running all agents on every task (wasteful)
  • Skipping reviewing role for "small changes" (risk)
  • Coding role debugging without debugging skills (inefficient)
  • Parallel agents with dependencies (race conditions)
  • Not challenging complex proposals (over-engineering)
  • Parallel agents with git permissions (stack corruption)

Quick Reference

"I need to build X" → coding role + TDD skills

"Review this PR" → reviewing role + code-review

"Why is this broken?" → debugging role + debugging

"Is this approach overkill?" → challenging role + simplify

"Prove this works" → testing role + scenarios

"What's the codebase doing?" → research role + codebase-recon

"Deploy to production" → specialist role + domain skills

"Make this workflow reusable" → patterns role + codify

平台分布

github-copilot

29.85%
按下载量换算61

kilo

22.38%
按下载量换算46

windsurf

17.09%
按下载量换算35

zencoder

11.38%
按下载量换算23

amp

7.11%
按下载量换算15

cline

2.92%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills