physical-capability-cloud: Command for Claude Code

.claude/commands/pcc-onboard.md

pcc-onboard is a command for Claude Code from global-mysterysnailrevolution/physical-capability-cloud. It costs 0 tokens per session (925 once invoked), scanned A, original, Apache-2.0.

Command-line tools for adding a machine or capability to the PCC network. They can inspect configuration, discover devices, generate a kernel configuration, and register equipment.

In plain words
What is it for?
Checking environment and database status, scanning for network devices, onboarding equipment, and generating configuration for a PCC kernel.
Why use it?
They provide a defined setup path for new equipment and combine discovery, configuration, and registration steps.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is global-mysterysnailrevolution/physical-capability-cloud's own configuration. It tells Claude Code how to work on physical-capability-cloud itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything physical-capability-cloud configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node packages/mcp-server/dist/cli.js setup detect [--pretty].

Reuse

Borrowing it

Nothing to install: this file belongs to global-mysterysnailrevolution/physical-capability-cloud. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/global-mysterysnailrevolution/physical-capability-cloud/master/.claude/commands/pcc-onboard.md
Clone the repo
git clone --depth 1 https://github.com/global-mysterysnailrevolution/physical-capability-cloud

Made for: Claude Code.

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 pcc-onboard

README.md
[![agentmods](https://agentmods.dev/badge/commands/global-mysterysnailrevolution/physical-capability-cloud/pcc-onboard/github.svg)](https://agentmods.dev/commands/global-mysterysnailrevolution/physical-capability-cloud/pcc-onboard)
Your own site
<a href="https://agentmods.dev/commands/global-mysterysnailrevolution/physical-capability-cloud/pcc-onboard"><img src="https://agentmods.dev/badge/commands/global-mysterysnailrevolution/physical-capability-cloud/pcc-onboard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pcc-onboard

Your own site · 80×15
<a href="https://agentmods.dev/commands/global-mysterysnailrevolution/physical-capability-cloud/pcc-onboard"><img src="https://agentmods.dev/badge/commands/global-mysterysnailrevolution/physical-capability-cloud/pcc-onboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00925
Opus 5 $0.00000 $0.00463
Sonnet 5 $0.00000 $0.00185
Haiku 4.5 $0.00000 $0.00093

Measured 12d ago against content hash 03e4e29606cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pcc-onboard 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 12d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/pcc-onboard.md · 92 lines

How it starts

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

PCC Onboard — CLI

Onboard a new machine or capability to the PCC network using CLI tools.

When to use

  • "I have a new machine to add" / "Onboard my printer" / "Register equipment"
  • "Set up a new kernel" / "Add my CNC mill to PCC"

Prerequisites

Commands

Auto-detect configuration state

node packages/mcp-server/dist/cli.js setup detect [--pretty]

Check what's configured, what env vars are set, database status. Start here.

Scan for devices on network

node packages/mcp-server/dist/cli.js discover scan [--protocols=ipp] [--timeout=3000] [--pretty]

Find IPP printers and other discoverable devices on the local network.

One-command onboard pipeline

node packages/mcp-server/dist/cli.js discover onboard [--uri=ipp://192.168.1.50/ipp/print] [--protocol=ipp] [--pretty]

Auto-discover → generate CSD → register in PCC registry. All in one command.

Generate kernel config

node packages/mcp-server/dist/cli.js setup config '<devicesJson>' [--kernelId=my-shop] [--mockMode] [--pretty]

Generate KERNEL_CONFIG JSON from device descriptions. The devicesJson is an array of {name, type, adapterType, url?, apiKey?, host?, port?}.

Validate config

node packages/mcp-server/dist/cli.js setup validate [--config='{}'] [--pretty]

Check adapter connectivity and config completeness. Omit --config to validate current.

Register a device

node packages/mcp-server/dist/cli.js setup register-device --kernelId=x --deviceId=y --type=machine|sensor|camera --adapter=octoprint|modbus|opcua|sila|generic-http|mock [--model="Prusa MK4"] [--pretty]

Health check

node packages/mcp-server/dist/cli.js setup health [--deviceId=x] [--pretty]

Connectivity status and response time for all or specific devices.

Run test job

node packages/mcp-server/dist/cli.js setup test-job [--kernelId=x] [--deviceId=y] [--tier=0] [--pretty]

End-to-end pipeline test: submit → execute → evidence → (optional) settlement.

Read the full file on GitHub · 92 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. 12d ago First seen · 92 lines · 0 tokens per session scan A 03e4e29606cc

Subscribe to this mod's changes

pcc-onboard is a command published in the GitHub repository global-mysterysnailrevolution/physical-capability-cloud (5 stars, last pushed 5mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 925 tokens. 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.