@cklxx/task-delegation
AWhen a subtask should run on a different agent (Codex/Claude/Gemini) → delegate and track cross-agent execution.
Install
agr install @cklxx/task-delegation --target claudeWrites 2 files into .claude/skills/, pinned to git-3c98cee5.
- .claude/skills/task-delegation/SKILL.md
- .claude/skills/task-delegation/run.py
Document
name: task-delegation description: When a subtask should run on a different agent (Codex/Claude/Gemini) → delegate and track cross-agent execution. triggers: intent_patterns: - "delegate|委派|分发|子任务|subtask|dispatch|后台执行" - "交给.*codex|send.*to.*codex|让.*claude.*做|ask.*claude" - "后台.*跑|run.*background|异步.*执行|async.*execute" - "分配.*给|assign.*to|外包.*出去|outsource" - "用.*另一个.*agent|use.*another.*agent|换.*模型.*做|switch.*model" context_signals: keywords: ["delegate", "委派", "codex", "claude", "dispatch", "后台", "异步", "分配", "agent", "gemini"] confidence_threshold: 0.65 priority: 7 requires_tools: [bash] max_tokens: 200 cooldown: 120
task-delegation
跨 Agent 任务分发:将子任务委派给外部 CLI agent 执行。
调用
python3 skills/task-delegation/run.py dispatch --agent codex --task 'fix the bug in main.go'
python3 skills/task-delegation/run.py list
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-3c98cee5bbcc2026-07-31