mindos

mindos is a skill for Claude Code, Codex from GeminiLight/MindOS. It costs 157 tokens per session (1,743 once invoked), scanned A, original, MIT.

A command-line tool for managing a local knowledge base: a collection of notes, documents, and records stored on your computer.

In plain words
What is it for?
Use it to search notes, create or edit documents, append rows to CSV files, inspect links between files, review file history, and manage separate knowledge spaces.
Why use it?
It gives an agent a consistent way to find, update, organize, move, and review information without manually opening files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/geminilight/mindos/mindos-original
Any agent
npx skills add GeminiLight/MindOS --skill mindos-original
Clone the repo
git clone --depth 1 https://github.com/GeminiLight/MindOS

Made for: Claude Code, Codex.

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 mindos

README.md
[![agentmods](https://agentmods.dev/badge/skills/geminilight/mindos/mindos-original.svg)](https://agentmods.dev/skills/geminilight/mindos/mindos-original)
Your own site
<a href="https://agentmods.dev/skills/geminilight/mindos/mindos-original"><img src="https://agentmods.dev/badge/skills/geminilight/mindos/mindos-original.svg" alt="Measured on agentmods" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,743 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.1 $0.00157 $0.01743
Opus 5 $0.00078 $0.00872
Sonnet 5 $0.00031 $0.00349
Haiku 4.5 $0.00016 $0.00174

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

Security

Grade A, and why

mindos 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 6d 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.

skills/mindos-max-workspace/skill-snapshot/mindos-original/SKILL.md · 166 lines

How it starts

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

MindOS Skill

CLI commands

Use mindos file <subcommand> for all knowledge base operations. Add --json for structured output.

Operation Command
List files mindos file list
Read file mindos file read <path>
Write/overwrite mindos file write <path> --content "..."
Create new file mindos file create <path> --content "..."
Append to file mindos file append <path> --content "..."
Edit section mindos file edit-section <path> -H "## Heading" --content "..."
Insert after heading mindos file insert-heading <path> -H "## Heading" --content "..."
Append CSV row mindos file append-csv <path> --row "col1,col2,col3"
Delete file mindos file delete <path>
Rename/move mindos file rename <old> <new>
Search mindos search "query"
Backlinks mindos file backlinks <path>
Recent files mindos file recent --limit 10
Git history mindos file history <path>
List spaces mindos space list
Create space mindos space create "name"

MCP users: If you only have MCP tools (mindos_*), use them directly — they are self-describing via their schemas. Prefer CLI when available (lower token cost).

CLI setup

npm install -g @geminilight/mindos
# Remote mode: mindos config set url http://<IP>:<PORT> && mindos config set authToken <token>

Rules

  1. Bootstrap first — list the KB tree to understand structure before searching or writing.
  2. Default to read-only. Only write when the user explicitly asks to save, record, organize, or edit. Lookup / summarize / quote = no writes.
  3. Rule precedence (highest wins): user's current-turn instruction → .mindos/user-preferences.md → nearest directory INSTRUCTION.md → root INSTRUCTION.md → this SKILL's defaults.
  4. Multi-file edits require a plan first. Present the full change list; execute only after approval.
  5. After create/delete/move/rename → sync affected READMEs automatically.
  6. Read before write. Always read a file before overwriting it. Never write based on assumptions.

Read the full file on GitHub · 166 lines

Files

What ships with it

5 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. 6d ago First seen · 166 lines · 157 tokens per session scan A 3707a1d8b3e4

Subscribe to this mod's changes

mindos is a skill published in the GitHub repository GeminiLight/MindOS (666 stars, last pushed 2d ago), licensed MIT. It adds 157 tokens to every session and 1,743 once invoked, about $0.0008 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-30.