os-setup

os-setup is a skill for Claude Code from naveedharri/benai-skills. It costs 88 tokens per session (10,025 once invoked), scanned B, a copy of local-os-builder, MIT.

A setup and onboarding skill for the BenAI Obsidian Plugin. Obsidian is a note-taking app that stores notes in a local folder called a vault; this skill creates that vault structure, configuration, memory files, hooks, and output styles, then asks questions to personalize it.

In plain words
What is it for?
Bootstrapping a BenAI Obsidian vault, choosing a personal or team setup, checking whether it already exists, and running or repeating onboarding.
Why use it?
It removes the manual work of creating the plugin's folders and files and provides a guided way to configure a new or existing vault.

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 all-skills plugin — 99 skills shipped together

Good fit Bootstrapping a BenAI Obsidian vault, choosing a personal or team setup, checking whether it already exists, and running or repeating onboarding.

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

Made for: Claude Code.

Or install all-skills, the plugin that ships this one along with the rest of its 99 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 os-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/naveedharri/benai-skills/os-setup"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/os-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,025 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.
Origin 94% copy Near-identical to another mod 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.00088 $0.10025
Opus 5 $0.00044 $0.05012
Sonnet 5 $0.00018 $0.02005
Haiku 4.5 $0.00009 $0.01002

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

Security

Grade B, and why

os-setup 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 5d 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

This is a copy

94% identical to local-os-builder — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/all-skills/skills/os-setup/SKILL.md · 745 lines

How it starts

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

BenAI Obsidian Plugin — Setup + Onboarding

USE WHEN the user runs /setup or asks to set up their vault, bootstrap the assistant, initialize the system, or configure the BenAI Obsidian Plugin.

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

Accept any clear signal: "solo", "professional", "freelancer", "business", "org", "team", etc.

If the user skips or says "I don't know", use Solopreneurs/Professionals (professional mode).

Read the full file on GitHub · 745 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. 5d ago First seen · 745 lines · 88 tokens per session scan B 1fed7d407045

Subscribe to this mod's changes

os-setup is a skill published in the GitHub repository naveedharri/benai-skills (61 stars, last pushed 7d ago), licensed MIT. It adds 88 tokens to every session and 10,025 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 94% identical to local-os-builder, differing in 10 lines, and is treated as a copy.