Back to Skills

long-run-implement

verified

Execute long-running implementation tasks autonomously. Use when user wants to implement a plan, run autonomous implementation, execute tasks with minimal checkpoints, or do long-run execution.

View on GitHub

Marketplace

saurun-marketplace

fiatkongen/saurun-marketplace

Plugin

saurun

Repository

fiatkongen/saurun-marketplace

plugins/saurun/skills/long-run-implement/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/fiatkongen/saurun-marketplace/blob/main/plugins/saurun/skills/long-run-implement/SKILL.md -a claude-code --skill long-run-implement

Installation paths:

Claude
.claude/skills/long-run-implement/
Powered by add-skill CLI

Instructions

# Long-Run Implement

Transform task specifications into executable plans and run them autonomously with minimal checkpoints, per-task atomic commits, and full state persistence.

## Usage

```
/long-run-implement [spec-path] [--prepare-only]
```

### Flags

- `--prepare-only`: Stop after Phase 2 (plan preparation). Use to review generated plans before execution.

## When to Use This Skill

Activate when the user says things like:
- "Implement this plan autonomously"
- "Run long-run implementation"
- "Execute these tasks with minimal interruption"
- "Implement the spec with atomic commits"

## What This Skill Does

1. **Initialize** - Set up or restore execution state
2. **Prepare Plans** - Call plan-fixer to validate, optimize, and split into individual plans
3. **Execute** - **Spawn fresh subagent per plan** via Task tool (preserves quality)
4. **Finalize** - Present summary and verification options

## Architecture: Fresh Context Per Plan

**CRITICAL**: This skill spawns a **fresh subagent for each plan** to prevent context degradation.

```
long-run-implement (orchestrator - stays in main context)
    │
    ├── Plan 01 → Task tool → fresh subagent (0% context) → executes → returns
    │                              ↑
    │                         200k tokens available
    │
    ├── Plan 02 → Task tool → fresh subagent (0% context) → executes → returns
    │
    └── Plan 03 → Task tool → fresh subagent (0% context) → executes → returns
```

Why this matters:
- **0-30% context**: Peak quality
- **30-50% context**: Good quality
- **50-70% context**: Degrading quality
- **70%+ context**: Poor quality

Each plan executes at peak quality because it starts fresh.

## Key Features

- **Fresh Context Per Plan** - Each plan spawns a new subagent with 200k tokens at 0%
- **Minimal Checkpoints** - Only stops for genuine blockers (architectural changes, external actions, unrecoverable errors)
- **Per-Task Atomic Commits** - Each completed task is committed immediately with c

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
7404 chars