Skills Plugins MCP Prompt Model 博客 我的中心

pi-subagent

Delegate tasks to specialized subagents for parallel or sequential execution.

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=espennilsen-pi-extensions-pi-subagent-skills-pi-subagent-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name pi-subagent description Delegate tasks to specialized subagents for parallel or sequential execution. Subagent Orchestration Use the subagent tool to delegate tasks to isolated pi subprocesses. Each subagent gets a fresh context window — no shared state with the parent session. When to use subagents A task can be split into independent pieces that run in parallel You need a chain of specialists (scout → planner → worker) A subtask benefits from a clean context window (no accumulated noise) You want crash isolation (failed subtask doesn't corrupt main session) Modes Single — one agent, one task { "agent" : "scout" , "task" : "Find all REST endpoints in " } Parallel — multiple agents concurrently (streams progress as each completes) { "tasks" : [ { "agent" : "scout" , "task" : "Audit auth module" } , { "agent" : "scout" , "task" : "Audit API routes" } , { "agent" : "scout" , "task" : "Audit database queries" } ] } Chain — sequential pipeline, use {previous} for prior step's output { "chain" : [ { "agent" : "scout" , "task" : "Find all TODO comments in the codebase" } , { "agent" : "planner" , "task" : "Categorize and prioritize these TODOs:\n{previous}" } , { "agent" : "worker" , "task" : "Fix the top 3 critical TODOs:\n{previous}" } ] } Per-task options Every task (single, parallel item, chain step) supports these overrides: Option Type Description model string Model override (e.g. "claude-haiku-4-5" for fast, "claude-sonnet-4-5" for complex) thinking string Thinking level: off , minimal , low , medium , high , xhigh extensions string[] Extension paths to load (subagents run with -ne — only whitelisted) skills string[] Skill files/dirs to load via --skill noTools boolean Disable all built-in tools ( --no-tools ) — for analysis-only agents noSkills boolean Disable skill discovery ( -ns ) cwd string Working directory override Priority: per-task item > top-level params > agent .md frontmatter > global settings Examples Fast recon with cheap model, no thinking overhead: { "agent" : "scout" , "task" : "Map the auth module" , "model" : "claude-haiku-4-5" , "thinking" : "off" } Research task needing web search: { "agent" : "worker" , "task" : "Find pricing for Vercel Pro" , "extensions" : [ "extensions/pi-brave-search" ] } Parallel with different models per task: { "tasks" : [ { "agent" : "scout" , "task" : "Map the codebase" , "model" : "claude-haiku-4-5" } , { "agent" : "reviewer" , "task" : "Review the PR diff" , "model" : "claude-sonnet-4-5" , "thinking" : "high" } ] } Chain with escalating capability: { "chain" : [ { "agent" : "scout" , "task" : "Map the auth module" , "model" : "claude-haiku-4-5" , "thinking" : "off" } , { "agent" : "planner" , "task" : "Plan a refactor based on: {previous}" , "thinking" : "high" } , { "agent" : "worker" , "task" : "Implement the plan: {previous}" , "thinking" : "medium" } ] } Extension isolation Subagents always run with --no-extensions ( -ne ). They cannot: Spawn further subagents (pi-subagent is always blocked) Send messages via channels, cron, or heartbeat Access the web dashboard or webserver Whitelist only what a specific task needs via the extensions parameter. Agent scope "user" (default) — loads from ~/.pi/agent/agents/*.md "both" — also includes .pi/agents/*.md (prompts for confirmation) "project" — only project-local agents Creating agents Place .md files in ~/.pi/agent/agents/ with YAML frontmatter: --- name: scout description: Fast codebase reconnaissance tools: read, grep, find, ls, bash extensions: extensions/pi-dotenv model: claude-haiku-4-5 --- System prompt for the agent goes here... Frontmatter Description name Agent name (required) description What the agent does (required) tools Comma-separated tool whitelist model Default model extensions Comma-separated extension paths to load Tips Scout first: use scout (haiku, fast) for recon, then hand results to planner/worker Parallel for independence: only parallelize truly independent tasks Chain for pipelines: scout → planner → worker is the classic pattern Model matching: use haiku for simple recon, sonnet for analysis/implementation Thinking levels: off for fast tasks, high / xhigh for complex reasoning Keep extensions minimal: only whitelist what's actually needed per task
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 技能推荐。完全免费,持续更新。

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

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