NekoSin4eG/tokensafe
Cut AI agent token bills by 90% with zero loss of code context. Autonomous AST skeletonization, prompt compaction, and proxy for Cursor, Claude, Antigravity, and Codex.
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit NekoSin4eG/tokensafe/.claude ./rig-tokensafe # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit NekoSin4eG/tokensafe/.agents/skills/bunny-cli .claude/skills/bunny-cli $ npx degit NekoSin4eG/tokensafe/skills/token-optimizer .claude/skills/token-optimizer
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf:*)",
"Bash(rm -rf *)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Bash(git reset --hard*)",
"Bash(rm -rf /*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(gh pr create *)",
"Bash(git reset --hard:*)",
"Bash(npm publish:*)",
"Bash(git rebase *)"
]
}
} MCP servers (1)
| server | source | est. tokens |
|---|---|---|
| tokensafe | local / custom | 2.5k |
Skills (2)
Cursor rules (1)
tokensafe · always
Similar rigs
tokensafe-dev/tokensafe
Reduce your AI bills by up to 99%. Your agents read only needed code, keep prompt caches intact across turns, and keep secrets out of git.
Pragmatist 6.3k tok · · Q3
KathanModh259/latent-gate
MCP server that shrinks logs, JSON, docs and web pages before your AI reads them. Offline, deterministic, ~3ms, no API key. 66% fewer tokens on a mixed dev corpus, 90%+ on logs.
Pragmatist 2.8k tok · · Q0
alexgreensh/token-optimizer
Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
Pragmatist 268 tok · · Q0
nilkanthdesai76/universal-agent-skills
Universal AI Agent development framework & skills. Slashes context token consumption by up to 80% with codebase-first documentation for Cursor, Claude Code, Windsurf, & Antigravity.
Skill Collector 537 tok · · Q3