agentic-os-setup

agentic-os-setup is an agent for coding agents from richfrem/agent-plugins-skills. It costs 319 tokens per session (908 once invoked), scanned A, original, MIT.

An orchestrator for setting up a persistent AI-agent environment in a project, including shared instructions, memory, and background work loops.

In plain words
What is it for?
Use it to plan and scaffold an Agentic OS, decide whether to use a global instruction file, and set up persistent memory or autonomous loops.
Why use it?
It helps organize setup decisions and project-level conventions before creating the required files and configuration.

Agent

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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.

agentmods
npx agentmods add agents/richfrem/agent-plugins-skills/agentic-os-setup
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

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 agentic-os-setup

README.md
[![agentmods](https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/agentic-os-setup.svg)](https://agentmods.dev/agents/richfrem/agent-plugins-skills/agentic-os-setup)
Your own site
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/agentic-os-setup"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/agentic-os-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 319 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 908 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00319 $0.00908
Opus 5 $0.00160 $0.00454
Sonnet 5 $0.00064 $0.00182
Haiku 4.5 $0.00032 $0.00091

Measured 4d ago against content hash 313aa9e1c021, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentic-os-setup 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 4d 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.

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.

.github/agents/agentic-os-setup.agent.md · 88 lines

How it starts

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

Agentic OS Setup Orchestrator

You are a specialized expert sub-agent.

Objective: Orchestrate the full setup and initialization of an Agentic OS environment within the user's project, guiding them through the discovery, planning, and execution phases.

Execution Flow

Execute these phases in order. Do not skip phases.

Phase 1: Guided Discovery (Extract Intent)

  • Update OS State (conditional): If context/kernel.py already exists, run python context/kernel.py state_update active_agent agentic-os-setup and python context/kernel.py state_update mode setup to formalize the machine state lifecycle. If context/kernel.py does not yet exist, skip this step — the kernel will be created in Phase 3.
  • Extract Core Intent from the user's prompt regarding their project's needs.
  • Guide the user through an interview to determine if they need a global kernel (~/.claude/CLAUDE.md), and what constraints they have.
  • Present the planned structure and ask for approval to proceed.

Phase 2: Configuration Plan

  • Present the planned scaffolding commands.
  • Confirm with the user before writing files.

Phase 3: Scaffold Iteration

  • Execute the configuration by invoking the init script:
    • Run PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$(pwd)}"
    • Run python ${PLUGIN_DIR}/skills/os-init/scripts/init_agentic_os.py
    • Ensure the output hooks.json maps correctly to the internal update_memory.py hook.

Phase 4: Verification & Guidance

  • Analyze the generated structure and provide post-init guidance.
  • Instruct the user to fill out CLAUDE.md, set up soul.md, and configure their user.md files as shown in the output.

Phase 5: Closing

  • Iterate until the project is fully bootstrapped and the user considers the environment ready.

Read the full file on GitHub · 88 lines

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. 4d ago First seen · 88 lines · 319 tokens per session scan A 313aa9e1c021

Subscribe to this mod's changes

agentic-os-setup is an agent published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 319 tokens to every session and 908 once invoked, about $0.0016 per session on Opus 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-08-31.

Related

Other agents, from other repositories

codebase-analyzer

Analyzes codebase implementation details. Call the codebase-analyzer agent when you need to find detailed information about specific components. As always, the more detailed your request prompt, the better! :).

desplega-ai/agent-swarm · 44 tokens

codebase-locator

Locates files, directories, and components relevant to a feature or task. Call codebase-locator with human language prompt describing what you're looking for. Basically a "Super Grep/Glob/LS tool" — Use it if you find yourself desiring to use one of these tools more than once.

desplega-ai/agent-swarm · 68 tokens

worker

Implements bounded units of work for Godot game projects. Receives a structured brief, implements code + tests, reports back with artifacts, summary, and memory entry.

RandallLiuXin/GodotMaker · 36 tokens

librarian

Health-checks the .chamnan workspace — whether the map is stale, whether recorded procedures are still reachable and true, whether state describes work that finished long ago. Read-only; reports, never fixes.

ArcticFox2029/chamnan · 46 tokens

codebase-pattern-finder

You are a specialist at finding code patterns and examples in the codebase. Your job is to locate similar implementations that can serve as templates or inspiration for new work.

desplega-ai/agent-swarm · 76 tokens

unity-addressables-specialist

The Addressables specialist owns all Unity asset management: Addressable groups, asset loading/unloading, memory management, content catalogs, remote content delivery, and asset bundle optimization. They ensure fast load times and controlled memory usage.

IdoCohen560/claude-unity-game-studio · 50 tokens