Agent Skills › monotykamary/pi-fabric › fabric-supervisor

fabric-supervisor

GitHub

配置持久化代理监督器,监控主会话并仅在必要时干预。通过监听空闲或错误事件实现高效目标监管,避免频繁模型调用,适用于长期任务的自动化监督与引导。

skillsets/python/fabric-supervisor/SKILL.md fabric-runtime/pi-fabric

Trigger Scenarios

需要长期目标监督的复杂任务 代理陷入空闲或工具错误需自动恢复 多步骤工作流中的异常检测与介入

Install

npx skills add fabric-runtime/pi-fabric --skill fabric-supervisor -g -y
More Options

Non-standard path

npx skills add https://github.com/fabric-runtime/pi-fabric/tree/main/skillsets/python/fabric-supervisor -g -y

Use without installing

npx skills use fabric-runtime/pi-fabric@fabric-supervisor

指定 Agent (Claude Code)

npx skills add fabric-runtime/pi-fabric --skill fabric-supervisor -a claude-code -g -y

安装 repo 全部 skill

npx skills add fabric-runtime/pi-fabric --all -g -y

预览 repo 内 skill

npx skills add fabric-runtime/pi-fabric --list

SKILL.md

Frontmatter
{
    "name": "fabric-supervisor",
    "description": "Starts a persistent Pi Fabric supervisor that watches the main session toward a concrete goal and steers only when needed. Use for long-running goal supervision without another extension.",
    "disable-model-invocation": true
}

Fabric Supervisor

Create the supervisor with Fabric primitives; do not install a supervisor extension. Derive a concrete, measurable goal from the skill arguments or active request without asking for information already present.

Hard pointer: read <skill-dir>/../fabric-ambient/references/setup.md completely before setup, then use its program with:

  • payloads.name: supervisor
  • payloads.events: ["agent_settled","tool_error"]
  • payloads.triggerTurn: true
  • payloads.model: model key or substring, or an empty string when unset
  • payloads.instructions: the prompt below with GOAL replaced
You are an ambient supervisor for this goal:

<goal>
GOAL
</goal>

Review the supplied parent-session event and recent transcript as an outside observer, not a second implementer.

Return {"action":"silent"} while work is productively advancing. Return {"action":"message","message":"..."} only when material work is missing at idle, work is drifting, a tool error left it stuck, or one concrete next action is needed. Keep guidance direct and at most three sentences. Do not repeat prior guidance, request credentials, or invent user decisions.

The goal is complete only when the requested result and relevant validation are evident. Then return {"action":"stop","message":"Goal verified complete."}.

Idle/error events avoid a model run on every turn. triggerTurn: true lets a material steer resume an idle Main session.

Completion criterion

Complete only when setup returns a supervisor with both events, read-only native tools, triggerTurn: true, and no recreation warning. If warnings remain, report the required remediation without recreating or retrying automatically. Otherwise report the goal, actor ID, and derived /fabric messages/stop commands; do not wait.

Version History

  • 88c505b Current 2026-09-08 19:27

Same Skill Collection

skills/fabric-advisor/SKILL.md
skills/fabric-ambient/SKILL.md
skills/fabric-council/SKILL.md
skills/fabric-exec/SKILL.md
skills/fabric-fusion/SKILL.md
skills/fabric-guide/SKILL.md
skills/fabric-rlm/SKILL.md
skills/fabric-schema/SKILL.md
skills/fabric-spec/SKILL.md
skills/fabric-supervisor/SKILL.md
skills/fabric-swarm/SKILL.md
skills/fabric-workflow/SKILL.md
skillsets/python/fabric-advisor/SKILL.md
skillsets/python/fabric-ambient/SKILL.md
skillsets/python/fabric-council/SKILL.md
skillsets/python/fabric-exec/SKILL.md
skillsets/python/fabric-foreman/SKILL.md
skillsets/python/fabric-fusion/SKILL.md
skillsets/python/fabric-graph/SKILL.md
skillsets/python/fabric-guide/SKILL.md
skillsets/python/fabric-jev/SKILL.md
skillsets/python/fabric-rlm/SKILL.md
skillsets/python/fabric-schema/SKILL.md
skillsets/python/fabric-spec/SKILL.md
skillsets/python/fabric-swarm/SKILL.md
skillsets/python/fabric-workflow/SKILL.md
skillsets/typescript/fabric-advisor/SKILL.md
skillsets/typescript/fabric-ambient/SKILL.md
skillsets/typescript/fabric-council/SKILL.md
skillsets/typescript/fabric-exec/SKILL.md
skillsets/typescript/fabric-foreman/SKILL.md
skillsets/typescript/fabric-fusion/SKILL.md
skillsets/typescript/fabric-graph/SKILL.md
skillsets/typescript/fabric-guide/SKILL.md
skillsets/typescript/fabric-jev/SKILL.md
skillsets/typescript/fabric-rlm/SKILL.md
skillsets/typescript/fabric-schema/SKILL.md
skillsets/typescript/fabric-spec/SKILL.md
skillsets/typescript/fabric-supervisor/SKILL.md
skillsets/typescript/fabric-swarm/SKILL.md
skillsets/typescript/fabric-workflow/SKILL.md

Metadata

Files
0
Version
e55afc7
Hash
6f7137b8
Indexed
2026-09-08 19:27

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 21:08
浙ICP备14020137号-1