Skip to content
Back to skills

Os Init

ASecurity

Trigger: "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", "create my agent environment", "set up persistent memory". Guides users through discovery, initializes/retrofits 3-Layer Memory, keeps AGENTS.md as the sole canonical instruction file, and guides plugin installation.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonbash

Security analysis

A100/100

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

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill os-init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Os Init?

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

Security grade badge for Os Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-os-init/badge)](https://www.skillsdirectory.com/skills/richfrem-os-init)

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: os-init
plugin: agent-agentic-os
description: >
  Trigger: "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", "create my agent environment", "set up persistent memory".
  Guides users through discovery, initializes/retrofits 3-Layer Memory, keeps AGENTS.md as
  the sole canonical instruction file, and guides plugin installation.
allowed-tools: Bash, Read, Write, Glob, Grep
---

# Agentic OS Init & Retrofit Guide (`os-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](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints

1. **Read-Only Preflight**: Always run probe first to classify repo state; never blindly overwrite existing instructions.
2. **Canonical Instructions**: `AGENTS.md` is the sole canonical source; `CLAUDE.md` must be a short pointer.
3. **Preserve User Rules**: During retrofits, preserve custom user instructions and never destroy existing configurations without confirmation.

## Quick start

Probe installation state before taking action:

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

## Workflow

1. **Preflight**: Run `installation_probe.py` to classify target as `FRESH`, `COMPLETE`, or `PARTIAL_OR_DRIFTED`.
2. **Discovery**: Interview stack, AI platforms, and package manager.
3. **Synthesize Instructions**: Keep `AGENTS.md` canonical per [instruction-blending.md](references/instruction-blending.md).
4. **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`
5. **Verify Substrate**: Confirm 3-Layer Memory structure and run health check.

## Verification

Confirm Layer 2 `wiki/`, `context/control_plane.db`, and run `os-health-check`:

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

## References

- [detailed-reference.md](references/detailed-reference.md) — Phase specifications and identity enrollment details.
- [acceptance-criteria.md](references/acceptance-criteria.md) — QA scenarios and pass/fail matrix.
- [fallback-tree.md](references/fallback-tree.md) — Remediation pathways for failed initializations or drift.

Files in this skill

  • SKILL.md6.1 KB
  • acceptance-criteria.md1.3 KB
  • assets/templates/CLAUDE_LOCAL_MD.md47 B
  • assets/templates/CLAUDE_MD_GLOBAL.md48 B
  • assets/templates/CLAUDE_MD_PROJECT.md49 B
  • assets/templates/EVENTS_JSONL.jsonl47 B
  • assets/templates/HEARTBEAT_MD.md44 B
  • assets/templates/HOOKS_JSON.json44 B
  • assets/templates/MEMORY_MD.md41 B
  • assets/templates/OS_STATE_JSON.json47 B
  • assets/templates/SOUL_MD.md39 B
  • assets/templates/START_HERE_MD.md45 B
  • assets/templates/STATUS_MD.md41 B
  • assets/templates/USER_MD.md39 B
  • evals/evals.json1.7 KB
  • evals/results.tsv60 B
  • references/acceptance-criteria.md42 B
  • references/architecture.md35 B
  • references/memory/post_run_survey.md48 B
  • references/operations/project-setup-guide.md56 B

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.

Comments

Loading comments…

Newsletter

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