Install
$ agentstack add skill-mark393295827-third-brain-v7-skills-context-manager ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Context Manager
An active objective, runtime context limits, decision-critical state, evidence, budgets, and durable storage. A bounded context manifest, checkpoint, compaction decision, and capability-routing receipt. The next decision can be resumed without losing constraints, permissions, provenance, or failure history. Task orchestration, vendor-specific routing, hidden truncation, or retaining history that cannot change a decision.
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
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.
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.
Apply KEEP / SUMMARIZE / DROP / RETRIEVE:
- KEEP: objective, acceptance criteria, permissions, active files, current state, fresh evidence, blockers.
- SUMMARIZE: completed exploration, superseded plans, verbose tool output; retain decisions and locators.
- DROP: duplicated prose, stale speculation, irrelevant logs, and reconstructible boilerplate.
- RETRIEVE: load detailed references only when the next action needs them.
Checkpoint at phase boundaries or before compaction. Route work by capability requirements such as reasoning depth, tool use, latency, cost, multimodality, and context capacity; runtime policy selects the implementation. Keep stable prompt prefixes unchanged when caching is available.
For Graph workflows, treat each node context as private RAM and each typed edge payload as a bounded transfer contract. Pass artifact locators, schemas, decisions, and verifier receipts; do not concatenate all branch histories into every successor. A join loads only the declared inputs needed for its decision.
Simulate the next action using only the checkpoint. It must recover objective, constraints, state, evidence, unknowns, last error, and next action without consulting lost chat. Compare estimated budget with runtime telemetry and correct drift.
Persist {run_id, status, attempt, budget, evidence, unknowns, last_error, next_action} plus phase, decisions, permissions, active resources, completed work, rejected approaches, retrieval pointers, and budget telemetry. Version checkpoints; never replace the only recoverable state.
Failure Protocol
NEEDS_INPUT: no reliable limit or cost policy exists and the choice changes execution.INSUFFICIENT_EVIDENCE: a proposed summary cannot preserve a material decision or locator; keep the source segment.VERIFY_FAILED: checkpoint replay loses required state; restore the prior version and recompact.BUDGET_STOP: reserve enough capacity for receipt and handoff, persist state, then stop.
Output Contract
Return status, result (budget plan or checkpoint), evidence (runtime telemetry and replay check), unknowns, and next_action with required retrieval pointers.
Edge Cases
- Runtime pricing changes mid-project: recompute from current policy; preserve earlier estimates as historical evidence.
- A long log contains one decisive error: keep the error signature and locator, summarize the surrounding output, and retain retrieval access.
- A Graph join receives three branch transcripts: retrieve the declared output
artifacts and receipts, not the full private context of every branch.
Success Metrics
- A fresh agent can resume from the checkpoint without material context loss.
- Context use stays within the declared runtime budget.
- Routing depends on capabilities and policy, not fixed model names.
Quality Gates
- [ ] Objective, constraints, permissions, evidence, and next action survive replay.
- [ ] Dropped content is duplicated, stale, or reconstructible.
- [ ] Budget estimates cite current runtime data or explicit conservative assumptions.
- [ ] Checkpoints are versioned and recoverable.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Mark393295827
- Source: Mark393295827/third-brain-v7-skills
- License: MIT
- Homepage: https://github.com/Mark393295827/third-brain-v5-skills/tree/master
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.