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.
npx skills add richfrem/agent-plugins-skills --skill os-control-initgit clone --depth 1 https://github.com/richfrem/agent-plugins-skillsWrote 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.
[](https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-control-init)<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-control-init"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-control-init/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.
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-control-init"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-control-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00095 | $0.00700 |
| Opus 5.5 | $0.00038 | $0.00280 |
| Sonnet 5.5 | $0.00019 | $0.00140 |
| Haiku 4.5 | $0.00010 | $0.00070 |
Grade A, and why
os-control-init 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.
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.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agentic OS Init & Retrofit Guide (os-control-init)
Bootstrap or retrofit the Agentic OS and 3-Layer Memory architecture in any repository. Supports fresh setup as well as retrofitting established projects to comply with autonomous evolution standards.
Contents
Critical Constraints
- Read-Only Preflight: Always run probe first to classify repo state; never blindly overwrite existing instructions.
- Canonical Instructions:
AGENTS.mdis the sole canonical source;CLAUDE.mdmust be a short pointer. - Preserve User Rules: During retrofits, preserve custom user instructions and never destroy existing configurations without confirmation.
Quick start
Probe installation state before taking action:
python3 scripts/control_plane/installation_probe.py --target <project-path>
Workflow
- Preflight: Run
installation_probe.pyto classify target asFRESH,COMPLETE, orPARTIAL_OR_DRIFTED. - Discovery: Interview stack, AI platforms, and package manager.
- Synthesize Instructions: Keep
AGENTS.mdcanonical per instruction-blending.md. - Execute Provisioning:
- Fresh:
python3 scripts/init_agentic_os.py --target <project-path> --sync-instructions - Retrofit:
python3 scripts/init_agentic_os.py --target <project-path> --retrofit
- Fresh:
- Agent Simulation Identity: Ensure agent simulation identity (
context/simulation/identity/) is initialized soos-control-simulatorcan run state validations without human production keys:python3 -c "from pathlib import Path; from control_plane.simulation_identity import ensure_simulation_identity; ensure_simulation_identity(Path('.'))" - Verify Substrate: Confirm 3-Layer Memory structure, identity status, and run health check.
What ships with it
60 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.
- assets/templates/CLAUDE_LOCAL_MD.md 47 B
- assets/templates/CLAUDE_MD_GLOBAL.md 48 B
- assets/templates/CLAUDE_MD_PROJECT.md 49 B
- assets/templates/EVENTS_JSONL.jsonl 47 B
- assets/templates/HEARTBEAT_MD.md 44 B
- assets/templates/HOOKS_JSON.json 44 B
- assets/templates/MEMORY_MD.md 41 B
- assets/templates/OS_STATE_JSON.json 47 B
- assets/templates/SOUL_MD.md 39 B
- assets/templates/START_HERE_MD.md 45 B
- assets/templates/STATUS_MD.md 41 B
- assets/templates/USER_MD.md 39 B
- evals/evals.json 1.9 KB
- evals/results.tsv 60 B
- references/acceptance-criteria.md 58 B
- references/architecture.md 35 B
- references/ciba-rar-transition-auth-flow.mermaid 66 B
- references/control-plane-architecture.mermaid 63 B
- references/control-plane-lifecycle-baseline-no-ciba-rar.mermaid 81 B
- references/control-plane-lifecycle-hardened-with-ciba-rar.mermaid 83 B
- references/detailed-reference.md 57 B
- references/evolution-log.md 36 B
- references/fallback-tree.md 52 B
- references/increment-b-human-only-transition-ssh-signing.mermaid 82 B
- references/instruction-blending.md 59 B
- references/map-debt.md 31 B
- references/memory/post_run_survey.md 48 B
- references/operations/project-setup-guide.md 56 B
- references/project-setup-guide.md 42 B
- references/retrofit-planning.md 56 B
- scripts/agent_control.py 33 B runs code
- scripts/control_plane_hooks.py 39 B runs code
- scripts/control_plane/__init__.py 45 B runs code
- scripts/control_plane/adapters.py 45 B runs code
- scripts/control_plane/approver_policy.py 52 B runs code
- scripts/control_plane/baseline_transition_report.py 63 B runs code
- scripts/control_plane/constants.py 46 B runs code
- scripts/control_plane/coordinator.py 48 B runs code
- scripts/control_plane/edge_matrix.py 48 B runs code
- scripts/control_plane/gate_evidence.py 50 B runs code
- scripts/control_plane/gate1_approval.py 51 B runs code
- scripts/control_plane/identity_layout.py 52 B runs code
- scripts/control_plane/identity_setup.py 51 B runs code
- scripts/control_plane/implementation_loop.py 56 B runs code
- scripts/control_plane/implementation.py 51 B runs code
- scripts/control_plane/inspection.py 47 B runs code
- scripts/control_plane/installation_probe.py 55 B runs code
- scripts/control_plane/isolation_check.py 52 B runs code
- scripts/control_plane/measurement.py 48 B runs code
- scripts/control_plane/pipeline_simulator.py 55 B runs code
- scripts/control_plane/policy.py 43 B runs code
- scripts/control_plane/ports.py 42 B runs code
- scripts/control_plane/proof_edges.py 48 B runs code
- scripts/control_plane/proof_policy.py 49 B runs code
- scripts/control_plane/receipt_provenance.py 55 B runs code
- scripts/control_plane/registry.py 45 B runs code
- scripts/control_plane/review_options.py 51 B runs code
- scripts/control_plane/review_selection.py 53 B runs code
- scripts/control_plane/run_transition_simulation.py 62 B runs code
- scripts/control_plane/signing_selftest.py 53 B runs code
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.
- yesterday First seen · 66 lines · 95 tokens per session scan A 41b987a6fd00
os-control-init is a skill published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed 2d ago), licensed MIT. It adds 95 tokens to every session and 700 once invoked, about $0.0004 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.
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.
distill-session-knowledge
Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…
ap-framework-generator
Report the compatibility redirect to ap-worker; this retired role cannot perform new work.
ap-reviewer
Report the compatibility redirect to ap-independent-checker; this retired role cannot perform new work.
ap-sweeper
Report the compatibility redirect to ap-independent-checker; this retired role cannot perform new work.
knowledge-graph-management
Capture, validate, query, and sync architectural patterns and design decisions in the knowledge graph.