codex-taskloop-plugin
Run in-session task loops via the codex-taskloop-plugin MCP server and stop hook.
When & Why to Use This Skill
The codex-taskloop-plugin is a powerful Claude skill designed to manage and execute iterative task loops within a single session. By leveraging the Model Context Protocol (MCP), it enables the creation, resumption, and organization of complex multi-step workflows, providing a structured environment for autonomous task execution and state persistence through completion promises and stop hooks.
Use Cases
- Complex Workflow Automation: Initiating and monitoring multi-stage tasks that require several iterations to reach a defined completion state.
- Task State Management: Listing, renaming, and resuming interrupted task loops to maintain continuity in long-running projects without losing context.
- Autonomous Error Correction: Implementing self-correcting loops where the agent continues working until specific success criteria or '<promise>' tags are detected.
- Project-Specific Task Organization: Segregating task data between project and user scopes to ensure secure and organized workspace management.
| name | codex-taskloop-plugin |
|---|---|
| description | Run in-session task loops via the codex-taskloop-plugin MCP server and stop hook. |
| short-description | Taskloop MCP usage |
Codex Taskloop Plugin
When to use
Use this skill when a user asks to start, continue, list, rename, resume, or delete Taskloop tasks inside a single Codex session.
Preconditions
- The codex-taskloop-plugin MCP server is registered.
- The codex-taskloop-plugin stop hook is installed.
If not installed:
- Project scope:
scripts/install.sh --scope project --project "<path>" - User scope:
scripts/install.sh --scope user
Core workflow
- Start a loop with the MCP tool
task_loopand a clear prompt. - Use
completion_promiseso the loop stops when the assistant outputs<promise>...</promise>. - Control tasks with
task_list,task_resume,task_rename, andtask_delete. - Storage:
- Project install enforces project-only storage.
- User install allows
projectoruserper tool call.
Tool quick reference
task_loop: prompt (required), task_name, max_iterations, completion_promise, completion_matcher, history_limit, storage, project_dirtask_list: storage, project_dir, limit, offsettask_resume: task_name, storage, project_dirtask_rename: task_name, new_name, storage, project_dirtask_delete: task_name, storage, project_dir
Conventions
- Use a short, meaningful task_name or let it auto-generate from the first line.
- Put the promise text inside
<promise>...</promise>exactly when done.