闲社服务运行正常AI智能体自动化平台
i

初始化管理器

技能标识:init-manager

Manage tasks in Init Manager — pick up ready tasks, update status, comment, and close out. Use when assigned tasks via webhook or cron, or when interacting with Init Manager projects.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

初始化管理器

Init Manager 技能

该技能使AI代理能够以Init Manager作为项目管理后端——领取任务、执行工作并完成关闭。

设置

你的工作区需要在TOOLS.md或环境中包含以下内容:

  • - Init Manager URL(例如 https://manager.init.hr)
  • API密钥(Bearer令牌,以initm_开头)
  • 你的用户ID(UUID)

AI指南(指令层级)

共有三级AI指令。始终遵循它们。 冲突时更具体的指令优先:

  1. 1. 全局AI指南 — GET /api/settings?key=aiglobalguide
  2. 按用户AI指南 — GET /api/users/<你的用户ID> → aiGuide字段
  3. 项目AI指南 — GET /api/projects/<项目ID> → aiGuide字段

首次启动及定期: 获取全部三级指令并遵循合并后的指令。

任务工作流

  1. 1. 领取分配给您的ready状态任务
  2. 开始工作前移至in_progress
  3. 编写代码前阅读完整描述 + 所有评论 + 项目AI指南
  4. 如果不确定 — 发表评论请求澄清,保持ready状态,分配给人类
  5. 完成后 — 移至done,添加包含提交/PR链接及摘要的评论
  6. 如果受阻 — 发表评论说明详情,分配给人类

API参考

认证

所有请求需要:

Authorization: Bearer initm_<你的密钥>

关键端点

操作方法端点
列出项目GET/api/projects
项目看板
GET | /api/projects//board | | 项目详情 | GET | /api/projects/ | | 列出任务 | GET | /api/tasks?assignee=me&status=ready | | 获取任务 | GET | /api/tasks/ | | 更新任务 | PATCH | /api/tasks/ | | 移动任务 | POST | /api/tasks//move | | 创建任务 | POST | /api/tasks | | 添加评论 | POST | /api/tasks//comments | | 分配用户 | POST | /api/tasks//assign | | 完成分配 | POST | /api/tasks//complete | | 活动日志 | GET | /api/activity | | 全局AI指南 | GET | /api/settings?key=aiglobalguide |

创建任务

POST /api/tasks
{
projectId: ,
title: 任务标题,
type: task, // epic | task | bug
status: backlog, // backlog | ready | in_progress | done | verified
priority: medium, // low | medium | high | urgent
description: ..., // 纯文本或Tiptap JSON
parentId: , // 可选,创建子任务
dueDate: 2026-03-01T00:00:00.000Z
}

更新任务

PATCH /api/tasks/
{
status: in_progress,
title: 新标题,
priority: high
}

所有字段可选 — 仅包含需要更改的内容。

添加评论

POST /api/tasks//comments
{
body: 你的评论文本
}

⚠️ 使用body字段,而非content。

分配用户

POST /api/tasks//assign
{ userId: }

标签

GET /api/labels?projectId=
POST /api/labels { name: Bug, color: #ef4444, projectId: }
POST /api/tasks//labels { labelId: }
DELETE /api/tasks//labels { labelId: }

行为说明

  • - 任务移至done或verified时,分配自动完成
  • 将任务移回ready/backlog会清除通知标记和分配完成状态
  • 通过API创建的评论标记为viaApi: true
  • 任务键(例如IMG-32)从项目前缀自动生成

错误响应

json
{ error: 描述 }

状态码含义
400错误请求/验证失败
401
无效或缺失API密钥 | | 403 | 您的角色不允许 | | 404 | 资源未找到 | | 409 | 冲突 | | 500 | 服务器错误 |

常用工作流:检查任务

bash

获取所有项目


curl -H Authorization: Bearer $KEY $URL/api/projects

检查每个项目看板中分配给您的ready状态任务

curl -H Authorization: Bearer $KEY $URL/api/projects/$PID/board

领取任务

curl -X PATCH -H Authorization: Bearer $KEY -H Content-Type: application/json \ -d {status:in_progress} $URL/api/tasks/$TID

... 执行工作 ...

完成任务

curl -X PATCH -H Authorization: Bearer $KEY -H Content-Type: application/json \ -d {status:done} $URL/api/tasks/$TID

curl -X POST -H Authorization: Bearer $KEY -H Content-Type: application/json \
-d {body:完成。提交:https://...} $URL/api/tasks/$TID/comments

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 init-manager-1776420057 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 init-manager-1776420057 技能

通过命令行安装

skillhub install init-manager-1776420057

下载

⬇ 下载 init-manager v1.0.1(免费)

文件大小: 2.69 KB | 发布时间: 2026-4-17 20:08

v1.0.1 最新 2026-4-17 20:08
- Expanded and clarified usage instructions in SKILL.md, including required setup and workflow for managing tasks in Init Manager.
- Added a detailed guide on AI instruction hierarchy and when to fetch guides.
- Provided comprehensive API reference with authentication, endpoints, and example request payloads.
- Documented common task workflow, error responses, and implementation-specific behavior notes.
- Updated setup section for required environment variables and prerequisites.
返回顶部