pstack-recall

pstack-recall is a skill for Claude Code from dmae97/omk. It costs 79 tokens per session (1,247 once invoked), scanned A, original, MIT.

A context-rebuilding workflow that searches recent chat history and shared project records, such as reports, fixes, incidents, and discussions. It returns a short summary of the current state and next steps.

In plain words
What is it for?
Use it to catch up on a feature or bug, find where previous work stopped, or prepare to continue an earlier task.
Why use it?
You may not remember what was decided or what happened in related work done under another name. It gathers that history before you resume a task.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it to catch up on a feature or bug, find where previous work stopped, or prepare to continue an earlier task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmae97/omk/recall
View source ↗ dmae97/omk
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 dmae97/omk --skill recall
Clone the repo
git clone --depth 1 https://github.com/dmae97/omk

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmae97/omk/recall"><img src="https://agentmods.dev/badge/skills/dmae97/omk/recall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,247 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.
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.00079 $0.01247
Opus 5.5 $0.00032 $0.00499
Sonnet 5.5 $0.00016 $0.00249
Haiku 4.5 $0.00008 $0.00125

Measured 9d ago against content hash 058e5189f5c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pstack-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 9d 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.

packages/coding-agent/resources/pstack/skills/recall/SKILL.md · 40 lines

How it starts

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

Recall

Before you start or resume work, you rebuild the user's recent working context and hand back a tight capsule of where things stand now and what to do next.

Keep it tight and on-topic. Read only what the in-scope threads need, then stop.

Your context lives in two records. Your own chat history holds what you did and decided. The shared record holds everything that happened around the same code under other names: the symptoms users keep reporting, the fixes that shipped and got reverted, the errors still firing in prod. That second record is what the why skill searches, across source control, the issue tracker, chat and issue channels, long-form docs, and error tracking. A feature with a long bug tail keeps most of its story there, so don't reconstruct it from your transcripts alone.

Transcripts live where your harness keeps them. Each file is JSONL. Find the active workspace's directory for your harness. If you can't tell which harness you are, check which of these exist for this workspace:

  • OMK: ~/.omk/agent/sessions/--<slug>--/*.jsonl, where <slug> is the workspace path with the leading slash dropped and each "/" turned into "-".
  • Keep only sessions whose recorded cwd is this workspace; never read another project's sessions.
  • Sessions are JSONL files; read the metadata overview and last messages first.
  1. Classify, then route. One specific prior chat to resume is the session-pickup playbook, not this. Turning habits into a durable skill is automate-me. A human-readable summary of your work is a different task. Recall loads working context across recent chats before you act. If the user already gave you a full state capsule (paths, branch, the change), use it and skip the mining.
  2. Lock the scope before searching. Pin the window ("recent" is a real range, default the last 7 days), the topic if named, and the workspace (default the active one. Never read another project's transcripts without being asked). State the scope back. Never quietly turn "all" into "recent N".
  3. Fan out across your chat history. Spawn parallel subagents on a fast, cheap model, each taking a slice of the corpus. Tell every subagent to order candidates by real modification time (ls -t) and never by UUID name, grep the topic first and then read only the matching chats and only their relevant regions, and skip the current chat plus obvious noise (subagent, eval, and test chats). Each returns the same schema, one block per chat: topic, the user's goal, decisions, open threads, struggles and corrections, and artifacts (PRs, tickets, branches), each citing the chat UUID. For one or two chats, skip the fan-out and search directly. The raw transcripts stay in the subagents. The main thread gets only their findings. OMK subagents inherit the session model and effort; pass no model, effort, or speed fields.
  4. Sweep the shared record whenever the topic names a feature, file, subsystem, area, or bug. This is the default, not a judgment call, and "my work on X" does not exempt it. Hand it to the why skill's source investigators, but steer their question from "why was this built this way" to "what's the current state, what's been tried and didn't hold, and what are users still reporting". Reuse its per-source playbooks, run the investigators in parallel with the chat-history mining, and inherit its posture: one investigator per source, null results are findings, skip an unavailable MCP and say so. Fold what comes back into the brief. Skip this step only for pure activity recall with no named target ("what did I do this week"), where your own history and live state are the entire answer.
  5. Verify against live state. Take the PRs, branches, and tickets that the mining and the sweep surfaced and check them with git and gh. When the answer hinges on what an agent actually did (the tools it ran, files it read, errors it hit), read the full transcript, not just a trimmed local copy.
  6. Write the brief to the contract below. Group by thread. Stay on the named topic.

Read the full file on GitHub · 40 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. 9d ago Changed · -2 lines 058e5189f5c1
  2. 10d ago First seen · 42 lines · 79 tokens per session scan A df2bf5f96a55

Subscribe to this mod's changes

pstack-recall is a skill published in the GitHub repository dmae97/omk (151 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,247 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-10-27.

Related

pstack-recall compared with skills from other repositories

pstack-recall next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pstack-recalldmae97/omkSkill151todayMITA79Claude Code
handoffHmbown/CodeWhaleSkill41k5d agoMITA70Claude Code, Codex
auto-memoryQwenLM/qwen-codeSkill29kyesterdayApache-2.0A29Claude Code, Codex
forgetHmbown/CodewhaleSkill41k1mo agoMITA26Claude Code, Codex
general0xranx/golembotSkill3226d agoMITA61Claude Code, Codex
kb-guide0xranx/golembotSkill3226d agoMITA66Claude Code, Codex
buncode-yeongyu/senpiSkill511todayMITA237Claude Code, Codex