Skip to content
Back to search

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.

Checked today

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/tomiwu--image-token-saver/badge.svg)](/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

i

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
  1. # image-token-saver
  2. `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.
  3. ## Licence
  4. This project uses the MIT licence. See `LICENSE`.
  5. ## Versions
  6. - Node.js 24.22.3
  7. - TypeScript 7.0.2
  8. - `@modelcontextprotocol/sdk` 1.32.2
  9. - `sharp` 0.35.5
  10. The project is ESM. Tests use `node:test`.
  11. ## How to run (later issues)
  12. 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.
  13. Run the local checks before each commit:
  14. ```sh
  15. scripts/precommit.sh
  16. ```
  17. ## Sample renders
  18. Local sample renders are not committed. The `.gitignore` file ignores the local sample directories. Tests use synthetic fixtures only.
  19. ## Documents
  20. - `docs/PRD.md`: product requirements.
  21. - `docs/overview.md`: project overview.
  22. - `GLOSSARY.md`: terms.
  23. - `CLAUDE.md`: rules for coding agents.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.