add-machine

add-machine is a skill for Claude Code from danielrosehill/Claude-Security-Auditor-Plugin. It costs 17 tokens per session (600 once invoked), scanned A, original, MIT.

A skill for registering a new machine in a security-auditing fleet. It gathers the machine’s identity, connection details, access level, operating system, and physical or cloud classification, then tests SSH access.

In plain words
What is it for?
Use it when onboarding a physical machine, virtual machine, cloud host, container host, or other new audit target.
Why use it?
It creates a repeatable machine profile so the target can be tracked and audited consistently. It also checks whether the configured connection works and may install audit instructions remotely.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/daniel/repos/github/my-repos/Claude-Security-Auditor-Plugin.

Part of the security-auditor plugin — 9 skills shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add danielrosehill/Claude-Security-Auditor-Plugin
Claude Code
/plugin install security-auditor

Made for: Claude Code.

Or install security-auditor, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-machine

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielrosehill/claude-security-auditor-plugin/add-machine.svg)](https://agentmods.dev/skills/danielrosehill/claude-security-auditor-plugin/add-machine)
Your own site
<a href="https://agentmods.dev/skills/danielrosehill/claude-security-auditor-plugin/add-machine"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-security-auditor-plugin/add-machine.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00600
Opus 5 $0.00009 $0.00300
Sonnet 5 $0.00003 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 5d ago against content hash 1fd02480329d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

add-machine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/add-machine/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Machine

Register a new machine into the fleet for repeatable security auditing. Elicit the machine name, description, SSH address, privilege level, OS, and physical/cloud classification. The script will test SSH connectivity and optionally deploy a CLAUDE.md to the remote.

When to use

  • User wants to onboard a new target machine
  • Initial setup of a machine profile for audit tracking

Inputs to gather

  • Machine name (kebab-case identifier, e.g., prod-db-01)
  • Short description (what the machine is / who owns it)
  • SSH alias or user@host:port (must already be in ~/.ssh/config or reachable without a password prompt)
  • Root access required? (yes/no; determines audit depth)
  • Operating system (Linux, macOS, Windows, etc.)
  • Machine type (physical, cloud, VM, container host, etc.)

Procedure

  1. Resolve the data directory:

    DATA_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/security-auditor/data"
    REPO_BASE="$DATA_DIR"
    export REPO_BASE
    
  2. Invoke scripts/add-machine.sh with environment variables:

    cd /home/daniel/repos/github/my-repos/Claude-Security-Auditor-Plugin
    bash scripts/add-machine.sh
    

    The script runs interactively. Either attach the user's terminal (for manual input) or pipe responses via heredoc if you have all values in advance.

  3. The script creates the profile bundle under $REPO_BASE/machines/<machine-name>/:

    • claude-profile.json — machine metadata
    • user-responses.json — structured responses (parsed for re-runs)
    • user-responses.md — human-readable responses
    • readable-profile.md — summary card
    • Tests SSH connection to verify reachability
    • Optionally deploys CLAUDE.md to the remote
  4. Confirm success with the user; display the created profile path.

Output / side effects

  • Machine profile created in ${CLAUDE_USER_DATA}/security-auditor/data/machines/<machine-name>/
  • SSH connectivity verified
  • User can now run audits on this machine

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 61 lines · 17 tokens per session scan A 1fd02480329d

Subscribe to this mod's changes

add-machine is a skill published in the GitHub repository danielrosehill/Claude-Security-Auditor-Plugin (2 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 600 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens