configure-pi-tool-supervisor skillA
configure-pi-tool-supervisor is agent-read markdown (skill) from maplezzk/pi-extensions: 配置与排查 pi-tool-supervisor 的 before/after 工具审查、reviewer 和规则文件。Use when configuring tool lifecycle reviews..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 配置 pi-tool-supervisor ## 诊断 定位实际 Pi agent 目录下的 `extensions/pi-tool-supervisor/config.json`;仅当新路径不存在时读取旧 `extensions/pi-file-edit-review/config.json`。确认顶层 `enabled`、`timeoutSeconds`、`maxFileContextChars`、`maxRuleLines`、`typesafe`(可选,含 `apiKey` / `endpoint`,未配置时回退到同名环境变量)、`reviewers`。 每个 reviewer 必须有 `provider/model`(`model` 引擎)或 `typesafeModel`(`typesafe` 引擎),以及唯一的 `rulesFile|rulesFiles`,并检查: - `backend`:`model|typesafe`,省略时为 `model`; - `typesafeModel`:仅 `typesafe` 引擎使用,默认 `jev-latest`;`typesafe` reviewer 写 `model` 会被忽略并告警; - `tools`:精确工具名数组,`["*"]` 匹配全部内建和自定义工具;省略时为 `edit/write`; - `trigger`:`before|after`,省略时为 `after`; - `condition`:可选本地 TypeScript/ESM 模块路径。模块默认导出函数,收到原生 tool event、`ExtensionContext` 和 `ToolConditionHelpers`;返回 `false` 时跳过 reviewer; - reviewer `enabled`; - 规则 frontmatter 的 `enabled`、`filePatterns`、`complexity`、`consumers`;`typesafe` 引擎另外读可选的 `threshold`(默认 `0.85`)。 - **规则文件是引擎无关的,换 backend 不需要改规则。** `typesafe` 引擎直接读文件里现有的编号条款:一条 `1. 正文` 就是一条规则,条款正文既当判据也当 finding 文案;条款开头历史遗留的 `[error]`/`[warning]` 标注会被剔掉。两个后端都没有分级,命中即阻断。不要为了 typesafe 去加 `## 判据` / `## 修复提示` / `severity` 字段;那些不是这个后端的要求。 - 以「归属」开头的段落(常见写法 `## 归属与 severity`)里的编号条款**不参与判断**,它们讲的是「怎么报告」。 …
Read the whole file at its exact version.
How to install
mdr add maplezzk/pi-extensions/configure-pi-tool-supervisor@git:20260920.7a2b9a4mdr add maplezzk/pi-extensions/configure-pi-tool-supervisor@sha256:3ab889070f1aeaf1Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_fw6nrj54v42acalt)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260920.7a2b9a4 latest | 2026-09-20 | 7a2b9a4 | 7,046 B | A | view · diff |
| git:20260920.5dd35f5 | 2026-09-20 | 5dd35f5 | 7,021 B | A | view · diff |
| git:20260920.85b7bdb | 2026-09-20 | 85b7bdb | 6,126 B | A | view · diff |
| git:20260920.8be0702 | 2026-09-20 | 8be0702 | 6,829 B | A | view · diff |
| git:20260920.2baa454 | 2026-09-20 | 2baa454 | 6,804 B | A | view · diff |
| git:20260919.131f98d | 2026-09-19 | 131f98d | 5,909 B | A | view · diff |
| git:20260919.4919fdf | 2026-09-19 | 4919fdf | 5,798 B | A | view · diff |
| git:20260917.fceabdc | 2026-09-17 | fceabdc | 5,396 B | A | view · diff |
| git:20260917.679dfd2 | 2026-09-17 | 679dfd2 | 4,592 B | A | view · diff |
| git:20260908.d29af84 | 2026-09-08 | d29af84 | 2,710 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7046 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
maplezzk/pi-extensions · 12 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fw6nrj54v42acalt GET https://markdownregistry.com/api/v1/resolve?ref=maplezzk/pi-extensions/configure-pi-tool-supervisor GET https://markdownregistry.com/api/v1/blob/3ab889070f1aeaf1d99c8e9a16b0584dd3fdedf09eb63a04cbfbbc3abc875412
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.