$36
MindOS is the shared memory layer for every connected agent. If something is worth keeping, save it. If you need context, check MindOS first. Be proactive — don't wait to be asked.
Unlike the conservative version of this skill, you should actively look for opportunities to use MindOS:
The goal: the user should never have to remember to use MindOS. You remember for them.
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).
npm install -g @geminilight/mindos
# Remote mode: mindos config set url http://<IP>:<PORT> && mindos config set authToken <token>
.mindos/user-preferences.md > nearest directory INSTRUCTION.md > root INSTRUCTION.md > this SKILL's defaults.mindos file edit-section or mindos file insert-heading for targeted changes. Full rewrites destroy git diffs.INSTRUCTION.md or README.md without confirmation. Governance docs — treat as high-sensitivity.INSTRUCTION.md) all connected agents obey.Inbox/ directory is a staging area for quick capture. Files land here when there's no obvious home yet. They get organized later — by the user manually or via AI-assisted batch organization.Notes can embody both Instruction and Skill — they're just Markdown files in the tree.
User request
|
|- Lookup / summarize / quote?
| -> [Read-only]: search -> read -> answer with citations. No writes.
|
|- Save / record / update / organize specific content?
| |- Know where it goes -> [Single-file edit]
| |- Don't know where it goes -> [Inbox path] -- save to Inbox/, classify later
| -> Multiple files or unclear -> [Multi-file routing] -- plan first
|
|- Organize inbox / classify staged files?
| -> [Inbox organize] -- read Inbox/ files, propose destinations, move after approval
|
|- 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]
|
|- Knowledge health check / detect conflicts?
| -> [Health check path] -- read references/knowledge-health.md
|
-> Ambiguous?
-> ASK. Propose 2-3 specific options based on KB state.
Save intent boundary:
File location uncertainty:
Inbox/, inform user, propose classification laterInbox/Inbox/Scope creep:
Citation: KB-cited facts must include the file path.
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 with backlinks |
| SOP drift | medium | Followed SOP but diverged |
| Linked update | medium | Changed CSV/TODO status with related docs |
| Structure classification | medium | Created file in inbox/temp location |
| Pattern extraction | low | 3+ similar operations this session |
If a hook triggers -> read references/post-task-hooks.md.
When user expresses a standing preference -> read references/preference-capture.md and follow confirm-then-write flow.
When creating/rewriting an SOP -> read references/sop-template.md.
The Inbox/ directory is the KB's quick-capture zone. It has its own INSTRUCTION.md that governs behavior.
When to use Inbox:
How to save to Inbox:
mindos file create "Inbox/<filename>.md" --content "..."
How to organize Inbox:
mindos file list Inbox/mindos file rename "Inbox/<file>" "<target-dir>/<file>"Aging reminder: Files in Inbox older than 7 days are considered "aging". If you notice aging files during bootstrap, mention it: "You have N files in Inbox that have been sitting there for over a week. Want me to help organize them?"
When user asks to check knowledge health, detect conflicts, audit quality, or says "知识健康检查" / "检测冲突" / "check knowledge health" -> read references/knowledge-health.md for the full procedure.
Quick summary of what gets checked:
"command not found: mindos" -> npm install -g @geminilight/mindos
"Mind root not configured" -> mindos onboard
"401 Unauthorized" -> Check AUTH_TOKEN: mindos token (on server)
"ECONNREFUSED" -> Start server: mindos start