session-discovery

session-discovery is a skill for Claude Code from wildcard/caro. It costs 0 tokens per session (2,719 once invoked), scanned C, original, AGPL-3.0.

A guide for discovering and understanding Claude Code sessions across multiple terminals and Git worktrees.

In plain words
What is it for?
Use it when locating, analyzing, or resuming sessions in a multi-worktree setup.
Why use it?
It explains how sessions relate to different terminals and project checkouts.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the session-wrangler plugin — 1 skill, 7 commands shipped together

Good fit Use it when locating, analyzing, or resuming sessions in a multi-worktree setup.

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

Made for: Claude Code.

Or install session-wrangler, the plugin that ships this one along with the rest of its 1 skill, 7 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wildcard/caro/session-discovery"><img src="https://agentmods.dev/badge/skills/wildcard/caro/session-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00000 $0.02719
Opus 5.5 $0.00000 $0.01088
Sonnet 5.5 $0.00000 $0.00544
Haiku 4.5 $0.00000 $0.00272

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

Security

Grade C, and why

session-discovery scanned grade C with 2 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- If permissions: `chmod 644 <session>.jsonl`

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

grep '"sessionId"' ~/.claude/history.jsonl | grep '<session-id>' | tail -1 | jq -r '.timestamp, .display'
.claude/plugins/session-wrangler/skills/session-discovery/SKILL.md · 318 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2mo ago First seen · 318 lines · 0 tokens per session scan C 095f0032d677

Subscribe to this mod's changes

session-discovery is a skill published in the GitHub repository wildcard/caro (41 stars, last pushed yesterday), licensed AGPL-3.0. It costs nothing until one of its globs matches a file; then it loads 2,719 tokens. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

session-discovery compared with skills from other repositories

session-discovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
session-discoverywildcard/caroSkill41yesterdayAGPL-3.0C0Claude Code
resolve-conflictstailcallhq/forgecodeSkill7.6ktodayApache-2.0A68Claude Code, Codex
github-pr-descriptiontailcallhq/forgecodeSkill7.6ktodayApache-2.0A72Claude Code, Codex
write-release-notestailcallhq/forgecodeSkill7.6ktodayApache-2.0A105Claude Code, Codex
create-github-issuetailcallhq/forgecodeSkill7.6ktodayApache-2.0A63Claude Code, Codex
github-pr-commentstailcallhq/forgecodeSkill7.6ktodayApache-2.0A58Claude Code, Codex
commit-msgjrswab/axeSkill914yesterdayApache-2.0A0Claude Code, Codex