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/phuetz/lm-resizerWrote 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/phuetz/lm-resizer/lm-resizer)<a href="https://agentmods.dev/plugins/phuetz/lm-resizer/lm-resizer"><img src="https://agentmods.dev/badge/plugins/phuetz/lm-resizer/lm-resizer/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/phuetz/lm-resizer/lm-resizer"><img src="https://agentmods.dev/badge/plugins/phuetz/lm-resizer/lm-resizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
lm-resizer 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 yesterday.
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.
What it actually says
{
"name": "lm-resizer",
"version": "0.2.1",
"displayName": "lm-resizer",
"description": "Keep noisy command output (tests, builds, package managers, diffs, logs) out of the context window. Ships the lm-resizer skill and the lm-resizer MCP server (compress, tool_output, retrieve, stats). Requires the lm-resizer binary on PATH.",
"author": {
"name": "Patrice Huetz",
"url": "https://github.com/phuetz"
},
"homepage": "https://phuetz.github.io/lm-resizer/",
"repository": "https://github.com/phuetz/lm-resizer",
"license": "Apache-2.0",
"keywords": [
"context",
"compression",
"tokens",
"mcp",
"claude-code",
"codex",
"rust"
],
"skills": "./skills/"
}
What it installs
The manifest is a name and a version. 1 skill, 1 MCP server travel with it, and installing the plugin installs all of them — 76 tokens a session between them. Each is measured on its own page, and each can be installed alone.
What ships with it
1 file beside plugin.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 24 lines scan A e5e08a2e283c
lm-resizer is a plugin published in the GitHub repository phuetz/lm-resizer (3 stars, last pushed yesterday), licensed Apache-2.0. 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-09-11.
Other plugins, from other repositories
anotifier
Desktop & phone notifications for AI coding agents in VS Code and CLI. Supports Claude Code, Codex, Gemini CLI, and Cursor.
apple-pim
Native macOS integration for Calendar, Reminders, Contacts, and Mail using EventKit, Contacts, and JXA frameworks.
anycap
Multimodal capabilities for AI agents through the AnyCap CLI.
agented
A text editor for LLMs, not humans.
nextjs
Official Next.js skills: adopt and optimize Cache Components, adopt Partial Prefetching, and verify runtime behavior against a running dev server.
themes-example
themes-example. An open-source AI agent that brings the power of Gemini directly into your terminal.