一键导入
cmd-instinct-import
Import memory entries from a markdown export file, merging with MEMORY.md without duplicating.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Import memory entries from a markdown export file, merging with MEMORY.md without duplicating.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scan installed skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files.
Audit all installed OpenClaw skills for quality: content overlap, freshness, and uniqueness. Supports Quick Scan (changed only) and Full Stocktake modes.
Cluster MEMORY.md entries by theme and optionally generate SKILL.md drafts.
Export MEMORY.md to a timestamped markdown file for sharing or backup.
Show current workspace memory: MEMORY.md contents, pending recalls, and index status.
List all OpenClaw agent workspaces with memory and session statistics.
| name | cmd_instinct_import |
| description | Import memory entries from a markdown export file, merging with MEMORY.md without duplicating. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> <file-or-url> [--dry-run] [--force] |
The first argument is the project path. Before doing anything else:
Imports memory entries from a markdown file (produced by /skill cmd_instinct_export or written manually) into the workspace MEMORY.md. Duplicate sections are detected and skipped. New sections are appended.
/skill cmd_instinct_import <project-path> <file-path>
/skill cmd_instinct_import <project-path> https://example.com/memory.md
/skill cmd_instinct_import <project-path> team-memory.md --dry-run
/skill cmd_instinct_import <project-path> team-memory.md --force
--dry-run — show what would be added without writing anything--force — skip the confirmation promptRead the import source:
http:// or https://, fetch it:
curl -s "<url>"
Parse import sections: extract all ##-level headings and their content blocks.
Skip export header lines (# Memory Export, # Exported:, # Source:,
# Sections:, and the --- separator).
Read the existing ~/.openclaw/workspace-main/MEMORY.md.
Extract all existing ##-level heading names for deduplication.
Classify each imported section:
Report the analysis:
Import Analysis: <source>
================================
Found <N> sections in import file.
New sections (<count>):
+ <heading name>
+ <heading name>
Duplicate sections (<count>, will be skipped):
= <heading name>
If --dry-run is set, stop here.
If there are no new sections, report "Nothing to import — all sections already exist." Stop.
If --force is not set, ask: "Import new sections? (yes/no)"
If the user declines, stop.
Append the new sections to ~/.openclaw/workspace-main/MEMORY.md.
Re-index memory:
openclaw memory index
Report:
Import complete.
Added: <count> sections
Skipped: <count> duplicates
MEMORY.md now has <total> sections.