{"schema_version":1,"workflow_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","workflow_title":"Mem0 — Long-Term Memory Layer for AI Agents","page_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","raw_url":"https://tokrepo.com/raw/mem0-long-term-memory-layer-ai-agents-952ce6d3","metadata_url":"https://tokrepo.com/metadata/mem0-long-term-memory-layer-ai-agents-952ce6d3.json","install_plan_url":"https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=952ce6d3-b141-4db3-83d4-923a7268aef8&target=codex","recommended_install":{"schema_version":1,"status":"direct","policy":"allow","install_mode":"single","target":"codex","command":"npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 --target codex","dry_run_command":"npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 --target codex --dry-run --json","runtime_commands":{"codex":"npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 --target codex","gemini":"npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 --target gemini","project":"npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8"},"prompt":"Install and make this TokRepo asset usable: \"Mem0 — Long-Term Memory Layer for AI Agents\".\n\nPage: https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3\nUUID: 952ce6d3-b141-4db3-83d4-923a7268aef8\nTarget adapter: codex\nPolicy/mode: allow / single\n\nRead these machine-facing entry points first:\n- metadata: https://tokrepo.com/metadata/mem0-long-term-memory-layer-ai-agents-952ce6d3.json\n- install contract: https://tokrepo.com/install-contract/mem0-long-term-memory-layer-ai-agents-952ce6d3.json\n- install plan: https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=952ce6d3-b141-4db3-83d4-923a7268aef8&target=codex\n- raw content: https://tokrepo.com/raw/mem0-long-term-memory-layer-ai-agents-952ce6d3\n\nCommands:\n- choose the current runtime; do not use unsupported CLI targets.\n- Codex: npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 --target codex\n- Gemini CLI: npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 --target gemini\n- Claude Code / project agent: run npx -y tokrepo@latest install 952ce6d3-b141-4db3-83d4-923a7268aef8 from the project root; add `--dry-run --json` first to inspect the plan.\n- add `--dry-run --json` to the chosen command first; after the plan allows it, run the chosen command.\n\nExecution rules:\n1. Run the dry-run command first to inspect the plan and risks.\n2. Run the install command after the plan allows it.\n3. Run the post_verify checks from the install plan.\n\nReport back with changed files, verification result, and how to use the asset next.","next_steps":["Run the dry-run command first to inspect the plan and risks.","Run the install command after the plan allows it.","Run the post_verify checks from the install plan."],"success_check":["The asset is installed into the target agent or project location.","The agent can load the entrypoint and explain how to use it."]},"agent_metadata":{"asset_kind":"skill","target_tools":["claude_code","codex"],"install_mode":"single","entrypoint":"How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":false},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","verification":{"commands":[],"expected_files":["How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md"]}},"agent_fit":{"target":"codex","score":98,"status":"native","policy":"allow","why":["target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust community"],"asset_kind":"skill","install_mode":"single"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":[],"review_status":"unreviewed","signals":["asset has usage views","content hash available","no dangerous capability badges"]},"provenance":{"owner_uuid":"7131fbb0-fab7-4659-8624-36db9baac8d8","owner_name":"Mem0","source_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","visibility":1,"created_at":"2026-03-28 14:36:34","updated_at":"2026-06-14 06:52:28"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/952ce6d3-b141-4db3-83d4-923a7268aef8","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"install_plan":{"schema_version":2,"target":"codex","asset_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","asset_title":"Mem0 — Long-Term Memory Layer for AI Agents","source_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","install_mode":"single","entrypoint":"How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md","preconditions":[{"type":"target_supported","status":"pass","message":"codex install target is supported"},{"type":"install_root","status":"pass","message":"~/.codex/skills for activated assets; ~/.codex/tokrepo/staged/952ce6d3-b141-4db3-83d4-923a7268aef8 for staged assets"},{"type":"target_tool_metadata","status":"pass","message":"metadata allows codex"},{"type":"content_hash","status":"pass","message":"asset metadata includes content_hash"},{"type":"trust_policy","status":"pass","message":"publisher trust level is community"},{"type":"policy_decision","status":"pass","message":"allow for 952ce6d3-b141-4db3-83d4-923a7268aef8 (single)"}],"actions":[{"type":"write_file","path":"~/.codex/skills/tokrepo-how-to-structure-claude-code-for-production-mcp-servers-subagents-and-claude-md-2026-guide-952ce6d3/SKILL.md","source_name":"How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md","sha256":"97be98116f4aece78399c9fb0b976117039b10ed382e22bd03ae0da64b7ecb21","bytes":2085,"risk":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":false},"if_exists":"overwrite","entrypoint":true}],"policy_decision":{"decision":"allow","requires_confirmation":false,"reasons":["safe markdown-only Codex install"]},"requires_confirmation":false,"rollback":[{"type":"remove_file","path":"~/.codex/skills/tokrepo-how-to-structure-claude-code-for-production-mcp-servers-subagents-and-claude-md-2026-guide-952ce6d3/SKILL.md"}],"post_verify":[{"type":"file_sha256","path":"~/.codex/skills/tokrepo-how-to-structure-claude-code-for-production-mcp-servers-subagents-and-claude-md-2026-guide-952ce6d3/SKILL.md","sha256":"97be98116f4aece78399c9fb0b976117039b10ed382e22bd03ae0da64b7ecb21"}],"metadata":{"asset_kind":"skill","target_tools":["claude_code","codex"],"install_mode":"single","entrypoint":"How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":false},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","verification":{"commands":[],"expected_files":["How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md"]}},"agent_fit":{"target":"codex","score":98,"status":"native","policy":"allow","why":["target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust community"],"asset_kind":"skill","install_mode":"single"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":[],"review_status":"unreviewed","signals":["asset has usage views","content hash available","no dangerous capability badges"]},"provenance":{"owner_uuid":"7131fbb0-fab7-4659-8624-36db9baac8d8","owner_name":"Mem0","source_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","visibility":1,"created_at":"2026-03-28 14:36:34","updated_at":"2026-06-14 06:52:28"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/952ce6d3-b141-4db3-83d4-923a7268aef8","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"evidence_bundle":{"acceptance_gate":{"recommended_action":"install_after_plan","rule":"Agents should only activate an asset after evidence_bundle.integrity, policy_compatibility, rollback, and post_verify have been inspected.","status":"pass"},"asset_title":"Mem0 — Long-Term Memory Layer for AI Agents","asset_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","eval_evidence":["https://tokrepo.com/evals/install-safety.json","https://tokrepo.com/evals/trust-evidence-coverage.json","https://tokrepo.com/evals/handoff-quality.json"],"generated_at":"2026-06-13T22:52:29Z","integrity":{"content_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","declared_content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","file_count":1,"hash_algorithm":"sha256","install_plan_hash":"ca11ba788d0b5b9048a8724823fd3347a2361e2f00bbdee498b31801743e2bc1"},"policy_compatibility":{"permission_envelope":{"destructive":false,"executes_code":false,"file_count":1,"filesystem_write":["~/.codex/skills"],"global_config_write":false,"network":false,"requires_secrets":[],"uses_absolute_paths":false},"policy_decision":{"decision":"allow","requires_confirmation":false,"reasons":["safe markdown-only Codex install"]},"requires_confirmation":false,"target":"codex","trust_score_v2":{"recommended_action":"install_after_plan","status":"trusted","trust_score":82}},"provenance":{"asset_kind":"skill","asset_title":"Mem0 — Long-Term Memory Layer for AI Agents","asset_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","computed_bundle_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","created_at":"2026-03-28 14:36:34","generated_at":"2026-06-13T22:52:29Z","install_plan_hash":"ca11ba788d0b5b9048a8724823fd3347a2361e2f00bbdee498b31801743e2bc1","owner_name":"Mem0","owner_uuid":"7131fbb0-fab7-4659-8624-36db9baac8d8","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","updated_at":"2026-06-14 06:52:28","visibility":1},"sbom":{"asset_kind":"skill","asset_title":"Mem0 — Long-Term Memory Layer for AI Agents","asset_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":false,"requires_secrets":[]},"content_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":2085,"path":"~/.codex/skills/tokrepo-how-to-structure-claude-code-for-production-mcp-servers-subagents-and-claude-md-2026-guide-952ce6d3/SKILL.md","role":"entrypoint","sha256":"97be98116f4aece78399c9fb0b976117039b10ed382e22bd03ae0da64b7ecb21","source_name":"How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md"}],"format":"SBOM-lite","install_mode":"single","schema_version":1,"target":"codex"},"schema":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","schema_version":1,"schemas":{"asset_verification":"https://tokrepo.com/schemas/asset-verification.schema.json","evidence_bundle":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","install_plan":"https://tokrepo.com/schemas/install-plan.schema.json","provenance":"https://tokrepo.com/schemas/provenance.schema.json","sbom":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json#/properties/sbom"},"signature_evidence":{"content_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","hash_algorithm":"sha256","install_plan_hash":"ca11ba788d0b5b9048a8724823fd3347a2361e2f00bbdee498b31801743e2bc1","schema_version":1,"signed_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"source_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","target":"codex"},"sbom":{"asset_kind":"skill","asset_title":"Mem0 — Long-Term Memory Layer for AI Agents","asset_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":false,"requires_secrets":[]},"content_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":2085,"path":"~/.codex/skills/tokrepo-how-to-structure-claude-code-for-production-mcp-servers-subagents-and-claude-md-2026-guide-952ce6d3/SKILL.md","role":"entrypoint","sha256":"97be98116f4aece78399c9fb0b976117039b10ed382e22bd03ae0da64b7ecb21","source_name":"How-to-Structure-Claude-Code-for-Production--MCP-Servers--Subagents--and-CLAUDE.md--2026-Guide-.md"}],"format":"SBOM-lite","install_mode":"single","schema_version":1,"target":"codex"},"signature_evidence":{"content_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","hash_algorithm":"sha256","install_plan_hash":"ca11ba788d0b5b9048a8724823fd3347a2361e2f00bbdee498b31801743e2bc1","schema_version":1,"signed_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"provenance_v2":{"asset_kind":"skill","asset_title":"Mem0 — Long-Term Memory Layer for AI Agents","asset_uuid":"952ce6d3-b141-4db3-83d4-923a7268aef8","computed_bundle_hash":"8a801f26084c5f6c6daae902ba5dbc43e286a31271a953f247bcc2b26391b740","content_hash":"aaba3ca0a1bff483a5fb9bd924e38473ec16a8a97277727c26f0fea6302c556b","created_at":"2026-03-28 14:36:34","generated_at":"2026-06-13T22:52:29Z","install_plan_hash":"ca11ba788d0b5b9048a8724823fd3347a2361e2f00bbdee498b31801743e2bc1","owner_name":"Mem0","owner_uuid":"7131fbb0-fab7-4659-8624-36db9baac8d8","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/mem0-long-term-memory-layer-ai-agents-952ce6d3","updated_at":"2026-06-14 06:52:28","visibility":1},"transitive_dependencies":null}}