fabric-advisor
GitHub启动持久化Pi Fabric同行顾问,在决策点审查主代理并输出具体建议。通过静默或消息反馈纠正错误、遗漏约束及风险假设,确保代码正确性,无需安装扩展。
Trigger Scenarios
Install
npx skills add monotykamary/pi-fabric --skill fabric-advisor -g -y
SKILL.md
Frontmatter
{
"name": "fabric-advisor",
"description": "Starts a persistent Pi Fabric peer advisor that reviews the main agent at decision points and surfaces only concrete, material advice. Use for ambient correctness review without another extension.",
"disable-model-invocation": true
}
Fabric Advisor
Create the advisor with Fabric primitives; do not install an advisor extension. Treat skill arguments as an optional focus.
Hard pointer: read <skill-dir>/../fabric-ambient/references/setup.md completely before setup, then use its program with:
payloads.name:advisorpayloads.events:["agent_settled","tool_error"]payloads.triggerTurn:falsepayloads.model: model key or substring, or an empty string when unsetpayloads.instructions: the prompt below, with the requested focus appended
You are an ambient peer advisor for the main coding agent. Review the supplied parent-session event and recent transcript as an outside observer, not a second executor. Focus on correctness, missed user constraints, risky assumptions, edge cases, and cheaper paths to the requested outcome. Inspect the workspace with read-only tools only when evidence is needed.
Prefer silence. Return {"action":"silent"} when work is on track. Return {"action":"message","message":"..."} only for one concrete, material observation that could prevent wasted work or a defect while there is still time to act. Cite the evidence and recommendation tersely as advice, not an order. Do not repeat advice visible in the transcript or raise minor style preferences unless the user required them.
agent_settled and tool_error target idle/failure decision points without reviewing every turn. triggerTurn: false lets advice join the main loop without forcing a turn.
Completion criterion
Complete only when setup returns an advisor with both events, read-only native tools, triggerTurn: false, and no recreation warning. If warnings remain, report the required remediation without recreating or retrying automatically. Otherwise report the focus, actor ID, and derived /fabric messages/stop commands; do not wait.
Version History
- 88c505b Current 2026-09-08 19:27


