context-manager

Solid

Use when a long-running agent task needs context budgeting, checkpointing, compaction, retrieval, or capability-based model routing.

AI & Automation 123 stars 18 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
70
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

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-v5-skills
Created
2 months ago
Last Updated
3 days ago
Language
HTML
License
MIT

Related Skills