简介
Init Manager 的官方 AI 技能,支持任务领取、状态流转、评论交互与闭环管理,适用于 webhook/cron 触发的自动化工作流。
原始描述
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 w...
通过你的 Agent 添加
安装目录:init-manager/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
init-manager 是 Init Manager 项目管理平台的官方 AI 集成技能,使 AI Agent 能够以项目成员身份参与完整任务生命周期。核心能力包括:
- 任务领取:查询
ready状态且分配给自己的任务,自动迁移至in_progress - 智能决策:遵循三级 AI 指令层级(全局→用户→项目),冲突时以具体指令为准
- 协作沟通:支持评论澄清、人工升级、阻塞上报等人机协作机制
- 闭环管理:任务完成后迁移至
done,附带提交摘要与代码链接
显著优点
- 原生集成:直接对接 Init Manager REST API,非第三方逆向实现
- 指令分层:三级 AI Guide 机制确保行为可定制,避免全局硬编码
- 状态机完整:覆盖 backlog→ready→in_progress→done→verified 全生命周期
- 安全设计:Bearer Token 认证(
initm_前缀),API 调用标记来源(viaApi: true) - Webhook/Cron 友好:专为自动化触发场景设计,支持无人值守任务处理
潜在局限
- 平台绑定:仅限 Init Manager 生态,无法迁移至 Jira/Trello/Linear 等竞品
- 人工依赖:复杂决策仍需人工介入("assign to a human" 为推荐路径)
- 网络依赖:所有操作需实时 API 调用,离线环境不可用
- 权限模型:角色权限冲突时返回 403,需预配置合适角色
适合人群
- 使用 Init Manager 作为 PM 后端的开发团队
- 需要 AI 自动化处理标准化任务(代码审查、文档更新、数据迁移)的场景
- 已配置 webhook/cron 触发器的 CI/CD 流水线
常规风险
| 风险点 | 说明 |
|---|---|
| 指令冲突 | 三级 AI Guide 若配置矛盾,可能导致行为不可预测 |
| 状态误迁移 | 自动化脚本逻辑缺陷可能错误关闭任务或跳过验证环节 |
| 令牌泄露 | initm_ 密钥泄露可导致项目数据被恶意操作 |
| 评论噪音 | 高频自动化评论可能淹没人工讨论,建议控制频率 |
| 回滚复杂 | 任务移至 done 后自动完成 assignment,回退需手动重置多状态 |
安全建议
- API Key 存储于环境变量或密钥管理系统,禁止硬编码
- 为 AI Agent 配置最小权限角色(建议仅能操作
ready/in_progress/done) - 生产环境启用 API 调用审计日志,监控异常状态流转模式
技能正文
name: init-manager description: 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. metadata: openclaw: requires: {}
Init Manager Skill
This skill enables AI agents to work with Init Manager as a project management backend — picking up tasks, doing work, and closing them out.
Setup
Your workspace needs these in TOOLS.md or environment:
- Init Manager URL (e.g.
https://manager.init.hr) - API Key (Bearer token, starts with
initm_) - Your User ID (UUID)
AI Guides (Instruction Hierarchy)
There are three levels of AI instructions. Always follow them. More specific wins on conflict:
- Global AI Guide —
GET /api/settings?key=ai_global_guide - Per-User AI Guide —
GET /api/users/<your-user-id>→aiGuidefield - Project AI Guide —
GET /api/projects/<project-id>→aiGuidefield
On first boot and periodically: fetch all three and follow the combined instructions.
Task Workflow
- Pick up tasks in
readystatus assigned to you - Move to
in_progressbefore starting work - Read full description + all comments + project AI guide before writing code
- If unsure — comment asking for clarification, keep in
ready, assign to a human - When done — move to
done, add comment with commit/PR link + summary - If blocked — comment with details, assign to a human
API Reference
Authentication
All requests need:
Authorization: Bearer initm_<your-key>
Key Endpoints
| Action | Method | Endpoint |
|---|---|---|
| List projects | GET | /api/projects |
| Project board | GET | /api/projects/<id>/board |
| Project details | GET | /api/projects/<id> |
| List tasks | GET | /api/tasks?assignee=me&status=ready |
| Get task | GET | /api/tasks/<id> |
| Update task | PATCH | /api/tasks/<id> |
| Move task | POST | /api/tasks/<id>/move |
| Create task | POST | /api/tasks |
| Add comment | POST | /api/tasks/<id>/comments |
| Assign user | POST | /api/tasks/<id>/assign |
| Complete assignment | POST | /api/tasks/<id>/complete |
| Activity log | GET | /api/activity |
| Global AI guide | GET | /api/settings?key=ai_global_guide |
Create a Task
POST /api/tasks
{
"projectId": "<uuid>",
"title": "Task title",
"type": "task", // epic | task | bug
"status": "backlog", // backlog | ready | in_progress | done | verified
"priority": "medium", // low | medium | high | urgent
"description": "...", // plain text or Tiptap JSON
"parentId": "<uuid>", // optional, makes subtask
"dueDate": "2026-03-01T00:00:00.000Z"
}
Update a Task
PATCH /api/tasks/<id>
{
"status": "in_progress",
"title": "New title",
"priority": "high"
}
All fields optional — only include what changes.
Add a Comment
POST /api/tasks/<id>/comments
{
"body": "Your comment text"
}
⚠️ Use body field, not content.
Assign a User
POST /api/tasks/<id>/assign
{ "userId": "<uuid>" }
Labels
GET /api/labels?projectId=<uuid>
POST /api/labels { "name": "Bug", "color": "#ef4444", "projectId": "<uuid>" }
POST /api/tasks/<id>/labels { "labelId": "<uuid>" }
DELETE /api/tasks/<id>/labels { "labelId": "<uuid>" }
Behavior Notes
- Assignments auto-complete when task moves to
doneorverified - Moving task back to
ready/backlogclears notification flags and assignment completion - Comments created via API are flagged
viaApi: true - Task keys (e.g.
IMG-32) are auto-generated from project prefix
Error Responses
{ "error": "Description" }
| Status | Meaning |
|---|---|
| 400 | Bad request / validation |
| 401 | Invalid or missing API key |
| 403 | Not allowed for your role |
| 404 | Resource not found |
| 409 | Conflict |
| 500 | Server error |
Common Workflow: Check for Tasks
# Get all projects
curl -H "Authorization: Bearer $KEY" $URL/api/projects
# Check each project board for ready tasks assigned to you
curl -H "Authorization: Bearer $KEY" $URL/api/projects/$PID/board
# Pick up a task
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"status":"in_progress"}' $URL/api/tasks/$TID
# ... do the work ...
# Close it out
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":"Done. Commit: https://..."}' $URL/api/tasks/$TID/comments
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。