安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install service-capacity-window-identifier
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-service-capacity-window-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
service-capacity-window-identifier
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install service-capacity-window-identifier - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 service-capacity-window-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
Service Capacity Window Planner 是一个用于日常服务容量规划的 Openclaw Skills 套件。向它提供包含日期、时间和时区的 capacity_request,它会在 capacity_window 中返回简洁的日期时间值。
此操作在本地运行,需要 Python 3.10 或更高版本,不需要凭据或访问私有文件,也不会建立外部连接或生成持久化的业务产物。其专注的范围使其易于作为服务预约工作流程的一部分运行和检查。
应用场景
当用户提供所需的预约日期、时间和时区时,选择一个容量时段。
在本地工作流程中,根据 JSON 请求运行可重复的容量选择操作。
将简洁的日期时间结果整合到后续预约或规划步骤中。
使用随附的示例请求测试声明的输入和输出行为。
工作原理
准备一个包含所声明 capacity_request 输入的 JSON 请求。
将请求设为包含 date、time 和 timezone 字段的对象。
运行套件的 scripts/run.py 命令,并通过 --input 传入请求文件路径。
此操作会处理所提供的请求,并在 capacity_window 中返回所选日期时间。
检查并报告命令输出,以及存在时的效果回执。非零退出代码表示失败。
配置指南
要求:Python 3.10 或更高版本。套件仅使用 Python 标准库,不需要凭据或外部服务。
在已安装的套件目录中,将实际请求保存为包含 capacity_request 字段的 JSON,然后运行:
python scripts/run.py --input examples/request.json
随附示例展示了输入格式。为用户运行此操作时,请将示例值替换为实际请求。报告命令的实际输出;非零退出代码应视为操作失败。
数据架构
请求和结果
方向 字段 形状或值
输入 capacity_request 包含 date、time 和 timezone 的对象
输出 capacity_window 简洁的日期时间值
套件文件
scripts/operation.py — 所声明操作的实现。
scripts/validation.py — 输入和输出验证。
scripts/config.json — 角色配置。
examples/request.json — 随附的示例请求。
套件包含已配置的本地记录和示例值,以便实现可复现性。它会计算所声明的输出,不进行外部通信或持久化,也不会创建业务产物。
高级特性
使用 Python 3.10+ 在本地独立运行,且仅依赖标准库。
scripts/validation.py
明确验证输入和输出。
使用随附的示例值和已配置的本地记录进行可复现测试。
执行状态说明:报告实际命令输出和任何效果回执;非零退出代码表示失败。
操作范围明确:套件仅执行其声明的操作,不与外部通信,也不持久化结果。
name: service-capacity-window-identifier description: Select a service capacity window. version: 1.1.1 metadata: openclaw: skillKey: service-capacity-window-identifier
Service Capacity Window Planner
Use this skill for routine service capacity planning work when the user asks to select a service capacity window.
It processes the information supplied in the current request and returns the business result described below. It does not require credentials or access to private files.
Input
Field: capacity_request
Date, time, and timezone requested for a service capacity reservation.
Accepted value: object with date, time, timezone.
Output
Field: capacity_window
Return a concise capacity window for the user's current request in the requested output field. The returned value is a date-time.
Example Request
Use the supplied capacity_request to select a service capacity window.
Return the result in capacity_window.
Bundled execution
Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.
python scripts/run.py --input examples/request.json
This operation only computes and returns its output; it does not persist a business artifact.
Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.
The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. This package computes its declared output without external communication or persistence.
部署简报登记
发布分支规划器