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

fabric-supervisor

GitHub

该技能用于启动持久的Pi Fabric主管,监控主会话并仅在需要时进行引导。它通过监听空闲或错误事件来优化资源,避免每次轮次都运行模型,仅在任务停滞、偏离或出错时提供直接指导,确保目标达成。

skillsets/typescript/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/typescript/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:

  • strings.name: supervisor
  • strings.events: ["agent_settled","tool_error"]
  • strings.triggerTurn: true
  • strings.model: model key or substring, or an empty string when unset
  • strings.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:28

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-supervisor/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-swarm/SKILL.md
skillsets/typescript/fabric-workflow/SKILL.md

Metadata

Files
0
Version
145fb0f
Hash
1b1c5445
Indexed
2026-09-08 19:28

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 17:27
浙ICP备14020137号-1