Skills Plugins MCP Prompt Model 博客 我的中心
数据分析与咨询 #research #agent

codex-subagents

Spawn background subagents for parallel or long-running tasks. Use when you need research threads, context isolation, or detached execution.

DeepseekModel 官方收录技能 质量 良好 · 64 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=obra-external-subagents-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name codex-subagents description Spawn background subagents for parallel or long-running tasks. Use when you need research threads, context isolation, or detached execution. Codex Subagents Overview codex-subagent offloads work to background threads so your main context stays lean. Threads run detached by default; use wait / peek to check results. Critical rules : You cannot send to a running thread. Always wait before sending follow-ups. Use --permissions read-only or --permissions workspace-write (not workspace-read ) For detailed workflow documentation, see reference/workflow.md . When to Use Situation Why subagents help Parallel research tasks Multiple threads run simultaneously Context would bloat Research stays in separate thread Long-running work Detached execution, check later Don't use for : Quick inline questions, tightly-coupled work needing your current state. Core Workflow 1. start with --prompt (inline text or stdin) 2. wait/peek → check result 3. send → resume with follow-up (ONLY after thread stops) 4. archive/clean → lifecycle management The Running Thread Rule You CANNOT send to a running thread. This is the #1 mistake. # WRONG - thread might still be running echo "followup" | codex-subagent send thread-abc --prompt - # RIGHT - wait first, then send codex-subagent wait --threads thread-abc echo "followup" | codex-subagent send thread-abc --prompt - Resumable statuses: completed , failed , stopped , waiting Quick Reference Command Purpose Key flags start Launch new thread --role , --permissions , --prompt , --label , -w send Resume stopped thread <thread-id> , --prompt , -w peek Read newest unseen message <thread-id> , --save-response log Full history <thread-id> , --tail , --json status Thread summary <thread-id> wait Block until threads stop --threads , --labels , --all , --follow-last list Show threads --status , --label , --role archive Move completed to archive --completed , --yes , --dry-run clean Delete old archives --older-than-days , --yes Prompt input : --prompt "text" for simple prompts, --prompt - reads from stdin (for multi-line), -f / --prompt-file for files Positional thread IDs : peek abc123 works like peek -t abc123 Common Patterns Simple inline prompt codex-subagent start --role researcher --permissions read-only \ --label "quick-task" --prompt "List all exported functions in src/lib/" Multi-line prompt (heredoc) cat << 'EOF' | codex-subagent start --role researcher --permissions read-only --label "auth-research" --prompt - Research authentication patterns in this codebase: 1. Find all auth-related files 2. Document the auth flow 3. Note any security concerns EOF Parallel research # Launch multiple researchers cat << 'EOF' | codex-subagent start --role researcher --permissions read-only --label "API: Stripe" --prompt - Research Stripe API authentication methods and best practices EOF cat << 'EOF' | codex-subagent start --role researcher --permissions read-only --label "API: Twilio" --prompt - Research Twilio API authentication methods and best practices EOF # Wait for all, see results codex-subagent wait --labels "API:" --follow-last Blocking task # -w blocks until complete (may take minutes) cat << 'EOF' | codex-subagent start --role researcher --permissions read-only --prompt - -w --save-response result.txt Analyze error handling patterns in src/ EOF cat result.txt Warning : -w blocks for as long as the agent runs. For long tasks, prefer detached mode with wait --follow-last . Cleanup old work # Two-phase: archive completed, then clean old archives codex-subagent archive --completed -- yes codex-subagent clean --older-than-days 30 -- yes Troubleshooting Problem Cause Fix "profile does not exist" Wrong permissions Use read-only or workspace-write (not workspace-read ) "not resumable" error Thread still running wait first, then send "different controller" Wrong session Use --controller-id or check list Thread disappeared Was archived Check archive dir or re-run task Checklist start has --role , --permissions , --prompt , and --label Permissions are read-only or workspace-write wait before send (never send to running thread) Results captured with --save-response or peek
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。