# Setup

> Setup is an open-source agent skill for developer tools. Sets up and validates DiffPal local and CI configuration with your approval. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/diffpal/diffpal/tree/main/plugins/diffpal/skills/setup
- **Repository:** https://github.com/diffpal/diffpal
- **GitHub stars:** 9
- **License:** MIT
- **Skill name:** setup
- **Collection:** https://github.com/diffpal/diffpal
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill walks an agent through installing, initializing, repairing or validating DiffPal configuration for the environments you ask for, whether local, CI, or both. It inspects existing config, ignore rules, templates, package manifests and CI files, then proposes a structural merge of the YAML that keeps shared policy and unrelated profiles intact.

The workflow is gated. Before anything is written, the agent presents the exact install and init commands, the YAML diff, every file init may create, and the credential environment or secret names involved. Network and install actions need separate approval from repository writes, and existing files are not replaced without explicit consent. After applying the merge, it runs doctor for each requested profile using the same DiffPal command prefix and reports changed files, provider IDs, executable version and validation results.

The skill expects a repository that uses DiffPal's config layout and can reach the DiffPal CLI through a global install, npx or a source build. It reads bundled reference guides for profiles and providers, and it never reads or prints credential values.

## When your agent uses it

> Install, initialize, repair, or validate DiffPal configuration for requested local and/or CI profiles while preserving repository policy and credentials.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/diffpal/diffpal/tree/HEAD/plugins/diffpal/skills/setup)
- [License: MIT](https://github.com/diffpal/diffpal/tree/HEAD/plugins/diffpal/skills/setup)

## Features

- **Config inspection:** Reads existing DiffPal config, ignore rules, templates and CI files before proposing changes.
- **Approval-gated merge:** Previews commands, YAML diffs and file changes, and waits for approval before writing.
- **Profile-scoped setup:** Configures only the local or CI profiles requested and leaves others untouched.
- **Provider wiring:** Links each selected provider to a root runtime entry without inventing commands or models.
- **Doctor validation:** Runs doctor per requested profile and reports what it does and does not prove.
- **Credential safety:** Keeps secret values out of reads, output and copies, and treats provider and host auth separately.

## Good for

- Set up DiffPal for local code review in this repository
- Add a CI profile for DiffPal to an existing config
- Repair a broken DiffPal config file without losing custom providers
- Validate that DiffPal config and executables work for the ci profile

## Install

### Claude Code

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

```sh
/plugin marketplace add diffpal/diffpal
/plugin install diffpal@diffpal
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

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

### Gemini CLI

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

```sh
gemini skills install https://github.com/diffpal/diffpal.git --path plugins/diffpal/skills/setup
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/diffpal/diffpal.git
```

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

## FAQ

### Does Setup install DiffPal by itself?

Not without separate approval. Installation and network actions require their own approval, distinct from approval to write config files.

### Will Setup overwrite my existing configuration?

No. It patches existing config directly and does not use force or replace existing files unless you approve those exact paths.

### Does a successful doctor run prove my provider works?

No. Doctor in local mode validates configuration and executables but does not confirm provider authentication or connectivity.

### Which profiles does Setup set up?

Only the local, CI, or both targets you request. Unrequested profiles are preserved and not run.

### 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 diffpal plugin, which includes it: /plugin marketplace add diffpal/diffpal, then /plugin install diffpal@diffpal.

### 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 Diffpal setup, Ci, Diffpal ci, Review and Diffpal review.

## Where this comes from

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

## Alternatives

- [Diffpal setup](https://ai-powered.com/skills/diffpal-setup-diffpal): Diffpal setup is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-diffpal): Ci is an open-source agent skill for developer tools.
- [Diffpal ci](https://ai-powered.com/skills/diffpal-ci-diffpal): Diffpal ci is an open-source agent skill for developer tools.
- [Review](https://ai-powered.com/skills/review-diffpal): Review is an open-source agent skill for developer tools.
- [Diffpal review](https://ai-powered.com/skills/diffpal-review-diffpal): Diffpal review is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-chachamaru127): Ci is an open-source agent skill for developer tools.
- [Ghm self install](https://ai-powered.com/skills/ghm-self-install): Ghm self install is an open-source agent skill for developer tools.
- [Fix merge conflicts](https://ai-powered.com/skills/fix-merge-conflicts): Fix merge conflicts is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/setup-diffpal
