[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E365GA76Q4XEBZ4VHZ4E4G":3,"skill-same:01M6E365GA76Q4XEBZ4VHZ4E4G":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":69},"01M6E365GA76Q4XEBZ4VHZ4E4G","memory-mine",null,"Mine project files or conversations into the MemPalace memory system. Indexes source code and conversation history as searchable palace drawers with semantic embeddings and room assignment.","dimetron\u002Fpi-go","dimetron","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F877433?v=4","01M6E34QX9HKYKMWJVZQEPR2Q3","Dmytro Rashko","01M6E34R2A6563XM0PTZE8KPGG",224,"MIT","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fmemory-mine\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"memory mine","mine","memory","as","source code","source","true","conversations","with","semantic","memory system","project","mempalace","conversation","indexes","files","history","system","embeddings","code","2026-11-10 10:12:30",false,"---\nname: memory-mine\ndescription: >\n  Mine project files or conversations into the MemPalace memory system.\n  Indexes source code and conversation history as searchable palace drawers\n  with semantic embeddings and room assignment.\nuser_invocable: true\nmetadata:\n  author: dimetron\n  version: \"1.0\"\n---\n\n## When to use\n\nUse this skill when the user wants to:\n\n- Index\u002Fmine project source files into the palace memory\n- Mine conversation history (JSONL, text) into the palace\n- Rebuild or refresh the palace knowledge base from disk\n- Bootstrap memory for a new project\n\n## What it does\n\nRuns `pi memory mine` to walk a directory and ingest files as palace drawers:\n\n1. **Source mining** (default): Walks the directory tree, chunks source files (1500 chars, 200 overlap), assigns rooms via `mempalace.yaml` patterns or directory structure, generates embeddings, deduplicates (cosine >= 0.9), and stores as drawers.\n\n2. **Conversation mining** (`--convos`): Parses JSONL (pi-go or Claude Code format) and plaintext conversations, pairs user+assistant turns, and stores as drawers with importance=4.\n\n## Steps\n\n1. Check if `palace.db` exists (run `pi memory init .` if not)\n2. Check if the embedding model is downloaded (run `pi memory model download` if not)\n3. Run the mine command:\n\n```bash\n# Mine source files from current directory\npi memory mine .\n\n# Mine source files with explicit wing name\npi memory mine . --wing my-project\n\n# Mine conversation files\npi memory mine .\u002Fconversations --convos\n```\n\n4. Show the results (processed, added, skipped duplicates, errors)\n5. Optionally run `pi memory status` to confirm the updated state\n\n## Arguments\n\nThe user can pass arguments after `\u002Fmemory-mine`:\n\n- A directory path (default: `.` current directory)\n- `--wing \u003Cname>` to override the wing name\n- `--convos` to mine conversations instead of source files\n\nExamples:\n- `\u002Fmemory-mine` — mine current directory\n- `\u002Fmemory-mine .\u002Fsrc` — mine the src directory\n- `\u002Fmemory-mine .\u002Fchats --convos` — mine conversation files\n\n## Prerequisites\n\n- `pi` binary must be built and available (`go build -o pi .\u002Fcmd\u002Fpi`)\n- Palace DB must be initialized (`pi memory init .`)\n- For semantic search, embedding model must be downloaded (`pi memory model download`)\n\n## Notes\n\n- Respects `.gitignore` patterns\n- Skips hidden dirs, `node_modules`, `vendor`, `.git`, `build`, `target`\n- Skips files > 512 KB\n- Uses `mempalace.yaml` for room assignment if present\n- Duplicates (cosine similarity >= 0.9) are automatically skipped","## When to use\n\nUse this skill when the user wants to:\n\n- Index\u002Fmine project source files into the palace memory\n- Mine conversation history (JSONL, text) into the palace\n- Rebuild or refresh the palace knowledge base from disk\n- Bootstrap memory for a new project\n\n## What it does\n\nRuns `pi memory mine` to walk a directory and ingest files as palace drawers:\n\n1. **Source mining** (default): Walks the directory tree, chunks source files (1500 chars, 200 overlap), assigns rooms via `mempalace.yaml` patterns or directory structure, generates embeddings, deduplicates (cosine >= 0.9), and stores as drawers.\n\n2. **Conversation mining** (`--convos`): Parses JSONL (pi-go or Claude Code format) and plaintext conversations, pairs user+assistant turns, and stores as drawers with importance=4.\n\n## Steps\n\n1. Check if `palace.db` exists (run `pi memory init .` if not)\n2. Check if the embedding model is downloaded (run `pi memory model download` if not)\n3. Run the mine command:\n\n```bash\n# Mine source files from current directory\npi memory mine .\n\n# Mine source files with explicit wing name\npi memory mine . --wing my-project\n\n# Mine conversation files\npi memory mine .\u002Fconversations --convos\n```\n\n4. Show the results (processed, added, skipped duplicates, errors)\n5. Optionally run `pi memory status` to confirm the updated state\n\n## Arguments\n\nThe user can pass arguments after `\u002Fmemory-mine`:\n\n- A directory path (default: `.` current directory)\n- `--wing \u003Cname>` to override the wing name\n- `--convos` to mine conversations instead of source files\n\nExamples:\n- `\u002Fmemory-mine` — mine current directory\n- `\u002Fmemory-mine .\u002Fsrc` — mine the src directory\n- `\u002Fmemory-mine .\u002Fchats --convos` — mine conversation files\n\n## Prerequisites\n\n- `pi` binary must be built and available (`go build -o pi .\u002Fcmd\u002Fpi`)\n- Palace DB must be initialized (`pi memory init .`)\n- For semantic search, embedding model must be downloaded (`pi memory model download`)\n\n## Notes\n\n- Respects `.gitignore` patterns\n- Skips hidden dirs, `node_modules`, `vendor`, `.git`, `build`, `target`\n- Skips files > 512 KB\n- Uses `mempalace.yaml` for room assignment if present\n- Duplicates (cosine similarity >= 0.9) are automatically skipped",{"name":5,"metadata":44,"description":46,"user_invocable":47},{"author":9,"version":45},"1.0","Mine project files or conversations into the MemPalace memory system. Indexes source code and conversation history as searchable palace drawers with semantic embeddings and room assignment.\n",true,"main","bcfcd42255878c3d40e545abcdeb2520b6d31a52",".pi-go\u002Fskills\u002Fmemory-mine",34,"https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go","https:\u002F\u002Fpi-go.sh","https:\u002F\u002Fgithub.com\u002Fdimetron","🎸💻 🚧🦞","2026-11-15 03:48:24",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":47},[59,62,65],{"tool":60,"command":61},"npx","npx skills add dimetron\u002Fpi-go --skill memory-mine",{"tool":63,"command":64},"bunx","bunx skills add dimetron\u002Fpi-go --skill memory-mine",{"tool":66,"command":67},"pnpm","pnpm dlx skills add dimetron\u002Fpi-go --skill memory-mine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fmemory-mine\u002FSKILL.md",[70,76,80],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fdirectory-patterns.md","REFERENCE","参考文档",6637,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fproject-organization\u002Freferences\u002Fdirectory-patterns.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fmarkdown-body-templates.md",4983,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fproject-organization\u002Freferences\u002Fmarkdown-body-templates.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fnaming-conventions.md",3542,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fproject-organization\u002Freferences\u002Fnaming-conventions.md",[85,112,135,152,167,185],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M70SJ3216A0Y2NXYJJ2MVER0","verify-session-flow","Formally verify the interactive session flow before or after changing it. Use when editing internal\u002Ftui\u002Ftui.go's handleKey, handleInterruptKey, handleInputSubmit, ctrlCCount or quitting, internal\u002Ftui\u002Fagent_loop.go's enqueuePrompt, submit, steerPrompt, cancelAgent or handleAgentDone, or the deferred-init splash — or when a user reports that Ctrl+C quit on the first press, that Esc did not stop a turn or a goal loop, that a queued prompt was lost when they canceled, or that the TUI hung on a spinner nothing could clear.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-session-flow\u002FSKILL.md",[],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"session","verify session flow","verify","flow","submit","editing","init","use","loop","prompt","when","interactive","reports","first","goal","CTRL","clear","go","spinner","tui",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M70SJ02CTB40V2VFGAF80SBG","verify-run-pipeline","Formally verify the \u002Frun phase machine before or after changing it. Use when editing internal\u002Ftui\u002Frun.go's phase transitions (handleRunAgentDone, runGates result handling, verifyRunComplete, retryRun, reportGateHang, merge), internal\u002Fsop\u002Fverdict.go's Passed, or the checklist refresh — or when a run merged work it should not have, retried a hung gate, lost a cycle at the retry budget, or merged on a stale PASS.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-run-pipeline\u002FSKILL.md",[],[119,120,94,121,122,123,97,124,125,126,99,102,127,128,129,130,131,132,133,134],"pipeline","verify run pipeline","run","run pipeline","retry","cycle","run phase","machine","phase","refresh","work","verdict","transitions","result","merge","sop",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":39},"01M70SHWJV9N3PQWRAMCQE9C2E","verify-history-rewrite","Formally verify the session-history rewrite path before or after changing it. Use when editing internal\u002Fsession\u002Fautocompact.go, internal\u002Fsession\u002Fcompaction*.go, internal\u002Fsession\u002Fstore.go's Compact\u002FClearEvents\u002FrewriteEvents, internal\u002Fagent\u002Fagent.go's Run\u002FRunStreaming\u002FrunPreTurn, or internal\u002Ftui\u002Fcommands.go's clearConversation\u002FclearSessionContext and the context gauge — or when a turn is canceled mid-flight, a tool call and its result get separated, a session's history disappears while the agent is still working, or the model is sent a tool result whose call was compacted away.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-history-rewrite\u002FSKILL.md",[],[35,142,143,94,144,145,97,92,146,147,99,148,102,149,150,132,121,151,109,111],"rewrite","verify history rewrite","get","model","tool","call","compact","store","gauge","commands",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":39},"01M70SHSJ5A2XV5SXBXM96RH7P","verify-goal-loop","Formally verify the \u002Fgoal automatic loop before or after changing it. Use when editing internal\u002Ftui\u002Fgoal.go, internal\u002Ftui\u002Fagent_loop.go's handleAgentDone\u002FcancelAgent\u002FsteerPrompt, or internal\u002Ftools\u002Fgoal.go's GoalController — or when a goal loop will not stop, stops one cycle early, closes a goal that is not met, or restarts a goal you finished.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-goal-loop\u002FSKILL.md",[],[100,159,160,94,106,161,97,124,99,102,162,163,109,111,164,165,166],"verify goal loop","verify goal","goal loop","you","automatic","Tools","it","stop",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":39},"01M70SHPYN1AS6D6RJ8HN270RZ","verify-agent-lifecycle","Formally verify the subagent lifecycle before or after changing it. Use when editing internal\u002Fsubagent\u002Forchestrator.go's Spawn, trackAgent, forwardAgentEvents, terminalStatus, Cancel, ShutdownWithTimeout or evictCompletedAgentsLocked, or internal\u002Fsubagent\u002Fpool.go — or when a canceled agent is reported as failed, an agent vanishes from the list with no verdict, the orchestrator panics on a pool release, or an agent can be canceled twice.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-agent-lifecycle\u002FSKILL.md",[],[174,175,176,94,22,97,99,102,177,178,179,27,130,180,181,182,183,109,165,184],"lifecycle","verify agent lifecycle","agent lifecycle","cancel","subagent","can","orchestrator","spawn","release","list","pool",{"skillNo":186,"name":187,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":39},"01M6E37WZM8ZF36DRYQGZDGP7M","test-new-skill","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Ftui\u002F.pi-go\u002Fskills\u002Ftest-new-skill\u002FSKILL.md",[],[191,192,193,194],"test","new skill","test new skill","new"]