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; use night-market-operations.
Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads.
$ npx -y skills add athola/claude-night-market --skill token-conservation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/token-conservationContext preview
The summary Claude sees to decide when to auto-load this skill.
Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads.
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: true progressive_loading: true dependencies: hub: [] modules: [] model_hint: standard
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.
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
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; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.