Skip to main content
skill CX Codex

logfire-codex-connection — Claude Code skill: what it does

logfire-codex-connection — a Claude Code skill that connects Codex to Logfire, checks connection status, and stops session recording. Runs when managing Codex telemetry and session logging.

MIT 235 installs ★ 156 updated 2026-10-16

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pydantic/skills --skill logfire-codex-connection -a claude-code
Open on GitHub

What logfire-codex-connection does

The skill connects Codex to Logfire, checks status, and manages session recording without triggering unauthorized setup checklists. It relies on bundled scripts like ../../scripts/agent_runtime.py --agent codex located in the installed skill directory. Status requests never grant permissions to modify or repair configurations.

Session recording and MCP access operate independently. Telemetry setup and exporter installation remain with the native Logfire CLI without altering existing application instrumentation or model provider routing.

The routine finishes by reporting MCP access, capture destination, and delivery evidence as distinct facts.

What it helps with

  • connect Codex to Logfire
  • check Logfire connection status
  • stop Codex session recording in Logfire

Example prompts for the agent

  • Connect Codex to Logfire
  • Check logfire-codex-connection status
  • Disconnect logfire-codex-connection session recording

How to install logfire-codex-connection

1Skills CLI (Vercel)

npx skills add pydantic/skills --skill logfire-codex-connection -a claude-code

2Manually: put the files in place

~/.claude/skills/logfire-codex-connection/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/logfire-codex-connection/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about logfire-codex-connection

How to install logfire-codex-connection in Claude Code?

Run npx skills add pydantic/skills --skill logfire-codex-connection -a claude-code and use ~/.claude/skills/logfire-codex-connection/SKILL.md.

What does logfire-codex-connection do?

It links Codex to Logfire, checks operational status, and stops session capture without altering model gateway routing.

What is required to run logfire-codex-connection?

Node.js environment with npx to fetch the skill package and the native Logfire CLI for telemetry configuration.

Source text

SKILL.md · MIT
---
name: logfire-codex-connection
description: Connect Codex itself to Logfire, check connection status, or stop session recording. Use for this plugin's MCP access and optional native Codex telemetry, not application instrumentation or AI Gateway routing.
---

# Connect Codex to Logfire

Help the user connect, check status, or disconnect without making them run a
setup checklist. Honor the requested operation; a status request never grants
permission to install, authenticate, or repair anything.

For connection, ask only if missing: "Would you like to query Logfire, record
your Codex sessions, or both?" MCP access and recording are independent. Do not
require CLI login for working MCP, or MCP read access to record sessions.

- **Connect:** follow [connection setup](references/connect.md).
- **Status:** follow [status and removal](references/status.md#status).
- **Disconnect:** follow [status and removal](references/status.md#disconnect).

Resolve bundled scripts relative to this installed skill directory. The runtime
helper is `../../scripts/agent_runtime.py --agent codex`; the explicit agent
selects Codex's separate runtime and project credential directory.
Quote paths as single arguments. Do not assume
`CLAUDE_PLUGIN_ROOT` exists in Codex.

Leave telemetry configuration and exporter installation to the native Logfire
CLI. Do not add custom transcript hooks, copy credentials, open secret-bearing
Codex/exporter configuration files, or start a nested coding session for setup.
Keep existing application instrumentation, model providers, and Gateway routing
unchanged. Plugin installation is not consent to session capture.

Finish with MCP access, capture mode/destination, and delivery evidence as
separate facts. Give one next action. "Configured" does not mean data arrived.

© pydantic · MIT · pydantic/skills

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set24

The whole set →
migrating-mastra-to-pydantic-ai migrating-mastra-to-pydantic-ai — a skill that moves TypeScript Mastra apps to Python with Pydantic AI. Use it when source code imports @mastra/* or relies on Mastra agents, tools, workflows, memory, or streaming. CX Codex +1 464installs migrating-agno-to-pydantic-ai migrating-agno-to-pydantic-ai — a skill for Claude Code, Codex, Cursor and other platforms that migrates Python Agno applications to Pydantic AI. CX Codex +1 463installs logfire-coding-agents logfire-coding-agents — a skill for Claude Code that connects coding agent sessions to Logfire telemetry and routes model requests through Pydantic AI Gateway. CX Codex +1 239installs logfire-frontend logfire-frontend sets up browser observability and session replays for Pydantic Logfire in JavaScript and TypeScript applications. CX Codex +1 237installs migrating-deep-agents-to-pydantic-ai-harness The migrating-deep-agents-to-pydantic-ai-harness Claude Code skill moves Python LangChain Deep Agents apps to Pydantic AI and Pydantic AI Harness. It applies when Deep Agents middleware, memory, subagent, or sandbox contracts matter. CX Codex +1 234installs logfire-gateway The logfire-gateway Claude Code skill routes an application's model requests through Pydantic AI Gateway. It activates for requests to connect a Gateway key or configure a provider snippet. CX Codex +1 232installs pydantic-ai A Claude plugin that steers Claude toward correct Pydantic AI code: patterns, decision trees and notes on common pitfalls. ★ 156repo stars logfire Brings Pydantic Logfire observability to Python code and Claude Code sessions. Sets up framework instrumentation, MCP trace queries, and debugging workflows. ★ 156repo stars

Project sponsors

Companies that keep this analytics open