← 返回
效率工具 Key 中文

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 w...
在 Init Manager 中管理任务——领取就绪任务、更新状态、评论并关闭。用于通过 webhook 或 cron 接收任务,或在交互时使用。
tomislavpet
效率工具 clawhub v1.0.1 1 版本 99789 Key: 需要
★ 0
Stars
📥 946
下载
💾 8
安装
1
版本
#latest

概述

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:

  1. Global AI GuideGET /api/settings?key=ai_global_guide
  2. Per-User AI GuideGET /api/users/aiGuide field
  3. Project AI GuideGET /api/projects/aiGuide field

On first boot and periodically: fetch all three and follow the combined instructions.

Task Workflow

  1. Pick up tasks in ready status assigned to you
  2. Move to in_progress before starting work
  3. Read full description + all comments + project AI guide before writing code
  4. If unsure — comment asking for clarification, keep in ready, assign to a human
  5. When done — move to done, add comment with commit/PR link + summary
  6. If blocked — comment with details, assign to a human

API Reference

Authentication

All requests need:

Authorization: Bearer initm_<your-key>

Key Endpoints

ActionMethodEndpoint
--------------------------
List projectsGET/api/projects
Project boardGET/api/projects//board
Project detailsGET/api/projects/
List tasksGET/api/tasks?assignee=me&status=ready
Get taskGET/api/tasks/
Update taskPATCH/api/tasks/
Move taskPOST/api/tasks//move
Create taskPOST/api/tasks
Add commentPOST/api/tasks//comments
Assign userPOST/api/tasks//assign
Complete assignmentPOST/api/tasks//complete
Activity logGET/api/activity
Global AI guideGET/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 done or verified
  • Moving task back to ready/backlog clears 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" }
StatusMeaning
-----------------
400Bad request / validation
401Invalid or missing API key
403Not allowed for your role
404Resource not found
409Conflict
500Server 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

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 10:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 432 📥 103,753
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,802
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,232