logfire
Use for Pydantic Logfire observability, tracing, and debugging. Query exceptions, spans, logs with SQL. View traces in Logfire UI. 4 tools for application monitoring and error analysis.
npx skills add majiayu000/claude-skill-registry --skill logfire --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# logfire Skill Pydantic Logfire observability and tracing. Query application logs, find exceptions, analyze spans with SQL, and generate trace links. ## Context Efficiency Traditional MCP approach: - All 4 tools loaded at startup - Estimated context: 2000 tokens This skill approach: - Metadata only: ~100 tokens - Full instructions (when used): ~5k tokens - Tool execution: 0 tokens (runs externally) ## How This Works Instead of loading all MCP tool definitions upfront, this skill: 1. Tells you what tools are available (just names and brief descriptions) 2. You decide which tool to call based on the user's request 3. Generate a JSON command to invoke the tool 4. The executor handles the actual MCP communication ## Available Tools - `find_exceptions_in_file`: Get the details about the 10 most recent exceptions on the file. - `arbitrary_query`: Run an arbitrary query on the Pydantic Logfire database. The SQL reference is available via the `sql_reference` tool. - `logfire_link`: Creates a link to help the user to view the trace in the Logfire UI. - `schema_reference`: The database schema for the Logfire DataFusion database. This includes all tables, columns, and their types as well as
- Context Efficiency
- How This Works
- Available Tools
- Usage Pattern
- Getting Tool Details
- Examples
- Example 1: Simple tool call
- Example 2: Get tool details first
- Error Handling
- Performance Notes
python .claude/skills/mcp-skills/executor.py --skill logfire --call 'YOUR_JSON_HERE'
python .claude/skills/mcp-skills/executor.py --skill logfire --describe tool_name
python .claude/skills/mcp-skills/executor.py --skill logfire --call '{"tool": "find_exceptions_in_file", "arguments": {"filepath": "main.py"}}'
python .claude/skills/mcp-skills/executor.py --skill logfire --describe arbitrary_queryWhat does the logfire skill do?
Use for Pydantic Logfire observability, tracing, and debugging. Query exceptions, spans, logs with SQL. View traces in Logfire UI. 4 tools for application monitoring and error analysis.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill logfire --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
