standardgraph: Command for Claude Code

.claude/commands/devices.md

devices is a command for Claude Code from swoopeagle/standardgraph. It costs 0 tokens per session (1,105 once invoked), scanned C, original, MIT.

A command for checking whether the machines on a StandardGraph private network are reachable and what services they provide. Tailscale is software that connects machines through a private network.

In plain words
What is it for?
It helps check the listed Mac and Windows machines, inspect remote pipeline and MCP-server availability, and see which models are running on the Ollama host.
Why use it?
It makes it easier to find unavailable computers or services before a distributed data-processing job fails.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is swoopeagle/standardgraph's own configuration. It tells Claude Code how to work on standardgraph 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 standardgraph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to swoopeagle/standardgraph. 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/swoopeagle/standardgraph/main/.claude/commands/devices.md
Clone the repo
git clone --depth 1 https://github.com/swoopeagle/standardgraph

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 devices

README.md
[![agentmods](https://agentmods.dev/badge/commands/swoopeagle/standardgraph/devices/github.svg)](https://agentmods.dev/commands/swoopeagle/standardgraph/devices)
Your own site
<a href="https://agentmods.dev/commands/swoopeagle/standardgraph/devices"><img src="https://agentmods.dev/badge/commands/swoopeagle/standardgraph/devices/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 devices

Your own site · 80×15
<a href="https://agentmods.dev/commands/swoopeagle/standardgraph/devices"><img src="https://agentmods.dev/badge/commands/swoopeagle/standardgraph/devices.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 1,105 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.01105
Opus 5.5 $0.00000 $0.00442
Sonnet 5.5 $0.00000 $0.00221
Haiku 4.5 $0.00000 $0.00111

Measured 1mo ago against content hash 5dc1b61983a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

devices scanned grade C with 2 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 1mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sf --max-time 5 http://100.77.63.73:11434/api/ps | python3 -c "import sys,json; d=json.load(sys.stdin); models=d.get('models',[]); print('Ollama UP —', [m['name'] + ' ' + str(round(m.get('size_vram',0)/1e9,1)) + 'G

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf --max-time 5 http://100.77.63.73:11434/api/ps | python3 -c "import sys,json; d=json.load(sys.stdin); models=d.get('models',[]); print('Ollama UP —', [m['name'] + ' ' + str(round(m.get('size_vram',0)/1e9,1)) + 'G
.claude/commands/devices.md · 57 lines

What it actually says

Check the status of all machines on the StandardGraph Tailscale network.

Tailscale devices:

Project path on Mac minis: ~/projects/intl-math-standards-mcp/

Step 1 — ping all remotes in parallel:

ping -c 1 -W 2000 100.77.63.73 && echo "Mac Studio REACHABLE" || echo "Mac Studio UNREACHABLE"
ping -c 1 -W 2000 100.101.100.96 && echo "Mac mini 2 REACHABLE" || echo "Mac mini 2 UNREACHABLE"
ping -c 1 -W 2000 100.123.114.101 && echo "Mac mini 3 REACHABLE" || echo "Mac mini 3 UNREACHABLE"
ping -c 1 -W 2000 100.70.170.62 && echo "IWPC REACHABLE" || echo "IWPC UNREACHABLE"

Step 2 — Mac Studio (Ollama only, no SSH needed for status):

curl -sf --max-time 5 http://100.77.63.73:11434/api/ps | python3 -c "import sys,json; d=json.load(sys.stdin); models=d.get('models',[]); print('Ollama UP —', [m['name'] + ' ' + str(round(m.get('size_vram',0)/1e9,1)) + 'GB' for m in models] or ['idle'])"

Step 3 — Mac mini 2:

ssh -o ConnectTimeout=5 [email protected] "
  echo '--- uptime ---' && uptime &&
  echo '--- ollama ---' && (curl -sf http://localhost:11434/api/ps | python3 -c 'import sys,json; d=json.load(sys.stdin); models=d.get(\"models\",[]); print(len(models),\"model(s):\", [m[\"name\"] for m in models])' 2>/dev/null || echo 'not running') &&
  echo '--- pipeline ---' && (ps aux | grep -E 'overnight|reingest|embed|relate|crosswalk' | grep -v grep || echo 'none') &&
  echo '--- lock ---' && (ls ~/projects/intl-math-standards-mcp/.pipeline.lock 2>/dev/null && echo 'LOCKED' || echo 'no lock') &&
  echo '--- db ---' && sqlite3 ~/projects/intl-math-standards-mcp/data/common_core.db \"SELECT COUNT(*) || ' standards, ' || COUNT(DISTINCT system) || ' systems' FROM standards;\" 2>/dev/null &&
  echo '--- disk ---' && df -h / | tail -1
"

Step 4 — Mac mini 3 (same as above with different IP):

ssh -o ConnectTimeout=5 [email protected] "
  echo '--- uptime ---' && uptime &&
  echo '--- ollama ---' && (curl -sf http://localhost:11434/api/ps | python3 -c 'import sys,json; d=json.load(sys.stdin); models=d.get(\"models\",[]); print(len(models),\"model(s):\", [m[\"name\"] for m in models])' 2>/dev/null || echo 'not running') &&
  echo '--- pipeline ---' && (ps aux | grep -E 'overnight|reingest|embed|relate|crosswalk' | grep -v grep || echo 'none') &&
  echo '--- lock ---' && (ls ~/projects/intl-math-standards-mcp/.pipeline.lock 2>/dev/null && echo 'LOCKED' || echo 'no lock') &&
  echo '--- db ---' && sqlite3 ~/projects/intl-math-standards-mcp/data/common_core.db \"SELECT COUNT(*) || ' standards, ' || COUNT(DISTINCT system) || ' systems' FROM standards;\" 2>/dev/null &&
  echo '--- disk ---' && df -h / | tail -1
"

Report as a clean table: | Device | Status | Ollama | Pipeline | DB | Disk free | and note any lock files (stale from power loss — safe to remove with rm .pipeline.lock).

If a pipeline was in progress on either Mac mini, tail the latest log:

ssh [email protected] "ls -t ~/projects/intl-math-standards-mcp/logs/*.log | head -1 | xargs tail -20"
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. 1mo ago First seen · 57 lines · 0 tokens per session scan C 5dc1b61983a1

Subscribe to this mod's changes

devices is a command published in the GitHub repository swoopeagle/standardgraph (5 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,105 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

setup-elevenlabs.en

Command "setup-elevenlabs.en" from minicoohei/ai-agent-camp, covering elevenlabs api setup, step 0: check setup progress, what you'll do in this session, readiness check and step 1: open elevenlabs in the browser.

minicoohei/ai-agent-camp · 2 tokens

setup-elevenlabs.es

Command "setup-elevenlabs.es" from minicoohei/ai-agent-camp, covering configuración de la api de elevenlabs, step 0: verificar el progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: abrir elevenlabs en el navegador.

minicoohei/ai-agent-camp · 2 tokens

setup-elevenlabs

A setup command for connecting to the ElevenLabs API. ElevenLabs is a service that provides AI-generated voice and speech tools through an API.

minicoohei/ai-agent-camp · 2 tokens

setup-fal.es

Command "setup-fal.es" from minicoohei/ai-agent-camp, covering configuración de la api de fal.ai, step 0: verificar el progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: abrir fal.ai en el navegador y crear una cuenta.

minicoohei/ai-agent-camp · 2 tokens

setup-fal

A guided setup command for connecting an agent to the fal.ai API, a service that provides access to AI models. It checks preparation, tracks progress, and guides account creation.

minicoohei/ai-agent-camp · 2 tokens

setup-github.es

Command "setup-github.es" from minicoohei/ai-agent-camp, covering configuración de cuenta de github y creación de repositorio, step 0: verificar el progreso de configuración, lo que hará en esta sesión, confirmación antes de la sesión and step 1: verificar su cuenta de github.

minicoohei/ai-agent-camp · 2 tokens