Skip to content
Agent Memory
Skill

/mindos-original

Operate a MindOS knowledge base: update notes, search, organize files, execute SOPs/workflows, retrospective, append CSV, cross-agent handoff, route unstructured input to the right files, distill experience, sync related docs. Use when the task targets files inside the user's

From plugin
mindos
70710 skills1 MCP

Claude Code

$ npx -y skills add geminilight/mindos --skill mindos-original --agent claude-code

SKILL.md

mindos-original.SKILL.md
name: mindos
description: >
  Operate a MindOS knowledge base: update notes, search, organize files, execute SOPs/workflows,
  retrospective, append CSV, cross-agent handoff, route unstructured input to the right files,
  distill experience, sync related docs.
  Use when the task targets files inside the user's MindOS KB (mindRoot).
  NOT for editing app source, project docs, or paths outside the KB.
  Core concepts: Space, Instruction (INSTRUCTION.md), Skill (SKILL.md); notes can embody both.
  Trigger when user asks to: save or record a note, search their knowledge base, update or edit
  a file, organize notes, run a workflow or SOP, capture decisions from a session, append rows
  to a table or CSV, hand off context to another agent.

MindOS Skill

<!-- version: 3.0.0 — CLI-first, MCP optional -->

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.

---

NEVER do (hard-won pitfalls)

  • **NEVER write to the KB root** unless explicitly told. Root is for governance files only. New content goes under the most fitting subdirectory.
  • **NEVER assume directory names.** Infer from the actual bootstrap tree — the KB may use Chinese names or flat layout.
  • **NEVER use full-file overwrite for a small edit.** Use `mindos file edit-section` or `mindos file insert-heading` for targeted changes. Full rewrites destroy git diffs.
  • **NEVER search with a single keyword.** Fire 2-4 parallel searches (synonyms, abbreviations, Chinese/English variants).
  • **NEVER modify `INSTRUCTION.md` or `README.md` without confirmation.** Governance docs — treat as high-sensitivity.
  • **NEVER create a file without checking siblings.** Read 1-2 files in the target directory to learn local style.
  • **NEVER leave orphan references.** After rename/move, check backlinks and update every referring file.
  • **NEVER skip routing confirmation for multi-file writes.** The user's mental model may differ from yours.

---

MindOS concepts

  • **Space** — Knowledge partitions organized the way you think. Agents follow the same structure.
  • **Instruction** — A rules file (`INSTRUCTION.md`) all connected agents obey.
  • **Skill** — Teaches agents how to read, write, and organize the KB.

Notes can embody both Instruction and Skill — they're just Markdown files in the tree.

---

Decision tree

User request
  │
  ├─ Lookup / summarize / quote?
  │   └─ [Read-only]: search → read → answer with citations. No writes.
  │
  ├─ Save / record / update / organize specific content?
  │   ├─ Single file → [Single-file edit]
  │   └─ Multiple files or unclear → [Multi-file routing] — plan first
  │
  ├─ Structural change (rename / move / delete / reorganize)?
  │   └─ [Structural path] — check backlinks before and after
  │
  ├─ Procedural / repeatable task?
  │   └─ [SOP path] — find and follow existing SOP, or create one
  │
  ├─ Retrospective / distill / handoff?
  │   └─ [Retrospective path]
  │
  └─ Ambiguous?
      └─ ASK. Propose 2-3 specific options based on KB state.

---

Judgment heuristics

**Save intent boundary:**

  • "save this" / "record" / "write down" = write
  • "search" / "summarize" / "look up" = read-only
  • "organize" → ask: display only, or write back?

**File location uncertainty:**

  • Can't decide in 5 seconds → use nearest existing directory, inform user
  • "Just put it somewhere" → inbox, propose classification after

**Scope creep:**

  • Input routes to >5 files → pause, confirm scope
  • "Update all of these" spanning multiple topics → split into batches

**Citation:** KB-cited facts must include the file path.

---

Post-task hooks

After write tasks (not simple reads), scan this table. At most 1 proposal; highest priority wins. Check `.mindos/user-preferences.md` suppression first.

| Hook | Priority | Condition | |------|----------|-----------| | Experience capture | high | Debugging, troubleshooting, or multi-round work | | Consistency sync | high | Edited file wit

Read more
@geminilight
Ships withmindos

MindOS is a Human-AI Collaborative Mind System, where human thinks and agents act. Globally sync your mind for all agents: transparent, controllable, and evolving symbiotically.

70710 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
707
Star history of geminilight/mindos on GitHub, a chart by star-history.com

Other skills on mindos.

mindos-views

mindos-views

Manage shared local people and project tasks, generate reusable tables or boards, and compose/customize multi-source MindOS work…

@geminilight@geminilightInstall Skill
mindos-zh

mindos-zh

MindOS 是用户的本地知识助手,也是跨会话、跨 Agent 共享的知识库。它保存决策记录、会议纪要、SOP、 排错经验、架构选型、调研结论和偏好设置。 仅 mindRoot 知识库内任务。不用于:改代码仓库、项目源码、KB 外路径。…

@geminilight@geminilightInstall Skill
mindos

mindos

MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging lessons, research findings, preferences…

@geminilight@geminilightInstall Skill
setup

setup

Connect the MindOS plugin to an existing local library, or set up a new local runtime and shared work views.

@geminilight@geminilightInstall Skill
find-skills

find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…

@geminilight@geminilightInstall Skill
mindos-max-zh

mindos-max-zh

MindOS 是用户的本地知识助手,也是所有已连接 Agent 共用的记忆层。 决策记录、会议纪要、SOP、排错经验、架构选型、调研结论、偏好设置、对话摘要都保存在这里。 主动使用——不要等用户说"保存到知识库": (1)…

@geminilight@geminilightInstall Skill

More skills from other plugins.

agent-cost-report

agent-cost-report

Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…

claude-mem13d116k
@thedotmack@thedotmackInstall Skill
bot-handoff

bot-handoff

Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…

hindsight13d60k
@vectorize-io@vectorize-ioInstall Skill
mempalace

mempalace

Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…

@mempalace@mempalaceInstall Skill
mempalace

mempalace

Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…

@milla-jovovich@milla-jovovichInstall Skill

Questions about mindos-original.

Which coding agents can use mindos-original?
mindos-original installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.