Agent Session Kit — AI skill for Claude Code
Swift package that reads the local session stores of AI coding agents (Claude Code, Codex, Cursor, Grok Build, AntiGravity) and tails them live; MCP Unix-socket/stdio transport.
How to install Agent Session Kit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AstroQore/agent-session-kit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Session Kit does
Swift package that reads the local session stores of AI coding agents (Claude Code, Codex, Cursor, Grok Build, AntiGravity) and tails them live; MCP Unix-socket/stdio transport.
Alternatives in AI
- Tokentab — A CLI that reads Claude Code, Codex, and Gemini CLI session logs and works out how much they cost, by model, p 226 ★
- SwiftAgent — A type-safe, declarative AI agent framework for Swift 100 ★
- Opendray — Self-hosted gateway for Claude Code, Codex, Antigravity, Grok Build, OpenCode 59 ★
README
agent-session-kit
A Swift package that reads the session stores AI coding agents leave on your Mac, and serves them over MCP.
Every coding agent keeps a local record of what you asked it — Codex writes rollout JSONL, Claude Code writes transcript JSONL, Cursor and AntiGravity write SQLite databases another process holds open. Each one has its own layout, its own idea of a "session id", and its own way of spelling a timestamp. This package hides all of that behind one adapter protocol, a searchable index, and a local MCP transport.
No third-party dependencies. Foundation, Darwin, and the system SQLite.
.package(url: "https://github.com/AstroQore/agent-session-kit", exact: "0.3.0")
`exact:` while the package is `0.x` — see [Versioning and releases](#versioning-and-releases).
Targets
| Target | What it is |
|---|---|
AgentSessionKit |
Discovery, parsing, deletion planning, the FTS5 session index, and the MCP Unix-socket / stdio transport. |
AgentSessionLive |
Live views over the same stores — the unified event model, the state reducer, and the tailing protocols. |
Requires macOS 26 and Swift 6.2.
Architecture
Two targets, one boundary. `AgentSessionKit` answers "what is on disk right now" — one pass, one snapshot, no observers: discovery, parsing, the FTS5 index, deletion planning, and the MCP transport. `AgentSessionLive` is everything that *watches*: FSEvents, incremental tailing, the unified event model, and the state reducer. It depends on the Kit; the Kit knows nothing about it. If a type debounces, polls, or holds a cursor, it belongs in Live.
The package knows about the **usage axis** — the harness that produced a session — and deliberately nothing about the **billing axis** (quotas, plans, prices, companies). A host that models both writes that mapping in its own module.
There are **no third-party dependencies**: Foundation, Darwin, Dispatch, `os.log`, `CryptoKit`, and the system SQLite. That is a deliberat
Related Skills
Ailimits
Native Windows 11 desktop widget for AI usage limits: live Claude, Codex, Copilot and Antigravity percentages,
Agent Island
Open-source status companion for your AI coding agents — Claude Code, Codex, Antigravity, Grok, and Cursor. Li
Agentpack
🤖 The package manager for AI coding agents — pin, resolve, and sync skills & plugins across Claude Code, Curs
KodexBar Suite
Linux AI quota monitor and KDE Plasma 6 widget for Claude Code, OpenAI Codex, Cursor, Grok, OpenCode Go, and A
Targetbay Agent Skills
Agent Skills package teaching AI agents how to plan, target, sequence and optimise email and SMS marketing for
Claude Code Redact
Claude Code mod that redacts secrets and PII before the model reads them, stores placeholders in the conversat
Related Agents
MCP Owner
Owns mcp/ — the live MCP brain over stdio and the ai-os CLI. Use for work on the server, the Vault door, the t
Model Runner
Deterministic wrapper that runs a prompt on a non-Claude model (OpenAI via Codex, Cursor's composer/grok/glm,
Supply Chain Analyst
Software supply-chain security expert. Deep on Socket.dev (behavioral package analysis), Syft (SBOM generation