用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rcarmo/piclaw-addons --skill delegate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | delegate |
| description | Delegate a self-contained task to a verified cheaper/faster child-Pi model in a fresh ephemeral context. |
| distribution | public |
Use the delegate tool for self-contained work that does not need the conversation history. The child runs with an operator-approved model, a bounded tool profile, and no persistent Pi session.
Delegate can use only models listed under Settings → Delegate → Approved delegate models. No providers are approved by default. The approved list requires an operator-approved provider, an ordered classified model ID, exact child-CLI executability, and no matching exclusion.
This restriction applies to automatic selection, explicit model arguments, fallback attempts, and disclosed provider response models. Delegate tool arguments and prompts cannot add models or bypass the list.
judgeDo not delegate when the task depends on conversation history, needs user interaction, requires frontier capability, or is simpler than describing a complete standalone prompt.
delegate({
prompt: "Read src/client.ts. Summarize its public API in five bullets and identify compatibility risks.",
files: ["src/client.ts"],
task_category: "summarize",
tools: "read_only"
})
| Category | Target | Use for |
|---|---|---|
quick | Tier 2 | Formatting, extraction, translation, factual Q&A |
summarize | Tier 2 | File, note, and code summaries |
code | Tier 3 | Code generation and refactoring |
analyze | Tier 3 | Review, architecture, and debugging |
reason | Tier 3 | Complex planning and multi-step logic |
judge | Tier 3 | Critical review from another family when available |
Automatic selection is capped at the verified tier of the current model. If the current model is unknown to Delegate policy, automatic selection fails closed.
Use model: "provider/model" only to select an exact entry from Approved delegate models. Explicit selection can bypass the automatic tier choice. It cannot bypass provider approval, ordered classification, exclusions, child-CLI executability, or image-capability checks. A model visible only to Piclaw runtime is not enough.
| Profile | Built-in child tools |
|---|---|
read_only | read,grep,find,ls |
standard (default) | read,grep,find,ls,bash |
full | read,grep,find,ls,bash,edit,write |
If the known MCP adapter is installed, Delegate adds the mcp tool. A custom comma-separated list of Pi child built-ins is accepted; custom lists must name mcp explicitly when needed. Do not assume other Piclaw add-on tools are present. Tool profiles are not an operating-system sandbox; prefer read_only when the child must not receive shell access.
/workspace; symlink escapes and non-regular files are rejected.When the user asks to double-check, verify, review, or obtain a second opinion:
delegate({
prompt: "Review the response below for correctness, omissions, and unsupported claims. Be critical.\n\n<response>\n...\n</response>",
task_category: "judge",
tools: "read_only"
})
Judge selection crosses families only when a valid tier-safe executable alternative exists.
The child has no conversation history. Include all necessary facts, paths, constraints, and the desired output shape.
"Fix the bug we discussed.""Read src/cache.ts and tests/cache.test.ts. Diagnose why stale entries survive invalidate(), propose the smallest fix, and return a patch outline."Use the final result normally. While it runs, Delegate may emit bounded structured status/tool progress. It retries automatically only for provider setup, authentication, or unavailable-model failures; ordinary execution, protocol, timeout, cancellation, and rate-limit failures are returned without retry.
基于 SOC 职业分类