declared-hook-missing

declared-hook-missing is a skill for Claude Code from lorem-dev/skillkeeper-test-repo. It costs 21 tokens per session (288 once invoked), scanned A, original, MIT.

A test skill that declares a hook, an extra action or integration, without providing the required HOOK.md file. The declaration therefore points to something that does not exist.

In plain words
What is it for?
It is used to test linting for missing hook files and verify that hook discovery checks actual files rather than only the manifest declaration.
Why use it?
It exposes a manifest mistake that would otherwise let the skill install while silently omitting the intended hook.

Skill for Claude Code

Written for Claude Code: hooks in frontmatter.

Good fit It is used to test linting for missing hook files and verify that hook discovery checks actual files rather than only the manifest declaration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing
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 lorem-dev/skillkeeper-test-repo --skill declared-hook-missing
Clone the repo
git clone --depth 1 https://github.com/lorem-dev/skillkeeper-test-repo

Made for: Claude Code.

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 declared-hook-missing

README.md
[![agentmods](https://agentmods.dev/badge/skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing/github.svg)](https://agentmods.dev/skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing)
Your own site
<a href="https://agentmods.dev/skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing"><img src="https://agentmods.dev/badge/skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing/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 declared-hook-missing

Your own site · 80×15
<a href="https://agentmods.dev/skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing"><img src="https://agentmods.dev/badge/skills/lorem-dev/skillkeeper-test-repo/declared-hook-missing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 288 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.00021 $0.00288
Opus 5.5 $0.00008 $0.00115
Sonnet 5.5 $0.00004 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 2mo ago against content hash c9780ef2f693, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

declared-hook-missing 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.

requires/declared-hook-missing/SKILL.md · 32 lines

What it actually says

declared-hook-missing

A negative fixture. The manifest declares one hook, nope, and there is no hooks/nope/HOOK.md in this directory - there is no hooks/ directory at all.

What this fixture covers:

  • repo lint code SK005, an error:

    SK005 [requires/declared-hook-missing]: Skill
    "requires/declared-hook-missing" declares hook "nope", but
    hooks/nope/HOOK.md was not found or did not parse.
    
  • The silence the lint pass exists to break. Hooks are discovered by scanning hooks/*/HOOK.md; the manifest's hooks: list is never read during resolution. So a typo in that list installs nothing and says nothing - the skill resolves, installs its body, and the hook the author meant to ship is simply absent. repo lint is the only place this is reported.

  • A hooks: entry alongside a requires-free manifest, so the finding is attributable to the declaration and not to a dependency fault.

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. 2mo ago First seen · 32 lines · 21 tokens per session scan A c9780ef2f693

Subscribe to this mod's changes

declared-hook-missing is a skill published in the GitHub repository lorem-dev/skillkeeper-test-repo (2 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 288 once invoked, about $0.0001 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.

Related

declared-hook-missing compared with skills from other repositories

declared-hook-missing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
declared-hook-missinglorem-dev/skillkeeper-test-repoSkill22mo agoMITA21Claude Code
pcbwayaklofas/kicad-happySkill1.6ktodayMITA119Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.1ktodayMITA60Claude Code
happiness-skillkangarooking/cangjie-skillSkill12k1mo agoMITA136Claude Code, Codex
remotion-best-practicesguanyang/open-agent-hubSkill986todayMITA116Claude Code
influence-psychologywondelai/skillsSkill2.6k5d agoMITA156Claude Code
jobs-to-be-donewondelai/skillsSkill2.6k5d agoMITA137Claude Code