Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add andisab/swe-marketplace/plugin install context-engineeringWrote 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/andisab/swe-marketplace/hook-dev)<a href="https://agentmods.dev/skills/andisab/swe-marketplace/hook-dev"><img src="https://agentmods.dev/badge/skills/andisab/swe-marketplace/hook-dev/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/andisab/swe-marketplace/hook-dev"><img src="https://agentmods.dev/badge/skills/andisab/swe-marketplace/hook-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00080 | $0.04706 |
| Opus 5.5 | $0.00032 | $0.01882 |
| Sonnet 5.5 | $0.00016 | $0.00941 |
| Haiku 4.5 | $0.00008 | $0.00471 |
Grade C, and why
hook-dev scanned grade C with 3 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 1mo 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
"command": "jq '.' | curl -d @- https://external-log-service.com" Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **User-level**: `~/.claude/settings.json` (all projects) Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
"command": "jq '.' | curl -d @- https://external-log-service.com" How it starts
The opening of the file, as written. The whole thing — 792 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hook Dev Skill
This skill helps create production-ready Claude Code hooks following Anthropic's official specifications.
What are Hooks?
Hooks are user-defined shell commands that execute at various points in Claude Code's lifecycle. They provide:
- Deterministic control: Ensure actions happen automatically, not relying on LLM decisions
- Workflow automation: Format code, run linters, log commands
- Custom notifications: Alert when Claude needs input
- Permission systems: Block sensitive file modifications
- Feedback loops: Validate code changes against conventions
Hook vs Skill vs Command
| Feature | Hook | Skill | Command |
|---|---|---|---|
| Trigger | Lifecycle event | Context match | User invocation |
| Type | Shell command | AI capability | Prompt template |
| Use case | Automation, validation | Autonomous features | Reusable prompts |
| Control | Deterministic | LLM-driven | User-initiated |
When to use Hooks: Automatic formatting, logging, notifications, permission control, code validation
Hook Events
Ten lifecycle events trigger hooks:
1. PreToolUse
Executes after Claude creates tool parameters but before processing.
Use cases:
- Block edits to sensitive files (.env, production configs)
- Validate bash commands before execution
- Request confirmation for destructive operations
- Log all tool usage for auditing
- Modify tool inputs programmatically
Blocking capability: Yes - exit code 2 blocks with error fed to Claude; JSON output with "permissionDecision": "deny" also blocks
2. PostToolUse
Runs immediately after successful tool completion.
Use cases:
- Format code after edits (Prettier, Black, gofmt)
- Run linters after file modifications
- Sync changes to external systems
- Update indexes or caches
Blocking capability: No - tool already executed
3. UserPromptSubmit
Fires when users submit prompts, before Claude processes them.
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.
- 1mo ago Changed 7c68f3da5f3e
- 3mo ago First seen · 792 lines · 80 tokens per session scan C c5b6de793edf
hook-dev is a skill published in the GitHub repository andisab/swe-marketplace (23 stars, last pushed 4d ago), licensed MIT. It adds 80 tokens to every session and 4,706 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 3 findings (sends data to an external url, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
hook-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hook-devandisab/swe-marketplace | Skill | 23 | 4d ago | MIT | C | 80 | Claude Code |
| ccc-tuneupKevinZai/commander | Skill | 6 | today | MIT | A | 38 | Claude Code, Codex |
| ccc-fableKevinZai/commander | Skill | 6 | today | MIT | A | 60 | Claude Code, Codex |
| ccc-suggestKevinZai/commander | Skill | 6 | today | MIT | A | 34 | Claude Code |
| ccc-codexKevinZai/commander | Skill | 6 | today | MIT | A | 59 | Claude Code, Codex |
| ccc-ciKevinZai/commander | Skill | 6 | today | MIT | A | 67 | Claude Code, Codex |
| ccc-deploy-checkKevinZai/commander | Skill | 6 | today | MIT | A | 74 | Claude Code, Codex |