agentleFS
lza6lza6/claw-code-tingfeng/skills/intent_router/SKILL.md

intent_router

Skill5 starsChanged 12 days agoMITView on GitHub

自动根据关键字路由到相应技能

The file

Files
SKILL.md

Overview

实现基于关键字的意图路由,利用 src/agent/keyword_registry.py 中的映射表,将用户输入匹配的技能自动激活。

When to Use

当用户发送自然语言指令,需要自动触发相应的技能时。

Implementation

  1. 在 src/agent/intent_router.py 中读取 keyword_registry。
  2. 匹配输入文本 → 对应技能名称。
  3. 调用 Skill API 执行。

Tests

  • 单元测试验证关键词映射
  • 集成测试确保能够触发相应技能

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.