Borrowing it
Nothing to install: this file belongs to CorridorTech/PoseCap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/CorridorTech/PoseCap/main/.agents/skills/ad-hooks/SKILL.mdgit clone --depth 1 https://github.com/CorridorTech/PoseCapWrote 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/corridortech/posecap/ad-hooks)<a href="https://agentmods.dev/skills/corridortech/posecap/ad-hooks"><img src="https://agentmods.dev/badge/skills/corridortech/posecap/ad-hooks/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/corridortech/posecap/ad-hooks"><img src="https://agentmods.dev/badge/skills/corridortech/posecap/ad-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Anti-Refusal · line 44 Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.Fix: Remove jailbreak framing that nullifies safety policies or restrictions. Skill content must not instruct the agent to ignore its guidelines or operate without guardrails.
- medium MCP Rug Pull · line 8 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 30 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 30 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00129 | $0.01689 |
| Opus 5.5 | $0.00052 | $0.00676 |
| Sonnet 5.5 | $0.00026 | $0.00338 |
| Haiku 4.5 | $0.00013 | $0.00169 |
Grade A, and why
ad-hooks 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 2mo 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<background_information>
Scaffolds the deterministic gates WORKFLOW.md §11 names. The skill writes config files for a hook runner and updates AGENTS.md Quality Gates; it does not execute install scripts. The user runs the runner's one-time bootstrap (npx husky init, lefthook install, pre-commit install) — the skill names the exact command.
Codex auto-trigger on description keywords is less mature than Claude Code's. If auto-invocation does not fire when the user asks about hooks, pre-commit, or quality gates, invoke the skill manually. </background_information>
Confirm both tiers are in scope. If the user wants only one, scaffold only that tier.
Visual / E2E for UI projects (Cypress, Playwright) live in CI, not pre-push. Out of scope.
Step 1 — detect the runner. Read repo signals in this order:
- Existing runner.
.husky/→ Husky.lefthook.ymlor.lefthook.yml→ lefthook..pre-commit-config.yaml→ pre-commit..git/hooks/with non-sample scripts → native hooks. - Stack signals (if no runner present).
package.json→ recommend Husky or lefthook.pyproject.toml→ recommend pre-commit.go.mod→ recommend lefthook.Cargo.toml→ recommend lefthook. Multiple stacks → recommend lefthook (cross-language by default). - No signals. Recommend native
.git/hooks/only as fallback. Warn the user that native hooks are not portable across clones.
If multiple runners are present, surface the conflict and ask the user before scaffolding. Never silently pick.
Step 2 — recommend the per-stack commands:
- Node: lint =
npm run lintornpx eslint .; format check =npm run format:checkornpx prettier --check .; secret-scan =gitleaks detect --no-banner; build =npm run build(skip if no script); test =npm test. - Python: lint =
ruff check .; format check =ruff format --check .orblack --check .; secret-scan =gitleaks detect --no-banner; test =pytest -q. - Go: lint =
golangci-lint run; format check =gofmt -d .; secret-scan =gitleaks detect --no-banner; build =go build ./...; test =go test ./.... - Rust: lint =
cargo clippy -- -D warnings; format check =cargo fmt --check; secret-scan =gitleaks detect --no-banner; build =cargo build; test =cargo test. - Mixed / other: ask for the per-tier command list. Do not invent.
Offer to swap any default. Confirm before writing.
Step 3 — scaffold the runner config. Write the runner-specific config file:
- Husky:
.husky/pre-commitand.husky/pre-push(shell scripts) +"prepare": "husky"inpackage.json. Bootstrap:npm install. - lefthook:
lefthook.ymlat the repo root withpre-commitandpre-pushcommands keyed by stage. Bootstrap:lefthook install. - pre-commit:
.pre-commit-config.yamlwith stack-specific hook references. Bootstrap:pre-commit installandpre-commit install --hook-type pre-push. - Native:
.git/hooks/pre-commitand.git/hooks/pre-push+ asetup-hooks.shscript the user runs after every clone (since.git/is not committed).
Step 4 — update AGENTS.md Quality Gates. Append or refresh the section with: pre-commit gate list, pre-push gate list, runner name + config path, bootstrap command, CI status if known, no-bypass policy. Honor existing managed markers if ad-bootstrap already wrote Quality Gates.
Step 5 — mirror CI locally. WORKFLOW §11: "CI failure is a local gate gap." Read the CI config and compare:
- Detect CI surface in order:
.github/workflows/*.yml,.gitlab-ci.yml,.circleci/config.yml,azure-pipelines.yml,.buildkite/pipeline.yml. If none, note the gap and skip — mirror check has no target. - Extract CI commands from
run:/script:steps — test / lint / typecheck / build. Skip checkout, setup, cache, publish. - Extract CI matrix — language versions, OS runners, feature flags. These become pre-push matrix requirements when they change the failure surface.
- Diff against pre-push. For each CI command not covered locally, warn:
CI runs <cmd> — pre-push does not. Add to pre-push or CI will catch what local won't.For each matrix dimension CI covers that pre-push does not, warn:CI matrix <dim>=<values>, pre-push runs <value>. - Offer to close the gap. Propose specific edits to the runner config; ask the user before writing (matrix mirroring can be expensive).
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 78 lines · 129 tokens per session scan A 28d5a228cbf0
ad-hooks is a skill published in the GitHub repository CorridorTech/PoseCap (265 stars, last pushed 3d ago), licensed Apache-2.0. It adds 129 tokens to every session and 1,689 once invoked, about $0.0005 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-30.
Other skills, from other repositories
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
repo-sync
Manage automatic Git syncing on macOS with repo-sync. Use only when the user explicitly invokes /repo-sync.
mcore-split-pr
Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.
engineer-bot-ops
A workflow for carrying an engineering task from scope through implementation and reviewable delivery. It works with a repository's branch, existing changes, rules, checks, and permissions while separating completed, unverified, and next-step work.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…