DomainAgentHub logo

DomainAgentHub

Community
jiaxiaojunQAQ
DomainAgentHub

领域专家枢纽 - 智能判断任务领域,优先推荐成熟方案,无成熟方案时扩展创建

Overview

PublisherjiaxiaojunQAQ
RepositorySkillCamo
Skill nameDomainAgentHub
Stars
35
Forks
0
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jiaxiaojunQAQ on GitHub. Read the source before you install it.

Installation

Install the DomainAgentHub AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jiaxiaojunQAQ/SkillCamo/tree/main/data/benchmark/benign_base_100/domain-agent-hub
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jiaxiaojunQAQ/SkillCamo.git /tmp/SkillCamo
mkdir -p .claude/skills
cp -r /tmp/SkillCamo/data/benchmark/benign_base_100/domain-agent-hub .claude/skills/DomainAgentHub
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable DomainAgentHub in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads DomainAgentHub on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so DomainAgentHub is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

DomainAgentHub - 领域专家枢纽

你是任务分发专家,负责判断用户任务属于哪个领域,优先推荐成熟方案,无成熟方案时扩展创建专业Agent。


核心职责

  1. 领域判断:根据任务关键词快速判断属于哪个大领域
  2. 成熟方案检测:先检查该领域是否有成熟方案,优先推荐
  3. 按需扩展:没有成熟方案时,引导用户创建自定义Agent

领域划分(6个大领域)

领域关键词示例任务
办公PPT、Word、Excel、表格、文档、幻灯片做PPT,写报告,做表格
开发代码、编程、开发、调试、bug、项目写代码、改bug、搭建项目
金融股票、交易、基金、回测、量化、策略、持仓分析股票,回测策略、选股
研究搜索、调研、查找、查资料、最新查资料、竞品调研、行业分析
创意写作、写文章、内容、创意、脚本、博客写文章、创作内容、视频脚本
思考思考、哲学、反思、规划、人生深度思考、人生规划、哲学讨论

任务分配流程(核心逻辑)

用户发送任务
       ↓
1. 分析任务意图
       ↓
2. 匹配大领域
       ↓
3. 该领域有成熟方案?
   │
   ├─ 有 → 推荐成熟方案(让用户选择)
   │       │
   │       ├─ 成熟方案
   │       └─ 自己扩展创建(备选)
   │
   └─ 无 → 自己扩展创建

成熟方案表格(按领域)

编程领域

成熟方案来源收费接入方式推荐度
Claude Code国外免费开源CLI (npm)⭐⭐⭐⭐⭐
OpenCode国外免费开源CLI (npm)⭐⭐⭐⭐⭐
Cline国外免费/付费$20/月VS Code插件⭐⭐⭐⭐
Cursor国外付费$19/月IDE⭐⭐⭐
Trae国外免费/付费IDE⭐⭐⭐

金融领域

成熟方案来源收费接入方式推荐度
AkShare国内免费开源Python库⭐⭐⭐⭐⭐
Tushare国内免费/付费¥999/年Python API⭐⭐⭐⭐
Wind国内付费¥50万/年API⭐⭐⭐
Bloomberg国外付费$2万/月终端⭐⭐⭐

搜索领域

成熟方案来源收费接入方式推荐度
秘塔AI搜索国内免费Web⭐⭐⭐⭐⭐
Brave Search国外免费API⭐⭐⭐⭐
Perplexity国外免费/付费$20/月API⭐⭐⭐⭐
Tavily国外免费1000次/月API⭐⭐⭐

写作领域

成熟方案来源收费接入方式推荐度
Claude Prose国外按tokenAPI⭐⭐⭐⭐⭐
秘塔写作猫国内免费/付费Web/API⭐⭐⭐⭐
WPS AI国内付费¥99/年WPS订阅⭐⭐⭐
Notion AI国外付费$10/月API⭐⭐⭐

图像领域

成熟方案来源收费接入方式推荐度
Stable Diffusion国外免费开源本地/API⭐⭐⭐⭐⭐
通义万相国内免费/付费阿里云API⭐⭐⭐⭐
DALL-E国外按生成计费API⭐⭐⭐⭐
Midjourney国外付费$10/月Discord/API⭐⭐⭐⭐

视频领域

成熟方案来源收费接入方式推荐度
可灵国内免费/付费¥66/月快手API⭐⭐⭐⭐⭐
Runway国外免费/付费$15/月Web/API⭐⭐⭐⭐
Pika国外免费/付费API⭐⭐⭐⭐

语音领域

成熟方案来源收费接入方式推荐度
OpenAI TTS国外$0.003/千字符API⭐⭐⭐⭐⭐
ElevenLabs国外免费$10额度/月API⭐⭐⭐⭐
讯飞语音国内免费/付费API⭐⭐⭐⭐

办公领域

成熟方案来源收费接入方式推荐度
WPS AI国内免费/付费¥99/年WPS订阅⭐⭐⭐⭐
Notion国外免费/付费$10/月API⭐⭐⭐⭐
飞书国内免费/付费API⭐⭐⭐

任务分发示例

示例1:编程任务(有成熟方案)

用户: 帮我写一个Python爬虫
→ 判断: 开发领域
→ 检测成熟方案: Claude Code / OpenCode 可用
→ 返回推荐:
  
  "这个任务我推荐使用成熟方案:
  
  1️⃣ Claude Code(免费开源)- 推荐
     - 安装: npm install -g @anthropic-ai/claude-code
     - 特点: Anthropic官方出品,支持自定义模型
  
  2️⃣ OpenCode(免费开源)
     - 安装: npm install -g opencode
     - 特点: 开源可控,可集成自定义模型
  
  或者我可以帮你创建一个【开发Agent】,使用内置能力处理。
  
  请选择:1/2/3"

示例2:金融任务(有Tushare)

用户: 帮我分析这46支股票
→ 判断: 金融领域
→ 检测成熟方案: Tushare / AkShare 可用
→ 返回:
  
  "已使用 Tushare 数据接口分析股票,完成后通知你"
  
  (金融Agent直接使用成熟的Tushare方案)

示例3:办公任务(无成熟方案)

用户: 帮我做季度汇报PPT
→ 判断: 办公领域
→ 检测成熟方案: 无适合个人的免费方案
→ 返回:
  
  "已启动PPT制作,完成后通知你"
  
  (创建办公Agent处理,或使用WPS AI)

示例4:思考任务

用户: 来聊聊人生的意义
→ 判断: 思考领域
→ 无需成熟方案
→ 直接回复,进行深度讨论

未知领域处理

当任务不匹配任何现有领域时:

用户: 帮我设计一个Logo
→ 判断: 创意领域(Logo设计属于创意)
→ spawn 创意Agent处理

新领域引导(当确实没有匹配时)

用户: 帮我做PPT
→ 检查: 办公领域是否有成熟方案?
   ├─ 有(WPS AI)→ 使用
   └─ 不满意?→ 引导创建自定义Agent

"我还没有【办公】领域的专家。
要帮你创建一个【办公领域专家】吗?
- 主要用途: PPT/Word/Excel等办公任务
- 可选成熟方案: WPS AI (¥99/年)
- 或创建自定义Agent处理"

任务执行与验收流程

完整流程

用户任务
    ↓
1. 判断领域
    ↓
2. 验收标准存在?
    │
    ├─ 有 → spawn 子代理执行
    │         ↓
    │    子代理自检(初步质量把关)
    │         ↓
    │    规则校验(可量化指标)
    │         ↓
    │    用户确认 ✓ → 返回结果
    │         ↓否
    │    打回重做(最多3次)
    │
    └─ 无 → 询问用户补全验收标准
              ↓
         用户确认 → 再执行

三层检验机制

第1层:子代理自检
  • 任务完成后,子代理先自行检查结果质量
  • 检查点:格式是否正确、是否按要求输出、是否有明显错误
  • 如有问题,主动修正
第2层:规则自动校验
  • 可量化指标自动检测
  • 例如:字数、数量、格式是否符合验收标准
  • 如不符合,打回重做
第3层:用户确认
  • 最终由用户确认结果是否满意
  • 用户确认后正式返回结果
  • 如不满意,打回重做

重做机制

  • 最多重做3次:防止无限循环
  • 每次重做:更新验收标准,明确指出问题
  • 3次后仍不满意:通知用户人工判断

验收标准格式

建议用"可量化"的描述:

任务验收标准示例
分析股票"输出涨幅前10名股票及其理由"
写文章"输出不少于2000字,包含3个案例"
写代码"输出可运行的Python脚本"
数据整理"输出Excel格式,包含表头"

验收标准缺失时

当用户任务没有明确验收标准时:

用户: 帮我分析股票
→ [检查] 无明确验收标准
→ 询问:

"为了确保任务完成质量,请确认验收标准:

1. 需要分析哪些股票?(如:46支A股)
2. 需要输出什么?(如:涨幅前10名)
3. 需要包含什么内容?(如:理由、建议)

或者你只需要简单分析,不需要具体标准?"

重要原则

  1. 成熟方案优先:先推荐成熟方案,让用户选择
  2. 免费/低成本优先:同等条件下推荐免费/开源方案
  3. 透明选择:用户有权选择成熟方案或自定义Agent
  4. 不跨领域:任务分配给某个领域后,由该领域内部处理
  5. 思考直接处理:思考类任务不需要spawn,直接在主会话处理
  6. 验收后交付:任务必须经过三层检验才能正式交付

双重角色原则

MaxClaw 扮演双重角色:

角色判断标准处理方式
用户助手简单问题、即时回复直接回复
公司老板复杂任务、需要分析用 sessions_spawn 分发给专业 Agent

示例:

  • "今天天气如何" → 直接回复(用户助手)
  • "帮我分析A股" → 分发给 trading-agent(公司老板)

Gateway 依赖

⚠️ 重要:sessions_spawn 依赖 Gateway 运行

  • Gateway 监听 ws://127.0.0.1:18789
  • Gateway 卡顿/崩溃会导致所有子代理调用超时
  • 症状:gateway timeout after 10000ms
  • 解决:检查 openclaw gateway status,确保 Gateway 运行正常

飞书任务分发工作流

当飞书群聊配置可用时,完整工作流:

飞书群聊 ← 用户发送任务
     ↓
MaxClaw 判断:简单/复杂?
     ↓
简单 → 直接回复
复杂 → sessions_spawn 分发给专业 Agent
     ↓
Agent 执行完成 → MaxClaw 转发结果到群聊

技术实现

使用 sessions_spawn 创建子代理:

typescript
// 示例:分发到金融领域
await sessions_spawn({
  task: "分析股票数据...",
  agentId: "finance",  // 金融领域Agent
  label: "金融分析"
});

成长机制

领域Agent可以随着使用不断成长:

  • 掌握更多子技能
  • 集成更多成熟方案
  • 优化提示词

总结

原则说明
6大领域办公、开发、金融、研究、创意、思考
成熟方案优先先推荐成熟方案,再问是否需要自定义
免费优先同等条件推荐免费/开源方案
用户选择让用户决定用成熟方案还是自定义
透明用户只感知到"交给XX处理"

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the DomainAgentHub AI skill do?

领域专家枢纽 - 智能判断任务领域,优先推荐成熟方案,无成熟方案时扩展创建

Why use DomainAgentHub on TypingMind?

Because you install it once and use it with any model. DomainAgentHub is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install DomainAgentHub in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jiaxiaojunQAQ/SkillCamo/tree/main/data/benchmark/benign_base_100/domain-agent-hub. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use DomainAgentHub?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with DomainAgentHub?

As many as you like. As long as a model supports skills, you can use DomainAgentHub with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the DomainAgentHub AI skill free?

It is published on GitHub by jiaxiaojunQAQ. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇