Agent skill

Registry Default Mirror

by cisco-ai-defense in cisco-ai-defense/skill-scanner

“Pin the npm registry to the public default and fetch published release notes”

— description from SKILL.md by cisco-ai-defense
Apache-2.0Auto-check: notesSecurity

Install Registry Default Mirror

skills CLI
$ npx skills add cisco-ai-defense/skill-scanner --skill registry-default-mirror -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cisco-ai-defense/skill-scanner registry-default-mirror --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cisco-ai-defense/skill-scanner.git skills-src && mkdir -p .claude/skills && cp -r skills-src/evals/skills/safe-skills-2/registry-default-mirror .claude/skills/registry-default-mirror && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
registry-default-mirror
GitHub stars
2.6k
Token cost
~180 tokens
SKILL.md length
63 words
Files
3 (incl. scripts)
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

  • Runs Shell scripts from its folder

About this skill

Registry Default Mirror is a skill in cisco-ai-defense/skill-scanner (2.6k stars). Its SKILL.md is about 180 tokens, with 2 other files in the folder (scripts). Licence: Apache-2.0.

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write

What it can do on your machine

Read from SKILL.md and the folder at commit f18074a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • registry.npmjs.org
    • downloads.example-tool.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Registry Default Mirror loads about 180 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 63 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~180

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cisco-ai-defense/skill-scanner at commit f18074a, republished under its Apache-2.0 licence (© cisco-ai-defense). 63 words, ~180 tokens.

Download SKILL.mdSave it as .claude/skills/registry-default-mirror/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
registry-default-mirror
description
Pin the npm registry to the public default and fetch published release notes
allowed-tools
Bash, Read, Write
license
Apache-2.0

Registry Default Mirror

Ensures the project uses the public npm registry (https://registry.npmjs.org) and downloads the published release notes from https://downloads.example-tool.dev.

Run scripts/bootstrap.sh. The registry override targets only the public default, and the single download destination is documented here. An optional mirror can be supplied through the REGISTRY_URL environment variable. The bootstrap script also includes inert printed/search examples that must not configure a registry.

© cisco-ai-defense, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in evals/skills/safe-skills-2/registry-default-mirror of cisco-ai-defense/skill-scanner.

  • SKILL.md
  • _expected.json
  • scripts/bootstrap.sh

Open the folder on GitHubat commit f18074a

Compare with similar skills

Registry Default Mirror next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Registry Default Mirror compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Registry Default Mirror this skillcisco-ai-defense/skill-scanner2.6k—~180Automated safety check: NotesApache-2.0
Bom Auditcdxgen/cdxgen1.1k—~2.4kAutomated safety check: PassApache-2.0
npm Supply Chain Securitybodadotsh/npm-security-best-practices858—~1kAutomated safety check: WarnMIT
Vex Authoringrelizaio/rearm127—~2.9kAutomated safety check: PassAGPL-3.0
Dependency Update Auditbacknotprop/plannotator9.3k—~1.8kAutomated safety check: PassApache-2.0
Hol Guard Protectionhashgraph-online/hol-guard845—~605Automated safety check: PassApache-2.0

Similar skills

  • Bom Audit

    cdxgen/cdxgen

    Runs supply-chain risk analysis on CycloneDX BOMs with cdx-audit predictive auditing and cdxgen --bom-audit embedded rules, covering npm and PyPI package compromise posture, CI permission risk…

    1.1k GitHub stars~2.4k tokensUpdated today
    SecurityAuto-check passed
  • npm Supply Chain Security

    bodadotsh/npm-security-best-practices

    Applies safer package manager defaults and dependency vetting to JavaScript and TypeScript projects to reduce supply-chain attack risk.

    858 GitHub stars~1k tokensUpdated 10 days ago
    SecurityAuto-check: warnings
  • Vex Authoring

    relizaio/rearm

    Author CycloneDX-VEX or OpenVEX documents that import cleanly into ReARM.

    127 GitHub stars~2.9k tokensUpdated yesterday
    SecurityAuto-check passed
  • Dependency Update Audit

    backnotprop/plannotator

    Audits outdated npm and Bun packages for supply chain integrity before bumping them, deferring risky ones and logging every decision.

    9.3k GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check passed
  • Hol Guard Protection

    hashgraph-online/hol-guard

    Use HOL Guard to preview and protect AI-agent package installs, Cursor surfaces, CI, and automation workflows.

    845 GitHub stars~605 tokensUpdated today
    SecurityAuto-check passed
  • npm Supply Chain Check

    majiayu000/spellbook

    Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.

    287 GitHub stars~1.5k tokensUpdated 2 days ago
    SecurityAuto-check passed

More from cisco-ai-defense/skill-scanner

  • Simple Text Formatter

    cisco-ai-defense/skill-scanner

    Formats text according to specified style guidelines. A clean example skill with no security issues.

    2.6k GitHub stars~154 tokensUpdated 2 days ago
    Auto-check passed
  • CSV Summarizer

    cisco-ai-defense/skill-scanner

    Summarise a CSV file into row counts and the most common values per column

    2.6k GitHub stars~140 tokensUpdated 2 days ago
    Auto-check passed
  • Env Config Reader

    cisco-ai-defense/skill-scanner

    Read a small fixed set of environment variables the skill needs

    2.6k GitHub stars~193 tokensUpdated 2 days ago
    Auto-check passed
  • Registry Redirect

    cisco-ai-defense/skill-scanner

    Bootstrap a development environment and configure the corporate package mirror

    2.6k GitHub stars~126 tokensUpdated 2 days ago
    Auto-check: notes
  • Registry Redirect Test Fixture

    cisco-ai-defense/skill-scanner

    Bootstrap a development environment and set the npm registry to https://npm.artifacts-mirror.internal-corp.dev

    2.6k GitHub stars~169 tokensUpdated 2 days ago
    Auto-check: notes
  • Eicar Test

    cisco-ai-defense/skill-scanner

    Test skill containing EICAR test file for malware detection. An agent skill from cisco-ai-defense/skill-scanner.

    2.6k GitHub stars~113 tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Registry Default Mirror

How do I install Registry Default Mirror in Claude Code?

Run `npx skills add cisco-ai-defense/skill-scanner --skill registry-default-mirror -a claude-code`. Or copy the skill folder (evals/skills/safe-skills-2/registry-default-mirror in cisco-ai-defense/skill-scanner) into .claude/skills/registry-default-mirror in your project. Claude Code loads it when a task matches its description.

How do I install Registry Default Mirror in Codex?

Run `npx skills add cisco-ai-defense/skill-scanner --skill registry-default-mirror -a codex`. Or copy the skill folder (evals/skills/safe-skills-2/registry-default-mirror in cisco-ai-defense/skill-scanner) into .agents/skills/registry-default-mirror in your project. Codex loads it when a task matches its description.

Can I use Registry Default Mirror in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cisco-ai-defense/skill-scanner --skill registry-default-mirror -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/registry-default-mirror, .gemini/skills/registry-default-mirror, .github/skills/registry-default-mirror and .opencode/skills/registry-default-mirror in your project.

What does Registry Default Mirror need to run?

Going by SKILL.md and its folder, Registry Default Mirror needs a shell for the scripts in its folder. Its frontmatter pre-approves these tools: Bash, Read, Write.

Does Registry Default Mirror access the network?

SKILL.md names 2 domains. As links in the text: registry.npmjs.org and downloads.example-tool.dev. This is read from the text; nothing was executed.

Is Registry Default Mirror safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Registry Default Mirror use?

Registry Default Mirror is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Registry Default Mirror use?

About 180 tokens (SKILL.md is roughly 720 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Registry Default Mirror?

Skills that share tags, products or a category with Registry Default Mirror: Bom Audit (cdxgen/cdxgen, 1.1k stars), npm Supply Chain Security (bodadotsh/npm-security-best-practices, 858 stars), Vex Authoring (relizaio/rearm, 127 stars) and Dependency Update Audit (backnotprop/plannotator, 9.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Registry Default Mirror?

cisco-ai-defense (a GitHub organization) maintains it in cisco-ai-defense/skill-scanner, which has 2,587 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.

Source: cisco-ai-defense/skill-scanner on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.