# factory-deferred-repositories

factory-deferred-repositories is a Claude Code skill that checks out repositories from a deferred task list. It verifies access and an unused target before fetching one on demand.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/resources/bundled/skills/factory-deferred-repositories/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/factory-deferred-repositories

## What it does

The factory-deferred-repositories skill selects repositories from the task's frozen deferred inventory and checks whether a suitable checkout already exists. It reads `OZ_WORKSPACE_ROOT`, falling back to `WARP_WORKSPACE_ROOT` only when the first variable is absent, then validates the executable named by `OZ_CLI` or `WARP_CLI`.

For each selected repository, the skill chooses an unused single-component directory name, creates a JSON request, and invokes the configured CLI with `environment-checkout`. It checks the complete JSON report and each operation result, while leaving existing files, directories, and symlinks untouched. Execution mode also requires the run-owned preparation policy; an unusable workspace root, CLI, or policy blocks checkout. The new working tree does not load repository skills or run environment setup.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill factory-deferred-repositories -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/factory-deferred-repositories/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/factory-deferred-repositories/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill factory-deferred-repositories -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/factory-deferred-repositories/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill factory-deferred-repositories -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/factory-deferred-repositories/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp resources/bundled/skills/factory-deferred-repositories
```

2. **Manually: put the files in place**
- File: `.github/skills/factory-deferred-repositories/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill factory-deferred-repositories -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path resources/bundled/skills/factory-deferred-repositories
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/factory-deferred-repositories/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/resources/bundled/skills/factory-deferred-repositories/SKILL.md

## When to use it
- check out a repository named in a deferred task inventory
- choose an unused checkout directory below the workspace root
- verify the remote identity of an existing checkout
- inspect outcomes after a partially successful batch

## Example prompts
- Check the deferred repository inventory and fetch only the repositories needed for this task.
- Find unused checkout targets under the workspace root and fetch the selected repositories without overwriting anything.
- Read the complete `environment-checkout` report and show each request result with credentials redacted.

## Similar
- [auto-repo-setup](https://affpapa.org/en/nevibecode/skills/auto-repo-setup.md) — skill · 534 installs
- [repo-standardizer](https://affpapa.org/en/nevibecode/skills/repo-standardizer.md) — skill · 33 installs
- [btca-local](https://affpapa.org/en/nevibecode/skills/btca-local.md) — skill · 1000 installs
- [box](https://affpapa.org/en/nevibecode/skills/prathamdby-box.md) — skill · 720 installs
- [atxp-git](https://affpapa.org/en/nevibecode/skills/atxp-git.md) — skill · 281 installs
- [wiki-researcher](https://affpapa.org/en/nevibecode/agents/wiki-researcher.md) — subagent · ★ 3232 repo stars

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
