wizardengineer/dotfiles/ce-session-inventory
Claude Code and agent skill by wizardengineer/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Discover session files for a repo across Claude Code, Codex, and Cursor, and extract session metadata (timestamps, branch, cwd, size, platform). Invoked by session-research agents — not intended for direct user queries.
Install
npx vskill@latest install wizardengineer/dotfiles/ce-session-inventorySKILL.md
The same SKILL.md was published earlier as butlerx/dotfiles/ce-session-inventory.
Session inventory
Agent-facing primitive. Discover session files and emit session metadata as JSONL across Claude Code, Codex, and Cursor.
This skill exists so that agents researching session history do not need to know the layout of session stores on disk or the JSONL shapes of each platform. The scripts under scripts/ own that knowledge.
Arguments
Space-separated positional args:
<repo>— repo folder name (e.g.,my-project). Used for directory matching in Claude Code and Cursor, and as the CWD filter for Codex sessions.<days>— scan window in days (e.g.,7). Session files older than this are skipped.<platform>(optional) — one ofclaude,codex,cursor. Omit to search all three.
Execution
Run the discovery-plus-metadata pipeline from the skill's own scripts/ directory:
Return the raw stdout verbatim — one JSON object per session, then a final _meta line. Callers parse the JSONL directly, so do not paraphrase, reformat, or summarize.
If discovery finds no files, the pipeline still emits a clean _meta line (files_processed: 0). Return that as-is.
Output format
Each session line is a JSON object. Common fields across platforms:
platform—claude,codex, orcursorfile— absolute path to the session JSONLsize— file size in bytests— session start timestamp (ISO 8601)session— session identifier
Platform-specific fields:
- Claude Code adds
branch(git branch) andlast_ts(last message timestamp). - Codex adds
cwd(working directory),source,cli_version,model,last_ts. - Cursor has no in-file timestamps or metadata —
tsis derived from file mtime andsessionfrom the containing directory name.
The final _meta line has files_processed, parse_errors, and optionally filtered_by_cwd (count of Codex sessions dropped by the CWD filter).
Error handling
If the discovery script errors (e.g., unreadable home directory, permission failure), let the error surface to the caller. Do not substitute git log, file listings, or other sources — this skill's contract is session metadata, nothing else.
If _meta reports parse_errors > 0, return the JSONL as-is. The caller decides how to handle partial data.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdot_pi/agent/skills/ce-session-inventory/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wizardengineer/dotfiles/ce-session-inventory)