GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - winter0123/tokensaver-docs: Document context plugins for Codex, Claude Code, and OpenCode. Prepare once, reuse image analysis, and retrieve relevant passages.

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
benchmarks
benchmarks
 
 
docs
docs
 
 
marketplace-plugin
marketplace-plugin
 
 
plugins
plugins
 
 
scripts
scripts
 
 
skills/tokensaver-docs
skills/tokensaver-docs
 
 
tests
tests
 
 
tokensaver_docs
tokensaver_docs
 
 
.gitignore
.gitignore
 
 
AUTHORS.md
AUTHORS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
NOTICE
NOTICE
 
 
README.en.md
README.en.md
 
 
README.ja.md
README.ja.md
 
 
README.ko.md
README.ko.md
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Tokensaver marketplace: winter0123/Tokensaver provides installable Codex and Claude Code SKILL packages without manual MCP setup. OpenCode uses its own Git plugin command. See installation details. Existing native ZIP downloads below remain supported.

TokenSaver Docs — Convert PDF, Word, Excel, HTML, images and audio into reusable Markdown for Codex, Claude Code and OpenCode.

Created by winter0123 · Original repository · Authors · MIT License

Download Windows x64 ZIP Download macOS Apple Silicon ZIP macOS Intel download

All releases

English · 简体中文 · 日本語 · 한국어

Convert documents, images and audio into reusable Markdown for Codex, Claude Code and OpenCode. The updated source also archives project research and retrieves short, cited excerpts.

Click your OS button to download, then choose your agent in the installer.

Download and install — v0.5.7

Extract the entire ZIP and run the installer once. Select the installed Codex, Claude Code, or OpenCode agents to register. No separate Python is needed.

macOS: double-click install.command, or run sh install.command in the extracted folder.

Windows: open PowerShell in the extracted folder and run .\install.ps1. If device policy blocks it, follow your device policy; the installer does not change it.

Install the CLI for your chosen agent first, then restart the agent after installing the plugin.

macOS arm64 installer was exercised locally. Windows/Intel Mac passed binary bundle tests; the unified Windows launcher and real Windows/Intel host installation remain experimental. Binaries are unsigned/not notarized. Linux currently has source installation only.

Install from a terminal

Paste the command for your OS. It downloads and verifies the installer bundle, then shows the detected agents. Use Tab or the arrow keys to move, Space to check or uncheck agents, and Enter to install the checked agents. The installer registers the selected agents as plugins.

macOS

curl -fsSL --proto '=https' 'https://github.com/winter0123/tokensaver-docs/releases/download/v0.5.7/install.sh' -o tokensaver-docs-install.sh && sh tokensaver-docs-install.sh --repo winter0123/tokensaver-docs --version v0.5.7

Windows PowerShell

& { $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://github.com/winter0123/tokensaver-docs/releases/download/v0.5.7/install.ps1' -OutFile tokensaver-docs-install.ps1 -ErrorAction Stop; & .\tokensaver-docs-install.ps1 -Repo winter0123/tokensaver-docs -Version v0.5.7 }
Advanced: individual agent archives
Operating system Claude Code Codex OpenCode
macOS Apple Silicon ZIP ZIP ZIP
macOS Intel ZIP ZIP ZIP
Windows x64 ZIP ZIP ZIP

Attach a file and ask

Attach a file or image to your chat and ask in your own words.

Turn this file into a Markdown file.

Put the text in this image and a description of it into a Markdown file.

When your agent can open the attachment, the tool uses the original name and a default destination, then tells you where it saved the Markdown. Answer any first-use image model or analysis prompts shown by the agent.

Automatic project research archive

Since v0.5.7, you can enable the archive once per project using the command printed by the installer. After that, ask normally.

Look up the return policy and summarize it in this project.

When an enabled agent saves research materials, TokenSaver keeps versioned originals, searchable Markdown and a summary for readers in the project. Reports link to available originals and evidence lines. References with only a URL are recorded as links. In a new session, ask about the saved research to find relevant excerpts within the default 500-token budget.

Public web snapshots from approved sites, local audio transcription, and automatic image analysis are optional per project. Setup and advanced usage · Verification results

First-run image preferences (development source; not in v0.5.7 binaries)

The forthcoming native CLI can save conversion preferences once in a shared user configuration file (conversion-preferences.json next to the existing TokenSaver configuration). Subsequent prepare FILE requests reuse the selected image mode and model automatically, regardless of project or whether the host is Codex, Claude Code, or OpenCode. The user changes these preferences only when requested. A text-only document never requires a model call.

tokensaver-docs preferences
tokensaver-docs preferences --set-mode preserve
tokensaver-docs preferences --set-mode placeholder
tokensaver-docs list-image-models --provider ollama
tokensaver-docs preferences --set-mode analyze --runtime local --provider ollama --model YOUR_MODEL --network-policy local_only
tokensaver-docs prepare /path/to/document.html

The local model must already be installed and expose an OpenAI-compatible /v1/models and /v1/chat/completions interface. For LM Studio use --provider lmstudio. Use --provider openai_compatible --endpoint http://10.0.0.5:8000/v1 --network-policy internal_only for approved private-IP servers; the default local_only permits only loopback. No proxy, redirect, unapproved DNS endpoint or external-model fallback is allowed. Network-policy validation does not independently certify the entire local server's behavior.

For OpenRouter API, first select its exact model and explicitly authorize persistent future image transmissions to that provider/model before saving --set-mode analyze --runtime api --provider openrouter --model MODEL --network-policy external_allowed --allow-external-images. Codex/Claude CLIs remain separately supported. OpenCode model catalog entries can be selected for native image analysis through opencode run --standalone --archived --file ... --model ...; the specific provider/model must be authorized for persistent image transfer. Local-only mode instead uses a validated loopback/private API endpoint. A model catalog can report unknown vision support and must not be treated as proof.

Release limitation: the marketplace launcher and native ZIP downloads currently pin v0.5.7. These development-source commands will not become available to plugin installs until new native binaries are released and the launchers are updated. Updating only the OpenCode Git plugin is insufficient.

Choose or change a model

To switch image models, ask your agent “Change the image conversion model.”

Supported files

File Extensions Markdown content
PDF .pdf Text; image analysis of selected scanned pages
Word .docx Text, tables, embedded images
Excel .xlsx Sheets, cells, embedded images
HTML .html, .htm Body content, tables, embedded images
Images .png, .jpg, .jpeg, .webp, .bmp, .tif, .tiff, .gif Preserved images, optional text and descriptions
Audio and video audio tracks .wav, .mp3, .m4a, .ogg, .flac, .aac, .mp4 Speech converted to text; video frames are not analyzed

Legacy .doc/.xls files are unsupported. Image/audio quality depends on the model. Token savings depend on the document and retrieved scope; see benchmarks and limitations.

More

Agent connections, search, audio, development · Plugin installation and distribution · Verification status · Report an issue · MIT license

About

Document context plugins for Codex, Claude Code, and OpenCode. Prepare once, reuse image analysis, and retrieve relevant passages.

Topics

ai-agentsclaude-codecodexcontext-engineeringdocument-conversionfile-changerfile-changesmarkdownmdfileopencodeopenroutertoken-savertoken-savingtoken-savings

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.