/meta:find-session [words from the session]from meta
Finds a past Claude Code session by what was said in it — words from a prompt the user typed, a compaction summary or the session's name — across every repo on this machine, and gives the claude --resume command that reopens it. Runs the script bundled with the skill over the transcripts on disk, ranks one prompt holding every term above terms scattered through a long session, and reports how far back the transcripts reach, since an older session is gone. Naming the current session is /rename; running and background sessions are claude agents.
Ships in meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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_SKILL_DIR}/scripts/find-session.py" <term> <term> ...
find-session are the terms.--no-project. Without it, uv run in a repo that has its
own Python project syncs that project first. The script needs no
dependencies./. Git Bash rewrites /<name> into
C:/Program Files/Git/<name> 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 /<name> <args>, so <name> finds it.
PowerShell passes the slash intact.2026-09-29 23:18 my-repo 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
/rename, -n or a hook, else Claude
Code's title, else the start of the first prompt.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.CLAUDE_CODE_SESSION_ID names, which
Claude Code sets in both its shells (2026-10-06).--repo <folder> keeps one repo, by its folder name; its worktrees
count as it.--days <n> keeps transcripts written in the last n days.--limit <n> shows n hits, 10 by default; the last line counts them
all.--replies searches Claude's text too, for what Claude said rather
than what the user typed.--probes brings back probe sessions, left out by default: a working
directory in the temp folder, or a name starting probe:.--json prints the hits for parsing: session_id, title, repo,
cwd, branch, first_active, last_active, match and resume.
Its stamps are UTC, where the text's times are local, and it prints no
reach.Exit 1 with 0 of … sessions matched is a miss. Before calling the
session lost:
--replies.--probes if it may have been a test run.cleanupPeriodDays, 30 days by default, and the store can hold less
than the setting says once a lower value has run: 7 days against 15 on
2026-10-06, after the setting had been turned down for a while. Do not
search the transcripts by hand.Exit 2 has two meanings, told apart by stderr. the transcript format may have changed means the script read transcripts and found not one
prompt in them, which is how a release changing Claude Code's internal
transcript format shows. Report that, and do not grep the transcripts as
a stand-in.
A usage: line means a bad flag. no transcripts under <path>, exit 1,
means the store is empty.
claude --resume <id>. Say so when the best hit is
only scattered.claude --resume <id> works from any folder: Claude Code looks in
the current project and its worktrees, then every other project on
this machine (2.1.223 or later). Whether VS Code opens a session by its
id was not checked (2026-10-06).--replies and words from the answer, or resume it./rename. Live
sessions are ListAgents from inside a session, and background ones
claude agents from a terminal, whose n:<text> filter (2.1.287) and
Ctrl+F match names and tasks, not what was said.<project>/<session>/subagents/, which the script does not read, and
any session whose transcript is not under ~/.claude/projects/ on this
machine, such as a cloud session's.What SKILL.md sets; muted values are Claude Code's defaults
Use when the user recalls an earlier session, conversation or chat by what was in it and wants it back — 'there was a session where I was exploring…', 'find the conversation where we decided X', 'which session did I do Y in', 'reopen the one about Z' — or needs a past session's id to resume it.
inherithighOther plugins' skills for the same job
npx claudepluginhub wardawgmalvicious/claude-plugins --plugin meta8 skills in this plugin
/audit-agent-setupAudits a repo's Claude Code setup on this machine and reports what to fix and what to add: hooks, permission rules, skills, subagents, plugins and MCP servers. Edits, writes and connects nothing. Runs the checks a generic recommender cannot: plugins declared off and the payload's reason for it, .mcp.json placeholders, literal header values and tracking, servers at the wrong scope, tenant pins that MCP servers ignore, and CLAUDE.md rules nothing enforces. Reuses the deployed agents and skills and microsoft-learn-mcp before proposing anything new, names scope-instructions, /doctor and /fewer-permission-prompts where one owns the question, and places each item in the repo, the repo the user's own config is authored in (through capture-learning from another repo) or nowhere. Typed only: audit-agent-setup [category]./draw-architectureDraws a repo's architecture as one Mermaid diagram in ARCHITECTURE.md, and keeps it true. The diagram is processes and boundaries: what crosses between a project's halves, such as a frontend and its backend, and what it starts or reaches outside itself, each edge labelled with what carries it, found by greps across both sides. Declines where a table serves: no crossing, fan-in or fan-out means no diagram. Renders each diagram with mermaid-cli by a bundled script and Reads the PNG before calling it done, since a diagram can parse and still draw too tall to read. Ends the file with the code the diagram is drawn from, and points the repo's CLAUDE.md or AGENTS.md at it, since nothing else loads it. Run again, it audits: rereads that code, lists where the file disagrees, and corrects it in place on a yes, never regenerating. Written for Claude Code first, a person second. Not for a flowchart of one procedure, a data model or a sequence diagram./init-user-instructionsAudits and rewrites ~/.claude/CLAUDE.md, Claude Code's user-scope instructions, from its source claude/CLAUDE.md in the repo the user's config is authored in, as init-account-instructions writes claude.ai's Account block; with no user-scope file yet, drafts a short first one, written on a yes. A bundled script checks the line count against the lint cap, ~/ pointers that resolve nowhere, skills named but not deployed at user scope, tools claimed on PATH or not installed, dated rules by age, counts that want a derivation command and drift from each deployed copy, then reads this machine's transcripts: corrections repeated across sessions, each rule's error text after its date, and whether the Account block loads, masked and reported as counts. Routes every line to the home that loads it, interviews, and proposes a table and a diff, adding a line only for a standing behavior the user states and only by displacing another. A repo's CLAUDE.md is scope-instructions'; one session's learning is capture-learning's./measure-session-costReports what a Claude Code session cost at API list prices, by phase, by model and by subagent, from its transcripts on disk, through a bundled script holding a dated price table. Prices each call's context, read from or written to the prompt cache, and its output; splits the session at each compaction and each idle gap over an hour; names every call that rewrote its context to the cache and why, whether the start, a compaction, an expired cache or a model switch; gives the context at the first call, before any work, and the tools called with the size of what they returned. Takes a session id or its start, the current session, or a repo's newest sessions, in every account's config directory. A model, speed or usage shape the table lacks is reported unpriced, never guessed. Reads only. Finding a session by what was said in it is find-session's. Typed only: measure-session-cost [id | --repo FOLDER --last N]./scope-instructionsSorts a repo's agent instructions into the homes that load them when they are needed. Weighs each section of a root CLAUDE.md or AGENTS.md, each folder README's must-know lines and each file another coding tool reads against root, a paths: rule, a nested CLAUDE.md or AGENTS.md, a skill, a hook, a README or nowhere, by the event that loads each home and whether that event comes before the mistake. Reads every instruction file itself, in its own context, so the scoping rule loads where the proposal is written. Measures the repo's own session transcripts per folder with a bundled script: who worked there, whether they opened its README first, which nested files and rules loaded, how often they compacted. Finds an AGENTS.md a CLAUDE.md silences and a fact two tools' files hold apart. Proposes every move in one table and edits only on approval. Where /init and /doctor refresh and trim a root file, this moves what does not belong there./ship-pluginShips a Claude Code plugin so it installs and runs where its users are. A plugin gets no build step, so a .mcp.json pointing at a gitignored dist/ installs cleanly and its server never starts; chat, Cowork and Claude Code each load a different part of a plugin, and a top-level bin/ makes chat, Cowork and org sync refuse it; version means something different for a local-path marketplace, one added by source and one synced to a claude.ai organization; a synced marketplace is labelled with its repository's owner/repo and nothing renames it, and Delete source removes every plugin for every member. Ends with an install test in a throwaway CLAUDE_CONFIG_DIR (claude plugin validate, install --config, claude mcp list) and claude plugin eval for the plugin's own skills. Not for a mod, which plugin-authoring makes.