TopRank Skills

Home / Claw Skills / API 集成 / todokan-review-loop
Official OpenClaw rules 36%

todokan-review-loop

Process Todokan task and thought boards with a review-loop workflow. Use when a task enters doing and the agent should pick it up, read latest comments, respond to the newest comment with a high-quality context-aware reply, add an execution update comment, and move the task back to done (Review). Use for recurring polling/cron automation with Todokan MCP.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 todokan-review-loop 技能。 若已安装,则直接安装 todokan-review-loop 技能。

Overview

Skill Key
banatealab/todokan-review-loop
Author
banatealab
Source Repo
openclaw/skills
Version
1.3.0
Source Path
skills/banatealab/todokan-review-loop
Latest Commit SHA
61d1282abe1cb05c7484d316f93f0f110fa0c240

Extracted Content

SKILL.md excerpt

# Todokan Review Loop

Use this workflow for autonomous handling of `doing` items.

**Note:** The MCP server only returns tasks where `aiEnabled: true` by default. Users send tasks to AI via a "Send to AI" button, which sets `aiEnabled: true`, `assignee: 'ai'`, and `status: 'doing'`. This skill will only see tasks that users have explicitly sent to AI.

## Role Model

- Act as the Key Account Manager (KAM) as the single user-facing voice.
- Keep one consistent tone and ownership in comments.
- Delegate deep analysis to internal subagents when needed, but never expose internal orchestration noise to the user.

## Workflow

1. List habitats.
2. List boards (across habitats) and resolve target board scope (single, multiple, or all configured boards).
3. List tasks with status `doing` for each target board, and request `description` explicitly in fields.
4. For each task:
   - Read task fields (title, description, labels, dueDate, priority, status).
   - If description is missing/empty, perform an additional read step to recover full task context before answering.
   - Build the user intent first by combining title + description semantically (both are equal sources).
   - Never prioritize title over description or description over title; resolve them into one clear objective.
   - Read the entire comment thread (not only latest comment).
   - Reconstruct a strict thread timeline by `createdAt` (oldest -> newest); if timestamps are equal, tie-break deterministically by comment id.
   - Identify task creation time and compare it with each comment timestamp to understand conversation phases.
   - Identify the latest comment by `createdAt`.
   - Count total comments.
   - Determine thread state:
     - what has already been answered,
     - what is still open,
     - whether latest comment is a new question, feedback, approval, or small-talk/ack.
   - Run a quick context sweep in Todokan:
     - check related tasks in same board (title/labels/status),
     - optionally insp...

README excerpt

# Todokan Review Loop Skill

Autonomous review-loop workflow for Todokan boards.

This skill is optimized for recurring bot runs:
- pick tasks in `doing`
- process full comment context
- post a high-quality response comment
- move task to `done` (Review) when appropriate

## Prerequisites

- Todokan API key (`kb_live_...`)
- Todokan MCP configured in OpenClaw (`/mcp` planner endpoint)
- OpenClaw runtime with skill loading enabled

## Local Test (without ClawHub)

```bash
mkdir -p ~/.openclaw/skills
cp -r skills/openclaw/todokan-review-loop ~/.openclaw/skills/todokan-review-loop
```

Then restart OpenClaw.

## Beta Publish (recommended first)

Use a beta slug first, test privately, then publish final slug.

```bash
# from repo root
clawhub login
clawhub publish skills/openclaw/todokan-review-loop --slug todokan-review-loop-beta
```

Install for testing:

```bash
clawhub install todokan-review-loop-beta
```

If beta is good, publish final:

```bash
clawhub publish skills/openclaw/todokan-review-loop --slug todokan-review-loop
```

## Suggested MCP Config

```json
{
  "mcpServers": {
    "todokan": {
      "transport": "streamable-http",
      "url": "https://todokan.com/mcp",
      "headers": {
        "Authorization": "Bearer kb_live_YOUR_API_KEY"
      }
    }
  }
}
```

## Scope Guidance

For this review-loop, planner permissions are typically required because it writes comments and status updates.

Minimum practical scopes:
- `boards:read`
- `tasks:read`
- `tasks:write`
- `comments:read`
- `comments:write`

Optional for extended context:
- `docs:read`

## Notes

- Keep this as a separate skill from the general `todokan` skill.
- Publish silently first (no announcement), verify real bot behavior, then announce.

Related Claw Skills