بنقرة واحدة
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.