promptlayer
Installation
SKILL.md
PromptLayer
Interact with PromptLayer's REST API for prompt management, logging, evals, and observability.
Setup
Set PROMPTLAYER_API_KEY env var. Run scripts/setup.sh to configure, or add to ~/.openclaw/.env.
CLI — scripts/pl.sh
# Prompt Templates
pl.sh templates list [--name <filter>] [--label <label>]
pl.sh templates get <name|id> [--label prod] [--version 3]
pl.sh templates publish # JSON on stdin
pl.sh templates labels # List release labels
# Log an LLM request (JSON on stdin)
echo '{"provider":"openai","model":"gpt-4o",...}' | pl.sh log