{"skill":{"slug":"init-manager","displayName":"Init Manager","summary":"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...","description":"---\nname: init-manager\ndescription: 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.\nmetadata:\n  openclaw:\n    requires: {}\n---\n\n# Init Manager Skill\n\nThis skill enables AI agents to work with [Init Manager](https://manager.init.hr) as a project management backend — picking up tasks, doing work, and closing them out.\n\n## Setup\n\nYour workspace needs these in `TOOLS.md` or environment:\n- **Init Manager URL** (e.g. `https://manager.init.hr`)\n- **API Key** (Bearer token, starts with `initm_`)\n- **Your User ID** (UUID)\n\n## AI Guides (Instruction Hierarchy)\n\nThere are three levels of AI instructions. **Always follow them.** More specific wins on conflict:\n\n1. **Global AI Guide** — `GET /api/settings?key=ai_global_guide`\n2. **Per-User AI Guide** — `GET /api/users/<your-user-id>` → `aiGuide` field\n3. **Project AI Guide** — `GET /api/projects/<project-id>` → `aiGuide` field\n\n**On first boot and periodically:** fetch all three and follow the combined instructions.\n\n## Task Workflow\n\n1. **Pick up** tasks in `ready` status assigned to you\n2. **Move to `in_progress`** before starting work\n3. **Read** full description + all comments + project AI guide before writing code\n4. **If unsure** — comment asking for clarification, keep in `ready`, assign to a human\n5. **When done** — move to `done`, add comment with commit/PR link + summary\n6. **If blocked** — comment with details, assign to a human\n\n## API Reference\n\n### Authentication\n\nAll requests need:\n```\nAuthorization: Bearer initm_<your-key>\n```\n\n### Key Endpoints\n\n| Action | Method | Endpoint |\n|--------|--------|----------|\n| List projects | GET | `/api/projects` |\n| Project board | GET | `/api/projects/<id>/board` |\n| Project details | GET | `/api/projects/<id>` |\n| List tasks | GET | `/api/tasks?assignee=me&status=ready` |\n| Get task | GET | `/api/tasks/<id>` |\n| Update task | PATCH | `/api/tasks/<id>` |\n| Move task | POST | `/api/tasks/<id>/move` |\n| Create task | POST | `/api/tasks` |\n| Add comment | POST | `/api/tasks/<id>/comments` |\n| Assign user | POST | `/api/tasks/<id>/assign` |\n| Complete assignment | POST | `/api/tasks/<id>/complete` |\n| Activity log | GET | `/api/activity` |\n| Global AI guide | GET | `/api/settings?key=ai_global_guide` |\n\n### Create a Task\n\n```\nPOST /api/tasks\n{\n  \"projectId\": \"<uuid>\",\n  \"title\": \"Task title\",\n  \"type\": \"task\",           // epic | task | bug\n  \"status\": \"backlog\",      // backlog | ready | in_progress | done | verified\n  \"priority\": \"medium\",     // low | medium | high | urgent\n  \"description\": \"...\",     // plain text or Tiptap JSON\n  \"parentId\": \"<uuid>\",     // optional, makes subtask\n  \"dueDate\": \"2026-03-01T00:00:00.000Z\"\n}\n```\n\n### Update a Task\n\n```\nPATCH /api/tasks/<id>\n{\n  \"status\": \"in_progress\",\n  \"title\": \"New title\",\n  \"priority\": \"high\"\n}\n```\nAll fields optional — only include what changes.\n\n### Add a Comment\n\n```\nPOST /api/tasks/<id>/comments\n{\n  \"body\": \"Your comment text\"\n}\n```\n⚠️ Use `body` field, not `content`.\n\n### Assign a User\n\n```\nPOST /api/tasks/<id>/assign\n{ \"userId\": \"<uuid>\" }\n```\n\n### Labels\n\n```\nGET    /api/labels?projectId=<uuid>\nPOST   /api/labels                        { \"name\": \"Bug\", \"color\": \"#ef4444\", \"projectId\": \"<uuid>\" }\nPOST   /api/tasks/<id>/labels             { \"labelId\": \"<uuid>\" }\nDELETE /api/tasks/<id>/labels             { \"labelId\": \"<uuid>\" }\n```\n\n## Behavior Notes\n\n- Assignments auto-complete when task moves to `done` or `verified`\n- Moving task back to `ready`/`backlog` clears notification flags and assignment completion\n- Comments created via API are flagged `viaApi: true`\n- Task keys (e.g. `IMG-32`) are auto-generated from project prefix\n\n## Error Responses\n\n```json\n{ \"error\": \"Description\" }\n```\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Bad request / validation |\n| 401 | Invalid or missing API key |\n| 403 | Not allowed for your role |\n| 404 | Resource not found |\n| 409 | Conflict |\n| 500 | Server error |\n\n## Common Workflow: Check for Tasks\n\n```bash\n# Get all projects\ncurl -H \"Authorization: Bearer $KEY\" $URL/api/projects\n\n# Check each project board for ready tasks assigned to you\ncurl -H \"Authorization: Bearer $KEY\" $URL/api/projects/$PID/board\n\n# Pick up a task\ncurl -X PATCH -H \"Authorization: Bearer $KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"status\":\"in_progress\"}' $URL/api/tasks/$TID\n\n# ... do the work ...\n\n# Close it out\ncurl -X PATCH -H \"Authorization: Bearer $KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"status\":\"done\"}' $URL/api/tasks/$TID\n\ncurl -X POST -H \"Authorization: Bearer $KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"body\":\"Done. Commit: https://...\"}' $URL/api/tasks/$TID/comments\n```\n","topics":["Webhook"],"tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":1000,"installsAllTime":37,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1771593256404,"updatedAt":1778991875850},"latestVersion":{"version":"1.0.1","createdAt":1771593256404,"changelog":"- Expanded and clarified usage instructions in SKILL.md, including required setup and workflow for managing tasks in Init Manager.\n- Added a detailed guide on AI instruction hierarchy and when to fetch guides.\n- Provided comprehensive API reference with authentication, endpoints, and example request payloads.\n- Documented common task workflow, error responses, and implementation-specific behavior notes.\n- Updated setup section for required environment variables and prerequisites.","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"tomislavpet","userId":"s176ekf289pq109qrd319684th885rzh","displayName":"Tomislav Petrovic","image":"https://avatars.githubusercontent.com/u/6770406?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779942963524}}