[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DQM8MBA03XWNECA53986B":3,"skill-same:01M75DQM8MBA03XWNECA53986B":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},"01M75DQM8MBA03XWNECA53986B","mem0-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\u002Fmem0-plugin\u002F.opencode-plugin\u002Fopencode-skills\u002Fmem0-dream\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: mem0-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# Mem0 Dream — Memory Consolidation\n\nThis skill performs a memory consolidation pass: it fetches all project memories,\nidentifies near-duplicates, flags contradictions, and prunes stale entries based on\nconfigured retention policies. All proposed changes are shown as a diff for user\napproval before anything is modified.\n\n**IMPORTANT: Execute steps strictly in order (1 → 2 → 3 → 4 → 5 → 6). Each step depends on the previous one. Do NOT run steps in parallel or skip ahead.**\n\n## Step 1: Load Retention Policies\n\nCheck for a project config file in the project root (current working directory):\n\n1. Look for `.mem0.json` first. If it exists, parse it as JSON and read the\n   `retention` field (a dict of `category → days | null`).\n2. If `.mem0.json` is not present, look for `.mem0.md`. If it exists, scan it\n   for a `retention:` section or YAML front matter with retention settings and\n   parse what you find.\n3. If neither file exists, skip config loading entirely.\n\nIf no config is found or the config contains no retention settings, fall back to\nthese built-in defaults:\n\n| `metadata.type` | Default retention |\n|---|---|\n| `session_state` | 90 days |\n| `compact_summary` | 90 days |\n| all others | no pruning |\n\nStore the resolved policies for use in Step 3.\n\n---\n\n## Step 2: Fetch ALL Project Memories\n\nCall `get_memories` to retrieve every memory for the active project:\n\n```python\nget_memories(\n    filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}]},\n    page_size=200,\n)\n```\n\nIf the response indicates more pages exist, paginate until all memories are fetched.\nCollect the full list before proceeding. If zero memories are found, print:\n\n```\nNo memories found for project \u003Cproject_id>. Nothing to consolidate.\n```\n\n…and stop.\n\n---\n\n## Step 3: Analyze — Find Issues\n\nWork entirely in-memory; do not modify anything yet.\n\nGroup memories by `metadata.type` (use `\"unknown\"` when the field is absent).\nFor each group, identify the following:\n\n### 3a. Near-duplicate pairs (merge candidates)\n\nTwo memories are near-duplicates when they express the same fact or decision but\nphrased differently (e.g., \"Use PostgreSQL for auth\" and \"Auth DB is PostgreSQL\").\n\nHeuristics — two memories are near-duplicates if **all** of these hold:\n- Similarity threshold: estimated cosine similarity > 0.9 (use noun\u002Fkeyword overlap as proxy — if >60% of significant nouns overlap, treat as >0.9 similarity).\n- Same `metadata.type`.\n- Neither memory is pinned (`metadata.pinned != true`).\n\nFor each qualifying pair, draft a merged version that is more complete and specific\nthan either original.\n\n### 3b. Contradictions\n\nTwo memories contradict when they assert opposing facts about the same topic\n(e.g., \"Deploy to ECS\" vs. \"Deploy to Vercel\").\n\nIdentify the likely winner: the more recent memory with higher confidence wins.\nStore both IDs and their content for user review.\n\n### 3c. Prune candidates\n\nA memory is a prune candidate when **any** of the following is true:\n\n1. Its `metadata.type` has a retention policy and the memory is older than the\n   configured number of days (compare `created_at` to today).\n2. Its confidence score is below 0.3 AND it contains no information unique to\n   this project (no file paths, identifiers, or domain-specific nouns).\n\n**Always skip memories where `metadata.pinned == true`**, regardless of age or\nconfidence.\n\n---\n\n## Step 4: Print Diff Report\n\nPrint a structured diff to the terminal before making any changes. Use exactly\nthis format:\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>] — \u003Ctype>, \u003Cage>d old\n\nProposed: \u003CN> merges, \u003CN> prunes, \u003CN> conflicts. Apply? [Y\u002Fn]\n```\n\nIf there are zero items in any category, omit that section entirely.\n\nIf there are zero total proposals (no merges, no prunes, no conflicts), print:\n\n```\nDream complete. No duplicate, contradictory, or stale memories found.\n```\n\n…and stop.\n\n---\n\n## Step 5: Wait for User Input and Apply\n\n### 5a. Contradictions\n\nFor each `CONFLICT` pair in the report, wait for the user to type `A`, `B`, or\n`skip` (case-insensitive). If they enter nothing (empty), treat as `skip`.\n\nRecord the winner for each pair before proceeding to the final apply confirmation.\n\n### 5b. Final confirmation\n\nAfter all conflict resolutions are collected, prompt:\n\n```\nApply? [Y\u002Fn]\n```\n\nIf the user types `n` or `no` (case-insensitive), print `Cancelled. No changes made.`\nand stop.\n\nIf the user confirms (`Y`, `yes`, or empty \u002F Enter), apply all changes in this order:\n\n#### Merges\n\nFor each approved merge pair:\n1. `delete_memory(\u003Cid1>)`\n2. `delete_memory(\u003Cid2>)`\n3. `add_memory` with:\n   - `text=\"\u003Cmerged content>\"`\n   - `user_id=\u003Cactive_user_id>`\n   - `app_id=\u003Cactive_project_id>` (top-level, not in metadata)\n   - `metadata={\"type\": \"\u003Coriginal type>\", \"branch\": \"\u003Cactive_branch>\", \"confidence\": \u003Chigher of the two original scores>, \"source\": \"mem0-dream\"}`\n   - `infer=False`\n\n#### Contradictions (resolved)\n\nFor each resolved conflict where the user chose A or B:\n- Delete the loser (the non-chosen memory): `delete_memory(memory_id=\u003Closer_id>)`\n\nContradictions where the user chose `skip` are left untouched.\n\n#### Prunes\n\nFor each prune candidate:\n- `delete_memory(\u003Cmemory_id>)`\n\n---\n\n## Step 6: Print Summary\n\nAfter all changes are applied, print:\n\n```\nDream complete — merged: \u003CN>, pruned: \u003CN>, conflicts resolved: \u003CN>, skipped: \u003CN>\n```\n\n---\n\n## Auto mode\n\nWhen invoked with `--auto` (e.g., `\u002Fmem0-dream --auto`), run non-interactively:\n\n- **Merges**: applied automatically (no contradiction, both are compatible).\n- **Prunes**: applied automatically (age\u002Fconfidence-based, no ambiguity).\n- **Contradictions**: skipped — they require human judgment.\n\n### Concurrency guard\n\nBefore doing any work, check for a lock file at `\u002Ftmp\u002Fmem0_dream_auto.lock`:\n- If the lock file exists and is less than 10 minutes old, print `[mem0-dream --auto] Another run in progress — skipping.` and stop.\n- Otherwise, create the lock file (write the current timestamp). Delete it when done (in all exit paths).\n\n### Execution\n\nIn auto mode:\n1. Load policies and fetch memories (Steps 1–3) as normal.\n2. Apply merges and prunes silently without printing the diff or prompting.\n3. Print a compact summary:\n   ```\n   [mem0-dream --auto] project=\u003Cid>  merged=\u003CN>  pruned=\u003CN>  conflicts_skipped=\u003CN>\n   ```\n4. If contradictions were detected but skipped, check if a `mem0-dream-auto` reminder already exists before storing one:\n   - Search for existing reminders: `search_memories(query=\"mem0-dream contradictions manual review\", filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}, {\"metadata\": {\"source\": \"mem0-dream-auto\"}}]}, top_k=1)`\n   - If a result exists with similarity > 0.9, skip storing the reminder (one already exists).\n   - If no match, store the reminder:\n   ```python\n   add_memory(\n       text=\"mem0-dream detected \u003CN> contradiction(s) requiring manual review. Run \u002Fmem0-dream to resolve them interactively.\",\n       user_id=\"\u003Cactive_user_id>\",\n       app_id=\"\u003Cactive_project_id>\",\n       metadata={\"type\": \"task_learning\", \"source\": \"mem0-dream-auto\", \"branch\": \"\u003Cactive_branch>\"},\n       infer=False,\n   )\n   ```\n\n## See also\n\n- `\u002Fmem0-forget` — targeted deletion of specific memories (search + confirm + delete)\n- `\u002Fmem0-status --deep` — quick quality scan without applying changes\n\n## Output formatting\n\nIMPORTANT: Do NOT use markdown in your output. OpenCode TUI renders text verbatim — markdown like **bold**, ## headers, and | table | syntax appears as raw characters. Use plain text with indentation for structure. Use dashes for lists. Use spaces to align columns instead of markdown tables.\n","# Mem0 Dream — Memory Consolidation\n\nThis skill performs a memory consolidation pass: it fetches all project memories,\nidentifies near-duplicates, flags contradictions, and prunes stale entries based on\nconfigured retention policies. All proposed changes are shown as a diff for user\napproval before anything is modified.\n\n**IMPORTANT: Execute steps strictly in order (1 → 2 → 3 → 4 → 5 → 6). Each step depends on the previous one. Do NOT run steps in parallel or skip ahead.**\n\n## Step 1: Load Retention Policies\n\nCheck for a project config file in the project root (current working directory):\n\n1. Look for `.mem0.json` first. If it exists, parse it as JSON and read the\n   `retention` field (a dict of `category → days | null`).\n2. If `.mem0.json` is not present, look for `.mem0.md`. If it exists, scan it\n   for a `retention:` section or YAML front matter with retention settings and\n   parse what you find.\n3. If neither file exists, skip config loading entirely.\n\nIf no config is found or the config contains no retention settings, fall back to\nthese built-in defaults:\n\n| `metadata.type` | Default retention |\n|---|---|\n| `session_state` | 90 days |\n| `compact_summary` | 90 days |\n| all others | no pruning |\n\nStore the resolved policies for use in Step 3.\n\n---\n\n## Step 2: Fetch ALL Project Memories\n\nCall `get_memories` to retrieve every memory for the active project:\n\n```python\nget_memories(\n    filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}]},\n    page_size=200,\n)\n```\n\nIf the response indicates more pages exist, paginate until all memories are fetched.\nCollect the full list before proceeding. If zero memories are found, print:\n\n```\nNo memories found for project \u003Cproject_id>. Nothing to consolidate.\n```\n\n…and stop.\n\n---\n\n## Step 3: Analyze — Find Issues\n\nWork entirely in-memory; do not modify anything yet.\n\nGroup memories by `metadata.type` (use `\"unknown\"` when the field is absent).\nFor each group, identify the following:\n\n### 3a. Near-duplicate pairs (merge candidates)\n\nTwo memories are near-duplicates when they express the same fact or decision but\nphrased differently (e.g., \"Use PostgreSQL for auth\" and \"Auth DB is PostgreSQL\").\n\nHeuristics — two memories are near-duplicates if **all** of these hold:\n- Similarity threshold: estimated cosine similarity > 0.9 (use noun\u002Fkeyword overlap as proxy — if >60% of significant nouns overlap, treat as >0.9 similarity).\n- Same `metadata.type`.\n- Neither memory is pinned (`metadata.pinned != true`).\n\nFor each qualifying pair, draft a merged version that is more complete and specific\nthan either original.\n\n### 3b. Contradictions\n\nTwo memories contradict when they assert opposing facts about the same topic\n(e.g., \"Deploy to ECS\" vs. \"Deploy to Vercel\").\n\nIdentify the likely winner: the more recent memory with higher confidence wins.\nStore both IDs and their content for user review.\n\n### 3c. Prune candidates\n\nA memory is a prune candidate when **any** of the following is true:\n\n1. Its `metadata.type` has a retention policy and the memory is older than the\n   configured number of days (compare `created_at` to today).\n2. Its confidence score is below 0.3 AND it contains no information unique to\n   this project (no file paths, identifiers, or domain-specific nouns).\n\n**Always skip memories where `metadata.pinned == true`**, regardless of age or\nconfidence.\n\n---\n\n## Step 4: Print Diff Report\n\nPrint a structured diff to the terminal before making any changes. Use exactly\nthis format:\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>] — \u003Ctype>, \u003Cage>d old\n\nProposed: \u003CN> merges, \u003CN> prunes, \u003CN> conflicts. Apply? [Y\u002Fn]\n```\n\nIf there are zero items in any category, omit that section entirely.\n\nIf there are zero total proposals (no merges, no prunes, no conflicts), print:\n\n```\nDream complete. No duplicate, contradictory, or stale memories found.\n```\n\n…and stop.\n\n---\n\n## Step 5: Wait for User Input and Apply\n\n### 5a. Contradictions\n\nFor each `CONFLICT` pair in the report, wait for the user to type `A`, `B`, or\n`skip` (case-insensitive). If they enter nothing (empty), treat as `skip`.\n\nRecord the winner for each pair before proceeding to the final apply confirmation.\n\n### 5b. Final confirmation\n\nAfter all conflict resolutions are collected, prompt:\n\n```\nApply? [Y\u002Fn]\n```\n\nIf the user types `n` or `no` (case-insensitive), print `Cancelled. No changes made.`\nand stop.\n\nIf the user confirms (`Y`, `yes`, or empty \u002F Enter), apply all changes in this order:\n\n#### Merges\n\nFor each approved merge pair:\n1. `delete_memory(\u003Cid1>)`\n2. `delete_memory(\u003Cid2>)`\n3. `add_memory` with:\n   - `text=\"\u003Cmerged content>\"`\n   - `user_id=\u003Cactive_user_id>`\n   - `app_id=\u003Cactive_project_id>` (top-level, not in metadata)\n   - `metadata={\"type\": \"\u003Coriginal type>\", \"branch\": \"\u003Cactive_branch>\", \"confidence\": \u003Chigher of the two original scores>, \"source\": \"mem0-dream\"}`\n   - `infer=False`\n\n#### Contradictions (resolved)\n\nFor each resolved conflict where the user chose A or B:\n- Delete the loser (the non-chosen memory): `delete_memory(memory_id=\u003Closer_id>)`\n\nContradictions where the user chose `skip` are left untouched.\n\n#### Prunes\n\nFor each prune candidate:\n- `delete_memory(\u003Cmemory_id>)`\n\n---\n\n## Step 6: Print Summary\n\nAfter all changes are applied, print:\n\n```\nDream complete — merged: \u003CN>, pruned: \u003CN>, conflicts resolved: \u003CN>, skipped: \u003CN>\n```\n\n---\n\n## Auto mode\n\nWhen invoked with `--auto` (e.g., `\u002Fmem0-dream --auto`), run non-interactively:\n\n- **Merges**: applied automatically (no contradiction, both are compatible).\n- **Prunes**: applied automatically (age\u002Fconfidence-based, no ambiguity).\n- **Contradictions**: skipped — they require human judgment.\n\n### Concurrency guard\n\nBefore doing any work, check for a lock file at `\u002Ftmp\u002Fmem0_dream_auto.lock`:\n- If the lock file exists and is less than 10 minutes old, print `[mem0-dream --auto] Another run in progress — skipping.` and stop.\n- Otherwise, create the lock file (write the current timestamp). Delete it when done (in all exit paths).\n\n### Execution\n\nIn auto mode:\n1. Load policies and fetch memories (Steps 1–3) as normal.\n2. Apply merges and prunes silently without printing the diff or prompting.\n3. Print a compact summary:\n   ```\n   [mem0-dream --auto] project=\u003Cid>  merged=\u003CN>  pruned=\u003CN>  conflicts_skipped=\u003CN>\n   ```\n4. If contradictions were detected but skipped, check if a `mem0-dream-auto` reminder already exists before storing one:\n   - Search for existing reminders: `search_memories(query=\"mem0-dream contradictions manual review\", filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}, {\"metadata\": {\"source\": \"mem0-dream-auto\"}}]}, top_k=1)`\n   - If a result exists with similarity > 0.9, skip storing the reminder (one already exists).\n   - If no match, store the reminder:\n   ```python\n   add_memory(\n       text=\"mem0-dream detected \u003CN> contradiction(s) requiring manual review. Run \u002Fmem0-dream to resolve them interactively.\",\n       user_id=\"\u003Cactive_user_id>\",\n       app_id=\"\u003Cactive_project_id>\",\n       metadata={\"type\": \"task_learning\", \"source\": \"mem0-dream-auto\", \"branch\": \"\u003Cactive_branch>\"},\n       infer=False,\n   )\n   ```\n\n## See also\n\n- `\u002Fmem0-forget` — targeted deletion of specific memories (search + confirm + delete)\n- `\u002Fmem0-status --deep` — quick quality scan without applying changes\n\n## Output formatting\n\nIMPORTANT: Do NOT use markdown in your output. OpenCode TUI renders text verbatim — markdown like **bold**, ## headers, and | table | syntax appears as raw characters. Use plain text with indentation for structure. Use dashes for lists. Use spaces to align columns instead of markdown tables.\n",{"name":5,"description":7},"main","89af4b6bd8e57a4af34127bcd3e74beba2960c99","othergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fmem0-plugin\u002F.opencode-plugin\u002Fopencode-skills\u002Fmem0-dream",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 mem0-dream",{"tool":37,"command":38},"bunx","bunx skills add zhangmask\u002FC_AnimeCompanion --skill mem0-dream",{"tool":40,"command":41},"pnpm","pnpm dlx skills add zhangmask\u002FC_AnimeCompanion --skill mem0-dream","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fmem0-plugin\u002F.opencode-plugin\u002Fopencode-skills\u002Fmem0-dream\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",[],[]]