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 skills add aAAaqwq/AGI-Super-Team --skill context-recoverygit clone --depth 1 https://github.com/aAAaqwq/AGI-Super-TeamWrote 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/aaaaqwq/agi-super-team/context-recovery)<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/context-recovery"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/context-recovery/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/context-recovery"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/context-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 161 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.1 | $0.00037 | $0.01954 |
| Opus 5.5 | $0.00015 | $0.00782 |
| Sonnet 5.5 | $0.00007 | $0.00391 |
| Haiku 4.5 | $0.00004 | $0.00195 |
Grade A, and why
context-recovery 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 3mo ago.
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 — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context Recovery
- Author: Daniel Li
- Copyright © Daniel Li. All rights reserved.
Automatically recover working context after session compaction or when continuation is implied but context is missing. Works across Discord, Slack, Telegram, Signal, and other supported channels.
Use when: Session starts with truncated context, user references prior work without specifying details, or compaction indicators appear.
Triggers
Automatic Triggers
- Session begins with a
<summary>tag (compaction detected) - User message contains compaction indicators: "Summary unavailable", "context limits", "truncated"
Manual Triggers
- User says "continue", "did this happen?", "where were we?", "what was I working on?"
- User references "the project", "the PR", "the branch", "the issue" without specifying which
- User implies prior work exists but context is unclear
- User asks "do you remember...?" or "we were working on..."
Execution Protocol
Step 1: Detect Active Channel
Extract from runtime context:
channel— discord | slack | telegram | signal | etc.channelId— the specific channel/conversation IDthreadId— for threaded conversations (Slack, Discord threads)
Step 2: Fetch Channel History (Adaptive Depth)
Initial fetch:
message:read
channel: <detected-channel>
channelId: <detected-channel-id>
limit: 50
Adaptive expansion logic:
- Parse timestamps from returned messages
- Calculate time span:
newest_timestamp - oldest_timestamp - If time span < 2 hours AND message count == limit:
- Fetch additional 50 messages (using
beforeparameter if supported) - Repeat until time span ≥ 2 hours OR total messages ≥ 100
- Fetch additional 50 messages (using
- Hard cap: 100 messages maximum (token budget constraint)
Thread-aware recovery (Slack/Discord):
# If threadId is present, fetch thread messages first
message:read
channel: <detected-channel>
threadId: <thread-id>
limit: 50
# Then fetch parent channel for broader context
message:read
channel: <detected-channel>
channelId: <parent-channel-id>
limit: 30
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 267 lines · 37 tokens per session scan A 13297b10889d
context-recovery is a skill published in the GitHub repository aAAaqwq/AGI-Super-Team (125 stars, last pushed 4d ago), licensed MIT. It adds 37 tokens to every session and 1,954 once invoked, about $0.0001 per session on Opus 5.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-05.
context-recovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-recoveryaAAaqwq/AGI-Super-Team | Skill | 125 | 4d ago | MIT | A | 37 | Claude Code |
| agent-v3-memory-specialistruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 25 | Claude Code |
| agent-memory-coordinatorruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 19 | Claude Code |
| agent-collective-intelligence-coordinatorruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 29 | Claude Code |
| claude-compaction-restoremvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 60 | Claude Code |
| retiring-and-inheriting-a-seatmvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 145 | Claude Code |
| session-compaction-and-restoremvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | B | 88 | Claude Code |