Loading...
Loading...
Create or update Langfuse prompt with development label. Use when creating new prompts, updating existing prompts, or improving prompt content.
npx skill4agent add neuradex/langfuse-skills langfuse-prompt-upsertdevelopment| Variable | Required | Description |
|---|---|---|
| Yes | Langfuse public key |
| Yes | Langfuse secret key |
| No | Langfuse host URL (default: |
npx tsx scripts/langfuse-prompt-view.ts <prompt-name> --label=developmentcat << 'EOF' | npx tsx scripts/langfuse-prompt-upsert.ts <prompt-name>
Prompt content goes here...
EOF# Save to /tmp/new-prompt.txt using the Write tool, then:
npx tsx scripts/langfuse-prompt-upsert.ts <prompt-name> /tmp/new-prompt.txtnpx tsx scripts/langfuse-prompt-view.ts <prompt-name> --label=development$variableName| Variable | Purpose |
|---|---|
| Title |
| Main content |
| Search results |
| Conversation history |
| User's question |
.replace('$title', value)developmentproductiondevelopment