Skip to content
Back to skills

Setting Up Agentic Os

ASecurity

Sets up and retrofits a project for the Agentic OS and guides a human through creating the approval signing key. Use for "set up agentic OS", "initialize agent harness", "init my project for AI agents", "retrofit repository", "upgrade project for evolution", "sync instruction files", "where do I put CLAUDE.md", "what goes in the context folder", "create my agent environment", "set up persistent memory", "get Claude to use skills in this project", "set up my approval key", "create the ssh sign...

  • 8 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 9, 2026
ai-agentspythonrustgobashgitdatabase

Works with

  • terminal

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 23, 2026

npx -y skills add richfrem/agent-plugins-skills --skill setting-up-agentic-os --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setting Up Agentic Os?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setting Up Agentic Os
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-setting-up-agentic-os/badge)](https://www.skillsdirectory.com/skills/richfrem-setting-up-agentic-os)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: setting-up-agentic-os
plugin: agent-agentic-os
description: >
  Sets up and retrofits a project for the Agentic OS and guides a human through creating the approval
  signing key. Use for "set up agentic OS", "initialize agent harness", "init my project for AI agents",
  "retrofit repository", "upgrade project for evolution", "sync instruction files", "where do I put
  CLAUDE.md", "what goes in the context folder", "create my agent environment", "set up persistent
  memory", "get Claude to use skills in this project", "set up my approval key", "create the ssh
  signing key", "set up signing identity", "HUMAN_PROOF_REQUIRED", "test my signing key". Keeps AGENTS.md
  the sole canonical instruction file; bootstraps 3-layer memory, the control-plane database, git
  guards and the agent's simulation identity. Needs running-control-plane installed beside it. Not for running tasks (use running-control-plane).
allowed-tools: Bash, Read, Write, Glob, Grep
---

# Setting up the Agentic OS

One-time and occasional setup: bootstrap or retrofit a repository, and help a human create the SSH key that authorizes the approval gates. Each mode below was a separate skill; its full workflow is a reference loaded when that mode starts.

## Contents

- [Critical constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical constraints

1. **Read-only preflight.** Probe first to classify the repository; never blindly overwrite existing instructions.
2. **`AGENTS.md` is canonical.** `CLAUDE.md` is at most a short pointer. Preserve custom user instructions during a retrofit.
3. **On-demand control plane by default.** `init_agentic_os.py` sets `context/control-plane-mode` to `on-demand` (unregistered branches pass ungated; only jobs registered in `context/control_plane.db` are gated). Switch to strict always-on enforcement with `control_plane_mode.py enable` when desired.
4. **Humans create keys, agents never do.** Never run key enrollment, never read, copy or move a private key, never edit `allowed_signers*`, never pipe a passphrase or fabricate a signature. Human SSH key setup (`signing-setup`) is only required when you run your first governed job, not for everyday unregistered `on-demand` work.
5. **The agent has its own identity.** Init creates the agent's simulation key for the simulator and the setup validation; it never writes the human's production trust file. See [agent-identity.md](references/agent-identity.md).
6. **Depends on `running-control-plane`.** The scripts import its `control_plane` package from the sibling skill folder and stop with a clear message when it is missing.

## Quick start

Classify the target repository before doing anything (from this skill's folder; the script ships with `running-control-plane`):

```bash
python3 ../running-control-plane/scripts/control_plane/installation_probe.py --target <project-path>
```

## Workflow

| Mode | Use when | Run | Workflow |
|---|---|---|---|
| `init` | Setting up a new project or retrofitting one: where CLAUDE.md and the context folder go, blending an existing CLAUDE.md or AGENTS.md, persistent memory between sessions, skills and scheduled loops in a project, agent harness for a docs or legacy project | `python3 scripts/init_agentic_os.py --target <path> [--retrofit \| --sync-instructions]` | [init](references/modes/init.md) |
| `signing-setup` | A human must create or test the approval key | `python3 scripts/setup_ciba_identity.py` (the human runs it in their own terminal), `scripts/test_signing_mechanics.py` | [signing-setup](references/modes/signing-setup.md) |

**Routing rule:** the table above only routes. Before acting in a mode, read that mode's workflow file in full (the last column); open the detail references below only from inside it.

## Verification

The post-setup healthcheck is [setup-healthcheck-validation.md](references/setup-healthcheck-validation.md). Run `python3 -m pytest` against the init and signing tests in the `running-control-plane` skill (they exercise both skills together). Each mode's gates are in [acceptance-criteria.md](references/acceptance-criteria.md); on failure follow [fallback-tree.md](references/fallback-tree.md).

## References

Detail files, grouped by the mode that uses them. Read the mode workflow first.

- **init**: [setup-healthcheck-validation](references/setup-healthcheck-validation.md) • [agent-identity](references/agent-identity.md) • [init-detailed-reference](references/init-detailed-reference.md) • [init-interview](references/init-interview.md) • [instruction-blending](references/instruction-blending.md) • [retrofit-planning](references/retrofit-planning.md)
- **signing-setup**: [SIGNING_WORKFLOW_OVERVIEW](references/SIGNING_WORKFLOW_OVERVIEW.md) • [signing-setup-guide](references/signing-setup-guide.md) • [isolation-setup](references/isolation-setup.md)

Files in this skill

  • SKILL.md4.4 KB
  • assets/templates/ARCHITECTURE_MD.md2.4 KB
  • assets/templates/CLAUDE_MD_GLOBAL.md481 B
  • assets/templates/CLAUDE_MD_PROJECT.md1.2 KB
  • assets/templates/EVENTS_JSONL.jsonl114 B
  • assets/templates/HEARTBEAT_MD.md590 B
  • assets/templates/HOOKS_JSON.json705 B
  • assets/templates/MEMORY_MD.md343 B
  • assets/templates/OS_STATE_JSON.json215 B
  • assets/templates/SOUL_MD.md364 B
  • assets/templates/START_HERE_MD.md509 B
  • assets/templates/STATUS_MD.md303 B
  • assets/templates/USER_MD.md331 B
  • evals/evals.json6.6 KB
  • references/SIGNING_WORKFLOW_OVERVIEW.md7.2 KB
  • references/acceptance-criteria.md2.8 KB
  • references/agent-identity.md6.1 KB
  • references/fallback-tree.md1.3 KB
  • references/init-detailed-reference.md4.5 KB
  • references/init-interview.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.