ho-apply-script SKILL.md skillB
ho-apply-script from s977043/plangate is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add s977043/plangate/ho-apply-script@git:20261027.2a02b7bPins git:20261027.2a02b7b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- s977043/plangate
- Path
.agents/skills/ho-apply-script/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261027.2a02b7b, committed Oct 27, 2026
- First version recorded
- Sep 9, 2026
- Size
- 13,107 bytes
- Repository stars
- 3
- License
- MIT
Hardening Override 対象パスへの patch を Human が安全に適用するための、検証つきスクリプトを組み立てる。Use when: .github/workflows/** / scripts/hooks/** / .claude/settings*.json など AI が編集できないパスの変更を Human に渡す時、apply-*.sh を新規に書く時。.
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
# HO Apply Script
Hardening Override(HO)対象パスは **AI が編集できない**。AI は patch と「検証つき適用
スクリプト」までを用意し、**実行は Human** が行う(責務 4 分類の Human-owned)。
本 skill は**そのスクリプトの型**を定める。毎回ゼロから書くと同じバグを踏むため。
## When to use
- HO 対象パス(正本: [`mode-classification.md`](../../../.claude/rules/mode-classification.md) の
「承認境界周辺の変更」の 12 カテゴリ)を変更する patch を Human に渡すとき
- `scripts/apply-*.sh` を新規に書くとき
## When not to use
- 非 HO パスの変更(AI が直接編集して PR にすればよい)
- patch を作ること自体(それは patch 文書側の仕事。本 skill は**適用の型**)
## Inputs
| 入力 | 例 |
| --- | --- |
| patch 文書のパス | `docs/working/_reports/1288-ci-layer2-and-push-lane-patch.md` |
| marker 名 | `PG-PATCH-BEGIN` / `PG-PATCH-END` |
| 対象ファイル | `.github/workflows/sync-plugin-plangate.yml` |
| 適用後に成立すべき述語 | 「層 2 の検査が清浄なツリーで空」「`ta-71` が 27/0」 |
## Outputs
`apply`(既定)/ `--verify` / `--rollback` の 3 モードを持つ POSIX sh スクリプト 1 本。
**commit も push もしない。**
## Procedure
### 1. 骨格
```sh
#!/bin/sh
set -eu
REPO="${PLANGATE_APPLY_REPO:-/absolute/path/to/repo}" # 検証用に上書き可能にする
DOC="docs/working/_reports/<name>.md"
TARGET=".github/workflows/<name>.yml"
MODE="${1:-apply}"
T="$(mktemp -d)"; trap 'rm -rf "$T"' EXIT
die() { printf 'ABORT: %s\n' "$*" >&2; exit 1; }
…Read the whole file at its exact version.
How to install
mdr add s977043/plangate/ho-apply-script@sha256:f5363d5ee009d3e8The line at the top of this page pins the label git:20261027.2a02b7b, 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_k2m6wajtq3snkn2f)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 9, 2026 and Oct 27, 2026, about one every 12 days. Its first recorded version is graded A and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261027.2a02b7b latest | 2026-10-27 | 2a02b7b | 13,107 B | B | view · diff |
| git:20261026.7cf715c | 2026-10-26 | 7cf715c | 13,047 B | B | view · diff |
| git:20260910.a65397f | 2026-09-10 | a65397f | 11,199 B | B | view · diff |
| git:20260909.94f0cc4 | 2026-09-09 | 94f0cc4 | 9,965 B | B | view · diff |
| git:20260909.24b84be | 2026-09-09 | 24b84be | 6,655 B | A | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13107 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
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
s977043/plangate · 3 stars · license MIT · pushed 2026-11-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_k2m6wajtq3snkn2f GET https://markdownregistry.com/api/v1/resolve?ref=s977043/plangate/ho-apply-script GET https://markdownregistry.com/api/v1/blob/f5363d5ee009d3e8cd66d552e94878c598d4683e5b2f0e4b159dabfd488b14ec
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.