Skip to content
Agentmart
Submit a tool

setup-repo

Set a repository up across all three areas — git hooks, worktrunk and GitHub housekeeping — in one pass and one commit.

Skill by feelepxyz

IndexedGPL-3.0★ 2
Write a review

Chalk Labs

Need help deploying setup-repo?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/feelepxyz-setup-repo

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Set a repository up across all three areas — git hooks, worktrunk and GitHub housekeeping — in one pass and one commit. Use when the user wants a repo set up or configured, asks what setup a repo is missing, or is starting work in an unfamiliar repo.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/setup-repo

What's inside

Skill name
setup-repo
Description
Set a repository up across all three areas — git hooks, worktrunk and GitHub housekeeping — in one pass and one commit. Use when the user wants a repo set up or configured, asks what setup a repo is missing, or is starting work in an unfamiliar repo.
License
GPL-3.0
Instructions
83 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • openai.yaml · agents/
  • setup-repo.sh

SKILL.md (first lines)

# Set up a repository

Three skills each converge one area. This one runs them in the order that costs
the user the fewest decisions and the fewest commits.

`setup-repo.sh` is the roll-up: one call that reports all three areas instead of
three calls that report one each. It only reads — two of the three areas need the
user to choose from a table first, so converging stays with the individual
skills.

Those three carry `disable-model-invocation`, so they cost nothing in a session
that is not setting a repo up and no agent fires one on its own. **That is why
this skill drives them by reading their `SKILL.md` and following it rather than
invoking them as skills** — the read delivers what a skill invocation would
have, and works the same in every agent. Only the user typing `/setup-git-hooks`
reaches one directly.

## Run it

    bash ~/.agents/skills/setup-repo/setup-repo.sh

Run through `bash` — skills install without the exec bit. It finds its siblings
as sibling directories, so it works from the installed copy and from
`~/.dotfiles/skills/custom/` alike.

| Area | Skill | Asks the user? |
| --- | --- | --- |
| git-hooks | `setup-git-hooks` | yes — which hooks, per stage |
| worktrunk | `setup-worktrunk` | yes — which panes and steps |
| github | `setup-github` | yes — which settings |

## The main line

1. **Roll up.** Run the script. Relay the `areas[]` table, and tell the user up
   front how many questions are coming — one per pending area that asks.
2. **Hooks.** Read `~/.agents/skills/setup-git-hooks/SKILL.md` and follow it.
   Hooks go before worktrunk because they govern the commits made inside the
   worktrees worktrunk opens — a worktree opened before the hooks exist gets
   commits nothing checked.
3. **Worktrunk.** Read `~/.agents/skills/setup-worktrunk/SKILL.md` and follow it.
4. **Commit once, by pathspec.** Steps 2–3 each wrote a file, and each of those
   skills asks for its own commit. **Override that** — the setup is one change to
   the repo, not two:

       git status --porcelain    # look before staging
       git commit -m "…" -- prek.toml .config/wt.toml

   **Never `git add -A` here.** A repo that needed setting up is usually a repo
   being worked in: the tree may hold uncommitted work, and the index may already
   hold staged changes that are not yours. The pathspec form commits exactly
   those paths and leaves the rest of the index untouched. If `git status` shows
   work you did not create, say so — do not fold it in, and do not stash it.

   The hooks installed in step 2 run on this commit. If they reformat a file,
   re-stage and commit again rather than passing `--no-verify`.
5. **GitHub.** Read `~/.agents/skills/setup-github/SKILL.md` and follow it. It
   writes nothing local, which is why it sits after the commit rather than
   inside it.
6. **Verify.** Re-run the roll-up.

Done when the roll-up reports `pending: 0 of 3 areas`. Worktrunk stays `pending`
until its hooks are approved, so reaching zero already means the user has run the
`wt config approvals add` command it hands over — hand it to them and wait rather
than calling the run finished without it. An area the user chose to skip is
finished too — say which, rather than leaving it looking unfinished.

## Reading the roll-up

The `state` column decides what happens next, and the run prints a `legend[]`
for the states it actually produced — read the meanings there. Only `converged`,
`configured` and `skipped` count as done; everything else adds to the pending
tally and carries a `next[]` entry.

A `next[]` entry naming a `SKILL.md` to read is a step that asks the user a
question. A `next[]` entry that is a shell command does not.

## Boundary

Sequencing the three areas is the whole job. What each area proposes, how it heals
drift, and how it explains itself belong to that area's own skill — read those
rather than second-guessing them from here.

From feelepxyz/dotfiles, GPL-3.0.

More from feelepxyz/dotfiles

Signals

Stars
2
Forks
3
Open issues
0
Last commit (this folder)
Jul 29, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from feelepxyz

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get setup-repo running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying setup-repo?

CallGet help
Cite this page

setup-repo skill. Agent Mart. https://agentmart.dev/skills/feelepxyz-setup-repo (last updated 2026-10-24)