context-recovery

context-recovery is a skill for Claude Code, Codex from SakuraByteCore/codexmate. It costs 72 tokens per session (846 once invoked), scanned A, original, Apache-2.0.

A project-history lookup tool for finding context in local sessions from coding agents such as Codex, Claude Code, Gemini, CodeBuddy, and Codexmate.

In plain words
What is it for?
Use it to create handoff summaries, find earlier decisions or validations, and investigate past work on a repository, branch, file, error, pull request, or issue.
Why use it?
It helps recover what happened in earlier work when the current session lacks the background. It provides historical evidence, while current pull requests, checks, deployments, and files still need live verification.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to create handoff summaries, find earlier decisions or validations, and investigate past work on a repository, branch, file, error, pull request, or issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sakurabytecore/codexmate/context-recovery
Install

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.

Any agent
npx skills add SakuraByteCore/codexmate --skill context-recovery
Clone the repo
git clone --depth 1 https://github.com/SakuraByteCore/codexmate

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for context-recovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/sakurabytecore/codexmate/context-recovery/github.svg)](https://agentmods.dev/skills/sakurabytecore/codexmate/context-recovery)
Your own site
<a href="https://agentmods.dev/skills/sakurabytecore/codexmate/context-recovery"><img src="https://agentmods.dev/badge/skills/sakurabytecore/codexmate/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.

agentmods 80×15 button for context-recovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/sakurabytecore/codexmate/context-recovery"><img src="https://agentmods.dev/badge/skills/sakurabytecore/codexmate/context-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00846
Opus 5.5 $0.00029 $0.00338
Sonnet 5.5 $0.00014 $0.00169
Haiku 4.5 $0.00007 $0.00085

Measured 1mo ago against content hash 56e3e38cfe68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_sessions.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/context-recovery/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codexmate Project Context Recovery

Overview

Use this skill to build an evidence-first project handoff brief from local agent sessions. It is not semantic memory or a live GitHub source of truth. It works best with hard identifiers: owner/repo, branch names, file paths, commit hashes, exact errors, PR/issue numbers plus repo filters, or unique commands.

Old sessions are historical evidence. Mutable facts such as PR state, CI, releases, deployments, and current files still require live checks before action.

Quick Start

Generate a context brief first. Resolve scripts/search_sessions.py relative to this skill directory; after npm installation the full package path is node_modules/codexmate/skills/context-recovery/scripts/search_sessions.py.

python3 scripts/search_sessions.py "SakuraByteCore/codexmate feat/task-orchestration-tab" --mode brief --source all --path-filter codexmate --match all --format text --limit 8

Use plain search when you need raw candidates:

python3 scripts/search_sessions.py "exact error text" --mode search --source all --path-filter codexmate --format text --limit 10

Workflow

  1. Confirm the object: repo/project, PR/issue number, branch, file path, command, exact error text, person, or date range. If multiple projects match, state the chosen object before searching.
  2. Prefer hard identifiers: exact owner/repo, short repo name, PR/issue number with repo filter, branch, file path, commit hash, exact error, then user wording.
  3. Generate a brief: use --mode brief; add --path-filter for project/worktree isolation; use --match all when the query has strong identifiers.
  4. Check confidence: high means multiple hard signals appeared; medium/weak means re-query with stronger identifiers before relying on it; none means no hits were found.
  5. Use the brief as a handoff: extract timeline, decisions, validations, risks, files, commands, commits, and top evidence sessions.
  6. Live-check mutable facts: before commenting, merging, releasing, or claiming current status, check GitHub/current files directly.

Read the full file on GitHub · 65 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 1mo ago First seen · 65 lines · 72 tokens per session scan A 56e3e38cfe68

Subscribe to this mod's changes

context-recovery is a skill published in the GitHub repository SakuraByteCore/codexmate (353 stars, last pushed today), licensed Apache-2.0. It adds 72 tokens to every session and 846 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

ensemble-sessionlog

Save a structured session transcript to SessionLogs with key decisions, commands, and resolutions (Codex skill for /ensemble:sessionlog).

FortiumPartners/ensemble · 31 tokens

context-review

Phase 8.5 grep checks C1-C3. Runs the three mechanical grep checks of the context review in a single invocation - C1 credential patterns, C2 unresolved placeholders, C3 field name staleness. Returns pass/fail per check with matched lines. The orchestrator handles C4-C12 (judgment-required checks) in the main session…

marcoguillermaz/Tierward · 81 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 159 tokens

mnemon

Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.

mnemon-dev/mnemon · 25 tokens

mnemon

Persistent memory for MiniMax Code. Recall durable context, store important facts and decisions, and link related memories with the mnemon CLI.

mnemon-dev/mnemon · 30 tokens