langfuse-prompt-view
Original:🇺🇸 English
Translated
1 scripts
View Langfuse prompts. Use when checking prompt contents, comparing versions, or debugging prompt issues.
10installs
Sourceneuradex/langfuse-skills
Added on
NPX Install
npx skill4agent add neuradex/langfuse-skills langfuse-prompt-viewTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Langfuse Prompt View
Display the content of a specific prompt.
Setup
Set the following environment variables before use:
| Variable | Required | Description |
|---|---|---|
| Yes | Langfuse public key |
| Yes | Langfuse secret key |
| No | Langfuse host URL (default: |
When to Use
- Checking prompt content
- Verifying a specific label's version
- Debugging prompts
Commands
1. Show Prompt Content
Get the latest version:
bash
npx tsx scripts/langfuse-prompt-view.ts <prompt-name>Get a specific label's version:
bash
npx tsx scripts/langfuse-prompt-view.ts <prompt-name> --label=development
npx tsx scripts/langfuse-prompt-view.ts <prompt-name> --label=productionOutput Example
============================================================
Prompt: librarian-system
Version: 3
Labels: development
============================================================
--- Content ---
You are an excellent librarian...
--- End ---Notes
- If no label is specified, the latest version is returned
- Specifying a non-existent prompt name or label will result in an error