Skip to content
Back to skills

Setup

ASecurity

Prepares a project for viber - seeds .claude/viber.yml and .gitignore, merges the recommended permissions into .claude/settings.json, checks the gh CLI and the commands CLAUDE.md names. User-only.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add p2p2sp/p2p2.claude --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

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

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/p2p2sp-setup-p2p2-claude/badge)](https://www.skillsdirectory.com/skills/p2p2sp-setup-p2p2-claude)

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: setup
description: Prepares a project for viber - seeds .claude/viber.yml and .gitignore, merges the recommended permissions into .claude/settings.json, checks the gh CLI and the commands CLAUDE.md names. User-only.
allowed-tools: Read, AskUserQuestion, Bash(${CLAUDE_SKILL_DIR}/scripts/bootstrap.sh:*), Bash(${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/merge-settings.sh:*)
user-invocable: true
disable-model-invocation: true
model: haiku
context: fork
background: true
---

# setup

```!
"${CLAUDE_SKILL_DIR}/scripts/bootstrap.sh"
```

The lines above are the result. They are idempotent and self-verifying: report them as they stand, never re-check them.

## Settings

- `ASK:` line - ask with one `AskUserQuestion` (a prose question ends the turn and the script's pre-approval with it) which of its two `<name> -> <command>` options to run:
  - merge - fill in what is missing: the template's value wins a conflict, lists only gain entries, a template entry in `permissions.ask` leaves the host's `permissions.deny`, a key the template lacks is never touched.
  - reset - replace the file with the template; the old one is kept in `.temp/viber/setup/`.
- `RUN:` line - run its command.
- Neither - the file matches the template: the preload's `settings.json:` line is the settings line.

Run the command once, as printed. Its output line is the settings line: carry it into the close literally, never re-verify or retry it, a non-zero exit included.

## CLAUDE.md

Never edit `CLAUDE.md`. Act on the preload's `CLAUDE.md:` line:

- `CLAUDE.md: present - <path>` - read that file with `Read`, fresh, never from session context. The items come from the reference: read `claude-md-root.md` with `Read` from the directory the preload's `refs:` line names. The items are the items 2 to 4 of its `## Contents`; each is named only when the file contains its literal command.
  - All three named - the line is `CLAUDE.md: names the build, test and single-test-file commands`.
  - Any item not named - the line is `CLAUDE.md: missing <the missing items> - paste this prompt:`, followed by the text of the reference's `## Setup prompt` section, verbatim in a code block.
- `CLAUDE.md: missing` - read no `CLAUDE.md`; the line is `CLAUDE.md: missing - run /viber:memory, which writes it`, with no prompt block.

## Close

One line per item, nothing else: the preload's lines except its `settings.json:`, `CLAUDE.md:`, `refs:`, `ASK:` and `RUN:` ones, the settings line, the `CLAUDE.md:` line with its prompt block when it has one.

Files in this skill

  • SKILL.md3.4 KB
  • assets/viber-flow-en.svg33.9 KB
  • assets/viber-flow-pl.svg34.3 KB
  • scripts/bootstrap.sh19 KB
  • scripts/merge-settings.js4.5 KB
  • scripts/merge-settings.sh6.1 KB
  • templates/claude-md-prompt.txt615 B
  • templates/gitignore.txt728 B
  • templates/settings.json2.6 KB
  • templates/viber.yml5.9 KB

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.