knock

knock is a skill for Claude Code, Codex from Hmbown/Wizards-of-the-Ghosts. It costs 93 tokens per session (1,114 once invoked), scanned A, original, CC0-1.0.

A guide for restoring legitimate access through approved recovery steps such as rotating credentials, requesting permissions, or recovering locked state.

In plain words
What is it for?
It helps recover access to locked files, services, deployments, certificates, and other resources through authorized channels.
Why use it?
It addresses access barriers like expired keys, revoked tokens, missing permissions, and stale locks without removing safety controls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps recover access to locked files, services, deployments, certificates, and other resources through authorized channels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmbown/wizards-of-the-ghosts/knock
Install

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.

Any agent
npx skills add Hmbown/Wizards-of-the-Ghosts --skill knock
Clone the repo
git clone --depth 1 https://github.com/Hmbown/Wizards-of-the-Ghosts

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for knock

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmbown/wizards-of-the-ghosts/knock/github.svg)](https://agentmods.dev/skills/hmbown/wizards-of-the-ghosts/knock)
Your own site
<a href="https://agentmods.dev/skills/hmbown/wizards-of-the-ghosts/knock"><img src="https://agentmods.dev/badge/skills/hmbown/wizards-of-the-ghosts/knock/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.

agentmods 80×15 button for knock

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmbown/wizards-of-the-ghosts/knock"><img src="https://agentmods.dev/badge/skills/hmbown/wizards-of-the-ghosts/knock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.01114
Opus 5 $0.00046 $0.00557
Sonnet 5 $0.00019 $0.00223
Haiku 4.5 $0.00009 $0.00111

Measured 9d ago against content hash 0fb9c4fb3166, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

knock 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 9d 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.

generated/hermes/actions-access-and-automation/knock/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Knock

Bypass access friction through legitimate unlock paths: key rotation, permission requests, and recovery workflows.

What This Skill Does

Knock is specifically about restoring legitimate access through authorized channels. It is NOT about: - Performance optimization (slow queries, throughput issues) → different spell

  • Removing safety controls (approval gates, compliance checks) → different spell
  • Simple bug fixes (typos, wrong ports) → different spell
  • Breaking constraints (resource limits, CPU throttling) → different spell
  • Security analysis (encryption schemes, certificate inspection) → different spell In this grimoire, Knock is treated as a literal spell with a prototype delivery profile. Canonical reference input: Knock (spell).

When To Use

  • Activate this spell when the user's request contains an access barrier with a legitimate recovery path. Look for these patterns:
  • Expired/rotated credentials: "credentials expired", "token revoked", "certificate expired", "password rotated", "key expired"
  • Locked resources: "lockfile", "state is locked", "DynamoDB lock", "stale lock"
  • Permission gaps: "locked out", "permissions removed", "RBAC", "403", "unauthorized", "access denied"
  • Blocked processes: "stuck behind", "can't authenticate", "connection rejected", "sealed" (Vault)
  • Recovery language: "rotate", "renew", "unseal", "reinstate", "force-unlock", "exception request", "proper channel"
  • The core signal: something is blocking access, and there exists an authorized way to restore it.

Prerequisites

  • No extra runtime dependencies beyond Hermes Agent and the normal toolset for this session.

Procedure

  1. Restate the target, the success condition, and any no-touch boundaries before taking action.
  2. Identify the lock: What exact resource is inaccessible? What kind of barrier is it (credential, permission, lockfile, certificate, sealed state)? Who owns or controls the unlock mechanism?
  3. Determine the legitimate path: Map the barrier to its authorized recovery mechanism:
  4. Expired credential → key rotation or certificate renewal
  5. Revoked permission → access request or RBAC adjustment
  6. Stale lockfile → safe removal after process verification
  7. Sealed service (e.g., Vault) → proper unseal procedure (Shamir keys, etc.)
  8. Locked state (e.g., Terraform) → force-unlock with owner confirmation
  9. Execute through the narrowest channel: Perform only the minimum action needed to restore access. Log each step. Do not escalate privileges beyond what the recovery path requires.
  10. Stop for explicit confirmation before taking a live action that changes access, triggers an alert, or touches a real system boundary.
  11. Package the result as the deliverables below, with confidence, assumptions, and unresolved risk called out explicitly.

Read the full file on GitHub · 89 lines

Changes

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.

  1. 9d ago First seen · 89 lines · 93 tokens per session scan A 0fb9c4fb3166

Subscribe to this mod's changes

knock is a skill published in the GitHub repository Hmbown/Wizards-of-the-Ghosts (107 stars, last pushed 5mo ago), licensed CC0-1.0. It adds 93 tokens to every session and 1,114 once invoked, about $0.0005 per session on Opus 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-09-03.