[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DTQRAS5K7ZEZHVMCZ171C":3,"skill-same:01M75DTQRAS5K7ZEZHVMCZ171C":45},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75DTQRAS5K7ZEZHVMCZ171C","dream",null,"Consolidates stored memories by merging duplicates, resolving contradictions, and pruning stale entries. Use when memory count is high, search results feel noisy or repetitive, or periodic cleanup is needed to maintain memory quality.","zhangmask\u002FC_AnimeCompanion","zhangmask","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142085030?v=4","01M75DE4RMVR0PZNRT2CHBNB1K","Zeshan Zhang","01M75DE4SE8VQSYG2PMV66F3PE",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fpi-agent-plugin\u002Fskills\u002Fdream\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: dream\ndescription: Consolidates stored memories by merging duplicates, resolving contradictions, and pruning stale entries. Use when memory count is high, search results feel noisy or repetitive, or periodic cleanup is needed to maintain memory quality.\n---\n\n# Dream — Memory Consolidation\n\nThis skill performs a memory consolidation pass: it fetches all memories, identifies near-duplicates, flags contradictions, and prunes stale entries. All proposed changes are shown as a diff for user approval before anything is modified.\n\n**IMPORTANT: Execute steps strictly in order (1 -> 2 -> 3 -> 4 -> 5). Each step depends on the previous one. Do NOT run steps in parallel or skip ahead.**\n\n## Step 1: Fetch ALL Memories\n\nUse `mem0_memory` tool with `action=\"get_all\"` to retrieve every memory.\n\nIf zero memories are found, print:\n\n```\nNo memories found. Nothing to consolidate.\n```\n\n...and stop.\n\n## Step 2: Analyze — Find Issues\n\nWork entirely in-memory; do not modify anything yet.\n\nGroup memories by category. For each group, identify the following:\n\n### 2a. Near-duplicate pairs (merge candidates)\n\nTwo memories are near-duplicates when they express the same fact but phrased differently (e.g., \"Prefers morning meetings\" and \"Likes scheduling meetings early\").\n\nHeuristics — two memories are near-duplicates if **all** of these hold:\n- If >60% of significant nouns\u002Fkeywords overlap, treat as near-duplicate.\n- Same category.\n- Neither memory is pinned (content does not start with `[PINNED]`).\n\nFor each qualifying pair, draft a merged version that is more complete than either original.\n\n### 2b. Contradictions\n\nTwo memories contradict when they assert opposing facts about the same topic (e.g., \"Prefers cats\" vs. \"Allergic to cats, prefers dogs\").\n\nIdentify the likely winner: the more recent memory wins. Store both IDs and their content for user review.\n\n### 2c. Prune candidates\n\nA memory is a prune candidate when **any** of the following is true:\n\n1. It is older than 180 days AND has not been accessed recently.\n2. Its content is extremely vague (fewer than 5 meaningful words).\n\n**Always skip memories where content starts with `[PINNED]`**, regardless of age.\n\n## Step 3: Print Diff Report\n\nPrint a structured diff before making any changes:\n\n```\n## dream — consolidation report\n\nMerges (\u003CN>):\n  [mem0:\u003Cid1>] + [mem0:\u003Cid2>] -> \"\u003Cmerged content, 100 chars>\"\n\nConflicts (\u003CN>):\n  [mem0:\u003CidA>] vs [mem0:\u003CidB>] — \"\u003Ctopic>\" [A\u002FB\u002Fskip]\n\nPrune (\u003CN>):\n  [mem0:\u003Cid>] — \u003Ccategory>, \u003Cage>d old\n\nProposed: \u003CN> merges, \u003CN> prunes, \u003CN> conflicts. Apply? [Y\u002Fn]\n```\n\nIf there are zero total proposals, print:\n\n```\nDream complete. No duplicate, contradictory, or stale memories found.\n```\n\n...and stop.\n\n## Step 4: Wait for User Input and Apply\n\n### 4a. Contradictions\n\nFor each conflict pair, wait for the user to choose A, B, or skip.\n\n### 4b. Final confirmation\n\nAfter all conflict resolutions are collected, prompt: `Apply? [Y\u002Fn]`\n\nIf the user declines, print `Cancelled. No changes made.` and stop.\n\nIf confirmed, apply all changes:\n\n**Merges:** Delete both originals, add the merged version using `mem0_memory` with `action=\"add\"`.\n\n**Contradictions (resolved):** Delete the loser using `mem0_memory` with `action=\"delete\"`.\n\n**Prunes:** Delete each using `mem0_memory` with `action=\"delete\"`.\n\n## Step 5: Print Summary\n\n```\nDream complete — merged: \u003CN>, pruned: \u003CN>, conflicts resolved: \u003CN>, skipped: \u003CN>\n```\n\n## Auto mode\n\nWhen invoked with `--auto` (e.g., `\u002Fmem0-dream --auto`), run non-interactively:\n\n- **Merges**: applied automatically.\n- **Prunes**: applied automatically.\n- **Contradictions**: skipped — they require human judgment.\n\nPrint a compact summary:\n```\n[mem0-dream --auto] merged=\u003CN> pruned=\u003CN> conflicts_skipped=\u003CN>\n```\n\n## See also\n\n- `\u002Fmem0-forget` — targeted deletion of specific memories\n- `\u002Fmem0-status` — quick health check\n","# Dream — Memory Consolidation\n\nThis skill performs a memory consolidation pass: it fetches all memories, identifies near-duplicates, flags contradictions, and prunes stale entries. All proposed changes are shown as a diff for user approval before anything is modified.\n\n**IMPORTANT: Execute steps strictly in order (1 -> 2 -> 3 -> 4 -> 5). Each step depends on the previous one. Do NOT run steps in parallel or skip ahead.**\n\n## Step 1: Fetch ALL Memories\n\nUse `mem0_memory` tool with `action=\"get_all\"` to retrieve every memory.\n\nIf zero memories are found, print:\n\n```\nNo memories found. Nothing to consolidate.\n```\n\n...and stop.\n\n## Step 2: Analyze — Find Issues\n\nWork entirely in-memory; do not modify anything yet.\n\nGroup memories by category. For each group, identify the following:\n\n### 2a. Near-duplicate pairs (merge candidates)\n\nTwo memories are near-duplicates when they express the same fact but phrased differently (e.g., \"Prefers morning meetings\" and \"Likes scheduling meetings early\").\n\nHeuristics — two memories are near-duplicates if **all** of these hold:\n- If >60% of significant nouns\u002Fkeywords overlap, treat as near-duplicate.\n- Same category.\n- Neither memory is pinned (content does not start with `[PINNED]`).\n\nFor each qualifying pair, draft a merged version that is more complete than either original.\n\n### 2b. Contradictions\n\nTwo memories contradict when they assert opposing facts about the same topic (e.g., \"Prefers cats\" vs. \"Allergic to cats, prefers dogs\").\n\nIdentify the likely winner: the more recent memory wins. Store both IDs and their content for user review.\n\n### 2c. Prune candidates\n\nA memory is a prune candidate when **any** of the following is true:\n\n1. It is older than 180 days AND has not been accessed recently.\n2. Its content is extremely vague (fewer than 5 meaningful words).\n\n**Always skip memories where content starts with `[PINNED]`**, regardless of age.\n\n## Step 3: Print Diff Report\n\nPrint a structured diff before making any changes:\n\n```\n## dream — consolidation report\n\nMerges (\u003CN>):\n  [mem0:\u003Cid1>] + [mem0:\u003Cid2>] -> \"\u003Cmerged content, 100 chars>\"\n\nConflicts (\u003CN>):\n  [mem0:\u003CidA>] vs [mem0:\u003CidB>] — \"\u003Ctopic>\" [A\u002FB\u002Fskip]\n\nPrune (\u003CN>):\n  [mem0:\u003Cid>] — \u003Ccategory>, \u003Cage>d old\n\nProposed: \u003CN> merges, \u003CN> prunes, \u003CN> conflicts. Apply? [Y\u002Fn]\n```\n\nIf there are zero total proposals, print:\n\n```\nDream complete. No duplicate, contradictory, or stale memories found.\n```\n\n...and stop.\n\n## Step 4: Wait for User Input and Apply\n\n### 4a. Contradictions\n\nFor each conflict pair, wait for the user to choose A, B, or skip.\n\n### 4b. Final confirmation\n\nAfter all conflict resolutions are collected, prompt: `Apply? [Y\u002Fn]`\n\nIf the user declines, print `Cancelled. No changes made.` and stop.\n\nIf confirmed, apply all changes:\n\n**Merges:** Delete both originals, add the merged version using `mem0_memory` with `action=\"add\"`.\n\n**Contradictions (resolved):** Delete the loser using `mem0_memory` with `action=\"delete\"`.\n\n**Prunes:** Delete each using `mem0_memory` with `action=\"delete\"`.\n\n## Step 5: Print Summary\n\n```\nDream complete — merged: \u003CN>, pruned: \u003CN>, conflicts resolved: \u003CN>, skipped: \u003CN>\n```\n\n## Auto mode\n\nWhen invoked with `--auto` (e.g., `\u002Fmem0-dream --auto`), run non-interactively:\n\n- **Merges**: applied automatically.\n- **Prunes**: applied automatically.\n- **Contradictions**: skipped — they require human judgment.\n\nPrint a compact summary:\n```\n[mem0-dream --auto] merged=\u003CN> pruned=\u003CN> conflicts_skipped=\u003CN>\n```\n\n## See also\n\n- `\u002Fmem0-forget` — targeted deletion of specific memories\n- `\u002Fmem0-status` — quick health check\n",{"name":5,"description":7},"main","89af4b6bd8e57a4af34127bcd3e74beba2960c99","othergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fpi-agent-plugin\u002Fskills\u002Fdream",0,"https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion","https:\u002F\u002Fgithub.com\u002Fzhangmask","2026-08-12 23:25:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add zhangmask\u002FC_AnimeCompanion --skill dream",{"tool":37,"command":38},"bunx","bunx skills add zhangmask\u002FC_AnimeCompanion --skill dream",{"tool":40,"command":41},"pnpm","pnpm dlx skills add zhangmask\u002FC_AnimeCompanion --skill dream","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fpi-agent-plugin\u002Fskills\u002Fdream\u002FSKILL.md",true,[],[46,54,62,70,78,86],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":50,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M75DWFRG97DMF5XB527G18KQ","mem0","Mem0 Platform SDK for adding persistent memory to AI applications. TRIGGER when: user mentions \"mem0\", \"MemoryClient\", \"memory layer\", \"remember user preferences\", \"persistent context\", \"personalization\", or needs to add long-term memory to chatbots, agents, or AI apps. Covers Python SDK (mem0ai), TypeScript SDK (mem0ai), and framework integrations (LangChain, CrewAI, OpenAI Agents SDK, Pipecat, LlamaIndex, AutoGen, LangGraph). Also covers the open-source self-hosted Memory class. This is the DEFAULT mem0 skill for ambiguous queries. DO NOT TRIGGER when: user asks about CLI commands, terminal usage, or shell scripts (use mem0-cli), or Vercel AI SDK \u002F @mem0\u002Fvercel-ai-provider \u002F createMem0 (use mem0-vercel-ai-sdk).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M75DWA6DYJVW82BRA7PGWAWP","mem0-vercel-ai-sdk","Mem0 provider for Vercel AI SDK (@mem0\u002Fvercel-ai-provider). TRIGGER when: user mentions \"vercel ai sdk\", \"@mem0\u002Fvercel-ai-provider\", \"createMem0\", \"retrieveMemories\", \"addMemories\", \"getMemories\", \"searchMemories\", \"mem0 vercel\", \"AI SDK provider\", \"AI SDK memory\", or is using generateText\u002FstreamText with mem0. Also triggers for Next.js apps needing memory-augmented AI. DO NOT TRIGGER when: user asks about direct Python\u002FTS SDK calls without Vercel (use mem0 skill), or CLI terminal commands (use mem0-cli skill).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-vercel-ai-sdk\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-vercel-ai-sdk\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75DW1BKX9416VYXSV0MWWKK","mem0-test-integration","Verify a Mem0 integration produced by \u002Fmem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run \u002Fmem0-integrate and says \"verify\", \"test the integration\", \"run \u002Fmem0-test-integration\", or when a .mem0-integration\u002F directory exists and tests have not been run yet on the current branch. DO NOT TRIGGER when: the user wants to run general project tests (defer to the repo's native test command), or when no prior \u002Fmem0-integrate run exists in the current branch (ask them to run \u002Fmem0-integrate first). This skill ONLY catches compile and runtime bugs by design. Logical integration errors — wrong data stored, wrong time retrieved, wrong user scoping — are on the human reviewer.","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-test-integration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-test-integration\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M75DVRVCQK3DNHFASD8SD2A2","mem0-oss-to-platform","Plan and then execute a migration of a project from the mem0 open-source \u002F self-hosted SDK (the local `Memory` class) to the mem0 Platform \u002F hosted \u002F managed SDK (the `MemoryClient` class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS\u002Fself-hosted to the hosted API — e.g. \"migrate my mem0 setup to the platform\", \"switch from self-hosted mem0 to MemoryClient\", \"use my mem0 API key instead of a local Qdrant\", \"move mem0 to the cloud\u002Fhosted\u002Fmanaged service\", or \"replace my local mem0 vector store + embedder config with the platform\". Applies to Python (`from mem0 import Memory` → `from mem0 import MemoryClient`) and TypeScript\u002FJavaScript (`import { Memory } from \"mem0ai\u002Foss\"` → `import MemoryClient from \"mem0ai\"`). Trigger even when the user doesn't say the word \"migrate\" but clearly wants their existing mem0 integration to run against the hosted platform. It first produces a reviewable migration plan, then executes it after the developer approves. Strictly scoped to the mem0 integration — it does not refactor, restructure, or \"improve\" any unrelated code.","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-oss-to-platform\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-oss-to-platform\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M75DVH4QN1KKJ6JWFH0ZEP4K","mem0-integrate","Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus `.mem0-integration\u002F` artifacts consumed by the paired verification skill. TRIGGER when: user says \"integrate mem0\", \"add mem0 to this repo\", \"wire mem0 into \u003Crepo>\", or asks how to add memory to an existing project. DO NOT TRIGGER when: the user wants general SDK usage (use skill:mem0), CLI usage (use skill:mem0-cli), or Vercel AI SDK (use skill:mem0-vercel-ai-sdk). After success, invoke skill:mem0-test-integration to verify in the same workspace (loose coupling).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-integrate\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-integrate\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M75DV93TE88NQW790RDN7WRY","mem0-cli","Mem0 CLI -- the command-line interface for mem0 memory operations. TRIGGER when: user mentions \"mem0 cli\", \"mem0 command line\", \"@mem0\u002Fcli\", \"mem0-cli\", \"pip install mem0-cli\", \"npm install -g @mem0\u002Fcli\", or is running mem0 commands in a terminal\u002Fshell (mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0 config, mem0 import). Also triggers when query includes CLI flags like --user-id, --output, --json, --agent, or describes bash\u002Fzsh\u002Fterminal\u002Fshell usage. DO NOT TRIGGER when: user asks about programmatic SDK integration in Python\u002FTS code (use mem0 skill), or Vercel AI SDK provider (use mem0-vercel-ai-sdk skill).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-cli\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-cli\u002FSKILL.md",[],[]]