Skip to content
Back to skills

token-reduce

ASecurity

Find where code lives in an unfamiliar repo with one ranked path list before reading files.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 10, 2026
developmentbash

Works with

  • claude code

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add chimera-defi/token-reduce-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of token-reduce?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for token-reduce
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chimera-defi-token-reduce/badge)](https://www.skillsdirectory.com/skills/chimera-defi-token-reduce)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: token-reduce
license: MIT
description: "Find where code lives in an unfamiliar repo with one ranked path list before reading files."
triggers:
  - token-reduce
  - find where code lives
---

# token-reduce

When you don't know which file holds something, ask for a short ranked list first, then read only those files.

```bash
token-reduce-paths session send timers     # up to 20 paths, best first
token-reduce-snippet send_message          # top 10 paths + up to 40 file:line hits
```

- Run it from inside the repo. A file whose path matches more of your words ranks first; files whose content matches fill the remaining slots.
- From `$HOME` or `~/workspace` it refuses (exit 2); `cd` into a repo or set `TOKEN_REDUCE_REPO_ROOT`.
- `No results found.` means nothing matched. Try different words or a symbol name.
- Exit 1 with a `token-reduce:` line on stderr means the search timed out (20 s) or `rg` failed. That is not "nothing matched".
- In Claude Code the built-in Grep and Glob tools are fine for a known name. This helper is for vague, multi-word lookups.
- Repo-relative form: `./scripts/token-reduce-paths.sh <words>`.

Files in this skill

  • .claude-plugin/marketplace.json1009 B
  • .claude-plugin/plugin.json661 B
  • .claude/STATUS.md507 B
  • .claude/dream-state.md168 B
  • .claude/maintenance-state.md609 B
  • .claude/pr-response-state.md1.1 KB
  • .claude/settings.json1.5 KB
  • .ignore25 B
  • .routine-state/maintenance-state.md613 B
  • AGENTS.md6.9 KB
  • CLAUDE.md2.7 KB
  • SKILL.md15.5 KB
  • agents/openai.yaml354 B
  • docs/app.js810 B
  • docs/index.html9.7 KB
  • docs/styles.css4.9 KB
  • llms.txt7.8 KB
  • mcp/server.mjs8.2 KB
  • package.json507 B
  • references/INDEX.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.