Skip to main content

setup-repo

Sets up a worktree-based repo layout for parallel development, streamlining branch management and environment configuration.

Install this skill

or
50/100

Security score

The setup-repo skill was audited on May 18, 2026 and we found 18 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

medium line 3

Access to .env file

SourceSKILL.md
3description: 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, dependen
medium line 95

Access to .env file

SourceSKILL.md
95**Do NOT assume .env files exist.** For each worktree (including main if needed):
medium line 97

Access to .env file

SourceSKILL.md
971. Check if `.env` exists in the source worktree for each path
medium line 98

Access to .env file

SourceSKILL.md
982. If `.env` exists, copy it
medium line 99

Access to .env file

SourceSKILL.md
993. If only `.env.default` or `.env.example` exists, copy that as `.env`
medium line 103

Access to .env file

SourceSKILL.md
103- `autogpt_platform/.env`
medium line 104

Access to .env file

SourceSKILL.md
104- `autogpt_platform/backend/.env`
medium line 105

Access to .env file

SourceSKILL.md
105- `autogpt_platform/frontend/.env`
low line 118

Access to .env file

SourceSKILL.md
118if [ -f "$SOURCE/$envpath/.env" ]; then
low line 120

Access to .env file

SourceSKILL.md
120cp "$SOURCE/$envpath/.env" "$TARGET/$envpath/.env"
low line 121

Access to .env file

SourceSKILL.md
121elif [ -f "$SOURCE/$envpath/.env.default" ]; then
low line 123

Access to .env file

SourceSKILL.md
123cp "$SOURCE/$envpath/.env.default" "$TARGET/$envpath/.env"
low line 124

Access to .env file

SourceSKILL.md
124echo "NOTE: $wt/$envpath/.env was created from .env.default — you may need to edit it"
low line 125

Access to .env file

SourceSKILL.md
125elif [ -f "$SOURCE/$envpath/.env.example" ]; then
low line 127

Access to .env file

SourceSKILL.md
127cp "$SOURCE/$envpath/.env.example" "$TARGET/$envpath/.env"
low line 128

Access to .env file

SourceSKILL.md
128echo "NOTE: $wt/$envpath/.env was created from .env.example — you may need to edit it"
low line 130

Access to .env file

SourceSKILL.md
130echo "WARNING: No .env, .env.default, or .env.example found at $SOURCE/$envpath/"
low line 138

Access to .env file

SourceSKILL.md
138# If the user declines, stop here and let them set up .env files first.
Scanned on May 18, 2026
View Security Dashboard
Installation guide →