okwinds/skills-runtime-sdk/policy-compliance-patcher
Claude Code and agent skill by okwinds/skills-runtime-sdk
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
读取 policy(skill_ref_read)并对 workspace 文件执行合规补丁(apply_patch + 产物落盘)。
Install
npx vskill@latest install okwinds/skills-runtime-sdk/policy-compliance-patcherSKILL.md
The same SKILL.md was published earlier as okwinds/skills-runtime-sdk/policy-compliance-patcher.
policy_compliance_patcher(workflow / Policy Compliance Patch)
目标
在离线可回归约束下,把“规则/政策”以可分发形态随 Skill 打包:
- policy 放在
references/policy.md - 运行期通过
skill_ref_read读取(默认禁用,需显式开启) - 根据 policy 修复 workspace 里的目标文件,并落盘可审计产物
输入约定
- 任务文本中会包含 mention:
$[examples:workflow].policy_compliance_patcher。 - workspace 内已存在
target.md,其中包含一个“政策禁止的敏感 token”。
必须使用的工具
skill_ref_read:读取references/policy.md(不需要 approvals,但默认 fail-closed)read_file:读取target.md(只读)apply_patch:对target.md打最小补丁(写操作,通常需要 approvals)file_write:落盘patch.diff/result.md/report.md(写操作,通常需要 approvals)
References(可分发政策)
references/policy.md:示例 policy(禁止在产物中保留明文敏感 token)
约束
- 默认离线:不访问外网,不依赖真实 key。
- 修复必须最小化:只替换敏感 token,不做无关格式化。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs_for_coding_agent/examples/workflows/20_policy_compliance_patch/skills/policy_compliance_patcher/SKILL.md
Popularity
- Repository stars
- 35
- Repository forks
- 4
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/okwinds/skills-runtime-sdk/policy-compliance-patcher)