[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EQGQZDFQ7M7MF4GEWKP1H5":3,"skill-same:01M6EQGQZDFQ7M7MF4GEWKP1H5":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":5,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6EQGQZDFQ7M7MF4GEWKP1H5","skill",null,"dhruvjainin\u002Faxon","dhruvjainin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18121502?v=4","01M6EQGM3KRZ5RT0V6WDF0N1JG","Dhruv Jain","01M6EQGM81A7HYZ13MQGKXD0N0",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdhruvjainin\u002Faxon\u002Fblob\u002Fmain\u002Fskill\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[],"2026-11-10 10:12:30",false,"# Axon Memory Skill\n\nPersistent AI memory that survives across conversations. Uses the `axon` CLI to store, retrieve, and manage memories. Briefings live in CLAUDE.md files so they load automatically on every conversation.\n\n## Activation\n\nThis skill is ALWAYS active. It runs in the background of every conversation.\n\n## How Memory Works\n\n- **CLAUDE.md** - The briefing, auto-loaded every conversation. This is how memories reach you.\n- **`.axon\u002F` archive** - Raw memories as markdown files with BM25 search index. Long-term store.\n\nFlow: user says \"yes\" to remember -> `axon remember` stores to archive -> consolidation regenerates CLAUDE.md from archive -> next conversation loads CLAUDE.md automatically.\n\n## During Conversation - Suggest Capture\n\nWhen you notice something worth remembering, **ask the user** before storing. Do not store silently.\n\n### When to suggest\n\n| Signal | How to detect | What to say |\n|--------|--------------|-------------|\n| User corrects your output | \"No, don't...\", \"Wrong, use...\", \"Never...\", \"Actually...\" | `? Should I remember this? \"Never do X, always do Y\"` |\n| User states a preference | \"I prefer...\", \"Always use...\", \"I like...\", \"I want...\" | `? Should I remember this preference?` |\n| Architectural decision | \"Let's use X because Y\", \"We decided to...\" | `? Should I remember this decision?` |\n| Convention established | \"In this project we...\", \"The pattern is...\" | `? Should I remember this convention?` |\n| Bug root cause found | \"The bug was caused by...\" | `? Should I remember this lesson?` |\n\n### When the user says \"yes\" (or \"remember this\", \"save this\", etc.)\n\nRun the axon command using the Bash tool:\n\n```bash\naxon remember \"The memory content here\" --tags \"relevant,tags\" --category \u003Cidentity|convention|decision|lesson>\n```\n\n- For personal preferences: add `-g` flag (stores globally, applies to all projects)\n- For project-specific things: no flag (stores in project `.axon\u002F`)\n- Show: `? Remembered: \u003Cbrief summary>`\n\n### When NOT to suggest\n\n- Trivial or obvious patterns\n- Things already in the CLAUDE.md briefing\n- Temporary task details\n- More than once per correction (don't nag)\n\n## Recalling Deeper Context\n\nWhen CLAUDE.md doesn't have enough info for the current task:\n\n1. Run `axon recall \"\u003Crelevant query>\"` to search the archive\n2. Show: `? Recalling...` before the search\n3. Use the results to inform your response\n\n## On Conversation End - Consolidation\n\nWhen the user signals they're done (goodbye, thanks, task complete), OR when they ask to consolidate, regenerate the CLAUDE.md briefing from the archive:\n\nThe archive (`.axon\u002F`) is the source of truth. CLAUDE.md is a curated summary generated FROM the archive. This keeps CLAUDE.md lean even when the archive has hundreds of memories.\n\n1. Show: `? Consolidating memories...`\n2. Run `axon recall --recent 50` to get recent memories\n3. Review for duplicates\u002Fcontradictions - clean up with `axon forget`\n4. Read ALL project memories: `axon recall --recent 500`\n5. Read ALL global memories: `axon recall --recent 500 -g`\n6. Generate updated briefings and write them into CLAUDE.md files:\n\n### Writing the project briefing\n\nRead the current `.claude\u002FCLAUDE.md` file. Find the section between `\u003C!-- axon:start -->` and `\u003C!-- axon:end -->` markers. Replace ONLY that section (preserve everything else in the file). If the markers don't exist, append the section at the end.\n\nWrite the axon section as:\n\n```markdown\n\u003C!-- axon:start -->\n## Axon Memory Briefing\n\n### Project: \u003Cproject name>\n- Tech stack, key tools, build\u002Ftest commands\n\n### Conventions\n- Coding style rules, patterns to follow\n\n### Recent Decisions\n- Architectural choices and their reasoning\n\n### Lessons\n- Corrections, mistakes to avoid, gotchas\n\u003C!-- axon:end -->\n```\n\n### Writing the global briefing\n\nSame approach with `~\u002F.claude\u002FCLAUDE.md`. Find\u002Freplace between `\u003C!-- axon:start -->` and `\u003C!-- axon:end -->` markers:\n\n```markdown\n\u003C!-- axon:start -->\n## Axon Memory Briefing\n\n### User\n- Name, identity facts\n- Coding preferences\n- Tool preferences\n- Communication style\n\u003C!-- axon:end -->\n```\n\n### Briefing rules\n\n- **Project CLAUDE.md**: Max 300 lines for the axon section\n- **Global CLAUDE.md**: Max 200 lines for the axon section\n- Prioritize frequently accessed and recent memories\n- Be concise - bullet points, not paragraphs\n- NEVER delete content outside the axon markers\n- If the CLAUDE.md file doesn't exist, create it with just the axon section\n\n7. Show: `? Memory consolidated. X memories reviewed, briefing updated.`\n\n## Visual Indicator\n\nEvery memory operation gets the brain emoji:\n\n- `? Remembered: \u003Csummary>`\n- `? Recalling...`\n- `? Memory loaded`\n- `? Consolidating memories...`\n- `? Forgot: \u003Cid>`\n\n## CLI Reference\n\n```bash\naxon remember \"\u003Ctext>\" --tags \"tag1,tag2\" --category \u003Cidentity|convention|decision|lesson>\naxon remember \"\u003Ctext>\" -g                  # store globally (for identity\u002Fpreferences)\naxon recall \"\u003Cquery>\"                      # BM25 search\naxon recall --recent 10                    # recent memories\naxon recall --tags \"tag1\"                  # filter by tag\naxon forget \u003Cmemory-id>                    # delete a memory\naxon status                                # counts, categories, briefing freshness\naxon briefing                              # show current briefing.md\naxon reindex                               # rebuild search index\n```\n\n## Important Notes\n\n- Memories are markdown files - human-readable, git-trackable, editable\n- Two scopes: project (`.axon\u002F`) and global (`~\u002F.axon\u002F`)\n- Archive (`.axon\u002F`) is the source of truth - always store via `axon remember`\n- CLAUDE.md briefing is the delivery mechanism - generated from archive during consolidation\n- `axon recall` searches the archive for deeper context beyond the briefing\n- Quality over quantity - one good memory beats five mediocre ones\n- The archive can grow large; CLAUDE.md stays lean (max 300 project + 200 global lines)\n",{},"main","55ba1613b0f0bbb4c8411016622e14041afa9b20","https:\u002F\u002Fgithub.com\u002Fdhruvjainin\u002Faxon","https:\u002F\u002Fgithub.com\u002Fdhruvjainin","https:\u002F\u002Fmaddhruv.dev\u002F","Stumbling on the Internet","2026-03-19 17:55:05",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add dhruvjainin\u002Faxon --skill skill",{"tool":40,"command":41},"bunx","bunx skills add dhruvjainin\u002Faxon --skill skill",{"tool":43,"command":44},"pnpm","pnpm dlx skills add dhruvjainin\u002Faxon --skill skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdhruvjainin\u002Faxon\u002Fblob\u002Fmain\u002Fskill\u002FSKILL.md",true,[],[49],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":23},"01M6EQGP1VBYAHATEJYTF0A6Y0","axon","https:\u002F\u002Fgithub.com\u002Fdhruvjainin\u002Faxon\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Faxon\u002FSKILL.md",[],[51]]