token-vault

by bhxch · ★ 0 · updated 18 Oct 2026

ToastsGuardsPromptTools & agentswarnings

0

把消息里的 token 截入本地保险箱并对模型脱敏;模型可调度 vault-apply 落值但读不到值

install token-vault

Install

/plugin marketplace add bhxch/token-vault
/plugin install token-vault@token-vault

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.callprompt.submit
API calls
$.fs.write$.store.delete$.store.get$.store.keys$.store.set$.tool.register$.ui.toast
Can see
mcp__token-vault__vault-apply callsevery prompt
Reach
level 2 of 3 writes filesdrives Claudepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/bhxch/token-vault
Path in repo
repository root
Source commit
a4fcf8c the exact code the scan read
Author
@bhxch
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.