codexmonitor
List/inspect/watch local OpenAI Codex sessions (CLI + VS Code) using the CodexMonitor Homebrew formula. Reads sessions from ~/.codex/sessions by default (or via CODEX_SESSIONS_DIR / CODEX_HOME overrides). Requires the cocoanetics/tap Homebrew tap.
Why use this skill?
Efficiently list, inspect, and watch your local OpenAI Codex sessions. Track, filter, and audit your AI coding history with the codexmonitor skill for OpenClaw.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/odrobnik/codexmonitorWhat This Skill Does
The codexmonitor skill is a powerful diagnostic and management tool designed for developers utilizing OpenAI Codex sessions within CLI environments or VS Code. It provides a structured interface to interact with local session logs stored on your machine. By default, the tool monitors the ~/.codex/sessions directory, allowing users to list, inspect, and stream live updates from ongoing or historical Codex interactions. Whether you are debugging prompt-response cycles or auditing historical code generation sessions, codexmonitor offers granular visibility, including JSON-formatted output for programmatic processing and filtered viewing of specific interaction ranges.
Installation
To integrate this skill into your OpenClaw environment, execute the command: clawhub install openclaw/skills/skills/odrobnik/codexmonitor. Ensure you have the cocoanetics/tap Homebrew tap configured on your machine, as this is a prerequisite for the underlying formula. If your session files are stored in a non-standard location, configure your environment by setting the CODEX_SESSIONS_DIR or CODEX_HOME environment variables before invocation.
Use Cases
This skill is indispensable for developers who need to audit AI-assisted coding sessions for quality assurance or learning. Use it to verify what context was sent to the model, inspect multi-turn conversation history, or monitor real-time output stream quality. It is particularly useful for teams conducting post-mortem analysis on code generation issues or individual developers looking to build a local library of successful prompt patterns.
Example Prompts
- "OpenClaw, use codexmonitor to show me the session log for ID 8832-alpha in JSON format so I can analyze the token usage."
- "Please monitor the latest Codex session for me and notify me if there are any errors or unexpected interruptions in the output stream."
- "List all Codex sessions from January 8th, 2026, and filter the output to show only the primary code blocks from range 1 to 5."
Tips & Limitations
- Performance: For massive session archives, use the JSON flags to pipe output into external tools like
jqfor efficient filtering. - Resuming Sessions: Remember that while this tool is for monitoring, you can trigger a continuation of a session via the command
codex exec resume <SESSION_ID> "message". - Permissions: Ensure your user account has read-access to the
~/.codex/directory, as restricted folder permissions are the most common cause of inspection failures. The tool only reads local files; it does not transmit session data to external third-party servers.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-odrobnik-codexmonitor": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
elevenlabs
Text-to-speech, sound effects, music generation, voice management, and quota checks via the ElevenLabs API. Use when generating audio with ElevenLabs or managing voices.
tesla-fleet-api
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.
unifi
Monitor UniFi network infrastructure via the UniFi Site Manager API. Use to list hosts/sites/devices/APs and get high-level client/device counts.
snapmaker-2
Control and monitor Snapmaker 2.0 3D printers via their HTTP API. Status, job management, progress watching, and event monitoring.
printer
Print images and PDFs to any CUPS printer. PPD-aware: reads paper sizes, margins, resolution, and duplex at runtime. Use when the user wants to print files (images like PNG/JPG or PDFs) or query printer capabilities.