find-session

find-session is a skill for Claude Code from wardawgmalvicious/agent-config. It costs 115 tokens per session (1,950 once invoked), scanned A, original, MIT.

A session-search tool that finds an earlier Claude Code conversation by words used in its prompts or summaries, then gives the command needed to reopen it.

In plain words
What is it for?
Use it to locate an old coding session across repositories when you remember distinctive words from what was discussed.
Why use it?
It avoids relying on a session title, which may no longer describe what the conversation became about.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to locate an old coding session across repositories when you remember distinctive words from what was discussed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wardawgmalvicious/agent-config/find-session
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 wardawgmalvicious/agent-config --skill find-session
Clone the repo
git clone --depth 1 https://github.com/wardawgmalvicious/agent-config

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 find-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/find-session/github.svg)](https://agentmods.dev/skills/wardawgmalvicious/agent-config/find-session)
Your own site
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/find-session"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/find-session/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 find-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/find-session"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/find-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,950 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.00115 $0.01950
Opus 5.5 $0.00046 $0.00780
Sonnet 5.5 $0.00023 $0.00390
Haiku 4.5 $0.00012 $0.00195

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

Security

Grade A, and why

find-session 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/find-session.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/workflow/find-session/SKILL.md · 138 lines

How it starts

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

Finding a past session

The user remembers a session by what happened in it — "there was a session where I was exploring…" — and wants it back. Its name is a weak index: Claude Code titles a session once, from its first prompt, so one that wandered keeps the title of where it began (each of 233 titled sessions held exactly one title, 2026-10-06). The bundled script reads the words instead, in every transcript under ~/.claude/projects/, from every repo on this machine.

uv run --no-project ~/.claude/skills/find-session/scripts/find-session.py <term> <term> ...
  • Every term must appear in the session, as a substring, ignoring case: in its name, a prompt the user typed, or a compaction summary. Take two or three of the user's own distinctive words, not a paraphrase; a common word matches most of the store. Words given after /find-session are the terms.
  • Keep --no-project. Without it, uv run in a repo that has its own Python project syncs that project first. The script needs no dependencies.
  • Drop a leading /. Git Bash rewrites /test-skill into C:/Program Files/Git/test-skill before the script sees it, quoted or not, and the search answers 0 of … sessions matched, exit 1, which reads as an honest miss (2026-10-06). The script records a typed command as /test-skill prune-branches, so test-skill finds it. PowerShell passes the slash intact, and expands the ~ path as well.

2. Read the hits

2026-09-29 23:18  agent-config  contributing-md
    prompt: …ood point. I always wanted to rename and group my Claude Code sessions to keep better track of them. Is there …
    claude --resume 053abce6-857e-4d2b-b5d8-77150b3e4e75
12 of 212 sessions matched, first 2 shown; oldest transcript written 2026-09-29; times are local
  • The first line is the last activity in local time, the repo (the folder the session ran in, a worktree counted as its repo) and the session's name: one set by /rename, -n or a hook, else Claude Code's title, else the start of the first prompt.
  • The second says where every term met: name, prompt, summary or reply. some terms; the rest elsewhere means no one passage holds them all and the session matched only as a whole, which a long compaction summary makes common: a weak hit.
  • The first hit is the tightest, not the newest. Hits rank by where every term met, a name, then one prompt, one summary, one reply, then scattered, and newest first within each.
  • The asking session is left out. Its own prompt holds the terms, so the script drops the transcript CLAUDE_CODE_SESSION_ID names, which Claude Code sets in both its shells (2026-10-06).
  • The last line gives the reach: the day the oldest transcript on disk was last written. That bounds a transcript's last write, not its session's last activity: Claude Code writes title and state records after a session's last prompt, so a hit can predate the reach, as one last active 2026-09-24 did beside a reach of 2026-09-29 (2026-10-06).

Read the full file on GitHub · 138 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 · 138 lines · 115 tokens per session scan A 027ee5bb1ecf

Subscribe to this mod's changes

find-session is a skill published in the GitHub repository wardawgmalvicious/agent-config (1 stars, last pushed 1mo ago), licensed MIT. It adds 115 tokens to every session and 1,950 once invoked, about $0.0005 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-07.

Related

find-session compared with skills from other repositories

find-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
find-sessionwardawgmalvicious/agent-configSkill11mo agoMITA115Claude Code
apex-context-managementjonathan-vella/apex-acceleratorSkill513d agoMITA100Claude Code
fabric-clidata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A133Claude Code
connect-pbiddata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A221Claude Code
pbir-clidata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A112Claude Code
audit-tenant-settingsdata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A40Claude Code
tmdldata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A108Claude Code