An automated optimization engine that tunes model routing and prompt usage based on real-time LangFuse performance data.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install langfuse-continuous-optimizer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install langfuse-continuous-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Langfuse Continuous Optimizer is a sophisticated tool designed to create a closed-loop system for AI agent performance. By ingesting observations and evaluator scores directly from LangFuse, this skill enables your agents to adapt their behavior dynamically. It bridges the gap between observability and execution, allowing developers to automate the complex trade-offs between cost, quality, and latency within their Openclaw Skills ecosystem.
This skill is entirely self-contained, providing both a policy builder and a continuous optimization daemon. It generates task-level routing policies that ensure your agent uses the most efficient model for specific sub-tasks, such as planning, tool selection, or summarization, based on historical performance data rather than static configurations.
To integrate this into your existing Openclaw Skills, ensure you have your LangFuse credentials ready. Install the dependencies and use the following commands to start the optimization loop:
# Run a single optimization cycle
python scripts/langfuse_openclaw_optimizer.py run-once \
--langfuse-host https://us.cloud.langfuse.com \
--window-hours 24 \
--out-dir ~/.openclaw/optimizer \
--live-policy-path ~/.openclaw/llm_routing_policy.json \
--promote-live-policy
# Launch the optimizer as a continuous background daemon
python scripts/langfuse_openclaw_optimizer.py daemon --interval-min 30 --save-config
Required Environment Variables:
LANGFUSE_PUBLIC_KEYLANGFUSE_SECRET_KEYThe skill manages several key artifacts to ensure consistent operation and transparency:
| Artifact | Format | Description |
|---|---|---|
llm_routing_policy.json |
JSON | The production-ready routing policy consumed by the LLM runtime. |
staged_policy.json |
JSON | The candidate policy generated during the current cycle for evaluation. |
memory.json |
JSON | A persistent state file tracking cycle history and performance gains. |
config.json |
JSON | Persisted CLI flags and configuration settings. |
Loading
A professional skill for generating modular, argument-driven book chapters and theoretical essays through structured 800-1000 word conceptual units.

A high-performance file transfer utility for OpenClaw nodes that uses native Node.js streaming to bypass memory limits and encoding overhead.

A specialized skill for transforming raw information into aesthetically pleasing, mobile-first newspaper-style summary images.

A sophisticated management framework that enables an AI agent to function as a CEO, delegating execution and validation to specialized child agents.

Clawnet is a stealth Chromium browser skill for AI agents that automates bot bypass, residential proxy management, and CAPTCHA solving.

A professional-grade, dual-persona coaching system that delivers science-backed fitness and nutrition guidance through evidence-based research.








































