image-token-saver
Deterministic image reducer (MCP server) that cuts LLM image tokens before analysis
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 21 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/tomiwu/image-token-saver with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/tomiwu/image-token-saver'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/tomiwu--image-token-saver)HTML
<a href="/listings/tomiwu--image-token-saver"><img src="/api/listings/tomiwu--image-token-saver/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 37 lines
- # image-token-saver
- `image-token-saver` is a deterministic image reducer. It has no LLM inside the reducer. It runs as a local MCP server on stdio. An agent calls it before the agent sends an image to a vision model. The tool reduces the input image tokens.
- ## Licence
- This project uses the MIT licence. See `LICENSE`.
- ## Versions
- - Node.js 24.22.3
- - TypeScript 7.0.2
- - `@modelcontextprotocol/sdk` 1.32.2
- - `sharp` 0.35.5
- The project is ESM. Tests use `node:test`.
- ## How to run (later issues)
- The library and the MCP server come in later issues. When they exist, you will start the server with one command on stdio. This README will show that command.
- Run the local checks before each commit:
- ```sh
- scripts/precommit.sh
- ```
- ## Sample renders
- Local sample renders are not committed. The `.gitignore` file ignores the local sample directories. Tests use synthetic fixtures only.
- ## Documents
- - `docs/PRD.md`: product requirements.
- - `docs/overview.md`: project overview.
- - `GLOSSARY.md`: terms.
- - `CLAUDE.md`: rules for coding agents.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.