# Diffpal setup

> Diffpal setup is an open-source agent skill for developer tools. Sets up and validates DiffPal review configuration for local and CI profiles. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/diffpal/diffpal/tree/main/plugins/diffpal/prefixed-skills/diffpal-setup
- **Repository:** https://github.com/diffpal/diffpal
- **GitHub stars:** 9
- **License:** MIT
- **Skill name:** diffpal-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 checking DiffPal configuration, limited to the local and/or CI profiles the user asks for. It inspects existing repository config, ignore rules, templates and CI files, then proposes a structural merge of the YAML and waits for approval before any install, network action or file write.

The workflow fixes one DiffPal command prefix (an installed binary, a pinned npx one-shot, a pinned global npm install, or a source build when explicitly requested) and keeps it through init and validation. Before writing, the agent previews the exact commands, YAML diff, files init may create and credential names involved. After approval it patches the config, then runs doctor per requested profile, noting that local doctor checks configuration and executables but not provider authentication.

It expects a repository that uses DiffPal and access to the relevant provider and code-host CLIs. Credential values are never read or printed; authentication stays a separate task for the user.

## 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/prefixed-skills/diffpal-setup)
- [License: MIT](https://github.com/diffpal/diffpal/tree/HEAD/plugins/diffpal/prefixed-skills/diffpal-setup)

## Features

- **Profile-scoped configuration:** Configures only the local or CI profiles requested and preserves all other profiles and settings.
- **Approval-gated changes:** Previews install commands, YAML diffs and created files, requiring separate approval for installs and writes.
- **Provider mapping:** Links each selected provider to a root runtime entry while keeping shared policy at the root.
- **Doctor validation:** Runs doctor for each changed profile using the same command prefix used for setup.
- **Credential safety:** Works with credential and secret names only and never requests or prints secret values.

## Good for

- Install and initialize DiffPal in a repository for local reviews
- Add a CI profile to an existing DiffPal configuration
- Repair a broken DiffPal config file without losing other profiles
- Validate that DiffPal setup works after a version upgrade
- Add a new review provider to the existing config

## 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/diffpal-setup`:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/diffpal-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/diffpal-setup &&
cp -R "$tmp/plugins/diffpal/prefixed-skills/diffpal-setup" ~/.agents/skills/diffpal-setup &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/diffpal-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/diffpal-setup &&
cp -R "$tmp/plugins/diffpal/prefixed-skills/diffpal-setup" ~/.cursor/skills/diffpal-setup &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/diffpal-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/prefixed-skills/diffpal-setup
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/diffpal-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/prefixed-skills/diffpal-setup` into your agent's skills folder as `diffpal-setup`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Diffpal setup need before it runs?

It needs a repository with DiffPal config or intent to set it up, and it checks for provider CLIs by executable name. Installation is only done with separate approval, using a pinned version.

### Does Diffpal setup store or read my API keys?

No. It never requests, reads, prints or copies credential values and only works with credential or secret names.

### Will Diffpal setup change files without asking?

No. It previews the YAML diff and every file init may create, and it does not overwrite existing files without approval for those exact paths.

### Does doctor confirm my provider works?

Not in local mode. The skill notes that doctor --mode local validates configuration and executables but does not prove provider authentication or connectivity.

### How do I install Diffpal setup in Claude Code?

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

### Does Diffpal 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 Diffpal 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 Diffpal setup?

The closest alternatives to Diffpal setup are Setup, Diffpal ci, Ci, Diffpal review and Review.

## Where this comes from

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

## Alternatives

- [Setup](https://ai-powered.com/skills/setup-diffpal): Setup 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.
- [Ci](https://ai-powered.com/skills/ci-diffpal): Ci 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.
- [Review](https://ai-powered.com/skills/review-diffpal): Review is an open-source agent skill for developer tools.
- [Second opinion](https://ai-powered.com/skills/second-opinion): Second opinion is an open-source agent skill for developer tools.
- [Run by experts](https://ai-powered.com/skills/run-by-experts): Run by experts is an open-source agent skill for developer tools.
- [Review](https://ai-powered.com/skills/review-jasgujral): Review is an open-source agent skill for developer tools.

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