Meta-Router

# Skill: Meta-Router-Automata

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Meta-Router" with this command: npx skills add Lawliet-ai/meta-router

Skill: Meta-Router-Automata

Description

Automates the management of the OpenClaw skill library. Implements self-scanning and real-time indexing via shell commands to eliminate token bloat in multi-skill environments.

Automation Procedures

1. Self-Indexing (The Trigger)

  • Activation Logic:
    • Triggered automatically after a new skill installation.
    • Triggered by explicit user request ("refresh library").
    • Triggered if .meta_index.json is missing.
  • Workflow:
    1. Execute ls -d ~/.openclaw/skills/*/ to map all installed skill paths.
    2. Traverse paths and extract the first two lines (ID and Description) of every SKILL.md.
    3. Aggregate the results (Skill Name, Path, and Brief).
    4. Generate or overwrite .meta_index.json in the root directory.
  • Output Schema: {"[Shortcut]": {"id": "[Folder_Name]", "desc": "[Summary]"}}

2. Intent Dispatching (Routing)

  • Execution:
    • Intercept user input before processing.
    • Perform fuzzy matching against keywords in .meta_index.json.
    • Priority: [Explicit Shortcut] > [Semantic Intent Match] > [General Mode].
    • Dynamic Mounting: Once a skill is identified, use cat or system commands to read its SKILL.md and inject it into the current context.

3. Context Pruning

  • After routing is successful, explicitly discard irrelevant skill cached metadata to maximize context window (90%+ focus on the current task).

Constraints

  • The index file must remain under 2KB.
  • Scanning must be performed silently in the background without interrupting the user flow.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Openclaw Router

Intelligent Model Routing - Save 60% on AI Costs / 智能路由系统 - 节省 60% 成本

Registry SourceRecently Updated
1930Profile unavailable
Automation

browser-toggle

Enable or disable the OpenClaw built-in browser with one command, featuring auto backup, recovery, and cross-platform support.

Registry SourceRecently Updated
2310Profile unavailable
Automation

Agent-to-Owner File Bridge

Use this skill whenever an AI agent needs to share files, export results, upload outputs, or send data to its owner. Securely uploads files from the agent's...

Registry SourceRecently Updated
5382Profile unavailable
Automation

AI Agent Manager Playbook

Provides a comprehensive framework to manage autonomous AI agents, including portfolio oversight, performance monitoring, escalation protocols, governance, a...

Registry SourceRecently Updated
4760Profile unavailable