Skip to content
Back to skills

Skill

ASecurity

Install, remove, and sync MCPs, skills, and AGENTS.md in Claude Code, Codex, opencode, Hermes, Pi, OMP, OpenClaw, Cursor, Gemini CLI, and GitHub Copilot CLI with the `pegboard` CLI. Use it whenever the user asks to add, remove, list, or sync an MCP server or a skill across one or more agents ("add the Linear MCP", "install this skill on all my agents", "what MCPs do I have?"), or when the project has a pegboard.yaml.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentsgogit

Works with

  • claude code
  • cursor
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add rmandevs/pegboard --skill skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rmandevs-skill/badge)](https://www.skillsdirectory.com/skills/rmandevs-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pegboard
description: Install, remove, and sync MCPs, skills, and AGENTS.md in Claude Code, Codex, opencode, Hermes, Pi, OMP, OpenClaw, Cursor, Gemini CLI, and GitHub Copilot CLI with the `pegboard` CLI. Use it whenever the user asks to add, remove, list, or sync an MCP server or a skill across one or more agents ("add the Linear MCP", "install this skill on all my agents", "what MCPs do I have?"), or when the project has a pegboard.yaml.
---

# pegboard

`pegboard` translates a desired state (MCPs, skills, context) into each
agent's native files, with deterministic code, state, and backups. Use it
instead of editing those files yourself.

## Rules

1. **Never edit by hand** `.mcp.json`, `~/.claude.json`, `.codex/config.toml`,
   `opencode.json`, `~/.hermes/config.yaml`, `~/.pi/agent/mcp.json`,
   `.omp/mcp.json`, `~/.openclaw/openclaw.json`, `~/.cursor/mcp.json`,
   `~/.gemini/settings.json`, `~/.copilot/mcp-config.json`, or the skills
   directories. Use `pegboard`.
2. **Plan first, then apply.** Run the command with `--dry-run --json` (or
   `pegboard plan --json` for a stack), summarize for the user what will change,
   and only then repeat it with `-y --json`.
3. **Conflicts (`"action": "conflict"`): ask.** It means someone edited by
   hand something pegboard manages, or something with that name already
   exists that pegboard did not create. Explain the `reason` and ask before
   using `--force`.
4. **Never write secrets in plain text.** Use references: `${env:NAME}` or
   `${file:~/.secrets/file}`. If the plan contains "plain text secret"
   warnings, tell the user: that agent does not support references.
5. **Never pass `--approve` or `--allow-hidden-unicode` on your own.** A
   conflict whose reason says "new MCP from included stack" or "changed in
   included stack" means a shared stack wants to run new code on this
   machine: show the user the `command` and `via` fields and let them
   decide. "hidden Unicode" means a skill contains invisible characters
   that can carry instructions a human cannot see: show the findings and
   recommend not installing it.

## Which command to use

Is there a `pegboard.yaml` in the project (or in `~/.config/pegboard/`)?

- **Yes → declarative.** Edit the stack and apply:
  ```
  pegboard add mcp github='npx -y @modelcontextprotocol/server-github' --env GITHUB_TOKEN='${env:GITHUB_TOKEN}'
  pegboard add mcp notion=https://mcp.notion.com/mcp --agent claude-code
  pegboard add skill vercel-labs/agent-skills@web-design-guidelines
  pegboard remove mcp notion
  pegboard plan --json        # show the summary to the user
  pegboard apply -y --json
  ```
- **No → ad-hoc.** Install now, without YAML:
  ```
  pegboard install mcp github='npx -y @modelcontextprotocol/server-github' --env GITHUB_TOKEN='${env:GITHUB_TOKEN}' --dry-run --json
  pegboard install mcp github='npx -y @modelcontextprotocol/server-github' --env GITHUB_TOKEN='${env:GITHUB_TOKEN}' --json -y
  pegboard install skill mattpocock/skills@tdd -y
  pegboard uninstall mcp github -y
  ```
  Add `--save` if the user wants it declared.

Without `--agent`, everything goes to all detected agents; repeat `--agent`
to limit it (`claude-code`, `codex`, `opencode`, `hermes`, `hermes:<profile>`,
`pi`, `omp`, `omp:<profile>`, `openclaw`, `cursor`, `gemini`, `copilot`).
`--scope global` is for the user; `--scope project` is for the current
directory. OpenClaw is global-only; Copilot CLI has MCPs only in the global
scope.

## Copy one agent's setup to others

When the user asks to move or copy their setup ("give Codex what Claude Code
has"), use `replicate`. The first agent can be any of them, and it is not changed:

```
pegboard replicate claude-code codex opencode --dry-run --json   # summarize for the user
pegboard replicate claude-code codex opencode -y --json
```

Tell the user which variables to export: their secrets become `${env:…}`
references.

Context files are left alone unless you pass `--context`. Ask the user where the
source's text should go before using it: `before` or `after` what each target
already has, or `replace` it (the file is backed up). `--dry-run` shows the
result without writing.

## Shared stacks, audits, and APM

- A stack can `include` others (`./stacks/web`, `acme/agent-stack//web?ref=v1`,
  `./team.zip`). `pegboard update` refreshes them and lists new MCP commands.
- `pegboard audit --json` scans installed skills and context files for hidden
  Unicode. Run it when the user asks whether their skills are safe.
- `pegboard import --from apm.yml` brings a Microsoft APM manifest's skills
  and self-defined MCPs into pegboard.yaml.
- `pegboard lock export --format cyclonedx|spdx` prints an SBOM of the lock.

## Built-in skill

```
pegboard skill install -y      # install this skill on the detected agents
pegboard skill uninstall -y    # remove it from the detected agents
```

Both default to the global scope. Repeat `--agent` to limit them.

## Skill sources

`owner/repo` (all skills in the repo), `owner/repo@skill` (one),
`github.com/owner/repo//path?ref=v1`, a git URL, a local `./path`, or
`pegboard` (this skill).

## To review

```
pegboard agents --json          # detected agents and their paths
pegboard drift --json           # did anyone edit pegboard-managed files by hand?
pegboard update                 # new skill versions (shows the diff)
```

Exit codes: `0` ok, `1` error, `2` there are changes or drift (with
`--exit-code`).

Files in this skill

  • SKILL.md5.3 KB
  • skill.go275 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.