---
name: unstuck
description: Review a stalled project with a fresh PM and get it unstuck. Use when a project has burned many hours or worker lanes without reaching its core goal, or the owner says "stuck", "why isn't this done", or "scope explosion".
title: unstuck
canonical_url: https://skilld.dev/gh/enjoyoer/loadout/unstuck
last_updated: 2026-11-21T03:15:40.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/enjoyoer/loadout/unstuck/agents/openai.yaml).
>
> If the user asked to install this Skill, run `npx skilld install enjoyoer/loadout/unstuck`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/unstuck`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/enjoyoer/loadout/unstuck) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/unstuck`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/unstuck --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/unstuck --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Unstuck

A fresh PM, on the PM model and the named `unstuck` fallback in OPC's [model map](../opc/references/routing.md#pms) unless the owner names another model. Where the advisor tool is on, that PM calls it once before it settles its main findings. That PM reviews a stalled project and returns a plan the owner can approve in one reply. The usual cause is a design or process loop, such as fail-closed code plus a review loop that rewards finding new refusals, so the core cycle never runs.

## 1. Review only

- Write no code, open no PRs, send nothing to the stuck PM or its workers, and do not reuse their context.
- Read project memory with `$repo-lessons`.
- Read the earlier PMs and their worker lanes: `paseo ls -a -g`, then `paseo inspect <id>` and `paseo logs <id>` for each PM and a sample of lanes.
- Read git and PR history on main and on long-lived branches.

## 2. Numbers before opinions

Measure first. Adapt the patterns to the project:

```bash
git ls-files -z | grep -zEiv 'test|spec' | xargs -0 cat | wc -l   # production LOC
git ls-files -z | grep -zEi 'test|spec' | xargs -0 cat | wc -l    # test LOC
git grep -Eio 'refus|throw|guard|fail.?closed' | wc -l             # refusal paths
git log main --since=8.weeks --date=format:%G-W%V --format=%ad | sort | uniq -c   # main commits per week
gh pr list --state all --limit 300 --json state --jq 'group_by(.state)[] | "\(.[0].state) \(length)"'
```

Also count lanes and review rounds per week from Paseo, and how many times the core goal cycle has completed end to end. Take that last number from logs, ledgers or the owner, never from tests.

## 3. Timeline of scope growth

List the dated points where scope jumped (LOC spikes, new subsystems, new rule or evidence layers, PM swaps) and what each added that is not on the path to the goal.

## 4. Cause and rewrite

- State the cause in one line. It is a design or process cause, never a language or model one.
- Answer any rewrite proposal directly. Default: no, because a rewrite restarts the hours with the same failure mode.

## 5. Extract the intent

- Write the minimal path to one end-to-end success of the core goal.
- Keep only parts proven to work. Everything else is a delete candidate.
- Look for an existing tool or library that already does the hard part, and prefer adopting it plus thin glue over building.

## 6. Report and owner decisions

Reply with a short report: the numbers table, the timeline, the one-line cause, the rewrite answer, and the minimal path. End with owner decisions in `$wo` format: one numbered list, each item with a default, so "go with defaults" works. Cover:

1. What to delete and what to keep.
2. The base branch, and which open PRs and branches to close.
3. Rule changes the plan needs (AGENTS.md, language rules).
4. License or vendoring for the adopted tool.
5. Review scope for the delete-down PR.
6. Which agents to archive.
7. The live boundary: what may touch production, real accounts or users.

## 7. After the owner answers

- First PR: delete down to the proven core. Next PR: thin glue to the adopted tool.
- Add no new guard layers until the core cycle has run end to end once, live.
- Keep review loops short: merge on green and send findings to follow-up lanes instead of another round.
- Every review follows OPC's [review rules](../opc/references/web-reviewer.md#review-rules): a round cap and one reviewer at a time.
- Then take over with `$reassign-pm`, or keep reviewing if the owner says so.
