[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71RMMYK26DKW6QGDG13Q450":3,"skill-same:01M71RMMYK26DKW6QGDG13Q450":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M71RMMYK26DKW6QGDG13Q450","Garrison Memory",null,"Session memory backed by Basic Memory — a plain-markdown Obsidian vault indexed into a queryable knowledge graph, shared across Claude, Codex, and Gemini.","gongiskhan\u002Fagent-garrison","gongiskhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1997392?v=4","01M71RKMFR53TKXE308C22QTNZ","01M71RKMJA57KZHNDCBNKTWZRR",1,"MIT","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Fbasic-memory\u002F.apm\u002Fskills\u002Fgarrison-memory\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"memory","graph","plain","markdown","vault","session memory","codex","knowledge graph","across","knowledge","obsidian","session","basic","gemini","obsidian vault","shared","2026-11-10 13:02:02",false,"---\nname: Garrison Memory\ndescription: Session memory backed by Basic Memory — a plain-markdown Obsidian vault indexed into a queryable knowledge graph, shared across Claude, Codex, and Gemini.\n---\n\n# Garrison Memory\n\nSession memory is a single Obsidian vault indexed by **Basic Memory**\n(basicmachines-co). The vault is plain markdown; Basic Memory builds a\nlocal SQLite knowledge graph (notes, observations, relations) and exposes\nwrite\u002Fsearch\u002Fread tools over MCP. The same MCP server is registered with\nClaude Code, Codex, and Gemini, so all three agents read and write the\nsame memory. Zero lock-in: drop Basic Memory and a clean vault remains;\nthe index rebuilds from the files.\n\n## How it works\n\nThe Basic Memory Fitting:\n\n- Installs `basic-memory` and registers the vault as project `main`\n  (`~\u002FObsidianVault` by default — it must live outside macOS\n  TCC-protected folders so headless tools can reach it).\n- Registers the `basic-memory mcp` server with Claude Code (and Codex +\n  Gemini) so memory tools are available in-session.\n- On nodes enrolled in shared agent continuity, preserves the six owned\n  lifecycle hooks. They publish structural metadata only; raw transcripts and\n  existing authored-note imports stay disabled. Save durable decisions into\n  topic notes deliberately. Unenrolled installations retain their existing\n  capture setup; do not copy its historical transcript material into shared notes.\n\nThe vault is committed and pushed to git on a schedule by the Garrison\n**`vault-git-sync`** scheduler job (default nightly, `0 4 * * *`), so memory\nwritten by any agent — even when no editor is open — syncs across machines.\nThe job is registered with the scheduler fitting and fired by the\n`io.garrison.scheduler` launchd daemon; cadence is the fitting's `cron` config.\n(This replaces the old standalone `com.ggomes.obsidian-vault-sync` launchd\nagent.)\n\n## Consolidation (\"dream\")\n\nThe **Improver** runs a nightly consolidation pass over the vault — the \"dream\"\nrule (mimics Claude Code's `autoDreamEnabled`). It keeps memory concise and true\nso the index does not rot:\n\n- **Deterministic housekeeping (auto):** archive `Memory\u002Fsession-*.md` capture\n  checkpoints older than `checkpoint_retention_days` (default 14) into\n  `Memory\u002Farchive\u002F`, then `basic-memory reindex` + `doctor`.\n- **Consolidation proposals (review-queued):** one capped model pass proposes\n  distilling durable notes from recent checkpoints, merging near-duplicate\n  notes, resolving contradictions, and rewriting relative dates (\"yesterday\",\n  \"last week\") to absolute ones. Each proposal cites the real source note\n  path(s); a fabricated path is dropped. Proposals land in the Improver's review\n  queue (`:27093`) under rule `memory-dream` and apply to the vault only on\n  approval.\n\nThe dream pass runs on ONE machine (the `memory_primary` one) so machines\nsharing the vault don't duplicate the work. So write good checkpoints and\ndurable notes; the nightly pass distills and de-dupes them for you.\n\n## Using memory (MCP tools)\n\nPrefer the Basic Memory MCP tools over reading raw files:\n\n- `search_notes` \u002F `search` — full-text + semantic search across the\n  whole vault. Use this first to recall.\n- `read_note` — read one note by title or permalink.\n- `build_context` — pull the context around a topic (note + its relations)\n  to continue a line of work.\n- `recent_activity` — what changed recently across the knowledge base.\n- `write_note` — persist a durable memory as a markdown note.\n\nFor CLI fallback, first check `GARRISON_AGENT_CONTINUITY_CONFIG` or the operator's\n`~\u002F.config\u002Fgarrison\u002Fagent-continuity.json`. When enrolled, read its\n`bridge_command` argv array and invoke that command with\n`--config \u003Cabsolute-config-path> memory-cli --` followed by the normal Basic\nMemory arguments, for example `tool read-note --project main --local \u003Cpermalink>`\nor `tool write-note --project main --local --title \"\u003Ct>\" --folder \u003Cdir>` with\ncontent on stdin. Preserve argv boundaries; do not evaluate configuration as\nshell code. The bridge selects the same local or SSH authority as MCPs.\n\nDo not use bare `basic-memory` inside an enrolled fitting: its inherited\nconfiguration can select a different index even for the same vault. Invalid or\nunavailable enrollment is an error to report, not permission to silently choose\nanother index. Only unenrolled installations retain the normal bare CLI fallback.\n\n## Writing durable memories\n\nWhen you persist a memory, write a real note, not a log line:\n\n```markdown\n---\ntitle: \u003CNote Title>\ntype: note\ntags: [\u003Cproject>, \u003Ctopic>]\n---\n# \u003CNote Title>\n\u003C1–3 sentence core idea>\n## Observations\n- [decision] \u003Cdurable decision> #governance\n- [gotcha] \u003Cnon-obvious failure mode> #ops\n## Relations\n- relates_to [[\u003COther Note Title or permalink>]]\n- part_of [[Projects\u002F\u003CProject>]]\n```\n\n- Observations use `- [category] text #tag` (categories: decision, gotcha,\n  fact, method, preference, tip). Relations use `- relation_type [[Target]]`.\n- Route notes by project: `Projects\u002F\u003CProject>\u002FMemory\u002F` for project memory,\n  `Personal\u002F` for personal\u002Fbusiness memory, `Compiled\u002F` for cross-cutting\n  concepts\u002Fgotchas\u002Fprocedures.\n\n## Operating principles\n\n- Recall before you ask: `search_notes` the vault first.\n- Treat secrets as non-memory. The capture hook redacts `sk-*`, `ghp_*`,\n  `xoxb-*`; you should too. The vault is for context, not credentials.\n- Keep entries concise and source-attributed. Prefer one durable note per\n  topic with relations over many fragments.\n- Don't quote the whole corpus back to the principal — search for the\n  specific note, then answer from it.\n\n## The Archive (user-owned)\n\nThe vault folder `Archive\u002F` belongs to the user. It holds their personal\ndocuments, cards and notes, including sensitive papers. Read it only when\nthe user asks for something that is in there (search it, read the card,\nanswer). Never write, move, rename or delete anything under `Archive\u002F`;\na hook blocks it and the block is correct. Never summarise, copy or\nparaphrase Archive content into memory notes, session captures, briefs,\ndecisions or any other file. If something the user says belongs in the\nArchive, say so and let them file it from the Archive page.\n\nWhen the user asks for a fact in a saved document (for example, their company's\ncommercial certificate number), use `garrison_archive_search` with the company\nname and document type, then `garrison_archive_read` on the matching result.\nThe read includes extracted text and fields from image\u002FPDF sidecars; a sensitive\nsearch snippet being hidden does not prevent the explicitly requested read.\nTry short Portuguese\u002FEnglish terms if needed, verify the correct company and\nfield, and cite the source with a Markdown link to the returned `url`.\nReturn only the requested fact; omit identifiers\nfrom other documents and unrelated fields. Never guess a missing number or\nsave the answer to memory. These tools use the Archive's current local index, including attachments.\nSearch covers all folders by default. Optional folder, kind and bookmarked\nfilters narrow results; bookmarks are saved document shortcuts, not web links.\nUnified browsing does not change the personal-document ownership rule above.\nIf they are unavailable, use the configured Basic Memory search\u002Fread tools on\nproject `main`, including `Archive\u002F` and its derived attachment notes. This is\nknowledge retrieval, not task management; actionable work belongs in Kanban.\n","# Garrison Memory\n\nSession memory is a single Obsidian vault indexed by **Basic Memory**\n(basicmachines-co). The vault is plain markdown; Basic Memory builds a\nlocal SQLite knowledge graph (notes, observations, relations) and exposes\nwrite\u002Fsearch\u002Fread tools over MCP. The same MCP server is registered with\nClaude Code, Codex, and Gemini, so all three agents read and write the\nsame memory. Zero lock-in: drop Basic Memory and a clean vault remains;\nthe index rebuilds from the files.\n\n## How it works\n\nThe Basic Memory Fitting:\n\n- Installs `basic-memory` and registers the vault as project `main`\n  (`~\u002FObsidianVault` by default — it must live outside macOS\n  TCC-protected folders so headless tools can reach it).\n- Registers the `basic-memory mcp` server with Claude Code (and Codex +\n  Gemini) so memory tools are available in-session.\n- On nodes enrolled in shared agent continuity, preserves the six owned\n  lifecycle hooks. They publish structural metadata only; raw transcripts and\n  existing authored-note imports stay disabled. Save durable decisions into\n  topic notes deliberately. Unenrolled installations retain their existing\n  capture setup; do not copy its historical transcript material into shared notes.\n\nThe vault is committed and pushed to git on a schedule by the Garrison\n**`vault-git-sync`** scheduler job (default nightly, `0 4 * * *`), so memory\nwritten by any agent — even when no editor is open — syncs across machines.\nThe job is registered with the scheduler fitting and fired by the\n`io.garrison.scheduler` launchd daemon; cadence is the fitting's `cron` config.\n(This replaces the old standalone `com.ggomes.obsidian-vault-sync` launchd\nagent.)\n\n## Consolidation (\"dream\")\n\nThe **Improver** runs a nightly consolidation pass over the vault — the \"dream\"\nrule (mimics Claude Code's `autoDreamEnabled`). It keeps memory concise and true\nso the index does not rot:\n\n- **Deterministic housekeeping (auto):** archive `Memory\u002Fsession-*.md` capture\n  checkpoints older than `checkpoint_retention_days` (default 14) into\n  `Memory\u002Farchive\u002F`, then `basic-memory reindex` + `doctor`.\n- **Consolidation proposals (review-queued):** one capped model pass proposes\n  distilling durable notes from recent checkpoints, merging near-duplicate\n  notes, resolving contradictions, and rewriting relative dates (\"yesterday\",\n  \"last week\") to absolute ones. Each proposal cites the real source note\n  path(s); a fabricated path is dropped. Proposals land in the Improver's review\n  queue (`:27093`) under rule `memory-dream` and apply to the vault only on\n  approval.\n\nThe dream pass runs on ONE machine (the `memory_primary` one) so machines\nsharing the vault don't duplicate the work. So write good checkpoints and\ndurable notes; the nightly pass distills and de-dupes them for you.\n\n## Using memory (MCP tools)\n\nPrefer the Basic Memory MCP tools over reading raw files:\n\n- `search_notes` \u002F `search` — full-text + semantic search across the\n  whole vault. Use this first to recall.\n- `read_note` — read one note by title or permalink.\n- `build_context` — pull the context around a topic (note + its relations)\n  to continue a line of work.\n- `recent_activity` — what changed recently across the knowledge base.\n- `write_note` — persist a durable memory as a markdown note.\n\nFor CLI fallback, first check `GARRISON_AGENT_CONTINUITY_CONFIG` or the operator's\n`~\u002F.config\u002Fgarrison\u002Fagent-continuity.json`. When enrolled, read its\n`bridge_command` argv array and invoke that command with\n`--config \u003Cabsolute-config-path> memory-cli --` followed by the normal Basic\nMemory arguments, for example `tool read-note --project main --local \u003Cpermalink>`\nor `tool write-note --project main --local --title \"\u003Ct>\" --folder \u003Cdir>` with\ncontent on stdin. Preserve argv boundaries; do not evaluate configuration as\nshell code. The bridge selects the same local or SSH authority as MCPs.\n\nDo not use bare `basic-memory` inside an enrolled fitting: its inherited\nconfiguration can select a different index even for the same vault. Invalid or\nunavailable enrollment is an error to report, not permission to silently choose\nanother index. Only unenrolled installations retain the normal bare CLI fallback.\n\n## Writing durable memories\n\nWhen you persist a memory, write a real note, not a log line:\n\n```markdown\n---\ntitle: \u003CNote Title>\ntype: note\ntags: [\u003Cproject>, \u003Ctopic>]\n---\n# \u003CNote Title>\n\u003C1–3 sentence core idea>\n## Observations\n- [decision] \u003Cdurable decision> #governance\n- [gotcha] \u003Cnon-obvious failure mode> #ops\n## Relations\n- relates_to [[\u003COther Note Title or permalink>]]\n- part_of [[Projects\u002F\u003CProject>]]\n```\n\n- Observations use `- [category] text #tag` (categories: decision, gotcha,\n  fact, method, preference, tip). Relations use `- relation_type [[Target]]`.\n- Route notes by project: `Projects\u002F\u003CProject>\u002FMemory\u002F` for project memory,\n  `Personal\u002F` for personal\u002Fbusiness memory, `Compiled\u002F` for cross-cutting\n  concepts\u002Fgotchas\u002Fprocedures.\n\n## Operating principles\n\n- Recall before you ask: `search_notes` the vault first.\n- Treat secrets as non-memory. The capture hook redacts `sk-*`, `ghp_*`,\n  `xoxb-*`; you should too. The vault is for context, not credentials.\n- Keep entries concise and source-attributed. Prefer one durable note per\n  topic with relations over many fragments.\n- Don't quote the whole corpus back to the principal — search for the\n  specific note, then answer from it.\n\n## The Archive (user-owned)\n\nThe vault folder `Archive\u002F` belongs to the user. It holds their personal\ndocuments, cards and notes, including sensitive papers. Read it only when\nthe user asks for something that is in there (search it, read the card,\nanswer). Never write, move, rename or delete anything under `Archive\u002F`;\na hook blocks it and the block is correct. Never summarise, copy or\nparaphrase Archive content into memory notes, session captures, briefs,\ndecisions or any other file. If something the user says belongs in the\nArchive, say so and let them file it from the Archive page.\n\nWhen the user asks for a fact in a saved document (for example, their company's\ncommercial certificate number), use `garrison_archive_search` with the company\nname and document type, then `garrison_archive_read` on the matching result.\nThe read includes extracted text and fields from image\u002FPDF sidecars; a sensitive\nsearch snippet being hidden does not prevent the explicitly requested read.\nTry short Portuguese\u002FEnglish terms if needed, verify the correct company and\nfield, and cite the source with a Markdown link to the returned `url`.\nReturn only the requested fact; omit identifiers\nfrom other documents and unrelated fields. Never guess a missing number or\nsave the answer to memory. These tools use the Archive's current local index, including attachments.\nSearch covers all folders by default. Optional folder, kind and bookmarked\nfilters narrow results; bookmarks are saved document shortcuts, not web links.\nUnified browsing does not change the personal-document ownership rule above.\nIf they are unavailable, use the configured Basic Memory search\u002Fread tools on\nproject `main`, including `Archive\u002F` and its derived attachment notes. This is\nknowledge retrieval, not task management; actionable work belongs in Kanban.\n",{"name":5,"description":7},"main","31458d7e0e08a7b3494c27bf2b912ed41c87a138","fittings\u002Fseed\u002Fbasic-memory\u002F.apm\u002Fskills\u002Fgarrison-memory",0,"https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison","https:\u002F\u002Fgongiskhan.github.io\u002Fagent-garrison\u002F","https:\u002F\u002Fgithub.com\u002Fgongiskhan","2026-11-07 05:27:23",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add gongiskhan\u002Fagent-garrison --skill \"Garrison Memory\"",{"tool":53,"command":54},"bunx","bunx skills add gongiskhan\u002Fagent-garrison --skill \"Garrison Memory\"",{"tool":56,"command":57},"pnpm","pnpm dlx skills add gongiskhan\u002Fagent-garrison --skill \"Garrison Memory\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Fbasic-memory\u002F.apm\u002Fskills\u002Fgarrison-memory\u002FSKILL.md",true,[],[62,74,84,95,107,133],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":34},"01M71RTFA0HD83YBE1TE7DCE6B","pinned-helper","An owned skill the human has pinned so the Improver must not touch it.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Fpinned-helper\u002FSKILL.md",[],[69,70,71,72,73],"pinned helper","helper","human","touch","it",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":34},"01M71RTDKBG0WQHPHKFZKFWDHF","legacy-helper","A rarely used helper kept around from an earlier workflow.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Flegacy-helper\u002FSKILL.md",[],[81,70,82,83],"Legacy","legacy helper","workflow",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":34},"01M71RTCC6ZVVJ9MHHESXPHWA6","human-notes","A human-authored skill not deployed by APM (loose, not in the lock).","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Fhuman-notes\u002FSKILL.md",[],[91,71,92,93,94],"notes","human notes","lock","apm",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":34},"01M71RTB83ZP6VK6XH19Z93FAC","garrison-helper","Helps compose and station Garrison Fittings into Faculty role slots.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Fgarrison-helper\u002FSKILL.md",[],[70,102,103,104,105,106],"garrison","garrison helper","slots","role","compose",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":34},"01M71RT6MBGJC4QQZBGHF4H1M8","walkthrough","Record a short, narrated, captioned video walkthrough that proves a finished coding task and shows how it behaves, then self-verify the video via vision on extracted frames and publish it as one scrubbable Tailscale link. Use after completing a change\u002Ffix\u002Ffeature on a web project (Next.js\u002FReact etc.) when the user wants visual proof of work, a demo of a user flow, or to avoid manually retesting and watching a long raw screen recording. Triggers on requests like \"record a walkthrough\", \"show me it working\", \"make a demo video of this\", \"prove the feature\", or finishing a UI\u002Froute\u002Fform\u002FAPI change worth demonstrating. Not for walking through a full from-scratch project build.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Fwalkthrough\u002F.apm\u002Fskills\u002Fwalkthrough\u002FSKILL.md",[],[109,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],"when","project","project build","api","react","change","demo video","publish","recording","Video","show me","work","short","fix","show","route","me","next","self",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":34},"01M71RT54T0SQS42XEP5FVQ28K","Trello","Manage tasks via Trello REST API.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Ftrello\u002F.apm\u002Fskills\u002Ftrello\u002FSKILL.md",[],[140,141,142,117,143,144,145],"trello","tasks","REST","manage","rest api","via"]