context-recall

context-recall is a skill for Claude Code, Codex from hashgraph-online/awesome-codex-plugins. It costs 50 tokens per session (1,364 once invoked), scanned A, original, Apache-2.0.

A context-retrieval tool for finding details from archived coding sessions after they have left the assistant's active context. It searches by keyword, project phase, record type, or decision.

In plain words
What is it for?
Use it to recall implementation details, review a phase handoff, find past decisions, or inspect a timeline of an earlier session.
Why use it?
It helps recover earlier code changes, tool results, and reasons for decisions without keeping the entire conversation in working memory.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to recall implementation details, review a phase handoff, find past decisions, or inspect a timeline of an earlier session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hashgraph-online/awesome-codex-plugins/context-recall
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 hashgraph-online/awesome-codex-plugins --skill context-recall
Clone the repo
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins

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-recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/context-recall/github.svg)](https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/context-recall)
Your own site
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/context-recall"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/context-recall/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-recall

Your own site · 80×15
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/context-recall"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/context-recall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 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.00050 $0.01364
Opus 5 $0.00025 $0.00682
Sonnet 5 $0.00010 $0.00273
Haiku 4.5 $0.00005 $0.00136

Measured 3d ago against content hash 205283b649d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

context-recall 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 3d 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.

plugins/Colin4k1024/tsp/skills/context-recall/SKILL.md · 155 lines

How it starts

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

Context Recall Skill

按需召回已归档的上下文细节,从 L2 归档索引和 Phase Ledger 中恢复压缩过程中被移出工作记忆的信息。

何时激活

  • 用户输入 /recall 命令
  • 需要恢复早期对话中的代码细节、工具输出或决策上下文
  • 当前上下文中缺少之前阶段的关键信息
  • 用户提到"之前讨论过"、"之前的方案"、"找一下之前的…"等表述

使用方式

基本命令

/recall <keyword>              # 按关键词搜索归档
/recall phase:<phase_name>     # 按阶段召回(如 phase:implementation)
/recall type:<element_type>    # 按类型召回(如 type:tool_result)
/recall decisions              # 召回所有决策记录
/recall timeline               # 显示阶段时间线概览

组合查询

/recall phase:design keyword   # 在 design 阶段中搜索关键词
/recall type:code_change api   # 在代码变更中搜索 api 相关内容

核心功能

1. 关键词召回

从 L2 归档索引中按关键词匹配,返回相关的归档元素摘要和完整内容引用。

工作原理:

  1. 搜索 ~/.claude/memory/sessions/{sid}/index.json 中的 keywords 字段
  2. 按匹配度排序返回结果
  3. 提供 L1 摘要和 L2 完整内容的访问路径

2. 阶段召回

从 Phase Ledger 中按阶段名称检索,返回该阶段的结构化交接记录。

输出包含:

  • 阶段目标与完成情况
  • 关键决策列表
  • 代码变更清单
  • 未解决项

3. 决策召回

跨所有阶段收集决策记录,构建完整的决策链路。适用于需要理解"为什么这样做"的场景。

4. 类型召回

按上下文元素类型检索:

  • tool_result: 工具执行结果
  • assistant_message: 助手回复
  • user_message: 用户消息
  • code_change: 代码变更
  • decision: 决策记录

技术实现

依赖模块

模块 路径 职责
context_recall scripts/lib/context_recall.py 召回逻辑核心
context_archiver scripts/lib/context_archiver.py L2 归档索引读取
phase_ledger scripts/lib/phase_ledger.py Phase Ledger 读取

数据源

路径 内容
L2 归档索引 ~/.claude/memory/sessions/{sid}/index.json 关键词索引、元素摘要
L2 归档文件 ~/.claude/memory/sessions/{sid}/archived/*.md 完整归档内容
Phase Ledger docs/memory/sessions/{sid}/phase-*.md 阶段交接记录
Ledger 索引 /tmp/harness-phase-ledger-{sid}.json Ledger 快速索引

调用示例

from scripts.lib.context_recall import (
    recall_by_keyword,
    recall_by_phase,
    recall_by_type,
    recall_decisions,
    get_phase_timeline,
    format_recall_results,
)

# 按关键词
results = recall_by_keyword(session_id, "api contract")
print(format_recall_results(results))

# 按阶段
results = recall_by_phase(session_id, "design", project_path)
print(format_recall_results(results))

# 所有决策
results = recall_decisions(session_id, project_path)
print(format_recall_results(results))

# 阶段时间线
timeline = get_phase_timeline(session_id, project_path)
print(timeline)

Read the full file on GitHub · 155 lines

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. 3d ago First seen · 155 lines · 50 tokens per session scan A 205283b649d1

Subscribe to this mod's changes

context-recall is a skill published in the GitHub repository hashgraph-online/awesome-codex-plugins (956 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 1,364 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 57 tokens

vellum-memory-v3-migration

One-time migration of an existing memory-v2 concept corpus into the memory-v3 section-grain "wiki" — topical articles with a stand-alone lead and queryable sections — with loss-proof staging, assistant-reviewed authoring, and a retrieval-eval gate before cutover.

vellum-ai/vellum-assistant · 63 tokens

levelup-specify

Extract Context Directive Records (CDRs) from the current session after completing work. Identifies reusable patterns (rules, personas, examples, evals) and captures directive compliance cases for team-ai-directives.

tikalk/adlc-team-skills · 46 tokens

cross-session-handoff

Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.

Arch1eSUN/Arcgentic · 31 tokens

hunt-xxe

Hunting skill for xxe vulnerabilities. Built from 4 public bug bounty reports. Use when hunting xxe on any target.

adriannoes/awesome-agentic-ai · 31 tokens

detecting-process-injection-techniques

Detects and analyzes process injection techniques used by malware including classic DLL injection, process hollowing, APC injection, thread hijacking, and reflective loading. Uses memory forensics, API monitoring, and behavioral analysis to identify injection artifacts. Activates for requests involving process…

adriannoes/awesome-agentic-ai · 78 tokens