claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads.
Claude Code
$ npx -y skills add athola/claude-night-market --skill token-conservation --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill token-conservation -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill token-conservation -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill token-conservation -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill token-conservation -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill token-conservation -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill token-conservation -a windsurf -y
name: token-conservation description: Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads. alwaysApply: false progressive_loading: true dependencies: hub: [] modules: [] modules: - modules/source-selection.md
1. `token-conservation:quota-check` 2. `token-conservation:context-plan` 3. `token-conservation:delegation-check` 4. `token-conservation:compression-review` 5. `token-conservation:logging`
Note the 5-hour rolling cap and weekly cap highlighted in the Claude community notice.
and each content-mode `Grep` as one read. Glob and files-with-matches Grep are free.
imports/interfaces, then stop and start writing.
self-authorize additional reads. Only explicit user approval overrides the budget.
A `Read` targeting <50 lines counts as 0.5 reads. Avoid `cat`/`sed`/`awk` via Bash: Claude Code 2.1.21+ steers toward native file tools (Read, Edit, Write, Grep, Glob).
instead of loading entire documents. Large PDFs (>10 pages) return a lightweight reference when @-mentioned, so use the `pages` parameter to read specific sections. Hard limits: **100 pages max, 20MB max per PDF**. Exceeding these previously locked sessions permanently (fixed in 2.1.31).
info hits the model.
source at all. `modules/source-selection.md` sorts claims into those worth citing (versions, performance, security, APIs, pricing) and those that are not, with the token cost of each approach.
tooling (use `qwen-delegation` skill if needed).
of LLM reasoning when possible.
Remove redundant history, collapse logs, and avoid reposting identical code.
when the model has already processed the information (cite snippet IDs).
via the message selector to partially summarize the conversation. This preserves recent context while compressing older portions
instruct the user to run `/new`
prompt them to run `/compact` before continuing
memories automatically. This adds minor token overhead but improves cross-session continuity. No action needed: be aware it contributes to baseline context usage.
Document the conservation tactics that were applied and note the remaining token budget. If the budget is low, explicitly warn the user and propose secondary plans. Record any recommendations made regarding the use of `/new` or `/compact`, or justify why neither was necessary, to inform future context-handling decisions.
tokens (otherwise state that no reset/compaction is needed yet).
`quota-check`, `context-plan`, `delegation-check`, `compression-review`, `logging`
the task type (spec/bug/refactor/exploration) and max-reads limit recorded
"budget low") and includes an explicit `/new` or `/compact` recommendation, or a justification for why neither is needed
exhausted without explicit user approval in the same session
the output carries a citation or an uncertainty marker, per `modules/source-selection.md`
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
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.