cmd_instinct_export

cmd_instinct_export is a skill for Claude Code from majiang213/OpenClaw-MAS. It costs 19 tokens per session (463 once invoked), scanned A, original, MIT.

A command that copies the workspace's MEMORY.md into a dated Markdown file or a path you provide. MEMORY.md is a file where the workspace keeps longer-term notes for the agent.

In plain words
What is it for?
Use it to back up curated workspace knowledge, share it with teammates, or transfer it to another workspace.
Why use it?
It provides a shareable or restorable copy of those notes before reinstalling, moving, or handing over a workspace.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/majiang213/openclaw-mas/cmd_instinct_export
Any agent
npx skills add majiang213/OpenClaw-MAS --skill cmd_instinct_export
Clone the repo
git clone --depth 1 https://github.com/majiang213/OpenClaw-MAS

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cmd_instinct_export

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_instinct_export.svg)](https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_instinct_export)
Your own site
<a href="https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_instinct_export"><img src="https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_instinct_export.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00463
Opus 5 $0.00010 $0.00231
Sonnet 5 $0.00004 $0.00093
Haiku 4.5 $0.00002 $0.00046

Measured 2d ago against content hash ac36c040532b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

cmd_instinct_export scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cmd_instinct_export/SKILL.md · 73 lines

What it actually says

Project Path

The first argument is the project path. Before doing anything else:

  1. Extract the project path from the first argument
  2. Verify the path exists
  3. Work within that directory for all file operations and shell commands

Memory Export

Exports the workspace MEMORY.md to a shareable file. Use this to:

  • Share curated knowledge with teammates
  • Back up memory before a reinstall
  • Transfer knowledge to another workspace

Usage

/skill cmd_instinct_export <project-path>
/skill cmd_instinct_export <project-path> my-team-memory.md

The optional second argument is the output file path. If omitted, the file is written to the project directory as memory-export-YYYY-MM-DD.md.

What to Do

  1. Read MEMORY.md from the main workspace:

    cat ~/.openclaw/workspace-main/MEMORY.md
    

    If the file does not exist or is empty, report: "Nothing to export — MEMORY.md is empty." Stop.

  2. Count the ##-level headings to get the section count.

  3. Determine the output path:

    • If a second argument was provided, use it as-is
    • Otherwise: <project-path>/memory-export-<today-YYYY-MM-DD>.md
  4. Write the export file:

    # Memory Export
    # Exported: <YYYY-MM-DD HH:MM>
    # Source: ~/.openclaw/workspace-main/MEMORY.md
    # Sections: <count>
    
    ---
    
    <full MEMORY.md content verbatim>
    
  5. Report:

    Memory exported: <output-path>
    Sections exported: <count>
    
    To import into another workspace:
      /skill cmd_instinct_import <project-path> <output-path>
    

Notes

  • The export format is plain markdown — no YAML instinct schema
  • Import using /skill cmd_instinct_import
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 73 lines · 19 tokens per session scan A ac36c040532b

Subscribe to this mod's changes

cmd_instinct_export is a skill published in the GitHub repository majiang213/OpenClaw-MAS (5 stars, last pushed 4mo ago), licensed MIT. It adds 19 tokens to every session and 463 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ocr-and-documents

Extract text from PDFs and scanned documents. Use webextract for remote URLs, pymupdf for local text-based PDFs, marker-pdf for OCR/scanned docs. For DOCX use python-docx, for PPTX see the powerpoint skill.

moltis-org/moltis · 54 tokens

data-sync

Sync and archive data from messaging platforms (WhatsApp, Discord, Slack, Twitter/X, Google) into Moltis memory as daily digest summaries. Orchestrates crawl tools and writes structured markdown to the memory system.

moltis-org/moltis · 46 tokens

apple-notes

Manage Apple Notes via the memo CLI on macOS (create, view, search, edit).

moltis-org/moltis · 23 tokens

nano-pdf

Edit PDFs with natural-language instructions using the nano-pdf CLI. Modify text, fix typos, update titles, and make content changes to specific pages without manual editing.

moltis-org/moltis · 38 tokens

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens