os-control-mode

os-control-mode is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 152 tokens per session (731 once invoked), scanned A, original, MIT.

A control for turning the repository's Agentic OS control plane on or off as a complete unit. The control plane is the set of intake rules, Git hooks, and declared settings that govern larger agent tasks.

In plain words
What is it for?
Use it to check the current mode, preview enabling or disabling it, and apply the change after explicit confirmation.
Why use it?
It prevents the project from being left in a half-enabled state and requires a preview and confirmation before changes are applied. It also refuses to bypass blocked safeguards.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

Part of the agent-agentic-os plugin — 14 skills, 2 agents, 3 hooks shipped together

Good fit Use it to check the current mode, preview enabling or disabling it, and apply the change after explicit confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/os-control-mode
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 richfrem/agent-plugins-skills --skill os-control-mode
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install agent-agentic-os, the plugin that ships this one along with the rest of its 14 skills, 2 agents, 3 hooks.

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 os-control-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-control-mode/github.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-control-mode)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-control-mode"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-control-mode/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 os-control-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-control-mode"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-control-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 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.00152 $0.00731
Opus 5.5 $0.00061 $0.00292
Sonnet 5.5 $0.00030 $0.00146
Haiku 4.5 $0.00015 $0.00073

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

Security

Grade A, and why

os-control-mode 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/control_plane_hooks.py, scripts/control_plane_mode.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/agent-agentic-os/skills/os-control-mode/SKILL.md · 74 lines

How it starts

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

Control Plane Mode (os-control-mode)

The control plane is more than one switch: the os-control-intake family of skills, a rule, two git guards in .git/hooks, and a declared mode. This skill flips them together and proves the result, so a repo is never left half on.

Contents

Critical Constraints

  1. Explicit Request Only: Only on explicit user request naming control plane or gating. Never autonomously.
  2. Never Bypass Blocked Guards: A blocked guard means stop, report why, and ask.
  3. Confirm Before Applying: Run --dry-run, explain plan, and require explicit confirmation before --yes.
  4. No Manual Hook Edits: Do not edit AGENTS.md, hooks, or ownership files manually. Use the CLI script.

Quick start

Check current control plane mode and consistency:

python3 scripts/control_plane_mode.py status

Workflow

  1. Check Status: Inspect status output to see active mode and hook wiring.
  2. Dry Run Plan: Execute disable --dry-run or enable --dry-run to preview actions.
  3. Execute Toggle: With user confirmation, apply with --yes:
    python3 scripts/control_plane_mode.py disable --yes
    
  4. Re-verify: Run status to confirm expected state.

What Each Mode Does

Mode Order Rationale
disable declare disabled -> unwire guards -> ownership -> sync gates go off first; machinery removed after
enable ownership -> sync -> install/wire guards -> declare enabled gates only come on once machinery exists

Verification

Confirm consistency and exit code (0 = consistent):

python3 scripts/control_plane_mode.py status --json

References

Read the full file on GitHub · 74 lines

Files

What ships with it

6 files 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. yesterday First seen · 74 lines · 152 tokens per session scan A c3bac090c9d3

Subscribe to this mod's changes

os-control-mode is a skill published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed 2d ago), licensed MIT. It adds 152 tokens to every session and 731 once invoked, about $0.0006 per session on Opus 5.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-10-16.

Related

Other skills, from other repositories

release

Cut and publish a full stable NAC release after main, release-PR, and publication CI pass. Use when a maintainer asks for a stable version bump, tag, or GitHub Release. Never use for release candidates; NAC RC releases are automated.

arcee-ai/nac · 53 tokens

triage

Triage a GitHub repository's open issues by finding exact duplicates, rejecting evidenceably off-base requests, requesting concrete clarification, applying only existing labels, and opening a linked root-cause issue when multiple reports share one underlying invariant failure. Use when a maintainer asks to triage…

arcee-ai/nac · 65 tokens

factory-handoff

Hand one exact agent-ready ticket to the central Factory runtime over the configured SSH forced-command boundary. Use when an operator asks to hand off an existing ticket or a prose request instead of implementing it in the current session.

watt-mind/factory · 47 tokens

gh-find-prs

Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.

Hmbown/CodeWhale · 27 tokens

release-revoke

Revoke or rollback a pi-agent-dashboard release: delete the GitHub Release, remove the git tag locally and on origin, deprecate the npm version (npm unpublish is blocked after 72h), and optionally revert the release commit. Use when the user says "revoke release", "rollback release", "delete release", "unpublish…

BlackBeltTechnology/pi-agent-dashboard · 85 tokens

ap-work-group-manager

Divide one accepted work group only when at least two useful workers can have non-overlapping ownership.

Spielewoy/autoprompt-skill · 24 tokens