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.
/plugin marketplace add alexgreensh/token-optimizernpx agentmods add plugins/alexgreensh/token-optimizer/to-hook-probegit clone --depth 1 https://github.com/alexgreensh/token-optimizerWrote 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/plugins/alexgreensh/token-optimizer/to-hook-probe)<a href="https://agentmods.dev/plugins/alexgreensh/token-optimizer/to-hook-probe"><img src="https://agentmods.dev/badge/plugins/alexgreensh/token-optimizer/to-hook-probe.svg" alt="Measured on agentmods" height="20"></a>Grade A, and why
to-hook-probe 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 4d 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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What it installs
The manifest is a name and a version. 13 hooks travel with it, and installing the plugin installs all of them. Each is measured on its own page, and each can be installed alone.
- Hook CwdChanged A not measured
- Hook Notification A not measured
- Hook PostCompact A not measured
- Hook PostToolUse A not measured
- Hook PreCompact A not measured
- Hook PreToolUse A not measured
- Hook SessionEnd A not measured
- Hook SessionStart A not measured
- Hook Stop A not measured
- Hook StopFailure A not measured
- Hook SubagentStart A not measured
- Hook SubagentStop A not measured
- Hook UserPromptSubmit A not measured
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.
- 4d ago First seen · 19 lines scan A a28e5b67ba1a
to-hook-probe is a plugin published in the GitHub repository alexgreensh/token-optimizer (2,146 stars, last pushed today), with no licence file. Its token cost is not measured: this kind of file is read by the harness, not the model. 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 plugins, from other repositories
quantum-loop
Universal CLI orchestrator with multi-runner support. Autonomous spec-driven development with dependency DAG, parallel worktree execution, two-stage review gates, and modular merge hardening.
rails-consultant marketplace
Plugin marketplace listing 1 plugin: rails-consultant.
academic-pdf-translation
Translate academic PDFs into readable, searchable PDFs while preserving document structure and research meaning.
cutify-that-tab
Add a cute, hand-authored SVG favicon to a web app. Three techniques (emoji, gradient blob, 16×16 pixel art) — ships with 56 pixel-art mascots and 22 emotion-variant gradient blobs.
claude-pilot-suite
v0.4.1 — Portable execution playbook for Claude Code with three pilot modes: Haiku Pilot (cost-first default, 70–85% savings, 7-step pre-flight incl. Source-Verify + hard-task anchor ≥5), Sonnet Pilot (quality-first, 55–65% savings, 7-step pre-flight incl. Line-Level Source-Verify + hard-task auto-escalate gate), and…
superpowers-graph
The Superpowers software-development methodology executed as a guarded state machine: 21 typed nodes, 96 total exit guards, 9 bounded retry loops, durable run state that survives compaction, and a ledger recording every step that could not run.