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 1mo 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 1mo 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. 1mo 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 (40 stars, last pushed today), 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

Other skills, from other repositories

resolve-conflicts

Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling…

tailcallhq/forgecode · 68 tokens

github-pr-description

Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it…

tailcallhq/forgecode · 72 tokens

write-release-notes

Generate engaging, high-energy release notes for a given version tag. Fetches the release from GitHub, retrieves every linked PR's title and description, then synthesizes all changes into a polished, user-facing release note with an enthusiastic tone. Use when the user asks to write, generate, or create release notes…

tailcallhq/forgecode · 105 tokens

create-github-issue

Create GitHub issues using GitHub CLI with support for templates, labels, assignees, milestones, and draft issues. Use when the user asks to create a GitHub issue, file a bug report, submit a feature request, or open an issue in a GitHub repository.

tailcallhq/forgecode · 63 tokens

github-pr-comments

Resolve inline code review comments on a GitHub PR. Use when asked to "resolve review comments", "address PR feedback", "fix PR comments", or "work through review comments". Fetches every inline comment with its surrounding code context, then applies each change systematically.

tailcallhq/forgecode · 58 tokens

release

Prepare code for release (version bumps, changelog, README updates) and create an annotated tag to trigger the GoReleaser workflow.

jrswab/axe · 30 tokens