Rechercher

PythonReactSEOPDF
OpenClaw

semantic-router

让 AI 代理根据对话内容自动选择最合适的模型。四层识别(系统过滤→关键词→指示词→语义相似度),四池架构(高速/智能/人文/代理),五分支路由,全自动 Fallback 回路。支持 trigger_groups_all 非连续词组命中。

halfmoon820 installations selon la source☆ 0 Étoiles du dépôtv7.9.5

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install halfmoon82/semantic-router

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

🔒 安全声明:本技能需要修改 OpenClaw 配置以实现模型路由功能。所有配置变更前会自动备份,支持一键回滚。建议在测试环境验证后再部署到生产环境。

⚠️ Security & Permissions Declaration

This skill performs the following privileged operations — all are intentional and explicitly user-initiated:

Operation Purpose Scope
Read/patch ~/.openclaw/openclaw.json Configure model routing pools Local config only
Read/write ~/.openclaw/workspace/.lib/pools.json Store model pool configuration Workspace only
Read/write ~/.openclaw/workspace/.lib/tasks.json Store task type definitions Workspace only
Run semantic_check.py locally Classify user messages for routing No network required
Patch session model via sessions.patch Switch active model pool Current session only
Restart OpenClaw Gateway (openclaw gateway restart) Apply routing config changes Local service only
Inject prependContext into agent turns Output routing declaration in first line Read-only context injection
Update Cron Job sessionTarget to "isolated" Prevent background tasks from polluting user sessions Affects only background Cron jobs

What this skill does NOT do:

  • Does NOT exfiltrate conversation content or model credentials to external servers
  • Does NOT access API keys or secrets directly
  • Does NOT modify files outside ~/.openclaw/ and the skill's own workspace
  • Does NOT run with elevated (sudo/root) privileges
  • Does NOT auto-install additional packages

Requires: Python 3.8+, OpenClaw Gateway running, configured model providers

🔷 Semantic Router v7.9.3 — 生产级会话路由系统 🔷

ClawHub: https://clawhub.ai/halfmoon82/semantic-router
版本: 7.6.3 (生产环境)
作者: halfmoon82 状态: ✅ ROM 级固化,完全测试通过

🎯 这个技能解决什么问题?

核心问题(v7.2 新解决)

你是否遇到过:

  • Cron Job 导致会话频繁重置 — 后台定时任务打断用户交互
  • **Discord/T...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/halfmoon82/semantic-router
Version
7.9.5
Commit
b353d16b402d949e23bc06928ec1bdffd6b1b3f1
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

Semantic Router

Version License Status

Production-grade session routing system for OpenClaw agents.

Automatically select the optimal AI model based on conversation context. Four-layer recognition (system filtering → keywords → indicators → semantic similarity), four-pool architecture (Highspeed/Intelligence/Humanities/Agentic), five-branch routing with automatic fallback.

🎯 What Problem Does This Solve?

  • Cron Jobs resetting user sessions — Background tasks interrupting active conversations
  • Discord/Telegram sessions suddenly clearing — Long tasks losing context
  • AGENTS.md injection failures — Large files exceeding 20KB limit
  • Model switching overridden by global config — Routing not taking effect

⚠️ Security & Permissions Declaration

This skill performs privileged operations — all are intentional and user-initiated:

Operation Purpose Scope
Read/patch ~/.openclaw/openclaw.json Configure model routing pools Local config only
Read/write ~/.openclaw/workspace/.lib/pools.json Store model pool configuration Workspace only
Read/write ~/.openclaw/workspace/.lib/tasks.json Store task type definitions Workspace only
Run semantic_check.py locally Classify user messages for routing No network required
Patch session model via sessions.patch Switch active model pool Current session only
Restart OpenClaw Gateway Apply routing config changes Local service only
Update Cron Job sessionTarget Isolate background tasks from user sessions Cron jobs only

What this skill does NOT do:

  • Does NOT exfiltrate data to external ser...

Contenu extrait

SKILL.md
> 🔒 **安全声明**:本技能需要修改 OpenClaw 配置以实现模型路由功能。所有配置变更前会自动备份,支持一键回滚。建议在测试环境验证后再部署到生产环境。

## ⚠️ Security & Permissions Declaration

**This skill performs the following privileged operations — all are intentional and explicitly user-initiated:**

| Operation | Purpose | Scope |
|-----------|---------|-------|
| Read/patch `~/.openclaw/openclaw.json` | Configure model routing pools | Local config only |
| Read/write `~/.openclaw/workspace/.lib/pools.json` | Store model pool configuration | Workspace only |
| Read/write `~/.openclaw/workspace/.lib/tasks.json` | Store task type definitions | Workspace only |
| Run `semantic_check.py` locally | Classify user messages for routing | No network required |
| Patch session model via `sessions.patch` | Switch active model pool | Current session only |
| Restart OpenClaw Gateway (`openclaw gateway restart`) | Apply routing config changes | Local service only |
| Inject `prependContext` into agent turns | Output routing declaration in first line | Read-only context injection |
| Update Cron Job `sessionTarget` to `"isolated"` | Prevent background tasks from polluting user sessions | Affects only background Cron jobs |

**What this skill does NOT do:**
- Does NOT exfiltrate conversation content or model credentials to external servers
- Does NOT access API keys or secrets directly
- Does NOT modify files outside `~/.openclaw/` and the skill's own workspace
- Does NOT run with elevated (sudo/root) privileges
- Does NOT auto-install additional packages

**Requires:** Python 3.8+, OpenClaw Gateway running, configured model providers

# 🔷 Semantic Router v7.9.3 — 生产级会话路由系统 🔷

**ClawHub**: https://clawhub.ai/halfmoon82/semantic-router  
**版本**: 7.6.3 (生产环境)  
**作者**: halfmoon82
**状态**: ✅ ROM 级固化,完全测试通过

## 🎯 这个技能解决什么问题?

### 核心问题(v7.2 新解决)

你是否遇到过:
- **Cron Job 导致会话频繁重置** — 后台定时任务打断用户交互
- **Discord/T...
README
# Semantic Router

[![Version](https://img.shields.io/badge/version-7.9.5-blue)](https://clawhub.ai/halfmoon82/semantic-router)
[![License](https://img.shields.io/badge/license-MIT--0-green)](https://spdx.org/licenses/MIT-0.html)
[![Status](https://img.shields.io/badge/status-production_ready-brightgreen)](https://clawhub.ai/halfmoon82/semantic-router)

> **Production-grade session routing system for OpenClaw agents.**

Automatically select the optimal AI model based on conversation context. Four-layer recognition (system filtering → keywords → indicators → semantic similarity), four-pool architecture (Highspeed/Intelligence/Humanities/Agentic), five-branch routing with automatic fallback.

## 🎯 What Problem Does This Solve?

- **Cron Jobs resetting user sessions** — Background tasks interrupting active conversations
- **Discord/Telegram sessions suddenly clearing** — Long tasks losing context
- **AGENTS.md injection failures** — Large files exceeding 20KB limit
- **Model switching overridden by global config** — Routing not taking effect

## ⚠️ Security & Permissions Declaration

**This skill performs privileged operations — all are intentional and user-initiated:**

| Operation | Purpose | Scope |
|-----------|---------|-------|
| Read/patch `~/.openclaw/openclaw.json` | Configure model routing pools | Local config only |
| Read/write `~/.openclaw/workspace/.lib/pools.json` | Store model pool configuration | Workspace only |
| Read/write `~/.openclaw/workspace/.lib/tasks.json` | Store task type definitions | Workspace only |
| Run `semantic_check.py` locally | Classify user messages for routing | No network required |
| Patch session model via `sessions.patch` | Switch active model pool | Current session only |
| Restart OpenClaw Gateway | Apply routing config changes | Local service only |
| Update Cron Job `sessionTarget` | Isolate background tasks from user sessions | Cron jobs only |

**What this skill does NOT do:**
- Does NOT exfiltrate data to external ser...

Skills associés

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

0xarchive

0xfantommenace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...

OpenClaw

1sec-security

cutmob

Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...