Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add eiway112/prefab-interior-skills --skill prefab-governance-syncgit clone --depth 1 https://github.com/eiway112/prefab-interior-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/eiway112/prefab-interior-skills/prefab-governance-sync)<a href="https://agentmods.dev/skills/eiway112/prefab-interior-skills/prefab-governance-sync"><img src="https://agentmods.dev/badge/skills/eiway112/prefab-interior-skills/prefab-governance-sync/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/eiway112/prefab-interior-skills/prefab-governance-sync"><img src="https://agentmods.dev/badge/skills/eiway112/prefab-interior-skills/prefab-governance-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.02261 |
| Opus 5.5 | $0.00043 | $0.00904 |
| Sonnet 5.5 | $0.00021 | $0.00452 |
| Haiku 4.5 | $0.00011 | $0.00226 |
Grade A, and why
prefab-governance-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
治理文件三层同步(prefab-governance-sync)
定位
装配式装修技能合集治理文件的执行层同步流水线(薄技能):只管"怎么同步、怎么验收"。变更定级(S/A/B/C)、审批流程、专项规则的唯一事实源是 change-governance.md(项目仓 _专题_技能合集策划/ 与 shared/ 各一份,须保持同步)。
三层结构与文件映射
| 层 | 路径 | 角色 |
|---|---|---|
| L1 开发源 | 项目仓根目录下的 _专题_技能合集策划\(本仓 _专题_技能合集策划/) |
治理文件开发源;各 _专题_* 目录存子技能策划稿 |
| L2 运行时 SOT | ~/.qoder/skills/ |
standards-index.md(根 SOT,头部含 SOT 声明+镜像说明)+ 各 prefab-*/skill-qa-tester 技能目录 |
| L3 只读镜像 | ~/.qoder/skills/shared/ |
change-governance、data-classification(2026-09-22 数据分类迁移批新增)、glossary、interface-contracts、platform-adapter-reference、redlines-registry、standards-index、standards-reasoning-rules(头部为 shared 路径定位措辞) |
特例:redlines-registry.md 运行时只有 shared/ 镜像一处(无根副本),LF 换行,同步 = 备份后字节覆盖。
同步前检查(必做)
- 三方逐文件比对(项目仓 ↔ 运行时根 ↔ 镜像),用
cmp或哈希,输出差异清单。 - 读各冲突文件头部"最后更新"字段定方向:新的覆盖旧的,逐文件独立判定(允许不同文件方向不同,glossary 曾出现运行时反向更优的先例)。
- 方向不明或两侧都有独有改动时,暂停,报告用户裁决,不得猜测合并。
标准变更五步同步(standards-index 类)
- 修源文件(项目仓策划目录)
- 更新 standards-index(含重编号)——重编号陷阱:§锚定表行内含 "| 序号 | 编号 |" 子串,须先替换锚定表行、再替换主表行,否则脚本断言冲突
- 同步策划表(技能合集策划方案索引等 A0 表)
- 同步映射文件(reasoning-rules 激活表、技能内序号引用)
- grep 交叉验证:标准编号/序号全链零残留旧值
发布到运行时
- 覆盖前先备份:
_pre后缀(如 v2_1_2_pre)或shared/backup_skills_shared_YYYYMMDD/目录。 - standards-index 根 ↔ 镜像同步:头部声明不同(根含 SOT+镜像说明两行,镜像为 shared 措辞)。字节覆盖后必须恢复各自头部声明,只同步正文。
- redlines-registry:备份 → 字节覆盖 → 确认 LF 换行(CRLF=0)。
- 子技能 SKILL.md 升版:改 frontmatter version + 对应变更说明;技能内容变更须按 change-governance.md 定级走复核。
脚本化同步流程(推荐路径)
批量同步(≥3 个文件)优先用脚本编排,避免手工逐文件复制遗漏:
- 三方比对:对同步范围内文件计算哈希,输出差异清单(对应 GS-R-P2-1)
- 备份:目标文件备份为
_pre后缀或备份目录(对应 GS-R-P0-1) - 字节复制:按既定方向(L1 → 备份镜像 → 运行时)复制
- 哈希/CRLF 校验:复制后逐文件 sha256 比对 + LF 约定文件 CRLF=0(对应 GS-R-P2-2)
- CG/git 收尾:登记 CG 编号、提交信息含同步验证结论(对应 GS-R-P1-3/P2-3)
冲突检测(方向仲裁):同步前哈希比对发现运行时与镜像彼此不一致(非单向落后于源)时,即判定方向不明,暂停并输出差异清单报用户裁决(对应 GS-R-P0-2)。
回滚:任一校验失败时,从步骤 2 的备份恢复全部目标文件,重新校验后方可继续。
并发控制:同步过程中发现目标文件哈希与同步前快照不一致(可能被其他任务修改),立即停止,不得继续覆盖。
验收清单
- 三方比对:本次同步范围内所有文件哈希一致(头部声明差异除外,须显式声明)
- CRLF 检查:同步后的 LF 约定文件 CRLF=0
- grep 回归:变更涉及的编号/序号/标注(如"待官方核验")全链零残留旧值
- change-governance.md 变更日志已登记 CG 编号,项目仓与 shared 镜像两份一致
- git 提交:项目仓提交,信息含 CG 编号与同步验证结论
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed 9736f8648011
- 2mo ago First seen · 113 lines · 107 tokens per session scan A 6b07b232279c
prefab-governance-sync is a skill published in the GitHub repository eiway112/prefab-interior-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 107 tokens to every session and 2,261 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.