Skip to content
Back to skills

Adr

ASecurity

**Status:** accepted **Date:** 2026-03-27 · **Amended:** 2026-11-06 (ADR 0014: committed files only)

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 23, 2026
ai-agentsshellbashgit

Works with

  • claude code
  • mcp

Security analysis

A100/100

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

Scanned November 24, 2026

npx -y skills add notitial/ai-toolkit --skill adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adr?

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

Security grade badge for Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/notitial-adr/badge)](https://www.skillsdirectory.com/skills/notitial-adr)

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
# 7. Global Setup Skill Over Manual Installation

**Status:** accepted
**Date:** 2026-03-27 · **Amended:** 2026-11-06 (ADR 0014: committed files only)

## Context

Users need to install skills, configure permissions, set up MCP servers, and maintain a global CLAUDE.md. This involves multiple files across `~/.claude/` — settings.json, mcp.json, skills symlinks, and CLAUDE.md. The question is how to manage this setup: manually via README instructions, a shell script, or an AI-executable skill.

## Options Considered

1. **Idempotent setup skill (`/setup-claude`)** — a SKILL.md that Claude Code itself executes, reading templates from this repo and applying them to `~/.claude/`
2. **Shell script** — a `setup.sh` that copies/symlinks files and modifies JSON
3. **Manual README instructions** — step-by-step instructions the user follows
4. **Package manager** — publish as a Homebrew formula or npm package

## Decision

Use an idempotent setup skill. `/setup-claude` is a SKILL.md that Claude Code executes from the ai-toolkit repo. It reads templates (`safe-permissions.json`, `global-claude-md.md`), discovers skills via `skills/*/SKILL.md`, and applies everything to `~/.claude/`. It is safe to run repeatedly — it detects existing state and only changes what's needed.

The skill approach has a unique advantage: Claude Code is both the installer and the runtime. It can read the current state, compare against templates, make intelligent decisions (skip vs add vs migrate), and report what changed — all in natural language. A shell script would need brittle JSON parsing. Manual instructions are error-prone and don't handle migration (like Bash→MCP permission replacement). A package manager adds publishing overhead for a tool each user runs from their own clone.

## Consequences

- Setup requires Claude Code itself — you can't bootstrap without it
- The skill handles migration logic (removing old Bash git permissions, dropping unnecessary plugins) alongside installation
- Templates in the repo are the source of truth — changing a template and re-running `/setup-claude` updates the global config
- The skill only touches `~/.claude/` — it never modifies project-level files
- Adding a new skill to the repo is automatic — the glob pattern discovers it on next run
- Amended by [ADR 0014](0014-live-checkout-installs.md) (2026-11-06): `/setup-claude` links only the artifacts committed at `HEAD` (`bash tools/install-copies.sh roster`), not every matching file on disk.
- Amended 2026-11-23: the skills `/setup-claude` and `/update-claude` are now `/setup-toolkit` and `/update-toolkit`, with no aliases. The text above keeps the original names.

Files in this skill

  • 0001-use-adrs.md1.5 KB
  • 0002-streamlined-madr-template.md1.8 KB
  • 0003-numbered-sequential-docs.md2.5 KB
  • 0004-documentation-first-no-code.md2 KB
  • 0005-claude-code-as-source-of-truth.md1.8 KB
  • 0006-symlink-based-skill-distribution.md2.7 KB
  • 0007-global-setup-skill.md2.5 KB
  • 0008-global-agent-roster.md3.9 KB
  • 0009-global-rules-distribution.md3.2 KB
  • 0010-mcp-git-over-bash-git.md7.2 KB
  • 0011-shell-hook-enforcement.md3 KB
  • 0012-overnight-orchestrator-lock.md10.5 KB
  • 0013-app-owned-pr-review.md7.6 KB
  • 0014-live-checkout-installs.md5.3 KB
  • 0015-vendored-build-kit.md3.5 KB
  • 0016-guarded-issue-and-project-writes.md4.2 KB
  • 0017-protected-paths-hook.md8.4 KB
  • 0018-review-kit-as-reusable-workflow.md12.1 KB
  • 0019-release-update-check.md4 KB
  • README.md3.2 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.