logfire-coding-agents — скилл для Claude Code
Скилл logfire-coding-agents для Claude Code подключает сессии ИИ-агентов к телеметрии Logfire и настраивает маршрутизацию запросов моделей через Pydantic AI Gateway.
MIT 239 установок ★ 156 обновлён 2026-10-16
npx skills add pydantic/skills --skill logfire-coding-agents -a claude-codeЧто делает logfire-coding-agents
Этот скилл связывает рабочие сессии ИИ-агентов с Logfire для записи активности, перенаправления запросов через шлюз или запросов к данным через MCP. Для работы используется исполняемый файл logfire-cli, написанный на Rust, со всеми командами через флаг --beta. Скилл не предназначен для инструментирования обычного кода приложений.
Встроенные сценарии разделяют телеметрию, шлюз и MCP-доступ, не включая все опции сразу по умолчанию. Сначала настраивается телеметрия, затем маршрутизация шлюза, сохраняя учетные данные учетной записи вне логов и промптов.
Какие задачи решает
- записать сессию кодинг-агента в Logfire
- маршрутизировать запросы модели через Gateway
- проверить телеметрию кодинг-сессии
- настроить MCP-доступ к Logfire
Примеры запросов агенту
- Подключи Claude Code к телеметрии Logfire
- Настрой маршрутизацию запросов через Pydantic AI Gateway
- Проверь статус телеметрии агента в Logfire
Как установить logfire-coding-agents
1Через Skills CLI (Vercel)
npx skills add pydantic/skills --skill logfire-coding-agents -a claude-code2Вручную: положить файлы
~/.claude/skills/logfire-coding-agents/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/logfire-coding-agents/
1Через Skills CLI (Vercel)
npx skills add pydantic/skills --skill logfire-coding-agents -a codex2Вручную: положить файлы
.agents/skills/logfire-coding-agents/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add pydantic/skills --skill logfire-coding-agents -a cursor2Вручную: положить файлы
.cursor/skills/logfire-coding-agents/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install pydantic/skills skills/logfire-coding-agents2Вручную: положить файлы
.github/skills/logfire-coding-agents/SKILL.md1Через Skills CLI (Vercel)
npx skills add pydantic/skills --skill logfire-coding-agents -a gemini-cli2Командой платформы
gemini skills install https://github.com/pydantic/skills --path skills/logfire-coding-agentsВручную: положить файлы
.devin/skills/logfire-coding-agents/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add pydantic/skills --skill logfire-coding-agents -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о logfire-coding-agents
Как установить logfire-coding-agents в Claude Code?
Выполните команды npx skills add pydantic/skills --skill logfire-coding-agents -a claude-code и обратитесь к файлу ~/.claude/skills/logfire-coding-agents/SKILL.md.
Что делает logfire-coding-agents?
Он связывает ИИ-агентов с телеметрией Logfire и организует маршрутизацию запросов через шлюз Pydantic AI Gateway.
Что нужно для работы logfire-coding-agents?
Для работы необходим исполняемый CLI-файл logfire-cli с поддержкой флага --beta и готовые параметры учетной записи.
Исходный текст
SKILL.md · MIT
--- name: logfire-coding-agents description: Connect Claude Code or Codex itself to Logfire telemetry, or route a coding agent's model requests through Pydantic AI Gateway. Use for coding-session recording, capture policies, Gateway agent configuration, temporary proxy launches, status, or removal. Not for instrumenting an application or routing an application's model client. --- # Connect Coding Agents to Logfire Use the exact Rust CLI executable supplied by the handoff for every operation; examples call it `logfire-cli`. Preserve its region, organization, project, and data directory. Do not replace it with a package launcher or install a second exporter by hand. These commands require `--beta`. Without a prepared handoff, follow [native CLI connection](./references/connection.md). The same skill is distributed in the Logfire plugin; plugin installation alone does not supply a CLI session, project credential, or capture consent. Distinguish three independent capabilities: - **Telemetry:** record the coding agent's activity in the selected project. - **Gateway:** route the agent's model requests through the organization's paid Gateway access. This does not enable telemetry. - **MCP:** let the agent query Logfire. MCP OAuth is owned by the agent's MCP client; CLI login or telemetry setup does not authenticate that client. Honor the user's stated goal and agent. Ask only for missing choices; do not enable all three because the user asked to connect one. For application code, use [instrumentation](../logfire-instrumentation/SKILL.md) or the [application Gateway skill](../logfire-gateway/SKILL.md) instead. ## Confirm the destination A prepared handoff already selected the origin, organization, project, and local SDK credential: reuse those without repeating account commands or creating another write token. Otherwise follow the shared [connection reference](./references/connection.md). Do not guess another project when access fails. Keep account credentials out of prompts, logs, and child environments. Leave credential storage and settings writes to the CLI. If a saved helper will invoke this executable later, use a persistent installed path, not a temporary build or cache directory. ## Choose the requested workflow - To observe Claude Code or Codex, read [session telemetry](./references/telemetry.md). - To route coding-agent inference, read [Gateway routing](./references/gateway.md). - For both, configure telemetry first, then Gateway. Preserve each integration's destination and settings independently. Do not launch another setup agent or a nested interactive coding session just to configure this one. Explain any required restart. Finish with the configured agent, destination, capture or routing choice, observed verification result, and one next action. Configuration is not proof of ingestion or inference.
© pydantic · MIT · pydantic/skills