Run Taskのロゴ

Run Task

組織人気
hashgraph-online
run-task

1つのTodoタスクをIn ProgressからReviewまで実行し、テストとvibe-lintチェックを行いながら、すべての受け入れ条件を満たします。Planningステータスのタスクは受け付けません。/agiflow:run-task <task>として呼び出します。get_task、update_task、create_task_commentを使用します。

Add to TypingMind

概要

公開者hashgraph-online
リポジトリawesome-codex-plugins
スキル名run-task
スター
1.3K
フォーク
360
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Invoked as /agiflow:run-task. In hosts without slash-prompts, this skill is triggered by matching intent and drives AgiFlow via its MCP tools.

Usage:

  • /agiflow:run-task <task-slug-or-id> - Execute specific task
  • /agiflow:run-task - List and select from available tasks

Examples:

  • /agiflow:run-task DXX-2 (using slug)
  • /agiflow:run-task 01K8FABMNEJG1XTA9JGHSNFV40 (using ID)
  • /agiflow:run-task (interactive selection)

Guardrails

  • Favor straightforward, minimal implementations first and add complexity only when it is requested or clearly required.
  • Keep changes tightly scoped to the requested outcome within the task scope.
  • A task represents a single, focused unit of work that can be completed in one session.

If a task slug/id is provided, load it with get_task; otherwise list available tasks with list_tasks for selection.


AgiFlow Project Management Guidelines

Follow the shared AgiFlow project-management guidelines in references/agiflow-agents.md — agent assignment, the task status workflow and transitions, work-unit best practices, and the tags strategy apply to this workflow.


Task Status Workflow Tasks move through these statuses in order: Planning → Todo → In Progress → Testing → Review → Done Exception paths: Blocked (requires human intervention), Cancelled (terminal).

IMPORTANT: Planning Status Guard This skill ONLY executes tasks in "Todo" or later status. Tasks in "Planning" have NOT been groomed and are NOT ready for execution. Use backlog-grooming to promote Planning tasks to Todo first.

Steps Track these steps as TODOs and complete them one by one.

1. Task Selection & Loading

If task slug/id NOT provided:

  1. Use list_tasks MCP tool to show available tasks:
    • For the ready queue, filter by status: "Todo" (sorted by priority automatically)
    • Do NOT pick up tasks in "Planning" status — they have not been groomed yet
    • Display: slug, title, priority, assignee, acceptance criteria count
  2. Ask user to select which task to work on.
  3. Once user selects, proceed with the selected task slug/id.

If task slug/id IS provided: 4. Use get_task MCP tool with the provided slug/id to retrieve:

  • Task: title, description, priority, status, acceptance criteria
  • Comments: Previous progress updates and discussions
  1. Review the task details to understand:
    • Complete requirements and deliverables
    • Acceptance criteria that must be met
    • Any blockers or dependencies noted in comments

5b. PLANNING STATUS GUARD (MANDATORY):

  • If task status is "Planning": REFUSE to execute
  • Report: "Cannot execute task [SLUG]: still in Planning status. Use backlog-grooming to promote it to Todo first."
  • STOP execution — do not proceed

2. Start Task Execution

  1. If task status is "Todo", use update_task MCP tool to set status to "In Progress".
  2. Create a TODO list of acceptance criteria in execution order (use TodoWrite tool).
  3. Document execution start in task via update_task devInfo:
    typescript
    devInfo: {
      currentSession: "<current-session-id>",
      startedAt: "<timestamp>"
    }

3. Implement Task

  1. For each acceptance criterion:

    • Review the specific requirement
    • BEFORE editing any code: Use vibe-lint MCP get-file-design-pattern (MANDATORY)
    • Implement the criterion keeping changes minimal and focused
    • AFTER editing code: Use vibe-lint MCP review-code-change (MANDATORY)
    • Update task devInfo with implementation notes:
      typescript
      devInfo: {
        filesChanged: ["path/to/file.ts:42"],
        testResults: { passed: true, coverage: "85%" },
        notes: "Implementation notes here",
        currentSession: "<session-id>"
      }
    • Mark acceptance criterion as checked via update_task
    • Update your TODO list (mark criterion as completed)
  2. Between acceptance criteria:

    • Commit changes with meaningful commit messages
    • Run tests to ensure no regressions
    • Update task devInfo with progress

4. Testing Phase

  1. When ALL acceptance criteria are met:

    • Verify all criteria have status checked
    • Use update_task to move status to "Testing"
    • Run the full test suite for affected code:
      • Unit tests
      • Integration tests
      • Type checking and lint
  2. If tests PASS:

    • Update devInfo with passing test results
    • Proceed to step 13 (Task Completion)
  3. If tests FAIL:

    • Increment retryCount in devInfo:
      typescript
      devInfo: {
        ...existing,
        retryCount: (existing.retryCount ?? 0) + 1,
        lastFailureReason: "<description of what failed>"
      }
    • If retryCount >= maxRetries (default maxRetries = 2):
      • Use update_task to move status to "Blocked"
      • Use create_task_comment to document the repeated failure and what human intervention is needed
      • Stop — do not retry
    • If retryCount < maxRetries:
      • Use update_task to move status back to "Todo"
      • Use create_task_comment to document the failure reason
      • Stop — agent will re-pick from Todo queue on next cycle

5. Task Completion

  1. After tests pass, review all files changed (use git diff).

  2. Draft a PR description for the task (DO NOT create the PR yet - just draft the text):

    • Title format: [TASK-SLUG] Task title (e.g., [DXX-2] Add user authentication)
    • Body should include:
      • Task reference and summary
      • List of changes made
      • Files modified (use file.ts:42 format)
      • Test results
  3. Use update_task to set status to "Review" and save draft PR text and commit message:

    typescript
    {
      status: "Review",
      devInfo: {
        ...existing,
        draftCommitMessage: "feat(auth): add user authentication\n\n- Add login endpoint with session management\n- Add password validation\n- Add unit tests for auth flow",
        draftPr: {
          title: "[DXX-2] Add user authentication",
          body: "## Summary\n\nImplemented user authentication feature.\n\n## Changes\n\n- Added login endpoint\n- Added session management\n\n## Files Modified\n\n- src/auth/login.ts:42\n- src/auth/session.ts:15\n\n## Test Results\n\nAll tests passing."
        },
        finalNotes: "All acceptance criteria met. Files changed: [...]. Tests passing.",
        completedBy: "<member-id>",
        totalDuration: "45 minutes"
      }
    }

    Note on draftCommitMessage: Write a conventional commit message that will be used for the final git commit. Format: type(scope): description with optional body listing changes.

  4. Use create_task_comment to add final summary:

    • Task scope and goals achieved
    • All files created/modified (use file.ts:42 format)
    • Test coverage and results
    • Any follow-up work needed

6. Handle Blockers

  1. If blocked at any point:
    • Use update_task to set status to "Blocked"
    • Use update_task to update devInfo with blocker details:
      typescript
      devInfo: {
        ...existing,
        blockedReason: "<why the task is blocked>",
        blockedBy: "<memberId or 'system'>"
      }
    • Use create_task_comment on task with blocker information explaining what human intervention is needed

Reference

  • Use get_task to review task details before starting
  • Use list_task_comments to see previous progress updates
  • Use update_task to track devInfo and acceptance criteria progress

Integration with Other Tools

  • vibe-lint MCP: ALWAYS use before/after editing files for pattern compliance
  • Scaffolding MCP: Document scaffolded code in task comments

Common Mistakes to Avoid

  • ❌ Starting work without reviewing task details with get_task
  • ❌ Not moving task to "In Progress" before starting
  • ❌ Skipping vibe-lint MCP validation (MANDATORY for every file)
  • ❌ Not tracking devInfo (files changed, tests, session ID)
  • ❌ Marking acceptance criteria checked before actually completing them
  • ❌ Moving to "Review" without going through "Testing" first
  • ❌ Not documenting progress in comments
  • ❌ Forgetting to add file references (file.ts:42 format) in final comment
  • ❌ Not running tests before moving to "Review"
  • ❌ Not committing changes incrementally
  • ❌ Moving to "Blocked" without explaining what human intervention is needed
  • ❌ Skipping retryCount increment when moving failed task back to "Todo"
  • ❌ Starting work on a task in "Planning" status (must be promoted to "Todo" via backlog-grooming first)

よくある質問

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

1つのTodoタスクをIn ProgressからReviewまで実行し、テストとvibe-lintチェックを行いながら、すべての受け入れ条件を満たします。Planningステータスのタスクは受け付けません。/agiflow:run-task <task>として呼び出します。get_task、update_task、create_task_commentを使用します。

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

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

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

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

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

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

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

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

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

はい。hashgraph-onlineがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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