Task Managementのロゴ

Task Management

コミュニティ
chenhg5
task-management

Create, assign, monitor, and close tasks across agents. Covers full task lifecycle — add, priority, dependencies, confirm-request, retry, cancel, bulk ops, and cross-agent search.

Add to TypingMind

概要

公開者chenhg5
リポジトリagencycli
スキル名task-management
スター
240
フォーク
26
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    chenhg5がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Task Management」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/chenhg5/agencycli/tree/main/skills/task-management
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chenhg5/agencycli.git /tmp/agencycli
mkdir -p .claude/skills
cp -r /tmp/agencycli/skills/task-management .claude/skills/task-management
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTask Managementを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTask Managementを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Task Managementは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Skill: Task Management

Use this skill when your role involves planning, delegating, and tracking work across agents. The agency workspace is at $AGENCY_DIR.


Priority levels

ValueLabelWhen to use
0criticalBlocking production / blocking other agents
1highShould be picked up in the current cycle
2normalDefault — regular backlog work
3lowNice-to-have, do when free

Create a task for an agent

bash
# Minimal
agencycli --dir $AGENCY_DIR task add \
  --project <project> --agent <agent> \
  --title "Short title" \
  --prompt "Detailed instructions for the agent..."

# With priority and type
agencycli --dir $AGENCY_DIR task add \
  --project <project> --agent <agent> \
  --title "Fix auth bug" \
  --prompt "Reproduce with: curl -X POST /login with empty password. Root cause is in auth/validator.go." \
  --priority 1 \
  --type bug

# With dependencies (task will not start until listed IDs are done)
agencycli --dir $AGENCY_DIR task add \
  --project <project> --agent <agent> \
  --title "Deploy to staging" \
  --prompt "Run: make deploy-staging" \
  --depends-on <task-id-1> --depends-on <task-id-2>

# With scheduling / nesting metadata
agencycli --dir $AGENCY_DIR task add \
  --project <project> --agent <agent> \
  --title "Implement sub-feature" \
  --prompt "..." \
  --parent <parent-task-id> \
  --due-date 2026-07-15 \
  --estimate-duration 2h

Task metadata fields

FieldCLI flagNotes
Due date--due-date YYYY-MM-DDDeadline
Estimate--estimate-duration 30mGo duration (30m, 2h)
Parent--parent <task-id>Sub-task nesting
Labels--label (repeatable)Tags
Started / finished(auto)Set when status → in_progress / terminal

Task types

feature · bug · chore · review · deploy · research · wakeup · (custom string)


Inspect task queues

bash
# All active tasks for one agent (sorted by priority)
agencycli --dir $AGENCY_DIR task list --project <project> --agent <agent>

# Filter by status
agencycli --dir $AGENCY_DIR task list --project <project> --agent <agent> --status pending
agencycli --dir $AGENCY_DIR task list --project <project> --agent <agent> --status in_progress

# Include archived (completed / cancelled) tasks
agencycli --dir $AGENCY_DIR task list --project <project> --agent <agent> --archived

# Show full detail of a specific task (project + agent known)
agencycli --dir $AGENCY_DIR task show <task-id> --project <project> --agent <agent>

# Find a task anywhere by ID (no project/agent needed)
agencycli --dir $AGENCY_DIR task find --id <task-id>

Update task fields

bash
# Only flags you pass are changed; project/agent auto-detected if omitted
agencycli --dir $AGENCY_DIR task set <task-id> --priority 1
agencycli --dir $AGENCY_DIR task set <task-id> --status in_progress
agencycli --dir $AGENCY_DIR task set <task-id> \
  --due-date 2026-07-15 --estimate-duration 2h --parent <parent-task-id>
agencycli --dir $AGENCY_DIR task set <task-id> --label bug --label urgent
agencycli --dir $AGENCY_DIR task set <task-id> --due-date ""   # clear due date
agencycli --dir $AGENCY_DIR task set <task-id> --format json   # print updated task

Updatable: title, description, status, priority, type, summary, label, parent, due-date, estimate-duration, assignee, prompt / prompt-file, position.

Status changes auto-maintain started_at / finished_at.


Monitor progress across agents

To get an overview of all agents and their queue depths:

bash
agencycli --dir $AGENCY_DIR overview

To iterate agents and check queues programmatically:

bash
# List all agents in a project
agencycli --dir $AGENCY_DIR list agents --project <project>

# Then per agent
agencycli --dir $AGENCY_DIR task list --project <project> --agent <agent> --status pending
agencycli --dir $AGENCY_DIR task list --project <project> --agent <agent> --status in_progress

Task stats (throughput & efficiency)

bash
# Today by executor queue (default: all agents, grouped)
agencycli --dir $AGENCY_DIR task stats --since today

# One agent's queue
agencycli --dir $AGENCY_DIR task stats --since today --project <project> --agent <agent>

# By assignee field
agencycli --dir $AGENCY_DIR task stats --since today --assignee <project>/<agent>
agencycli --dir $AGENCY_DIR task stats --since 7d --by assignee

# By label (evening summary: value / category buckets)
agencycli --dir $AGENCY_DIR task stats --since today --by label:value
agencycli --dir $AGENCY_DIR task stats --since today --by label:category
agencycli --dir $AGENCY_DIR task stats --since today --label value:owner

# List each finished task
agencycli --dir $AGENCY_DIR task stats --since today --detail

# JSON export (includes elapsedHuman, estimateHuman, etc.)
agencycli --dir $AGENCY_DIR task stats --since today --format json

Metrics: success/failed/cancelled counts, sum of actual elapsed time (started_at→finished_at), sum of estimate_duration, coverage (tasks with estimates), and actual/estimate ratio. JSON uses human-readable durations (elapsedHuman: 14m32s) instead of nanosecond integers.


bash
# Success
agencycli --dir $AGENCY_DIR task done \
  --id <task-id> --status success --summary "What was accomplished"

# Failure
agencycli --dir $AGENCY_DIR task done \
  --id <task-id> --status failed --error "reason"

Request human confirmation (non-blocking)

When an agent needs a human decision before continuing, it calls:

bash
agencycli --dir $AGENCY_DIR task confirm-request \
  --id $TASK_ID \
  --summary "One-line description of what needs approval" \
  --action-item "Option A: reply 'approve'" \
  --action-item "Option B: reply 'reject <reason>'"

The task is archived. The human responds via:

bash
agencycli --dir $AGENCY_DIR inbox list
agencycli --dir $AGENCY_DIR inbox messages    # view messages
agencycli --dir $AGENCY_DIR inbox reply <msg-id> --body "approve"
agencycli --dir $AGENCY_DIR inbox reject  <task-id> --reason "out of scope"

The human's reply is sent as a message. The agent sees it on the next wakeup and continues via session memory.


Escalate or delegate a task

If a task is better suited for a different agent, cancel it and re-create for the target agent:

bash
# 1. Cancel the original
agencycli --dir $AGENCY_DIR task cancel <task-id> --project <project> --agent <from-agent>

# 2. Create for the new agent with transferred context
agencycli --dir $AGENCY_DIR task add \
  --project <project> --agent <to-agent> \
  --title "<same title>" \
  --prompt "<original prompt + re-delegation note>"

To notify the new agent with async context before the task runs:

bash
agencycli --dir $AGENCY_DIR inbox send \
  --from <project>/pm \
  --to   <project>/<to-agent> \
  --subject "Incoming task: <title>" \
  --body "Extra context: ..."

Retry a failed task

bash
agencycli --dir $AGENCY_DIR task retry <task-id> \
  --project <project> --agent <agent>

Optionally update the prompt before retrying:

bash
agencycli --dir $AGENCY_DIR task retry <task-id> \
  --project <project> --agent <agent> \
  --prompt "Updated instructions based on failure: ..."

Cancel tasks

bash
# Cancel a specific task
agencycli --dir $AGENCY_DIR task cancel <task-id> \
  --project <project> --agent <agent>

# Emergency halt — cancel all pending tasks for all agents in a project
agencycli --dir $AGENCY_DIR task stop-all \
  --project <project> --all-agents

# Cancel pending + in-progress for a single agent
agencycli --dir $AGENCY_DIR task stop-all \
  --project <project> --agent <agent> --include-running

Recurring tasks with cron

Schedule a task to be automatically enqueued on a fixed schedule:

bash
agencycli --dir $AGENCY_DIR cron add \
  --project <project> --agent <agent> \
  --id weekly-review \
  --title "Weekly backlog review" \
  --schedule "0 9 * * 1" \
  --prompt "Review all open issues. Prioritise for the week. Update task queue accordingly."

agencycli --dir $AGENCY_DIR cron list    --project <project> --agent <agent>
agencycli --dir $AGENCY_DIR cron disable weekly-review --project <project> --agent <agent>
agencycli --dir $AGENCY_DIR cron enable  weekly-review --project <project> --agent <agent>

Cron syntax: minute hour day month weekday (standard 5-field)


Token usage and cost

bash
# One agent
agencycli --dir $AGENCY_DIR task tokens --project <project> --agent <agent>

# All agents in a project
agencycli --dir $AGENCY_DIR task tokens --project <project> --all-agents

# Specific task
agencycli --dir $AGENCY_DIR task tokens \
  --project <project> --agent <agent> --task <task-id>

Task assignment decision guide

SituationAction
Clear scope, right agenttask add directly
Scope unclear, need human input firstinbox send --to human to clarify, then task add
Depends on another task being done firsttask add --depends-on <id>
Task failed oncetask retry with updated prompt
Wrong agent received the taskCancel + re-create for correct agent
Repeated recurring workcron add with a schedule
Human must approve before agent proceedsAgent calls task confirm-request
Need to change title/priority/due date/parent mid-flighttask set <id> --<field> ...
Review throughput / efficiency for a person or agenttask stats --since today [--assignee A]
Evening summary by value/category labelstask stats --since today --by label:value or --by label:category
Need to know which agent owns a task IDtask find --id <id>

よくある質問

AIスキル「Task Management」では何ができますか?

Create, assign, monitor, and close tasks across agents. Covers full task lifecycle — add, priority, dependencies, confirm-request, retry, cancel, bulk ops, and cross-agent search.

TypingMindでTask Managementを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Task Managementはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTask Managementをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/chenhg5/agencycli/tree/main/skills/task-managementを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Task Managementを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Task Managementで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTask Managementを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Task Management」は無料ですか?

chenhg5がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇