local-os-builder

local-os-builder is a skill for Claude Code from naveedharri/benai-skills. It costs 124 tokens per session (10,115 once invoked), scanned B, original, MIT.

A setup and onboarding process for turning a local Obsidian vault into a personalized second brain. A second brain is an organized external system for storing knowledge, tasks, preferences, and working context.

In plain words
What is it for?
Use it to initialize a local AI workspace, choose a personal or professional setup mode, configure the vault, and personalize the assistant through an onboarding interview.
Why use it?
It creates the folders, system files, settings, memory structure, hooks, and output styles needed for a consistent local assistant workspace. It then asks questions to adapt the setup to the user.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the aios plugin — 3 skills shipped together

Good fit Use it to initialize a local AI workspace, choose a personal or professional setup mode, configure the vault, and personalize the assistant through an onboarding interview.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/naveedharri/benai-skills/local-os-builder
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 naveedharri/benai-skills --skill local-os-builder
Clone the repo
git clone --depth 1 https://github.com/naveedharri/benai-skills

Made for: Claude Code.

Or install aios, the plugin that ships this one along with the rest of its 3 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 local-os-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/naveedharri/benai-skills/local-os-builder/github.svg)](https://agentmods.dev/skills/naveedharri/benai-skills/local-os-builder)
Your own site
<a href="https://agentmods.dev/skills/naveedharri/benai-skills/local-os-builder"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/local-os-builder/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 local-os-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/naveedharri/benai-skills/local-os-builder"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/local-os-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,115 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 129
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium Privilege Escalation · line 121
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00124 $0.10115
Opus 5 $0.00062 $0.05058
Sonnet 5 $0.00025 $0.02023
Haiku 4.5 $0.00012 $0.01012

Measured 11d ago against content hash e0160fc48881, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

local-os-builder scanned grade B with 1 finding 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 11d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| `references/settings-json-template.md` | `./.claude/settings.json` |
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • os-setup — 94% identical, 10 lines differ
  • setup — 86% identical, 80 lines differ
plugins/aios/skills/local-os-builder/SKILL.md · 747 lines

How it starts

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

Local OS — Setup + Onboarding

USE WHEN the user runs /local-os-builder or asks to set up a Local OS, set up their vault, bootstrap the assistant, initialize the system, or configure a local Obsidian second brain.

This is the Local OS tier of the AIOS family — the brain lives in a local Obsidian vault on disk. It shares the same internal structure as the Skill OS and Cloud OS tiers, so a user can graduate between them.

This is a three-phase process:

  • Phase 0: Mode Selection — Ask which OS variant to create
  • Phase A: Bootstrap — Create the directory structure and system files for the selected mode
  • Phase B: Onboarding — Interview the user and personalize everything

Pre-flight Check

Check if claude.md or CLAUDE.md exists only in the current working directory (do NOT search subdirectories or parent directories — check only the exact CWD path).

  • If it exists: The vault is already set up. Ask the user:
    • "This vault is already set up. Would you like to:"
    • Re-run the interview — Keep existing structure, update memory files based on new answers
    • Full reset — Delete everything and start fresh (confirm twice before proceeding)
    • Cancel — Do nothing
  • If it does NOT exist: Proceed with full setup (Phase 0 + Phase A + Phase B)

Phase 0: Mode Selection

Ask the user to pick a mode using AskUserQuestion with these exact label and description values:

  • Question: What type of vault do you want?
  • Option 1 label: Solopreneurs/Professionals — description: Blends work and personal. Best for solo founders, freelancers, consultants.
  • Option 2 label: Business/Teams — description: Org structure with departments, processes, stakeholders. Best for teams and companies.

CRITICAL: You MUST pass both label AND description for each option in AskUserQuestion. The description field is what explains each mode to the user. Never leave description empty.

Mode mapping:

  • Solopreneurs/Professionals → os-mode: professional
  • Business/Teams → os-mode: business

Read the full file on GitHub · 747 lines

Files

What ships with it

35 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. 11d ago First seen · 747 lines · 124 tokens per session scan B e0160fc48881

Subscribe to this mod's changes

local-os-builder is a skill published in the GitHub repository naveedharri/benai-skills (61 stars, last pushed 7d ago), licensed MIT. It adds 124 tokens to every session and 10,115 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.