Skip to content
Skill

Setup

Sets up and validates DiffPal local and CI configuration with your approval

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

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

Similar skills

About Setup

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.

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 2 files (4 KB) on GitHub on 3 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 diffpal plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add diffpal/diffpal
/plugin install diffpal@diffpal

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

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.

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/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.

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/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.

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/diffpal/diffpal.git --path plugins/diffpal/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/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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Setup 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.

More from diffpal/diffpal

  1. Guides safe setup of DiffPal code review in GitHub Actions, GitLab, Azure or custom CI

    • Open source
    • 9 GitHub stars
    • Developer tools
  2. Runs DiffPal code reviews on uncommitted work or committed revision ranges

    • Open source
    • 9 GitHub stars
    • Developer tools
  3. Sets up and validates DiffPal review configuration for local and CI profiles

    • Open source
    • 9 GitHub stars
    • Developer tools
  4. Guides safe setup of DiffPal code review in GitHub, GitLab, Azure or custom CI

    • Open source
    • 9 GitHub stars
    • Developer tools
  5. Runs and checks DiffPal code reviews of uncommitted work, branches or commits

    • Open source
    • 9 GitHub stars
    • Developer tools