Agent skill · Databases

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill logfire --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/ai-llm/logfire/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Context Efficiency
  2. How This Works
  3. Available Tools
  4. Usage Pattern
  5. Getting Tool Details
  6. Examples
  7. Example 1: Simple tool call
  8. Example 2: Get tool details first
  9. Error Handling
  10. Performance Notes
Ships with 1 file
  • metadata.json
Commands it runs
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_query
More from claude-skill-registry
All skills →
About this skill
What 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.

Keep going