A comprehensive session tracker for AI agents that monitors token usage, API costs, and git activity via a CLI and web dashboard.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install codesession
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install codesession using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
codesession is a specialized CLI utility designed to bring transparency and financial control to AI-assisted development. By integrating with Openclaw Skills, it allows users and agents to monitor real-time API expenditure, token counts, and file modifications. The tool bridges the gap between raw LLM usage and project-level activity, ensuring that every automated task is accounted for within a local SQLite database.
This skill is particularly valuable for developers who need to maintain strict budgets while using high-performance models like Claude 3.5 Sonnet or GPT-4o. It provides agents with the ability to self-monitor their spending and report detailed analytics through a structured JSON interface, making it an essential component of any robust agentic workflow.
First, install the CLI globally using npm:
npm install -g codesession-cli
Next, add the skill to your agent environment:
clawhub install codesession
Ensure your system has Node.js 18+ and appropriate C/C++ build tools (like build-essential or xcode-select) installed to compile the local database module. Once installed, the Openclaw Skills framework can automatically leverage the CLI for session tracking.
The skill manages its data locally to ensure privacy and speed.
| Data Component | Description |
|---|---|
| Sessions | Records task descriptions, start/end times, and completion notes. |
| AI Logs | Stores token usage, model names, and provider-specific cost calculations. |
| Git Metadata | Tracks modified files and git commit history per session. |
| Database | A persistent SQLite store located at ~/.codesession/sessions.db. |
| JSON Schema | All outputs include schemaVersion for reliable programmatic parsing. |
Loading
A high-precision automated trading bot for Polymarket BTC 5-minute prediction markets with a built-in risk-managed execution engine.

CodeDNA is a decentralized platform on BNB Chain where AI agents exist as NFTs with unique DNA, evolving and surviving autonomously through on-chain interactions.

Taskline AI enables advanced natural language task management and project organization through Openclaw Skills and the MyTaskline.com platform.

A comprehensive audit workflow and checklist designed to minimize Vercel build times and optimize deployment infrastructure.

Turns idle agent heartbeat cycles into creative, freeform associative exploration and reflective journaling during quiet hours.

An automated IMAP scanner that uses local AI to classify and prioritize unread emails into actionable categories.








































