Skip to content
Back to skills

Adr

ASecurity

**Date**: 2026-10-16 **Status**: accepted **Deciders**: Kerim Gökhan DEMİR

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsnodedebugginggitsecurity

Works with

  • claude code
  • terminal
  • cli
  • mcp

Security analysis

A100/100

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

Scanned November 11, 2026

npx -y skills add kgdemir/claude-agentic-os --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/kgdemir-adr/badge)](https://www.skillsdirectory.com/skills/kgdemir-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
# ADR-0011: Official plugins by name, and the security-audit skill through a pinned skills CLI

**Date**: 2026-10-16
**Status**: accepted
**Deciders**: Kerim Gökhan DEMİR

## Context

The working machine already used 16 plugins from Anthropic's official
marketplace (`claude-plugins-official`): review and workflow tools, security
guidance, Claude setup and authoring tools, and MCP/LSP tools. The pack did not
install them, so a fresh machine lacked them. ADR-0003 installs every plugin a
marketplace publishes; the official marketplace publishes over 300.

Cloudflare's `security-audit` skill (`cloudflare/security-audit-skill`, MIT)
gives security guidance and, when asked, a full multi-phase audit. It has no
plugin marketplace; its upstream install path is the `skills` npm CLI.

Nothing told a session which of these tools to use for which task.

Introduced in the commit that adds this ADR.

## Decision

- `PLUGIN_SOURCES` lines become `<source>[ <plugin>...]`. A line without names
  keeps ADR-0003's behaviour (every plugin); a line with names installs only
  those. `anthropics/claude-plugins-official` is added with the 16 names. A
  named plugin the catalog does not publish is reported and skipped.
- The official marketplace keeps no `autoUpdate` entry in
  `extraKnownMarketplaces`, as before: Claude Code ships and updates it.
- A new step, `--with-security-audit` / `--no-security-audit` (asked, default
  yes in a terminal, no under `-y` or without a terminal), runs
  `npx skills@1.7.2 add https://github.com/cloudflare/security-audit-skill
  --skill security-audit --global --agent claude-code --yes --copy` with a
  throwaway `HOME` and `CLAUDE_CONFIG_DIR` and telemetry off, then copies the
  result into `~/.claude/skills/security-audit` when it differs. The version is
  the `SKILLS_CLI_VERSION` constant in `install.sh`.
- A changed installed copy is backed up as
  `~/.claude/skill-backups/security-audit.tar.backup-<STAMP>`, outside
  `skills/` so it is not loaded as a duplicate skill. `--prune-backups` covers
  that folder (ADR-0010).
- New add-on guide `tools/skills.md` says which skill, command or plugin to use
  for security review, code review, clean-up, debugging, test-first work,
  planning, git and authoring, with a trigger row in `.claude/CLAUDE.md` and
  links from `features/web-security.md` and `features/auth.md` (ADR-0007).

## Alternatives Considered

### Alternative 1: Install the whole official marketplace
- **Pros**: No list to keep; matches ADR-0003.
- **Cons**: Over 300 plugins, most unrelated, all loading skills and MCP servers
  into every session.
- **Why not**: Context cost and attack surface far beyond what the rules use.

### Alternative 2: Download a pinned tarball of the skill repository
- **Pros**: No npm or npx needed; exact content pinned by commit.
- **Cons**: Re-implements what the upstream CLI does; a new skill version needs
  a pack change.
- **Why not**: The owner chose the upstream install path; the CLI version is
  pinned instead.

### Alternative 3: Let the skills CLI write into the real home
- **Pros**: Simplest call; the CLI's own lock file tracks the install.
- **Cons**: Writes `~/.agents/` and replaces an existing copy without a backup.
- **Why not**: Breaks ADR-0002 (back up before replacing, touch nothing else).

## Consequences

### Positive
- A fresh machine gets the same official plugins and the audit skill.
- Sessions have one guide that maps a task to a tool, with the core rules
  winning on conflict.

### Negative
- The 16 names are a list to maintain; a renamed upstream plugin shows up only
  as a "does not publish" line.
- The skill step needs Node (`npx`) and git, and network access to npm and
  GitHub.

### Risks
- Supply chain: the skill content is whatever upstream `main` holds at install
  time; only the CLI is pinned. Re-running the installer is what updates it,
  and the diff against the installed copy shows whether anything changed.

Files in this skill

  • 0001-template-claude-md-with-imported-guides.md2.9 KB
  • 0002-installer-merges-backs-up-and-asks.md2.5 KB
  • 0003-plugin-set-installed-whole-with-auto-update.md2.3 KB
  • 0004-one-memsearch-database-per-project.md1.8 KB
  • 0005-subagent-cache-ttl-and-compaction-window.md2.9 KB
  • 0006-warn-only-subagent-brief-hook.md2.7 KB
  • 0007-core-guides-imported-add-ons-on-demand.md4.7 KB
  • 0008-preventive-rules-with-a-why-line.md2.4 KB
  • 0009-warn-only-bash-command-hook.md3 KB
  • 0010-pack-gates-ci-live-sync-and-backup-pruning.md3.7 KB
  • 0011-official-plugins-by-name-and-security-audit-skill.md3.9 KB
  • 0012-usage-log-hook.md7 KB
  • README.md1.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.