Agent skill

Setup Repo

by Elite588 in Elite588/AUTOGPT

Initialize a worktree-based repo layout for parallel development.

Custom licenceAuto-check: notesDevelopment

Install Setup Repo

skills CLI
$ npx skills add Elite588/AUTOGPT --skill setup-repo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Elite588/AUTOGPT setup-repo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Elite588/AUTOGPT.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/setup-repo .claude/skills/setup-repo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-repo
GitHub stars
103
Token cost
~1.6k tokens
SKILL.md length
328 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

Initialize a worktree-based repo layout for parallel development.

  • Works in 8 steps: Identify the repo → Ask the user questions → Fetch and set up branches → …
  • User asks to set up the repo from scratch
  • SKILL.md covers Step 1: Identify the repo, Step 2: Ask the user questions, Step 3: Fetch and set up… and Step 4: Create worktrees, plus 5 more sections
  • Calls git, poetry and pnpm

What it does

Setup Repo is an agent skill from Elite588/AUTOGPT. Initialize a worktree-based repo layout for parallel development. Creates a main worktree, a reviews worktree for PR reviews, and N numbered work branches. Handles .env creation, dependency installation, and branchlet config. TRIGGER when user asks to set up the repo from scratch, initialize worktrees, bootstrap their dev environment, "setup repo", "setup worktrees", "initialize dev environment", "set up branches", or when a freshly cloned repo has no sibling worktrees.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git worktrees and Pull requests. The repository describes itself as: AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters. It is a powerful platform…

When your agent uses it

  • User asks to set up the repo from scratch
  • Initialize worktrees
  • Bootstrap their dev environment
  • Setup worktrees

Example prompts

  • “setup repo”
  • “setup worktrees”
  • “initialize dev environment”
  • “/setup-repo”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Identify the repo
  2. Ask the user questions
  3. Fetch and set up branches
  4. Create worktrees
  5. Set up environment files
  6. Copy branchlet config
  7. Install dependencies
  8. Verify and report

What it can do on your machine

Read from SKILL.md and the folder at commit 9e4bc5b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • poetry
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup Repo loads about 1.6k tokens when it runs. Until then it costs about 121 tokens; SKILL.md has 328 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~121
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:3
    s, and N numbered work branches. Handles .env creation, dependency installation, and branchlet config. TRIGGER when user
  • NoteMentions a .env fileSKILL.md:95
    **Do NOT assume .env files exist.** For each worktree (including main if needed):
  • NoteMentions a .env fileSKILL.md:97
    1. Check if `.env` exists in the source worktree for each path
  • NoteMentions a .env fileSKILL.md:98
    2. If `.env` exists, copy it
  • NoteMentions a .env fileSKILL.md:99
    3. If only `.env.default` or `.env.example` exists, copy that as `.env`
  • NoteMentions a .env fileSKILL.md:103
    - `autogpt_platform/.env`
  • NoteMentions a .env fileSKILL.md:104
    - `autogpt_platform/backend/.env`
  • NoteMentions a .env fileSKILL.md:105
    - `autogpt_platform/frontend/.env`
  • NoteMentions a .env fileSKILL.md:118
    if [ -f "$SOURCE/$envpath/.env" ]; then
  • NoteMentions a .env fileSKILL.md:120
    cp "$SOURCE/$envpath/.env" "$TARGET/$envpath/.env"

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 328 words (~1,597 tokens).

“This skill sets up a worktree-based development layout from a freshly cloned repo. It creates:”

— opening of SKILL.md by Elite588, Custom licence
name
setup-repo
user-invocable
true
args
No arguments — interactive setup via prompts.
metadata.author
autogpt-team
metadata.version
1.0.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/setup-repo of Elite588/AUTOGPT.

Open the folder on GitHubat commit 9e4bc5b

Compare with similar skills

Setup Repo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup Repo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup Repo this skillElite588/AUTOGPT103—~1.6kAutomated safety check: NotesCustom licence
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT
Cap Feature Building WorkflowCapSoftware/Cap23k—~2.5kAutomated safety check: WarnCustom licence
Om Auto Fix Issuego-musicfox/go-musicfox2.6k1 repos~5kAutomated safety check: NotesGPL-3.0
Codewhale Landing Workflowcodewhale-hq/Codewhale41k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Builds a Cap feature in an isolated Git worktree with disposable dev resources, verification, a recorded demo and a neutral pull request, started with /building.

    23k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check: warnings
  • Om Auto Fix Issue

    go-musicfox/go-musicfox

    Fix or implement a tracker issue end to end from a single command — takes an issue id or a plain problem description (filed first via om-prepare-issue), classifies, then drives the bug autofix chain…

    2.6k GitHub starsUsed in 1 repo~5k tokens
    DevelopmentAuto-check: notes
  • Codewhale Landing Workflow

    codewhale-hq/Codewhale

    Decides how verified work should reach main, directly, in a worktree or on an integration branch, while keeping contributor credit and respecting merge gates.

    41k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean Complete Branches

    jtenniswood/espcontrol

    Clean up completed Git branches and worktrees for this repository both locally and on GitHub.

    1.1k GitHub stars~820 tokensUpdated today
    DevelopmentAuto-check passed

More from Elite588/AUTOGPT

All 8 skills in this repo
  • Open PR

    Elite588/AUTOGPT

    Open a pull request with proper PR template, test coverage, and review workflow.

    103 GitHub stars~1.3k tokensUpdated 5 mo ago
    Auto-check passed
  • PR Review

    Elite588/AUTOGPT

    Review a PR for correctness, security, code quality, and testing issues.

    103 GitHub stars~768 tokensUpdated 5 mo ago
    Auto-check passed
  • Orchestrate

    Elite588/AUTOGPT

    Meta-agent supervisor that manages a fleet of Claude Code agents running in tmux windows.

    103 GitHub stars~9.2k tokensUpdated 5 mo ago
    Auto-check: warnings
  • Worktree

    Elite588/AUTOGPT

    Set up a new git worktree for parallel development. An agent skill from Elite588/AUTOGPT.

    103 GitHub stars~667 tokensUpdated 5 mo ago
    Auto-check: notes
  • Write Frontend Tests

    Elite588/AUTOGPT

    Analyze the current branch diff against dev, plan integration tests for changed frontend pages/components, and write them.

    103 GitHub stars~1.9k tokensUpdated 5 mo ago
    Auto-check passed
  • PR Address

    Elite588/AUTOGPT

    Address PR review comments and loop until CI green and all comments resolved.

    103 GitHub stars~5.3k tokensUpdated 5 mo ago
    Auto-check passed

Categories

Questions about Setup Repo

What does Setup Repo do?

Initialize a worktree-based repo layout for parallel development. Setup Repo is an agent skill from Elite588/AUTOGPT. Initialize a worktree-based repo layout for parallel development.

When should I use Setup Repo?

Setup Repo fits situations like: user asks to set up the repo from scratch; initialize worktrees; bootstrap their dev environment; setup worktrees.

How do I install Setup Repo in Claude Code?

Run `npx skills add Elite588/AUTOGPT --skill setup-repo -a claude-code`. Or copy the skill folder (.claude/skills/setup-repo in Elite588/AUTOGPT) into .claude/skills/setup-repo in your project. Claude Code loads it when a task matches its description.

How do I install Setup Repo in Codex?

Run `npx skills add Elite588/AUTOGPT --skill setup-repo -a codex`. Or copy the skill folder (.claude/skills/setup-repo in Elite588/AUTOGPT) into .agents/skills/setup-repo in your project. Codex loads it when a task matches its description.

Can I use Setup Repo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Elite588/AUTOGPT --skill setup-repo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-repo, .gemini/skills/setup-repo, .github/skills/setup-repo and .opencode/skills/setup-repo in your project.

What does Setup Repo need to run?

Going by SKILL.md and its folder, Setup Repo needs the command-line tools its instructions call (git, poetry and pnpm).

Does Setup Repo access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Setup Repo safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Setup Repo use?

Setup Repo has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Setup Repo use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Setup Repo?

Skills that share tags, products or a category with Setup Repo: Finishing a Development Branch (obra/superpowers, 297k stars), Pre-Release PR Triage (jamiepine/voicebox, 57k stars), Cap Feature Building Workflow (CapSoftware/Cap, 23k stars) and Om Auto Fix Issue (go-musicfox/go-musicfox, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup Repo?

Elite588 (a GitHub user) maintains it in Elite588/AUTOGPT, which has 103 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on April 16, 2026.

Source: Elite588/AUTOGPT on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.