intent-routing

intent-routing is a skill for Claude Code, Codex from TencentCloud/Octop. It costs 95 tokens per session (770 once invoked), scanned A, original, MIT.

A request-routing guide written in Chinese that identifies the type of task and sends it to the relevant workflow, with special handling for medical requests.

In plain words
What is it for?
It helps route writing, coding, research, medical questions, source verification, registration, and subscriptions to the appropriate process.
Why use it?
It prevents unrelated tasks from being forced through medical procedures and separates general work, medical education, source checking, and high-risk clinical requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

Octop is a self-hosted, multi-user AI assistant that runs multiple specialized agents and connects them to chat interfaces, tools, and external services. It is for individuals, families, and teams who want a locally operated assistant with shared experts and persistent capabilities. Catalogue add-ons extend its agent and assistant workflows.

TencentCloud/Octop · 1,496 stars · on GitHub · octop.cloud

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/tencentcloud/octop/intent-routing
Any agent
npx skills add TencentCloud/Octop --skill intent-routing
Clone the repo
git clone --depth 1 https://github.com/TencentCloud/Octop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for intent-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloud/octop/intent-routing.svg)](https://agentmods.dev/skills/tencentcloud/octop/intent-routing)
Your own site
<a href="https://agentmods.dev/skills/tencentcloud/octop/intent-routing"><img src="https://agentmods.dev/badge/skills/tencentcloud/octop/intent-routing.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.00770
Opus 5 $0.00048 $0.00385
Sonnet 5 $0.00019 $0.00154
Haiku 4.5 $0.00010 $0.00077

Measured today against content hash 9be77ee36424, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

intent-routing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/octop/infra/agents/experts/library/clinical-learning-subscription/skills/intent-routing/SKILL.md · 31 lines

What it actually says

意图识别与路由

每次请求按以下顺序渐进判断,命中即执行,不向下继续:

  1. 通用任务(写作/总结/翻译/编程/计划/数据/创意/闲聊)→ 直接完成,不调医学 skill,不要求登记,不套医学规则。
  2. 感知到高危临床诊断或处置(个体诊断、处方剂量、急诊处置、疾病 SOP、报销结论、HIS 规则)→ 拒绝该请求;可建议转为权威指南学习,拒绝后不补充诊疗步骤或用药细节。
  3. 纯信源核验(是否为权威原文、是否最新有效、版本对照、修订/替代/废止关系)→ 先调用 source-verify;遇到阻断、超时、迁移、付费墙或正文不完整时,由它继续调用 medical-source-failover。仍按【信源核验】模板输出,不调用 output-formatvalidate_output.py。如果还要求生成学习内容,再进入下一类。
  4. 普通教育性医学问答(概念解释、常见误区、“这个说法准确吗”,不要求精确推荐/定位且不涉及药品高风险事实)→ clinical-q-and-a 快路径;默认只核验一份国内权威正文,使用内嵌短模板与轻量自检,不调用章节展开、子代理或完整格式校验。
  5. 结构化医学学习(指南学习/章节展开/路径图/学习诊断/备考/医保/指南更新)→ 调对应 skill,从权威指南找信息并注明来源,输出前经 output-format 校验;需保存进度/轨道/诊断/订阅/地区定制时先确认登记。
  6. 登记/订阅(登记/更新/停用/启用推送)→ doctor-registration(登记)/ subscription-setup(订阅,需先登记)。

判断要点

  • 看输出的实质用途,不是是否出现某个词:delivery/import/5 g 数据/iv(变量名)等普通文本不触发医学拦截。
  • 通用任务里出现医学词只是普通文本;只有确实问医学学习/医保或落到个体诊疗时才启用安全域。
  • 主题切换时自然切换,不要求"重新进入模式";路由结果只在内部使用,用户端只看到对应 skill 的正常输出。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +9 lines 9be77ee36424
  2. 7d ago First seen · 22 lines · 95 tokens per session scan A 710f981ef737

Subscribe to this mod's changes

intent-routing is a skill published in the GitHub repository TencentCloud/Octop (1,496 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 770 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

artifact-deploy

One-click deploy a user's pre-built app/artifact into their OWN AWS account and get a global public HTTPS link (Vercel-like), with a default TTL and promote-to-persistent. Use when the user says "deploy this", "ship this demo", "give me a public link", "share this externally", or "deploy to AWS".

kirodotdev/KiroCrew · 74 tokens

explain-for

Explain a topic, a piece of code, an error, or a design decision calibrated to one named audience — a 5-year-old, a 5th grader, a manager, a designer, a graduate student, a parent. Resolves who the explanation is for (from the request, or from what memory already records about that person), establishes the ground…

kirodotdev/KiroCrew · 102 tokens

learn-from-sage

Detection-gap (miss) analysis for Code Review Sage. Learn from shipped fixes, acted-on human comments, and design outcomes to close reviewer blind spots. Inline during review stages a candidate; a human triggers a one-shot AI consolidation into the live ruleset.

kirodotdev/KiroCrew · 56 tokens

mochi-remind

Handle due reminders — notify the user with natural language and mark them done.

kirodotdev/KiroCrew · 20 tokens

agent-initialization

Initialize an Agent's settings from a user requirement by writing AGENTS.md, setting identity metadata, and installing only needed Skills.

Prism-Shadow/penguin-harness · 30 tokens

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a…

Intelligent-Internet/ii-agent · 108 tokens