logfire

Query Pydantic Logfire logs, traces, errors, and performance data with SQL-like queries.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/ryx2/logfire-skill --skill logfire-ryx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logfire
Source: https://github.com/ryx2/logfire-skill/tree/main
Command: npx skills add https://github.com/ryx2/logfire-skill --skill logfire-ryx2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires logfire, python-dotenv, httpx, and includes scripts (resource) components.

What problem does it solve?

This Skill helps developers and SREs quickly diagnose and resolve backend issues by providing direct access to query logs and traces from the Logfire platform.

Core Features & Use Cases

  • Error Identification: Quickly find recent exceptions and their details.
  • Performance Analysis: Identify slow requests and endpoint performance bottlenecks.
  • Log Searching: Search through logs for specific keywords or patterns.
  • Trace Analysis: Investigate the flow of requests using trace IDs.
  • Use Case: When a user reports a 500 error, you can use /logfire errors to find the exception details or /logfire trace <trace_id> to understand the request's execution path.

Quick Start

Use the logfire skill to find recent exceptions.

Frequently Asked Questions about logfire

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find recent backend exceptions and error details using logs?

To find recent backend exceptions, you can query logs to quickly identify errors and retrieve specific exception details. This allows you to directly access recent failures and understand what caused the issue.

How can I analyze backend performance bottlenecks and slow requests?

You can analyze performance bottlenecks by querying for endpoint statistics and performance data. This helps identify slow requests and pinpoint specific endpoints causing latency issues in your backend system.

How do I trace a specific request execution path using a trace ID?

You can trace a specific request execution path by querying with a trace ID. This provides direct access to trace details, allowing you to investigate the exact flow of a request through your backend systems.

Can I filter backend logs by time, endpoint, or error status?

Yes, you can filter backend logs by time, endpoint, and error status. This functionality supports targeted log searching, helping you quickly isolate relevant entries for debugging backend issues.

Does this querying approach work with Pydantic Logfire for backend debugging?

Yes, this approach works with Pydantic Logfire to enable backend debugging. It uses SQL-like queries and predefined scripts to extract logs, traces, errors, and performance data directly from the Logfire platform.