maxkb-agents

For querying the list of published agents for an LLM to choose from, then initiating a conversation with a specified agent name and returning its response.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "maxkb-agents" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-28f2c0465165d7def80dff4c470cdd9cfca8b2048e109bdd1eb15ac99ce32f10. Verify the upstream source and version against https://skillhub.cn/skills/user_9aad82af/maxkb-v2 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For querying the list of published agents for an LLM to choose from, then initiating a conversation with a specified agent name and returning its response.

0 Downloads

Introduction source: third_party · user_9aad82af · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
| Variable | Description Default |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- `MAXKB_DOMAIN` MaxKB service address `<maxkb_domain>` Zenium `MAXKB_TOKEN` Bearer Token (API Key) `MAXKB_WORKSPACE_ID` Workspace ID `default` Zenium `MAXKB_USERNAME` | Login username (over TOKEN) | `MAXKB_PASSWORD` | Login Password (over TOKEN) |
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: maxkb_agents
description: 查询已发布智能体列表供 LLM 选择,再按指定智能体名称发起对话并返回回答。

chat_to_agents — 智能路由与调用

功能描述

本 Skill 提供两个工具函数,配合宿主智能体的 LLM 完成路由与调用:

函数 作用
list_agents 返回所有已发布智能体的 name 和 desc,供 LLM 判断选择
chat_to_agent 按 LLM 指定的 agent_name 调用对应智能体,返回回答

推荐调用流程

用户提问
   │
   ▼
LLM 调用 list_agents()          ← 获取智能体列表
   │  返回 [{"name":..., "desc":...}, ...]
   ▼
LLM 根据问题选出最合适的 agent_name
   │
   ▼
LLM 调用 chat_to_agent(question, agent_name)  ← 发起对话
   │  返回 {"agent_name":..., "answer":...}
   ▼
将 answer 返回给用户

list_agents

python3 scripts/main.py 

无需参数,返回 JSON 数组:

[
  {"name": "客服助手", "desc": "处理用户常见问题"},
  {"name": "代码助手", "desc": "辅助编写和审查代码"}
]

chat_to_agent

python3 scripts/main.py <question> <agent_name>
参数 类型 说明
question string 用户的问题文本
agent_name string 由 LLM 从 list_agents 结果中选定的名称

返回 JSON 字符串:

字段 类型 说明
agent_name string 实际调用的智能体名称
answer string 智能体的回答内容

示例:

{
  "agent_name": "客服助手",
  "answer": "您好,有什么可以帮助您的?"
}

环境变量

变量 说明 默认值
MAXKB_DOMAIN MaxKB 服务地址 <maxkb_domain>
MAXKB_TOKEN Bearer Token(管理员 API Key) —
MAXKB_WORKSPACE_ID 工作空间 ID default
MAXKB_USERNAME 登录用户名(优先于 TOKEN) —
MAXKB_PASSWORD 登录密码(优先于 TOKEN) —

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供智能体列表查询与路由调用能力,显著提升多智能体协作效率
  • 适用于自动化任务分发与智能路由场景
Trigger Precision65/100

Areas to improve

  • 触发词描述不够具体 Reported severity: Minor

    description 描述了功能但未提供具体触发词示例,可能导致 LLM 难以准确识别调用时机

    Recommendation: 补充具体触发词示例,如“列出所有智能体”、“调用客服助手”等

Structure and Standards90/100

Areas to improve

  • 文档排版可优化 Reported severity: Minor

    部分代码块缩进不一致,表格与代码块之间缺少空行

    Recommendation: 统一代码块缩进,增加适当空行提升可读性

Execution Reliability55/100

Areas to improve

  • 依赖脚本缺失 Reported severity: Major

    Skill 依赖 scripts/main.py 但未提供该文件内容

    Recommendation: 补充 scripts/main.py 文件内容或说明获取方式

  • 错误处理机制缺失 Reported severity: Major

    未说明网络异常、认证失败、智能体不存在等场景的处理方式

    Recommendation: 补充错误处理说明,如重试机制、异常返回格式等

Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 82

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

| Variable | Description Default |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- `MAXKB_DOMAIN` MaxKB service address `<maxkb_domain>` Zenium `MAXKB_TOKEN` Bearer Token (API Key) `MAXKB_WORKSPACE_ID` Workspace ID `default` Zenium `MAXKB_USERNAME` | Login username (over TOKEN) | `MAXKB_PASSWORD` | Login Password (over TOKEN) |

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.