logs-nodejs

PostHog logging for Node.js.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "logs-nodejs" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bf8400fd972703d1501cd88b7c6f6e4b25ccdb6c60d0fe22141e16c69f15952c. Verify the upstream source and version against https://skills.sh/posthog/skills/logs-nodejs before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skills.sh

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

PostHog logging for Node.js.

0 Downloads

Introduction source: third_party · posthog · 1.0.0 Reference

SkillPi interpretation

Tasks
PostHog logs for Node.js
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: logs-nodejs
description: PostHog logs for Node.js
metadata:
  author: PostHog
  version: 1.9.4

PostHog logs for Node.js

This skill helps you add PostHog log ingestion to Node.js applications.

Reference files

  • references/nodejs.md - Node.js logs installation - docs
  • references/start-here.md - Getting started with logs - docs
  • references/search.md - Search logs - docs
  • references/best-practices.md - Logging best practices - docs
  • references/troubleshooting.md - Logs troubleshooting - docs
  • references/link-session-replay.md - Link session replay - docs
  • references/debug-logs-mcp.md - Debug logs with mcp - docs

Consult the documentation for API details and framework-specific patterns.

Key principles

  • Environment variables: Always use environment variables for PostHog keys and OpenTelemetry endpoints. Never hardcode them.
  • Minimal changes: Add log export alongside existing logging. Don't replace or restructure existing logging code.
  • OpenTelemetry: PostHog logs use the OpenTelemetry protocol. Configure an OTLP exporter pointed at PostHog's ingest endpoint.
  • Structured logging: Prefer structured log formats with key-value properties over plain text messages.

Framework guidelines

No specific framework guidelines.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 Node.js 应用集成 PostHog 日志采集的明确解决方案
  • 面向开发者群体,具有实际的集成实用价值
Trigger Precision90/100

Highlights

  • 触发词 'PostHog logs for Node.js' 精准明确,边界清晰
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少具体的执行步骤、端到端示例和使用场景说明

    Recommendation: 建议补充具体的配置示例、使用步骤和典型应用场景

Highlights

  • 关键原则说明清晰,frontmatter 完整
Execution Reliability60/100

Areas to improve

  • 缺少具体配置示例和异常处理 Reported severity: Minor

    提到了 OpenTelemetry 协议和 OTLP exporter,但未提供具体配置参数和异常处理机制

    Recommendation: 建议补充具体的配置代码示例、参数说明和常见错误处理方法

Highlights

  • 工具来源(PostHog)明确,技术方案合理
Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.