claude-code-sessions-cli

claude-code-sessions-cli is a skill for Claude Code, Codex from adbertram/cli-tools. It costs 138 tokens per session (1,342 once invoked), scanned A, original, MIT.

Use this skill for service operations only. DO NOT use this skill for CLI implementation lifecycle work such as creating, testing, updating, troubleshooting, validating, removing, or documenting the CLI tool itself; delegate those tasks to cli-tool-expert. MANDATORY: Execute claude-code-sessions operations using the…

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Install with agentmods
npx agentmods add skills/adbertram/cli-tools/claude-code-sessions-cli
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 adbertram/cli-tools --skill claude-code-sessions-cli
Clone the repo
git clone --depth 1 https://github.com/adbertram/cli-tools

Made for: Claude Code, Codex.

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 claude-code-sessions-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/adbertram/cli-tools/claude-code-sessions-cli/github.svg)](https://agentmods.dev/skills/adbertram/cli-tools/claude-code-sessions-cli)
Your own site
<a href="https://agentmods.dev/skills/adbertram/cli-tools/claude-code-sessions-cli"><img src="https://agentmods.dev/badge/skills/adbertram/cli-tools/claude-code-sessions-cli/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 claude-code-sessions-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/adbertram/cli-tools/claude-code-sessions-cli"><img src="https://agentmods.dev/badge/skills/adbertram/cli-tools/claude-code-sessions-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,342 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.00138 $0.01342
Opus 5.5 $0.00055 $0.00537
Sonnet 5.5 $0.00028 $0.00268
Haiku 4.5 $0.00014 $0.00134

Measured today against content hash b5daca0439e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude-code-sessions-cli 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 today.

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.

_repo/skills/claude-code-sessions-cli/SKILL.md · 92 lines

How it starts

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

<project_overrides> Before acting on this skill, run:

~/.agents/skills/skill-expert/scripts/load-skill-overrides.sh claude-code-sessions-cli

Apply any printed instructions alongside this skill's own workflow: they extend it and never repeal its limits. No output means no project override is in effect. A non-zero exit means the project's override file is broken -- report it and stop rather than silently running unmodified. </project_overrides>

<quick_start> The claude-code-sessions CLI follows this pattern:

claude-code-sessions <command-group> <action> [arguments] [options]

Common commands:

Task Command
Check local Claude transcript access claude-code-sessions auth status
List Claude projects claude-code-sessions projects list --limit 20
List recent Claude sessions claude-code-sessions sessions list --limit 20
Search transcript content claude-code-sessions search run "query" --limit 20
Get one conversation with user and assistant messages claude-code-sessions conversations get <session-id>:<conversation-number>
List tool calls claude-code-sessions tool-calls list --session-id <session-id> --project <project>
List subagent launches claude-code-sessions subagent-activity list --session-id <session-id> --project <project>
List update-plan items claude-code-sessions todos list --session-id <session-id> --project <project>
Show a session timeline claude-code-sessions timeline consolidated --session-id <session-id> --project <project>
List Desktop account pairs in every Desktop app store claude-code-sessions desktop accounts
Preview a Desktop session import from a second app store claude-code-sessions desktop import '<exact title>' --source-store Claude-3p --source-account <id> --source-organization <id> --destination-store Claude --destination-account <id> --destination-organization <id> --dry-run
</quick_start>

Read the full file on GitHub · 92 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. today First seen · 92 lines · 138 tokens per session scan A b5daca0439e0

Subscribe to this mod's changes

claude-code-sessions-cli is a skill published in the GitHub repository adbertram/cli-tools (6 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 1,342 once invoked, about $0.0006 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-11-07.

Related

claude-code-sessions-cli compared with skills from other repositories

claude-code-sessions-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-code-sessions-cliadbertram/cli-toolsSkill6todayMITA138Claude Code, Codex
opencli-autofixjackwener/OpenCLISkill31kyesterdayApache-2.0A61Claude Code
surfnicobailon/surf-cliSkill684yesterdayMITA53Claude Code, Codex
rdc-cliBANANASJIM/rdc-cliSkill19314d agoMITA82Claude Code, Codex
pixiv-cli-ciFlanChanXwO/pixiv-cliSkill132yesterdayMITA61Codex
acrawl-mcpMingye-Lu/AgenticCrawlerSkill15yesterdayMITA200Claude Code, Codex
debug-hubrexleimo/aiosSkill62yesterdayMITB66Claude Code, Codex