Xpersona
T

token-conservation

CLAWHUB · Unverified

Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads Skill: token-conservation Owner: athola Summary: Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:10:44.150Z | user Release v1.9.19 v1.9.17 | 2026-07-30T05:32:52.509Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:49:39.015Z | user Release v1.9.16 v1.9.

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-conserve-token-conservation
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-conserve-token-conservation/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

75,012 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
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
version: 1.9.8
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/conserve", "emoji": "\ud83e\udd9e"}}
source: claude-night-market
source_plugin: conserve
---

> **Night Market Skill** — ported from [claude-night-market/conserve](https://github.com/athola/claude-night-market/tree/master/plugins/conserve). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


# Token Conservation Workflow

## When To Use
- Run at the start of every session and whenever prompt sizes or tool calls begin to spike.
- Mandatory before launching long-running analyses, wide diffs, or massive context loads.

## When NOT To Use

- Context-optimization already handles the scenario
- Simple queries with minimal context

## Required TodoWrite Items
1. `token-conservation:quota-check`
2. `token-conservation:context-plan`
3. `token-conservation:delegation-check`
4. `token-conservation:compression-review`
5. `token-conservation:logging`

## Step 1 – Quota Check (`quota-check`)
- Record current session duration and weekly usage (from `/status` or notebook).
  Note the 5-hour rolling cap and weekly cap highlighted in the Claude community notice.
- Capture remaining budget and set a max token target for this task.

## Step 2 – Context Plan (`context-plan`)
- **Set a discovery read budget BEFORE reading any files.** Count each `Read` call
  and each content-mode `Grep` as one read. Glob and files-with-matches Grep are free.
  - Implement from spec/requirements: **max 8 reads**
  - Bug fix at known location: **max 5 reads**
  - Refactor with known scope: **max 1 read per file being changed**
  - Open exploration: **max 15 reads**
- **Read order** (most valuable first): spec/requirements, files to modify,
  imports/interfaces, then stop and start writing.
- **When budget is spent**: ask the user if more context is needed. Do NOT
  self-authorize additional reads. Only explicit user approval overrides the budget.
- Prefer `Read` with `offset`/`limit` params or `Grep` tool over loading whole files.
  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).
- **PDFs (Claude Code 2.1.30+)**: Use `Read` with `pages: "1-5"` for targeted PDF reading
  instead of loading entire documents. Large PDFs (>10 pages) return a lightweight
  reference when @-mentioned — 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).
- Convert prose instructions into bullet lists before prompting so only essential
  info hits the model.

## Step 3 – Delegation Check (`delegation-check`)
-

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-conserve-token-conservation",
  "version": "1.9.19",
  "publishedAt": 1787749844150
}

skill-card.md

## Description:

Enforces token quota management at session start with conservation and compression checks, including before large context loads.

This skill is ready for commercial/non-commercial use.

## Publisher:

[athola](https://clawhub.ai/user/athola)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and coding agents use this skill at session start or before large context loads to plan token budgets, compress context, decide whether delegation is appropriate, and log conservation choices.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Strict token-budget and read-limit guidance can interfere with security review, debugging, or analysis that needs more context.

Mitigation: Treat the limits as advisory and allow reviewers or operators to gather more evidence when task quality or safety depends on it.

Risk: Suggested external delegation could expose sensitive information if used without a data-sharing decision.

Mitigation: Review data sensitivity and approval requirements before delegating work to external tooling.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/athola/skills/nm-conserve-token-conservation)
- [ClawHub Metadata Homepage](https://github.com/athola/claude-night-market/tree/master/plugins/conserve)

## Skill Output:

**Output Type(s):** [text, markdown, guidance, shell commands, configuration]

**Output Format:** [Markdown]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Checklist-style guidance for token budgets, context compression, delegation decisions, and next actions.]

## Skill Version(s):

1.9.19 (source: server release metadata; artifact frontmatter reports 1.9.8)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to token-conservation and adjacent AI workflows.