brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Use Tokenless for large files and noisy tool outputs before they enter context. Must be used when commands, Read output, diffs, logs, or search results are large.
Claude Code
$ npx -y skills add MaxForAI/Tokenless --skill context-compression --agent claude-code
Codex
$ npx skills add MaxForAI/Tokenless --skill context-compression -a codex -y
Cursor
$ npx skills add MaxForAI/Tokenless --skill context-compression -a cursor -y
Gemini CLI
$ npx skills add MaxForAI/Tokenless --skill context-compression -a gemini-cli -y
GitHub Copilot
$ npx skills add MaxForAI/Tokenless --skill context-compression -a github-copilot -y
OpenCode
$ npx skills add MaxForAI/Tokenless --skill context-compression -a opencode -y
Windsurf
$ npx skills add MaxForAI/Tokenless --skill context-compression -a windsurf -y
name: context-compression description: Use Tokenless for large files and noisy tool outputs before they enter context. Must be used when commands, Read output, diffs, logs, or search results are large.
When working in this project, do not feed noisy raw outputs or large files directly into context.
Tokenless is mandatory for large or noisy context:
The hook automatically caps high-noise Bash commands and large low-risk Read outputs through Tokenless.
Keep tool inputs small:
For manual local development in this repository, use `./plugins/claude-code/bin/tokenless` or the packaged `tokenless` alias:
./plugins/claude-code/bin/tokenless run --agent --data-dir /tmp/tokenless-dev -- npm test
High-noise commands include:
When you see a `TOKENLESS-PACKET` block: 1. Treat it as a compressed evidence packet. 2. Use the key failures, relevant files, line numbers, and raw artifact pointer. 3. Do not ask for the full raw output unless needed. 4. If needed, use the full raw artifact command shown in the `Raw artifact:` line.
When you see a `TOKENLESS-READ-PACKET` block: 1. Treat it as a compact local summary of a large file. 2. Read `Action boundary` before running any other command. It defines what tool commands are valid for this artifact. 3. If it contains `Action brief` and `Editable snippets`, treat those snippets as the first-pass edit surface, not as a table of contents to explore. 4. For broad visual/style tasks, do one minimal native `Read` to register editor state if you plan to edit, then make 6-10 bounded `Edit` calls from the snippets before doing more exploration. 5. Use only the artifact lookup commands shown in `Action boundary` when a needed `old_string` is not present in the snippets. 6. Do not expand every listed region by default. 7. Do not use repeated `grep`, `rg`, `sed`, or small `Read` calls to re-map the same file after a packet has already identified the edit targets. 8. Do not add unrelated files, scripts, or JS/HTML interactions for a CSS-only request unless the user explicitly asks.
Tool boundaries:
Large CSS visual-edit protocol: 1. After a `TOKENLESS-READ-PACKET`, do not perform a second full-file read. 2. Identify the smallest useful edit set from `Editable snippets`: tokens/variables, background layer, shared cards, buttons, one optional hero/visual area, one optional timeline/footer area. 3. After the registration `Read`, make 6-10 bounded `Edit` calls when the snippets are sufficient. 4. If exact `old_string` is missing, use at most two `tokenless expand` lookups before the first edit. 5. Do not wait for `File must be read first`; proactively do one minimal native `Read` only to register editor state, then immediately edit. If the error still appears, do not remap the file. 6. After the first successful edit, continue editing only if the user request still clearly needs it; otherwise stop with a concise summary. 7. Do not open the page or run visual validation unless the user explicitly asks for validation. 8. Do not make “extra premium” changes outside the asked surface, such as mouse-tracking JS, custom scrollbars in HTML, or new runtime scripts, unless requested. 9. Final answer should be 3-5 concise bullets only; do not write a long change diary.
Large source edit protocol: 1. After a `TOKENLESS-READ-PACKET` for `.js`, `.jsx`, `.ts`, `.tsx`, `.py`, `.vue`, or `.svelte`, do not perform a second full-file read. 2. Do one minimal native `Read` only to register editor state if you plan to edit. 3. Use `Source map`, `SFC sections`, `Project file hints`, and `Editable snippets` as the first-pass edit surface. 4. Make 4-8 bounded `Edit` calls from the snippets; do not remap the file with `grep`, `rg`, `sed`, or repeated `Read` calls. 5. If exact `old_string` is missing, use at most two `tokenless expand` lookups before editing. 6. Do not run tests, build, typecheck, browser validation, or package commands unless the user explicitly asks for validation. 7. Final answer should be 3-5 concise bullets only; do not write a long change diary.
For multi-file JS/TS/Python/Vue/Svelte tasks: 1. Use `Project file hints` before running `ls`, `find`, or broad `rg`. 2. If a hinted adjacent file must be edited, read that exact
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.