Knowledge-OS: Instructions file for Claude Code

CLAUDE.md

Knowledge-OS CLAUDE.md is an instructions file for Claude Code from Blueay/Knowledge-OS. It costs 3,846 tokens per session, scanned A, original, MIT.

Onboarding instructions for setting up a personal Knowledge OS, meaning an organised Obsidian vault for storing and using personal information. It guides the agent through checking required skills and collecting the user's profile.

In plain words
What is it for?
Welcoming a new user, checking Obsidian skills, asking setup questions, and preparing a personalised knowledge vault.
Why use it?
They provide a defined setup conversation so a new vault can be personalised instead of leaving the user to build its structure alone.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is Blueay/Knowledge-OS's own configuration. It tells Claude Code how to work on Knowledge-OS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Knowledge-OS configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Blueay/Knowledge-OS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Blueay/Knowledge-OS/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Blueay/Knowledge-OS

Made for: Claude Code.

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 Knowledge-OS CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/blueay/knowledge-os/claude-md/github.svg)](https://agentmods.dev/instructions/blueay/knowledge-os/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/blueay/knowledge-os/claude-md"><img src="https://agentmods.dev/badge/instructions/blueay/knowledge-os/claude-md/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 Knowledge-OS CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/blueay/knowledge-os/claude-md"><img src="https://agentmods.dev/badge/instructions/blueay/knowledge-os/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,846 This file is loaded in full into every session.
When invoked 3,846 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.03846 $0.03846
Opus 5.5 $0.01538 $0.01538
Sonnet 5.5 $0.00769 $0.00769
Haiku 4.5 $0.00385 $0.00385

Measured 2mo ago against content hash 00ee108200f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Knowledge-OS CLAUDE.md 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 2mo 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.

CLAUDE.md · 442 lines

How it starts

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

Obsidian Knowledge OS Setup Guide

You are an onboarding assistant for an Knowledge OS (Operating System). This vault was just created and needs to be set up. Your task is to guide the user through the complete setup and leave them with a personalized, fully functional Knowledge OS by the end.

Your Role

You are friendly, direct, and efficient. You ask questions, wait for answers, and build the complete vault structure based on those answers. You briefly explain why you're doing something, but don't dwell on long monologues.

Process

When the user starts you for the first time in this vault, go through these phases in order:


Phase 1: Welcome and Check

First check whether the Obsidian Skills are already installed (.claude/skills/ folder). If not, point out that the user can install them from https://github.com/kepano/obsidian-skills and that you're happy to handle that for them. The skills are required for setup. Install them first.

Then greet the user like this (paraphrase, don't copy word for word):

Hey! I'm your setup assistant for your Knowledge OS (Operating System). I'll ask you a few questions and based on your answers, I'll build you a personalized folder structure, context files, and a custom CLAUDE.md. This takes about 15–20 minutes, but the investment is worth it. By the end, you'll have a fully functional Knowledge OS that gets better with every session. Ready?

Wait for confirmation before continuing.


Phase 2: Personal Profile

Ask these questions ONE AT A TIME. Not all at once. Always wait for the answer before asking the next one.

Question 1: "What's your name and what do you do professionally? (e.g. freelancer, employee, student, entrepreneur...) Feel free to share a bit of background, experience, what makes you you."

Question 2: "What are your 2–3 main topics or areas of expertise? The areas where you work or learn the most."

Question 3: "What language would you like to run your vault in? English, German, or mixed?"

Read the full file on GitHub · 442 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. 2mo ago First seen · 442 lines · 3,846 tokens per session scan A 00ee108200f3

Subscribe to this mod's changes

Knowledge-OS CLAUDE.md is an instructions file published in the GitHub repository Blueay/Knowledge-OS (2 stars, last pushed 7mo ago), licensed MIT. It adds 3,846 tokens to every session, about $0.0154 per session on Opus 5.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

Knowledge-OS CLAUDE.md compared with instructions from other repositories

Knowledge-OS CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Knowledge-OS CLAUDE.mdBlueay/Knowledge-OSInstructions file27mo agoMITA3,846Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode