← Back to Skills Marketplace
Routing Optimization
by
daxiangnaoyang
· GitHub ↗
· v1.0.0
· MIT-0
113
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install routing-optimization
Description
基于调度日志数据收集、分析和A/B测试,动态优化routing规则以提升调度命中率和准确性。
Usage Guidance
Before installing or enabling this skill, verify the following: (1) Where and how dispatch_logs will be provided (files, DB, API) and ensure the agent is granted only the minimum read access necessary; (2) Confirm and review the implementations of helper functions referenced (match_route, get_base_priority, calculate_avg_accuracy, calculate_avg_time) so you know exactly how routing rules will be evaluated and modified; (3) Keep enable_auto_optimization disabled in production until you have validated results in staging, and require human approval for any automated rule changes; (4) Check that logs do not contain sensitive PII or credentials, and if they do, sanitize or restrict access; (5) Audit any integration code that actually writes routing changes to your systems — the SKILL.md is example code and does not show how writes are performed; (6) Because this is instruction-only, there are no bundled binaries or external downloads, but you should still monitor network activity from the environment where the skill runs to detect any unexpected exfiltration. If you need higher assurance, request concrete integration code or an implementation that clearly documents data flows and access controls.
Capability Analysis
Type: OpenClaw Skill
Name: routing-optimization
Version: 1.0.0
The routing-optimization skill bundle is designed to analyze and improve agent routing rules through hit-rate analysis, A/B testing, and accuracy metrics. The provided Python and PowerShell code in SKILL.md focuses on processing dispatch logs and generating optimization suggestions based on performance data. While the PowerShell function Optimize-RoutingRules contains a hardcoded path to a local configuration file, the logic is consistent with the stated purpose and lacks any indicators of malicious intent, data exfiltration, or unauthorized command execution.
Capability Assessment
Purpose & Capability
The name/description (routing optimization via log collection, A/B testing, and priority adjustment) matches the SKILL.md and config.json. There are no unrelated required env vars, binaries, or install steps.
Instruction Scope
SKILL.md contains analysis and optimization functions (hit-rate, accuracy, A/B testing, dynamic priority) and PowerShell examples. It does not instruct the agent to read arbitrary system files, environment secrets, or send data to external endpoints. However, the document is example-driven and somewhat abstract: it assumes the availability of dispatch_logs and helper functions (match_route, get_base_priority, calculate_avg_accuracy, etc.) without specifying how logs are obtained or where changes are applied. That vagueness means the integration point (where logs come from and how rules are written back) should be reviewed before deployment.
Install Mechanism
This is an instruction-only skill with no install spec and no code files executed by the platform, so nothing is written to disk by an installer and there are no third-party downloads or package installs to review.
Credentials
The skill declares no required environment variables, credentials, or config paths. Its needs (access to dispatch logs and the ability to apply routing changes) are proportional to the stated purpose, but granting those accesses is the primary operational risk and should be scoped appropriately.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. The included config (config.json) sets auto-optimization to false by default, reducing the risk of autonomous changes unless the operator enables them.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install routing-optimization - After installation, invoke the skill by name or use
/routing-optimization - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the Routing Optimization skill.
- Collects routing hit rate and accuracy statistics for insightful analysis.
- Analyzes rule effectiveness, highlighting frequently hit, missed, or low-accuracy routing rules.
- Provides A/B testing functionality to compare different routing strategies based on accuracy and dispatch time.
- Supports dynamic adjustment of routing rule priorities driven by real-time performance data.
- Includes both Python and PowerShell implementations for data analysis and rule optimization.
Metadata
Frequently Asked Questions
What is Routing Optimization?
基于调度日志数据收集、分析和A/B测试,动态优化routing规则以提升调度命中率和准确性。 It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.
How do I install Routing Optimization?
Run "/install routing-optimization" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Routing Optimization free?
Yes, Routing Optimization is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Routing Optimization support?
Routing Optimization is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Routing Optimization?
It is built and maintained by daxiangnaoyang (@daxiangnaoyang); the current version is v1.0.0.
More Skills