Skip to content
Skill

Setup

Sets the plans directory, gitignore handling and pruning for planning skills

Setup is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Setup

This skill writes a small JSON config file at .claude/plans-config.json that tells the planning skills where their plan suites are stored. It asks a short sequence of questions covering the plans directory location, whether that directory should be added to .gitignore, and whether old suites should be removed after a chosen number of days. If a config already exists, the agent shows the current values and offers to keep them.

The skill makes at most two writes: the config file and, when needed, a single appended line in .gitignore. Existing .gitignore lines are never removed or rewritten, and no source files are touched. Defaults match the original behavior, so the plans folder stays in .claude/plans, is gitignored, and nothing is pruned unless the user opts in.

Age-based pruning is recorded in the config only; the actual deletion is done by a SessionStart hook that ships with the Claude Code plugin install. The config and the hook are shared by the companion planning skills blueprint, build and qa, which read the plans directory from this file.

When your agent uses it

Configure where plan suites live, whether the plans directory is gitignored, and whether old suites are pruned. Writes `.claude/plans-config.json` with `plansDir` (default `.claude/plans`), `gitignore` (default `true`), and optional `retainDays` (default: keep forever) keys. The planning skills (`/blueprint`, `/build`, `/qa`) read this config to resolve the plans directory, falling back to `.claude/plans` when the config is absent. Use when the user invokes `/setup`, asks to "configure the plans directory", "change where plans live", "set up the plans skill config", wants to opt in/out of gitignoring the plans directory, or wants old plans deleted automatically after some number of days.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add vpaivag/skills
/plugin install skills@vpaivag

Or copy only this skill to ~/.claude/skills/setup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/setup &&
cp -R "$tmp/skills/setup" ~/.claude/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/setup inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/setup to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/setup &&
cp -R "$tmp/skills/setup" ~/.agents/skills/setup &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/setup inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/setup to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/setup &&
cp -R "$tmp/skills/setup" ~/.cursor/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/setup inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vpaivag/skills.git --path skills/setup

Or copy the folder to ~/.gemini/skills/setup yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/setup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/setup &&
cp -R "$tmp/skills/setup" ~/.copilot/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/setup inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vpaivag/skills.git

Then copy skills/skills/setup into your agent's skills folder as setup. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Plans directory location
Choose a relative or absolute path for where plan suites are stored, defaulting to .claude/plans.
Gitignore management
Optionally add the plans directory to .gitignore by appending a line, without altering existing entries.
Automatic pruning setting
Record a number of days after which old suites are removed at session start, or keep them forever.
Existing config detection
Shows current settings when a config file already exists and lets the user keep or reconfigure them.
Safe, minimal writes
Writes only the config file and optionally .gitignore, leaving source code untouched.

Good for

  • Move plan files to a directory outside the repository
  • Stop ignoring the plans folder so plans are committed to git
  • Delete planning suites automatically after 30 days
  • Check or change the current plans configuration

Setup FAQ

Does Setup delete any plans itself?

No. It only records the retainDays setting; the SessionStart hook in the plugin install performs any pruning, and suites tracked in git are never deleted.

What happens if I never run Setup?

The planning skills fall back to .claude/plans, which is gitignored by default, and nothing is pruned.

Which files does Setup change?

It writes .claude/plans-config.json and may append one line to .gitignore. It does not modify source files or remove existing .gitignore lines.

Does pruning work with every install method?

Pruning needs the plugin install, since the hook ships with it. A skills-CLI install records the retainDays key but nothing removes old suites.

How do I install Setup in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/setup to use it in all your projects, or to .claude/skills/setup in one project. Or install the skills plugin, which includes it: /plugin marketplace add vpaivag/skills, then /plugin install skills@vpaivag.

Does Setup run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Setup?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Setup?

The closest alternatives to Setup are Plan status, Plan chat, Plan change, Maintenance and Harness sync.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vpaivag/skills

  1. Stress-tests a code diff with blind reviewer subagents that hunt for real bugs

    • Open source
    • 5 GitHub stars
    • Developer tools
  2. Turns a coding task into a reviewed, executable plan suite before any code is written

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Trims a repo's CLAUDE.md into a lean index with topic docs under /docs

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Checks a PR or diff against the request it was meant to deliver, item by item

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Drafts standalone Linear issues and sub-issues that a dev or coding agent can pick up

    • Open source
    • 5 GitHub stars
    • Productivity
  6. Walks a newcomer through an unfamiliar codebase and sets a practice task

    • Open source
    • 5 GitHub stars
    • Developer tools