Skip to main content 홈 크리에이터 jeremylongshore tons-of-skills-marketplace langfuse-debug-bundle
langfuse-debug-bundle Collect Langfuse debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Langfuse problems.
Trigger with phrases like "langfuse debug", "langfuse support bundle",
"collect langfuse logs", "langfuse diagnostic", "langfuse troubleshoot".
설치로 이동 Skills Marketplace 커뮤니티가 만든 AI 스킬을 발견하고 탐색하세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jeremylongshore/tons-of-skills-marketplace --skill langfuse-debug-bundle명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Zip 다운로드 다운로드 중... 이 저장소의 다른 Skills langchain-deploy-integration Deploy a LangChain 1.0 / LangGraph 1.0 app to Cloud Run, Vercel, or LangServe correctly — with timeouts sized for chain length, cold-start mitigation, SSE anti-buffering headers, and Secret Manager over .env. Use when prepping a first production deploy, debugging a stream that hangs behind a proxy, or diagnosing p99 latency spikes. Trigger with "langchain deploy", "langchain cloud run", "langchain vercel python", "langchain langserve", or "langchain docker".
langchain-langgraph-agents Build a correct LangGraph 1.0 ReAct agent with create_react_agent — typed tools, error propagation, recursion caps, and stop conditions that actually stop. Use when writing a first tool-calling agent, migrating from AgentExecutor or initialize_agent, or diagnosing an agent that loops on vague prompts. Trigger with "langgraph agent", "create_react_agent", "langgraph tool calling", "AgentExecutor migration", or "agent loop cost".
langchain-langgraph-human-in-loop Build LangGraph 1.0 human-in-the-loop approval flows with interrupt_before /
interrupt_after and Command(resume=...) — JSON-serializable state, clean
resume semantics, and UI wiring for approval decisions. Use when adding an
approval gate before an expensive tool call, wiring a Slack/web UI for agent
approvals, or debugging a graph that crashes on interrupt.
Trigger with "langgraph human in loop", "langgraph interrupt_before",
"langgraph approval flow", "Command resume", "langgraph HITL".
jeremylongshore
jeremylongshore/tons-of-skills-marketplace
GitHub 저장소 열기 name langfuse-debug-bundle description Collect Langfuse debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Langfuse problems.
Trigger with phrases like "langfuse debug", "langfuse support bundle",
"collect langfuse logs", "langfuse diagnostic", "langfuse troubleshoot".
allowed-tools Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Grep version 1.12.0 license MIT author Jeremy Longshore <jeremy@intentsolutions.io> tags ["saas","langfuse","debugging"] compatibility Designed for Claude Code
Langfuse Debug Bundle
Current State
!node --version 2>/dev/null || echo 'N/A'
!python3 --version 2>/dev/null || echo 'N/A'
!npm list langfuse @langfuse/client @langfuse/tracing 2>/dev/null | head -5 || echo 'No langfuse packages'
Overview
Collect all diagnostic information needed for Langfuse support tickets: environment versions, SDK config, API connectivity, redacted logs, and a reproduction template.
Prerequisites
Langfuse SDK installed
Access to application logs
Bash shell available
Instructions
Step 1: Run the Full Debug Bundle Script
Save this as langfuse-debug.sh and run it:
#!/bin/bash
set -euo pipefail
BUNDLE_DIR="langfuse-debug-$(date +%Y%m%d-%H%M%S) "
mkdir -p "$BUNDLE_DIR "
echo "=== Langfuse Debug Bundle ===" | tee "$BUNDLE_DIR /summary.txt"
echo "Generated: $(date) " | tee -a "$BUNDLE_DIR /summary.txt"
{
echo ""
echo "--- Environment ---"
echo "Node.js: $(node --version 2>/dev/null || echo 'not installed') "
echo "Python: $(python3 --version 2>/dev/null || echo 'not installed') "
echo "npm: $(npm --version 2>/dev/null || echo 'not installed') "
echo "OS: $(uname -srm) "
} >>
{
npm list langfuse @langfuse/client @langfuse/tracing @langfuse/otel @langfuse/openai @langfuse/langchain 2>/dev/null ||
pip show langfuse 2>/dev/null | grep -E ||
} >>
{
} >>
{
HOST=
-n
curl -s -o /dev/null -w 2>/dev/null ||
[ -n ] && [ -n ];
AUTH=$( -n | )
-n
curl -s -o /dev/null -w \
-H \
2>/dev/null ||
} >>
[ -d ];
grep -i logs/*. 2>/dev/null | \
-100 | \
sed | \
sed \
> 2>/dev/null ||
[ -f ];
grep -A 100 package.json | -60 > 2>/dev/null ||
> <<
- Node.js version:
- Langfuse SDK version:
- Langfuse host: Cloud / Self-hosted (version: )
1.
2.
3.
"$BUNDLE_DIR /summary.txt"
echo
""
echo
"--- SDK Versions ---"
echo
"npm: no langfuse packages"
"Name|Version"
echo
"pip: langfuse not found"
"$BUNDLE_DIR /summary.txt"
echo
""
echo
"--- Langfuse Config ---"
echo
"LANGFUSE_PUBLIC_KEY: ${LANGFUSE_PUBLIC_KEY:+SET (${LANGFUSE_PUBLIC_KEY:0:12} ...)} "
echo
"LANGFUSE_SECRET_KEY: ${LANGFUSE_SECRET_KEY:+SET} "
echo
"LANGFUSE_BASE_URL: ${LANGFUSE_BASE_URL:-NOT SET} "
echo
"LANGFUSE_HOST: ${LANGFUSE_HOST:-NOT SET} "
"$BUNDLE_DIR /summary.txt"
echo
""
echo
"--- Network Test ---"
"${LANGFUSE_BASE_URL:-${LANGFUSE_HOST:-https://cloud.langfuse.com} } "
echo
"Target host: $HOST "
echo
"Health endpoint: "
"%{http_code} (%{time_total}s)"
"$HOST /api/public/health"
echo
"FAILED"
echo
""
if
"${LANGFUSE_PUBLIC_KEY:-} "
"${LANGFUSE_SECRET_KEY:-} "
then
echo
"$LANGFUSE_PUBLIC_KEY :$LANGFUSE_SECRET_KEY "
base64
echo
"Auth test: "
"%{http_code}"
"Authorization: Basic $AUTH "
"$HOST /api/public/traces?limit=1"
echo
"FAILED"
echo
""
fi
"$BUNDLE_DIR /summary.txt"
if
"logs"
then
"langfuse\|trace\|generation\|flush"
log
tail
's/sk-lf-[a-zA-Z0-9]*/sk-lf-***REDACTED***/g'
's/pk-lf-[a-zA-Z0-9]*/pk-lf-***REDACTED***/g'
"$BUNDLE_DIR /app-logs-redacted.txt"
true
fi
if
"package.json"
then
'"dependencies"'
head
"$BUNDLE_DIR /package-deps.txt"
true
fi
cat
"$BUNDLE_DIR /reproduction-steps.md"
'REPRO'
## Relevant Code
```typescript
// Paste minimal reproduction here
--- Package --- tar -czf "$BUNDLE_DIR.tar.gz" "$BUNDLE_DIR" 2>/dev/null
echo ""
echo "Bundle created: $BUNDLE_DIR.tar.gz"
echo "Contents:"
ls -la "$BUNDLE_DIR/"
### Step 2: Review Before Sharing
**Always redact before submitting:**
| Include | Redact |
|---------|--------|
| Error messages and stack traces | API keys (`pk-lf-*`, `sk-lf-*`) |
| SDK versions and config structure | Secret keys and passwords |
| HTTP status codes | PII (emails, user IDs) |
| Timing and latency data | Internal URLs and IPs |
| OS and runtime versions | Database connection strings |
### Step 3: Submit to Support
1. Run: `bash langfuse-debug.sh`
2. Review bundle contents for leaked secrets
3. Fill in `reproduction-steps.md`
4. Submit via:
- [GitHub Issues](https://github.com/langfuse/langfuse/issues) (public)
- [Discord](https://langfuse.com/discord) (community)
- Email support (enterprise customers)
### Step 4: Quick Inline Diagnostic (No File)
For a fast check without creating files:
```bash
set -euo pipefail
echo "=== Quick Langfuse Check ==="
echo "Node: $(node --version 2>/dev/null || echo N/A)"
npm list langfuse @langfuse/client 2>/dev/null | head -5
echo ""
echo "Public Key: ${LANGFUSE_PUBLIC_KEY:+SET} | Secret Key: ${LANGFUSE_SECRET_KEY:+SET}"
HOST="${LANGFUSE_BASE_URL:-${LANGFUSE_HOST:-https://cloud.langfuse.com}}"
echo "Health: $(curl -s -o /dev/null -w '%{http_code}' $HOST/api/public/health)"
Error Handling Collected Item Why It Matters SDK version Version-specific bugs, breaking changes between v3/v4/v5 Environment versions Node 18+ required, Python 3.9+ Network test Firewall, DNS, self-hosted connectivity Auth test Key validity, project mismatch Redacted logs Trace errors, flush failures, rate limits Package deps Conflicting versions, missing peer deps
Resources