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.
git 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/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/plugins/alexgreensh/token-optimizer/to-hook-probe"><img src="https://agentmods.dev/badge/plugins/alexgreensh/token-optimizer/to-hook-probe.svg" alt="Reviewed on agentmods" width="80" 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 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.
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
A licence we could not identify
The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.
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 StopFailure A not measured
- Hook SubagentStart A not measured
- Hook SubagentStop A not measured
- Hook UserPromptSubmit A not measured
- Hook Stop 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.
- 1mo ago First seen · 19 lines scan A a28e5b67ba1a
to-hook-probe is a plugin published in the GitHub repository alexgreensh/token-optimizer (2,757 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.
gangsta
gangsta. AI agentic skills framework for spec-driven development, built on the organizational model of mafia.
sms
Curated bundle of Claude Code skills and commands by Sean Martin Smith.
skill-forge
Evidence-based agent skills compiler with progressive capability tiers (Quick/Forge/Forge+/Deep).
academic-pdf-translation
Translate academic PDFs into readable, searchable PDFs while preserving document structure and research meaning.
diogenes
Senior-reviewer audit for AI-slop and LLM-generation tells in written content. The audit skill forks into the diogenes subagent (Sonnet, read-only tools plus WebFetch) and returns a verdict, attributable findings, authenticity improvements, and a human rewrite.