Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/eddiebelaval/squire/context-managernpx skills add eddiebelaval/squire --skill context-managergit clone --depth 1 https://github.com/eddiebelaval/squireWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/eddiebelaval/squire/context-manager)<a href="https://agentmods.dev/skills/eddiebelaval/squire/context-manager"><img src="https://agentmods.dev/badge/skills/eddiebelaval/squire/context-manager.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00012 | $0.02043 |
| Opus 5 | $0.00006 | $0.01022 |
| Sonnet 5 | $0.00002 | $0.00409 |
| Haiku 4.5 | $0.00001 | $0.00204 |
Grade A, and why
Context Manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context Manager
The Context Manager skill helps you optimize conversation context to maintain Claude's effectiveness throughout long sessions. It tracks context window usage, identifies when to summarize or prune context, and helps you structure conversations to keep relevant information accessible while staying within token limits.
This skill is essential for complex, multi-day projects where conversation history grows large. It helps you decide what to preserve, what to summarize, and what to discard, ensuring Claude maintains awareness of important decisions and project state without hitting context limits.
Use this skill proactively during long development sessions, before starting new major features, or when you notice performance degradation due to context bloat.
Core Workflows
Workflow 1: Monitor Context Health
- Check current context usage:
- Token count
- Percentage of limit
- Recent growth rate
- Analyze context composition:
- How much is code?
- How much is conversation?
- How much is documentation?
- Identify problematic areas:
- Redundant information
- Outdated references
- Irrelevant tangents
- Assess risk level:
- Green: <50% usage, healthy
- Yellow: 50-75% usage, monitor
- Red: >75% usage, take action
- Recommend actions if needed
- Report status to user
Workflow 2: Summarize Long Conversation
- Review conversation history
- Extract key information:
- Decisions made
- Problems solved
- Current project state
- Open questions
- Next steps
- Organize by topic/timeline
- Create concise summary
- Validate with user
- Suggest starting new thread with summary
Workflow 3: Prune Irrelevant Context
- Identify candidates for removal:
- Resolved issues
- Abandoned approaches
- Temporary debugging
- Superseded information
- Categorize by importance:
- Safe to remove
- Could summarize
- Must preserve
- Propose pruning plan to user
- Execute approved removals
- Preserve critical context
- Verify coherence after pruning
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 295 lines · 12 tokens per session scan A 803d31ba8986
Context Manager is a skill published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 19d ago), licensed MIT. It adds 12 tokens to every session and 2,043 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
Context Manager
Manage conversation context and memory for optimal AI performance.
context-engineering
Use this skill for optimizing AI context windows. Covers context sizing, prioritization, and avoiding context overflow.
gptq
Post-training 4-bit quantization for LLMs with minimal accuracy loss. Use for deploying large models (70B, 405B) on consumer GPUs, when you need 4× memory reduction with <2% perplexity degradation, or for faster inference (3-4× speedup) vs FP16. Integrates with transformers and PEFT for QLoRA fine-tuning.
unsloth
Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization.
alive:mine-for-context
Deep context extraction from source material. Creates reference bundles, builds extraction plans, tracks what's been extracted, and discovers new targets — people, subjects, patterns, connections. The archaeologist that turns raw sources into structured knowledge. Can be invoked by alive:session-history for targeted…
alive:search-world
The human needs something that exists somewhere in the world but they don't know where. A decision, a person, a file, a reference — it's been captured, they just can't find it. Searches decisions, people, files, references, insights, and log history across all walnuts in priority order.