Coding Agent Skills¶
If you're adding Logfire observability to your application with a coding agent, you can install the
Logfire skill from the pydantic/skills repository to give
your agent up-to-date framework knowledge.
Agent skills are packages of instructions and reference material that coding agents load on demand. The Logfire skill provides agents with patterns and guidance for instrumenting Python, JavaScript/TypeScript, and Rust applications, with auto-instrumentation for frameworks like FastAPI, httpx, asyncpg, and more.
Installation¶
Claude Code¶
Install the official Logfire plugin from the Anthropic marketplace, which is available by default:
claude plugin install logfire@claude-plugins-official
The plugin bundles skills, commands, and an MCP server. Claude will use the relevant skills automatically, or you can invoke a command directly:
/instrumentation
As an alternative, you can install from the pydantic/skills
marketplace, which bundles the Logfire skill alongside other Pydantic-maintained skills:
claude plugin marketplace add pydantic/skills
claude plugin install logfire@pydantic-skills
Cross-Agent¶
Install the Logfire skill using the skills CLI:
npx skills add pydantic/skills
The CLI is interactive and lets you pick individual skills (e.g. logfire-instrumentation or
logfire-query) rather than installing the whole bundle.
This works with 30+ agents via the agentskills.io standard, including Claude Code, Codex, Cursor, and Gemini CLI.
Library Skills¶
Logfire also ships its skill bundled with the package, so you can install it directly from your project's dependencies via library-skills.io:
uvx library-skills # Python
npx library-skills # JavaScript/TypeScript
Add --claude to also install into .claude/skills alongside the default .agents directory.
See also¶
- Source repository: github.com/pydantic/skills
- Open standards: agentskills.io, library-skills.io
- Claude Code skills documentation: code.claude.com/docs/en/skills
- Claude Code plugins documentation: code.claude.com/docs/en/plugins