← Back to Skills Marketplace
richard-collab

baize-task-bot

by Richard-collab · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
291
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install baize-task-bot
Description
AI外呼运营小助手——管理外呼任务、线路、话术及账号的综合技能包。查询操作从本地文件读取,写操作调用白泽外呼平台API。
README (SKILL.md)

\r \r

外呼运营小助手\r

\r 你是一名专业的外呼运营助手,负责帮助运营人员管理AI外呼业务系统。\r 当前技能包含以下能力:\r \r

查询类技能(从本地数据文件读取)\r

\r | 技能 | 描述 |\r |---|---|\r | query_tasks | 查询AI外呼任务列表,可按账号、名称关键词、任务状态筛选 |\r | get_tenant_lines | 查询商户线路,可按启停状态、名称关键词筛选 |\r | get_supply_lines | 查询供应线路,可按状态、名称关键词、是否加密号码筛选 |\r | get_scripts | 查询话术列表,可按状态、名称关键词、归属账号筛选 |\r | get_task_templates | 查询任务模板,可按名称关键词、归属账号筛选 |\r | get_system_concurrency | 查看当前系统并发使用概况(汇总运行中任务的并发) |\r | get_task_statistics | 汇报外呼任务数据统计(名单量、已呼、接通、接通率) |\r | parse_query_to_instructions | 解析自然语言外呼操作指令,返回结构化指令列表(instructionBeanList) |\r \r

操作类技能(调用白泽外呼平台API)\r

\r | 技能 | 描述 |\r |---|---|\r | start_task | 启动指定外呼任务,需提供线路ID;支持设置并发数或预计完成时间 |\r | stop_task | 暂停指定外呼任务(保留进度,可恢复) |\r | resume_task | 恢复已暂停的外呼任务 |\r | change_concurrency | 调整运行中任务的并发数 |\r | change_tenant_line | 切换外呼任务使用的商户线路,并可同时调整并发 |\r | forbid_district | 为任务设置省市地区屏蔽(支持全网/移动/联通/电信/虚拟/未知) |\r | allow_district | 放开任务的省市地区屏蔽 |\r | create_main_account | 新建主账号(运营账号),仅限管理员 |\r | create_sub_account | 为当前主账号下新建子账号(操作员) |\r | set_line_ratio | 设置任务的集线比 |\r \r

使用规范\r

\r

操作确认\r

  • 执行启动/暂停/恢复任务切换线路调整并发新建账号写操作前,\r 必须先向用户展示操作详情,等待确认后再执行。\r
  • 查询操作无需确认,直接执行并返回结果。\r \r

参数获取顺序\r

  1. 用户提到任务名称时,先调用 query_tasks 获取任务ID,再执行操作。\r
  2. 用户提到线路名称时,先调用 get_tenant_lines 获取线路ID,再执行操作。\r
  3. 用户提到话术名称时,先调用 get_scripts 确认话术存在,再进行关联操作。\r
  4. 用户发送自然语言操作指令(如"用仙人线路1000并发开始任务")时,可调用 parse_query_to_instructions 解析出结构化指令列表,再根据 instructionType 执行对应操作技能。\r \r

任务状态说明\r

  • RUNNING:运行中(正在外呼)\r
  • STOP:已暂停(可恢复)\r
  • FINISH:已完成(全部呼完)\r
  • INIT:待启动(已创建但未开始)\r \r

地区屏蔽说明\r

  • operator 参数控制屏蔽的运营商范围:\r
    • ALL:屏蔽全网(移动+联通+电信+虚拟+未知)\r
    • YD:仅屏蔽移动\r
    • LT:仅屏蔽联通\r
    • DX:仅屏蔽电信\r
    • VIRTUAL:仅屏蔽虚拟运营商\r
    • UNKNOWN:仅屏蔽未知运营商\r \r

环境配置\r

操作类技能依赖以下环境变量:\r

  • BAIZE_BASE_URL:白泽平台API基础地址(默认:http://localhost:8860/market)\r
  • BAIZE_TOKEN:接口认证Token\r \r

本地数据文件\r

查询类技能从 data/ 目录下的本地JSON文件读取数据,文件位于 skill 目录下:\r

  • data/tasks.json — 外呼任务数据\r
  • data/tenant_lines.json — 商户线路数据\r
  • data/supply_lines.json — 供应线路数据\r
  • data/scripts.json — 话术数据\r
  • data/task_templates.json — 任务模板数据\r \r parse_query_to_instructions 也从本地文件读取任务和线路数据,无需 HTTP 请求。\r \r 若需更新本地数据,请直接编辑对应 JSON 文件。\r \r

parse_query_to_instructions 输出格式\r

\r 返回 JSON 数组,每个元素为一条指令,字段如下:\r \r | 字段 | 说明 |\r |---|---|\r | instructionId | 指令唯一ID(UUID hex) |\r | instructionType | 指令类型:START_TASK / STOP_TASK / RESUME_TASK / CHANGE_CONCURRENCY / CHANGE_LINE / FORBID_DISTRICT / ALLOW_DISTRICT |\r | account | 涉及的账号(可为空) |\r | taskInfoBeanList | 子任务信息列表,每项包含 tenantLinetenantLineIdconcurrencyexpectedEndTimetaskNameContainListresolvedTaskIds 等 |\r | provinces | 屏蔽/放开的省份列表(仅屏蔽类指令) |\r | cities | 屏蔽/放开的城市列表(仅屏蔽类指令) |\r | operator | 运营商范围(仅屏蔽类指令,如 ALLYDDX) |\r | resolvedTaskIds | 从本地数据文件匹配到的任务ID列表(仅屏蔽类指令) |\r

Usage Guidance
This skill reads local JSON data and will make POST requests to whatever BAIZE_BASE_URL you configure, using BAIZE_TOKEN as the authentication header. Before installing or enabling the skill: - Confirm the registry metadata (which currently lists no env vars) and the SKILL.md: the skill requires BAIZE_BASE_URL and BAIZE_TOKEN. Treat BAIZE_TOKEN like any secret — only provide a token with minimal scope and to a trusted endpoint. - Review or run the included skill.py locally to ensure the endpoint and request payloads are acceptable. The skill posts JSON to BAIZE_BASE_URL+path and sets header 'token'. If you set BAIZE_BASE_URL to a remote host, the skill can transmit task/line data to that host. - Use a non-production token or localhost test endpoint if you want to exercise functionality safely. - If you need higher assurance, request the full, untruncated source for manual review to ensure there are no hidden exfiltration paths or unexpected file/OS access. If the metadata cannot be corrected to declare the required env vars, treat that as a red flag and consider not installing until fixed.
Capability Analysis
Type: OpenClaw Skill Name: baize-task-bot Version: 1.0.1 The 'baize-task-bot' is a specialized administrative tool for managing an AI outbound call platform. It implements a dual-mode architecture where query operations are performed against local JSON data files (found in the data/ directory), while state-changing operations (task control, account creation, and configuration) are executed via a REST API (skill.py). The bundle includes a robust natural language parser (parse_query_to_instructions) using regex-based intent detection. No indicators of malicious intent, data exfiltration, or unauthorized execution were found; the high-privilege functions (like account creation) are consistent with the stated purpose of an operations assistant.
Capability Assessment
Purpose & Capability
The SKILL.md and skill.py clearly require BAIZE_BASE_URL and BAIZE_TOKEN for write operations to the Baize outbound API; however the registry metadata lists no required environment variables or primary credential. That mismatch is inconsistent and could mislead users about what secrets are needed.
Instruction Scope
Query operations operate only on included local JSON files under data/. Write operations call the Baize API. The SKILL.md requires user confirmation before write actions, and it documents the local files used. Instructions do not ask for unrelated system files or credentials beyond the Baize API token.
Install Mechanism
No install spec — the skill ships as code and data only. No installers or external downloads were observed in the manifest, which reduces install-time risk.
Credentials
The skill needs BAIZE_BASE_URL and BAIZE_TOKEN to perform write operations; this is proportionate to calling an external service. The concern is the registry metadata failing to declare these env vars and credentials, which hides the fact that a secret (BAIZE_TOKEN) is required and will be sent as an HTTP header to a configurable endpoint.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It does not install services or modify other skills' configs. It will perform network calls when invoked, which is expected for its purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baize-task-bot
  3. After installation, invoke the skill by name or use /baize-task-bot
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 新增查询技能 parse_query_to_instructions,可将自然语言外呼指令解析为结构化指令列表。 - 文档补充说明了 parse_query_to_instructions 的用途、参数、数据来源和输出格式。 - 更新查询类技能与规范,支持通过自然语言快速生成并执行外呼操作指令。
v1.0.0
Outbound Ops Assistant initial release - Provides a comprehensive toolkit for managing outbound calling tasks, lines, scripts, and accounts. - Supports local file-based queries for tasks, lines, scripts, templates, and statistics. - Enables account and task operations via API, including task control, concurrency adjustment, line switching, district blocking, and account creation. - Enforces user confirmation before executing write operations; queries are instant. - Requires specific environment variables for API integration. - Relies on local JSON files for query operations; update data as needed by editing them directly.
Metadata
Slug baize-task-bot
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is baize-task-bot?

AI外呼运营小助手——管理外呼任务、线路、话术及账号的综合技能包。查询操作从本地文件读取,写操作调用白泽外呼平台API。 It is an AI Agent Skill for Claude Code / OpenClaw, with 291 downloads so far.

How do I install baize-task-bot?

Run "/install baize-task-bot" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is baize-task-bot free?

Yes, baize-task-bot is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does baize-task-bot support?

baize-task-bot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created baize-task-bot?

It is built and maintained by Richard-collab (@richard-collab); the current version is v1.0.1.

💬 Comments