magpie-optimizer SKILL.md skillB
magpie-optimizer from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/magpie-optimizer@v1.7.0Pins v1.7.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/magpie-optimizer/SKILL.md- Versions recorded
- 2
- Latest version
- v1.7.0, committed Oct 27, 2026
- First version recorded
- Oct 26, 2026
- Size
- 13,829 bytes
- Repository stars
- 775
- License
- none declared
用 Magpie 配置并优化 AI 工作效能:接入供应商、订阅与插件,配置模型路由组与意图规则,管理网关、可见性、共享 MCP 与搜索;盘点额度与套餐,诊断 Token 消耗与限流,把每次调整关联真实任务验收效果。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# AI 工作效能优化 用 Magpie 观察 AI 工作,关联真实任务与产物,再决定怎样调整模型、上下文、工具使用和工作时间。以质量达标后的交付成本、耗时和返工衡量效果。统一使用 `magpie-optimizer` 名称。 ## 选择工作方式 | 用户需要 | 执行路径 | |---|---| | 第一次配置 Magpie,不知道从哪下手 | 读[入门主路径](references/onboarding.md) | | 扫描本机 Agent 与供应商、账号和额度现状 | 读[环境体检](references/preflight.md)与[脱敏盘点](references/inventory.md) | | 接入新账号、导入供应商或安装插件 | 读[供应商与账号接入](references/provider-integration.md)与[插件与客户端接入](references/plugin-guide.md) | | 为什么消耗快,哪里值得优化 | 先采集、核覆盖,再诊断;必要时按会话深入 | | 怎样利用套餐和临期积分 | 诊断结合现有任务,读取[资源策略](references/token-strategy.md),输出当前/稍后/待输入建议 | | 新建路由或改已有组 | 先按[智能路由设计](references/adaptive-routing-design.md)生成草案;再读[配置合同](references/cli-contract.md)和[操作入口](references/operations.md),展示计划,按已有授权执行 | | 查某个 magpie 子命令的写法,或接入供应商、订阅、插件 | 读[CLI 命令参考](references/cli-command-reference.md);涉及写入时按[CLI 与变更边界](references/cli-contract.md)先只读回读并展示计划 | | 已有多个 provider,不知道怎么分层、哪些模型放同一层 | 读[智能路由设计](references/adaptive-routing-design.md),先抽角色与硬边界,再映射到现有资源 | | 单一入口里嵌套多个能力组并配意图规则 | 读[智能路由设计](references/adaptive-routing-design.md),用 `magpie_route_design.py validate` 先核结构,再按[操作入口](references/operations.md)生成/执行变更 | | 跨 harness 共用难易任务自动分流 | 读取[通用 smart-split](references/smart-split.md),复用稳定组ID,核规则和有意回退 | …
Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/magpie-optimizer@sha256:b2fa03d452f21f5dThe line at the top of this page pins the label v1.7.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hqxylj2u3vgnrzrh)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 26, 2026 and Oct 27, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.7.0 latest | 2026-10-27 | d132c6e | 13,829 B | B | view · diff |
| v1.6.0 | 2026-10-26 | 218999c | 13,318 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13829 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 script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hqxylj2u3vgnrzrh GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/magpie-optimizer GET https://markdownregistry.com/api/v1/blob/b2fa03d452f21f5d39565dc2d7f44be2dacda7b281f758bee21b004a5ca5b738
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.