context-manager
SolidUse 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
Quality Score: 83/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-v5-skills
- Created
- 2 months ago
- Last Updated
- 3 days ago
- Language
- HTML
- License
- MIT
Related Skills
AI & Automation Featured
code-simplifier
Review RTK Rust code for idiomatic simplification. Detects over-engineering, unnecessary allocations, verbose patterns. Applies Rust idioms without changing behavior.
73,603 Updated today
rtk-ai AI & Automation Featured
design-patterns
Rust design patterns for RTK. Newtype, Builder, RAII, Trait Objects, State Machine. Applied to CLI filter modules. Use when designing new modules or refactoring existing ones.
73,603 Updated today
rtk-ai AI & Automation Featured
issue-triage
Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
73,603 Updated today
rtk-ai