ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/odrobnik/codexmonitor
Or

What 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

  1. "OpenClaw, use codexmonitor to show me the session log for ID 8832-alpha in JSON format so I can analyze the token usage."
  2. "Please monitor the latest Codex session for me and notify me if there are any errors or unexpected interruptions in the output stream."
  3. "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 jq for 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

Author@odrobnik
Stars1287
Views0
Updated2026-02-22
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-odrobnik-codexmonitor": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#codex#developer-tools#logging#terminal#debugging
Safety Score: 5/5

Flags: file-read