crc-cmd

crc-cmd is a skill for Claude Code, Codex from rhtevan/agentfs. It costs 15 tokens per session (2,540 once invoked), scanned B, original, Apache-2.0.

Two wrapper commands for starting and stopping OpenShift Local, a local OpenShift cluster used for development and testing.

In plain words
What is it for?
Use crcstart and crcstop to manage an OpenShift Local installation on Linux with libvirt.
Why use it?
They address the built-in stop command's short timeout, which can force the virtual machine to stop before its containers have shut down cleanly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use crcstart and crcstop to manage an OpenShift Local installation on Linux with libvirt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rhtevan/agentfs/crc-cmd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rhtevan/agentfs --skill crc-cmd
Clone the repo
git clone --depth 1 https://github.com/rhtevan/agentfs

Made for: Claude Code, Codex.

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 crc-cmd

README.md
[![agentmods](https://agentmods.dev/badge/skills/rhtevan/agentfs/crc-cmd/github.svg)](https://agentmods.dev/skills/rhtevan/agentfs/crc-cmd)
Your own site
<a href="https://agentmods.dev/skills/rhtevan/agentfs/crc-cmd"><img src="https://agentmods.dev/badge/skills/rhtevan/agentfs/crc-cmd/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 crc-cmd

Your own site · 80×15
<a href="https://agentmods.dev/skills/rhtevan/agentfs/crc-cmd"><img src="https://agentmods.dev/badge/skills/rhtevan/agentfs/crc-cmd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00015 $0.02540
Opus 5.5 $0.00006 $0.01016
Sonnet 5.5 $0.00003 $0.00508
Haiku 4.5 $0.00002 $0.00254

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

Security

Grade B, and why

crc-cmd scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

2. SSHs into the VM and runs `sudo systemctl poweroff` (faster than ACPI)
skills/crc-cmd/SKILL.md · 282 lines

How it starts

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

CRC Wrapper Commands

Install two wrapper commands (crcstart and crcstop) into ~/.local/bin/ for managing OpenShift Local (CRC). These replace the built-in crc start and crc stop commands with more reliable alternatives.

Background

Why crcstop exists

The built-in crc stop has a hard-coded 120-second timeout in the libvirt machine driver (crc-org/machine-driver-libvirt, pkg/libvirt/libvirt.go). It sends an ACPI shutdown signal via libvirt.Shutdown(), then polls the VM state in a loop of 120 iterations × 1-second sleep. If the VM hasn't stopped by then, CRC force-kills it with virsh destroy.

The problem is the CRC guest OS (RHCOS) routinely takes 2.5–6 minutes to shut down because:

  • ~160–186 libcrun containers must stop individually (~2.5 min)
  • CRI-O cleanup can take up to its DefaultTimeoutStopSec of 200 seconds
  • The qemu-guest-agent in the VM has ConditionVirtualization=apple, so it's disabled on KVM/libvirt — no guest-agent shutdown path is available

This means crc stop always force-kills the VM on Linux with libvirt.

Why crcstart exists

Created for consistency alongside crcstop. It wraps crc start with pre-flight checks (is the VM already running?) and post-start status display.

Prerequisites

  • ~/.local/bin must be on PATH (Fedora default via ~/.bashrc)
  • CRC installed and configured with libvirt driver
  • SSH key exists at ~/.crc/machines/crc/id_ed25519 (created by CRC automatically)
  • virsh available (from libvirt-client package)
  • crc-daemon.service running as a systemd user unit

Steps

  1. Create ~/.local/bin if it doesn't exist

    mkdir -p ~/.local/bin
    
  2. Create ~/.local/bin/crcstop with the script content from the crcstop script section below.

  3. Create ~/.local/bin/crcstart with the script content from the crcstart script section below.

  4. Make both executable

    chmod +x ~/.local/bin/crcstop ~/.local/bin/crcstart
    

Read the full file on GitHub · 282 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 282 lines · 15 tokens per session scan B af6a4c55e570

Subscribe to this mod's changes

crc-cmd is a skill published in the GitHub repository rhtevan/agentfs (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 15 tokens to every session and 2,540 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). 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

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens