context-manager
SolidUse when a long-running agent task needs context budgeting, checkpointing, compaction, retrieval, or capability-based model routing.
AI & Automation 124 stars
18 forks Updated 3 days ago MIT
Install
Quality Score: 87/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Context Manager
<skill_contract>
<input>An active objective, runtime context limits, decision-critical state, evidence, budgets, and durable storage.</input>
<output>A bounded context manifest, checkpoint, compaction decision, and capability-routing receipt.</output>
<done>The next decision can be resumed without losing constraints, permissions, provenance, or failure history.</done>
<non_goals>Task orchestration, vendor-specific routing, hidden truncation, or retaining history that cannot change a decision.</non_goals>
Treat context as RAM, durable storage as disk, and tools as retrieval. Pay only for information that changes the next decision or prevents an execution error.
## Usage Template
Provide: objective, phase, runtime context limit, token/cost budget, active constraints, current evidence, durable state location, and expected next decisions.
## Workflow
<intake>
Measure available budget from runtime data; do not infer limits or prices from model names. Partition context into objective, constraints, active state, evidence, open unknowns, and history. Identify the next irreversible or high-cost decision.
</intake>
<unknowns_gate>
If runtime limits or durable state are unavailable, choose a conservative explicit budget or return `NEEDS_INPUT`. Never silently drop constraints, approvals, source provenance, failed attempts, or user decisions.
</unknowns_gate>
<execute>
Apply `KEEP / SUMMARIZE / DROP / RETRIEVE`:
- **KEEP:** objective, acceptance cr...
Details
- Author
- Mark393295827
- Repository
- Mark393295827/third-brain-v7-skills
- Created
- 2 months ago
- Last Updated
- 3 days ago
- Language
- HTML
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
context-engineering
Use when managing what an LLM sees. Covers context-window budgeting, retrieval and compaction, memory across turns, tool-result pruning, and the failure modes that come from too much context rather than too little.
23 Updated yesterday
nimadorostkar AI & Automation Listed
context-budget
Use when context feels heavy or you've added skills, agents, MCP servers, or memory and want a token-consumption audit of the whole setup with a prioritized trim list.
0 Updated 1 weeks ago
Endika