| name | manage-project |
| description | Project lifecycle management for Ralph Loop Docker projects. Provides helper scripts for running, stopping, and monitoring projects with Docker containers. Use this skill when the user wants to: (1) RUN a project - "start ralph", "run project", "launch <project-name>", "start the loop", (2) STOP a project - "stop ralph", "stop project", "kill project", "stop the container", (3) CHECK STATUS - "project status", "list projects", "what's running", "show active projects", (4) VIEW LOGS - "show logs", "check output", "monitor progress", (5) Use helper scripts with flags like --background, --unlimited, --auth modes. IMPORTANT: On Windows, always use .ps1 PowerShell scripts (.\.claude\skills\manage-project\scripts\*.ps1). On Linux/Mac, use .sh bash scripts. This is the PRIMARY skill for Ralph Loop project operations and Docker container management.
|
Project Manager
Control Docker-based Ralph Loop iterations.
CLI Commands
Use the ralph CLI to manage projects:
ralph new my-project
ralph new my-project --preset=three-tier
ralph new my-project --preset=full
ralph list
ralph show my-project
ralph validate .projects/my-project/config.json
ralph delete my-project --force
See docs/CLI.md for full CLI reference.
Helper Scripts
IMPORTANT: On Windows, use .ps1 (PowerShell) scripts. On Linux/Mac, use .sh (bash) scripts.
Run Projects
Windows (PowerShell) - Use this on Windows:
.\.claude\skills\manage-project\scripts\run.ps1 <project> # Run interactively
.\.claude\skills\manage-project\scripts\run.ps1 <project> -Background # Run in background
.\.claude\skills\manage-project\scripts\run.ps1 <project> -Unlimited # Unlimited iterations
.\.claude\skills\manage-project\scripts\run.ps1 <project> -Background -Unlimited # Both
.\.claude\skills\manage-project\scripts\run.ps1 <project> -AuthMode anthropic-oauth # Specify auth
Linux/Mac (bash):
.claude/skills/manage-project/scripts/run.sh <project>
.claude/skills/manage-project/scripts/run.sh <project> --background
.claude/skills/manage-project/scripts/run.sh <project> --unlimited
.claude/skills/manage-project/scripts/run.sh <project> -b -u
.claude/skills/manage-project/scripts/run.sh <project> --auth anthropic-oauth
Stop Projects
Windows (PowerShell):
.\.claude\skills\manage-project\scripts\stop.ps1 <project> # Stop specific project
.\.claude\skills\manage-project\scripts\stop.ps1 -All # Stop all Ralph containers
Linux/Mac (bash):
.claude/skills/manage-project/scripts/stop.sh <project>
.claude/skills/manage-project/scripts/stop.sh --all
Status
Windows (PowerShell):
.\.claude\skills\manage-project\scripts\status.ps1 [project]
Linux/Mac (bash):
.claude/skills/manage-project/scripts/status.sh [project]
View Logs & Monitor
For detailed log viewing and real-time monitoring, use the logs-viewer skill:
Windows (PowerShell):
# View all iterations
.\.claude\skills\logs-viewer\scripts\logs.ps1 <project>
# View specific iteration
.\.claude\skills\logs-viewer\scripts\logs.ps1 <project> -Iteration latest
# Watch live output
.\.claude\skills\logs-viewer\scripts\watch.ps1 <project>
# Check current status
Get-Content .projects\<project>\logs\status.json
Linux/Mac (bash):
.claude/skills/logs-viewer/scripts/logs.sh <project>
.claude/skills/logs-viewer/scripts/logs.sh <project> -i latest
.claude/skills/logs-viewer/scripts/watch.sh <project>
cat .projects/<project>/logs/status.json
Docker Commands (Single Service Pattern)
| Task | Command |
|---|
| Build | docker compose build |
| Run project | RALPH_PROJECT_DIR=./.projects/<project> docker compose run --rm ralph |
| Run (anthropic-oauth) | RALPH_PROJECT_DIR=./.projects/<project> RALPH_AUTH_MODE=anthropic-oauth docker compose run --rm ralph |
| List | docker compose ps |
| Stop | docker compose stop |
| Logs | docker compose logs -f |
Environment Variables
| Variable | Default | Description |
|---|
RALPH_PROJECT_DIR | ./.projects/_default | Project folder to mount |
RALPH_PROJECT_NAME | my-project | Container name suffix |
RALPH_AUTH_MODE | glm | Auth mode (see table below) |
RALPH_MAX_ITERATIONS | 100 | Max iterations (0=infinite) |
RALPH_COMPLETION_ENABLED | true | Enable file-based completion |
Auth Modes
| Mode | Description |
|---|
anthropic-oauth | Uses host ~/.claude OAuth (recommended) |
anthropic-api | Direct ANTHROPIC_API_KEY |
gemini-oauth | Uses host ~/.gemini OAuth |
gemini-api | Direct GEMINI_API_KEY |
openai-oauth | Uses host ~/.codex OAuth |
openai-api | Direct OPENAI_API_KEY |
opencode-oauth | Uses host ~/.local/share/opencode |
opencode-api | Direct OPENCODE_API_KEY |
glm | z.ai proxy (default) |
Quick Run Commands
# Windows - run any project
.\scripts\run.ps1 <project>
.\scripts\run.ps1 <project> -Build # Force rebuild first
.\scripts\run.ps1 <project> -Shell # Open shell instead
./scripts/run.sh <project>
Project Structure
.projects/<project>/
├── GOAL.md # Project objective (EDIT THIS)
├── AGENTS.md # Development rules (canonical)
├── CLAUDE.md -> AGENTS.md # Symlink for Claude Code
├── config.json # Configuration
├── .project/ # State & knowledge
│ ├── prompts/ # Role prompts (DO NOT EDIT)
│ │ ├── BUILDER.md # Builder workflow
│ │ ├── REVIEWER.md # Reviewer instructions
│ │ └── ARCHITECT.md # Architect instructions
│ ├── state/
│ └── knowledge/
├── logs/ # Iteration logs
└── src/ # Source code