looop
/install looop
Claude Automated Development Toolkit
You are an automated development assistant responsible for decomposing project requirements (from documents, single files, or inline text) into executable task lists and automatically executing each task in loops until the project is complete.
Parameters
| Parameter | Required When | Description |
|---|---|---|
--docs \x3CDIR> |
Decomposing requirements directory | Requirements document directory path |
--doc \x3CFILE> |
Decomposing single doc file | Single requirements document file path |
--requirement \x3CTEXT> |
Decomposing inline requirement | Direct requirement text string |
--src \x3CDIR> |
Always required | Code storage directory path |
Note: --docs, --doc, and --requirement are mutually exclusive for decomposition. Use --requirement when you have a simple one-line requirement, --doc when you have a single requirements file, or --docs when you have multiple files in a directory.
File Storage Location
All task-related files are stored in \x3Csrc_dir>/.looop/ directory:
| File | Path | Description |
|---|---|---|
| tasks.json | \x3Csrc_dir>/.looop/tasks.json |
Task list data |
| progress.txt | \x3Csrc_dir>/.looop/progress.txt |
Task progress records |
| *.log | \x3Csrc_dir>/.looop/*.log |
Task execution logs |
Log Files
Task execution logs are created per task, named by task ID, name and timestamp:
| Filename Pattern | When Created |
|---|---|
Task_#0_Decompose_YYYY-MM-DD_HH-MM-SS.log |
Requirements decomposition |
Task_#N_TaskName_YYYY-MM-DD_HH-MM-SS.log |
Each task execution |
Log content:
- Task start/end timestamps (second precision)
- Complete Claude CLI output (JSON stream)
- Debug information
No log files for:
--status(status query)--mark-manual/--list-manual/--resolve-manual(manual operations)
Execute Script
Important: Change to the skill directory first before running the script.
cd \x3Cskill_directory> && python run.py --src \x3CDIR> [--docs \x3CDIR> | --doc \x3CFILE> | --requirement \x3CTEXT>] [other parameters]
Core Workflow
Phase 1: Task Decomposition (requires docs/doc/requirement + src)
Directory mode: python run.py --docs \x3Crequirements_dir> --src \x3Ccode_dir> --decompose
Single file mode: python run.py --doc \x3Crequirements_file> --src \x3Ccode_dir> --decompose
Inline requirement mode: python run.py --requirement "\x3Crequirement text>" --src \x3Ccode_dir> --decompose
The script will automatically:
- Create
\x3Csrc_dir>/.looop/directory - Read requirement source (documents or inline text)
- Call Claude to analyze and decompose into independent small tasks
- Set ID, name, description, priority, dependencies, task_type, estimated_files, acceptance_criteria for each task
- Save task list to
\x3Csrc_dir>/.looop/tasks.json
Phase 2: Task Execution (only requires src)
Command: python run.py --src \x3Ccode_dir>
The script will first check if \x3Csrc_dir>/.looop/tasks.json exists:
- Not exists → Prompt to run
--decomposefirst - Exists → Automatically execute tasks in loops
Execution process:
- Select next executable task from tasks.json
- Call Claude to execute task, code goes into src directory
- Record progress to progress.txt
- Update task status, execute git commit
- Continue next round until all tasks complete
Optional Parameters
| Parameter | Short | Description |
|---|---|---|
--decompose |
-d |
Decompose requirements documents or text into task list |
--status |
-s |
View task status statistics |
--max-tasks \x3CN> |
-m \x3CN> |
Maximum N tasks to execute |
--push |
-P |
Execute git push after completion |
--mark-manual \x3CID> |
-M \x3CID> |
Mark task as needing manual intervention |
--list-manual |
-L |
List tasks needing manual intervention |
--resolve-manual \x3CID> |
-R \x3CID> |
Restore task to pending status |
Usage Examples
# Decompose requirements from directory (requires docs + src)
python run.py --docs docs --src src --decompose
# Decompose from single document file
python run.py --doc docs/feature-x.md --src src --decompose
# Decompose from inline requirement text
python run.py --requirement "Implement a user login feature with form validation and JWT authentication" --src src --decompose
# Execute tasks (only requires src)
python run.py --src src
# View status
python run.py --src src --status
# Execute max 3 tasks and push
python run.py --src src --max-tasks 3 --push
tasks.json Data Structure
{
"project": "Project name",
"created_at": "YYYY-MM-DD",
"docs_dir": "docs",
"src_dir": "src",
"requirements_docs": [
"docs/xxx.md"
],
"tasks": [
{
"id": 1,
"name": "Task name (concise, imperative)",
"description": "Detailed technical description including: what to build, files to create/modify, key implementation points",
"priority": "high|medium|low",
"dependencies": [],
"task_type": "setup|core|feature|refactor|test|docs",
"estimated_files": ["expected_file_path_1"],
"acceptance_criteria": ["Specific verifiable criteria"],
"status": "pending",
"result": null,
"issues": [],
"completed_at": null
}
]
}
Task Fields:
| Field | Description |
|---|---|
id |
Unique task identifier |
name |
Concise imperative name (e.g. 'Create user model') |
description |
Detailed technical description with what/how/why/scope |
priority |
high (essential), medium (important), low (optional) |
dependencies |
Array of task IDs that must complete first |
task_type |
setup, core, feature, refactor, test, docs |
estimated_files |
Expected files to be created/modified |
acceptance_criteria |
Specific verifiable completion criteria |
status |
pending, in_progress, completed, blocked, needs_manual |
Note: When using --requirement, the structure will include "requirements_text": "..." and "docs_dir": null instead of "requirements_docs" and "docs_dir".
Task Status
| Status | Description |
|---|---|
pending |
Pending execution |
in_progress |
Currently executing |
completed |
Completed |
blocked |
Blocked |
needs_manual |
Needs manual intervention |
Execution Flow
- Receive parameters - Parse src (required) and optional docs/doc/requirement
- Build command - Build python command based on parameters
- Execute script - Change to skill directory, then run run.py using Bash tool
- Output results - Display execution output and progress
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install looop - After installation, invoke the skill by name or use
/looop - Provide required inputs per the skill's parameter spec and get structured output
What is looop?
Claude Automated Development Toolkit - Decompose requirements documents, single files, or inline text into detailed task lists and automatically execute in l... It is an AI Agent Skill for Claude Code / OpenClaw, with 226 downloads so far.
How do I install looop?
Run "/install looop" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is looop free?
Yes, looop is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does looop support?
looop is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created looop?
It is built and maintained by caesargattuso (@caesargattuso); the current version is v1.1.1.