Preface¶
In workspaces like OpenClaw, Claude Code, and Codex, assistant identities and memories often reside in fixed filenames such as AGENTS.md and MEMORY.md. While these files are suitable for Agents to read and write, they may not be convenient for you to browse by date, tag, or integrate with your note library within Obsidian. Manual copying and pasting often leads to missed files and makes it difficult to maintain consistent Frontmatter.
Below is an introduction to the community Skill claw-memo-obsidian (coordinates @user_5bab6d4d/claw-memo-obsidian): after installation, you can use natural language or scripts to write these core files into your Obsidian Vault, archiving them in date-based folders. The SkillHub category is knowledge-management, the currently listed version is 1.0.1, and the tag indicates requires_api_key=false (No API Key required).
What is this¶
claw-memo-obsidian is an Agent Skill published by the SkillHub community source (publisher user_5bab6d4d). It is based on the universal SKILL.md convention and comes with Python / Bash sync scripts. The name can be understood as Claw (Agent Workspace) + Memo (Memory Archiving) + Obsidian.
The documentation within the skill package is maintained by the author “Muliu No. 2” and focuses on a single task: “Syncing core Agent configuration files to the Obsidian Knowledge Base.” By default, it processes five Markdown files, renames them to Obsidian-friendly filenames with sequence numbers, and injects YAML Frontmatter.
Core Functions¶
The following capabilities are derived from the SKILL.md and claw-memo-obsidian.py within the installed skill package and can be cross-referenced with SkillHub metadata.
Files synced by default¶
| Source File (Workspace) | Filename written to Obsidian | Description |
|---|---|---|
AGENTS.md |
01-AGENTS.md |
Assistant workspace configuration |
IDENTITY.md |
02-IDENTITY.md |
Assistant identity |
MEMORY.md |
03-MEMORY.md |
Long-term memory |
SOUL.md |
04-SOUL.md |
Assistant soul / persona |
USER.md |
05-USER.md |
User information |
Archiving and Metadata¶
- Organize directories under the Vault in the format “Sync Folder /
YYYY-MM-DD”, e.g.,muliu_memo/2026-04-02/. - Add Frontmatter (
created,source,type,tags, etc.) to each file to facilitate Obsidian retrieval. - Support specifying dates via natural language or
YYYY-MM-DD(e.g., “yesterday”, “3 days ago”), as well as-fto sync only specific files.
Multi-Agent and Workspaces¶
The script supports --agent openclaw | claude-code | codex | unknown and includes default mappings for subdirectories categorized by Agent (e.g., OpenClaw → muliu_memo, Claude Code → claude_memo, Codex → codex_memo). The skill documentation also describes behaviors such as searching upwards from the workspace path to find AGENTS.md and inferring *_memo folders based on workspace names. This is used to reduce incorrect directory writes when multiple Agents share the same set of tools.
Safety Related¶
The clean mode (--clean) requires secondary confirmation before deleting date folders; --confirmed can be used in automated scenarios to skip confirmation. The Skill text explicitly requires that the Agent should not perform deletions without explicit user confirmation.
Future capabilities noted in the Skill¶
The “Extension Features (Future)” section in SKILL.md lists items such as incremental sync and bidirectional sync. These are currently planning items and are not treated as released capabilities in this article.
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, you can execute the command according to the official SkillHub instructions:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
For complete installation instructions, see: https://skillhub.cn/install/skillhub.md
2. Install claw-memo-obsidian¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/ and may not be recognized. The installation method provided on the official page is:
skillhub install claw-memo-obsidian --namespace user_5bab6d4d --dir <your skills directory>
Common path examples (from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
You can also ask the Agent to install it according to the same documentation: Please install @user_5bab6d4d/claw-memo-obsidian based on https://skillhub.cn/install/skillhub.md.
Restart or reload the Agent after installation to enable the Skill.
3. Configure Vault and Sync Behavior (Optional)¶
Environment variables (the script defaults are based on the user’s home directory; please modify according to your local machine after deployment):
| Variable | Function |
|---|---|
OBSIDIAN_VAULT_PATH |
Root path of the Obsidian Vault |
MEMO_SYNC_FOLDER |
Sync subfolder name within the Vault (global fallback) |
MEMO_SYNC_FILES |
Comma-separated list of files to sync |
JSON configuration file search order (claw-memo-obsidian.py): Current working directory .memo-sync-config.json → User home directory ~/.memo-sync-config.json → /etc/memo-sync/config.json. You can set sync_folder and other items for different agents in the agents field of the JSON.
Typical Usage¶
Trigger in Conversation (Recommended)¶
Simply express your intent to the Agent that has loaded this Skill, for example:
Sync core files to Obsidian
Or specify date and files:
Sync MEMORY.md to yesterday's folder
Sync AGENTS.md and USER.md to Obsidian
The Skill documentation lists triggerable phrases (including claw-memo-obsidian, memo sync, etc.) and explains that expressions like “create claw-memo-obsidian” should not be mistakenly interpreted as using the skill.
Command Line (Script within skill directory)¶
Enter the installed skill directory (the path varies depending on --dir) and use the Python entry point:
python3 claw-memo-obsidian.py
python3 claw-memo-obsidian.py -d 2026-04-01
python3 claw-memo-obsidian.py -f AGENTS.md MEMORY.md
python3 claw-memo-obsidian.py --vault ~/MyVault
python3 claw-memo-obsidian.py --agent claude-code
python3 claw-memo-obsidian.py --config ~/.my-config.json
claw-memo-obsidian.sh is also provided in the same directory; however, it still contains absolute paths from the author’s examples. In production environments, it is more advisable to rely on the Python script and environment variables / configuration files.
The script’s --version output is claw-memo-obsidian 2.0.0. If this coexists with the version number 1.0.1 on the SkillHub page, the files in your local installation package take precedence.
Applicable Scenarios and Notes¶
Who it is for
- Users who already manage a personal knowledge base in Obsidian and use OpenClaw / Claude Code / Codex to maintain core files like
AGENTS.mdandMEMORY.md. - Those who need to archive files by date, unify Frontmatter, or allow multiple Agents to share a set of sync conventions.
Limitations and Precautions
- A writable Obsidian Vault must exist on the local machine; the default path in the script is an example from the author’s environment. On a new machine, you must override it using
--vaultorOBSIDIAN_VAULT_PATH. - The old name
memo-syncand example paths still appear in theREADME.mdandQUICKSTART.mdwithin the package, coexisting with the currentclaw-memo-obsidianfilename; rely onclaw-memo-obsidian.pyandSKILL.mdwhen executing. - SkillHub statistics (at time of crawl): Rating 100000, Downloads 1087, Installations 8. As this is a community source skill, you can verify updates and security instructions on the SkillHub page before use.
- Deletion operations must strictly follow the secondary confirmation required by the skill to avoid the Agent mistakenly deleting historical folders in the Vault.
Conclusion¶
claw-memo-obsidian transforms several high-value Markdown files from the Agent workspace into searchable, archivable notes in Obsidian, while accommodating multi-agent directory isolation and natural language triggers. If you are already using SkillHub to manage Skills, you can try installing it into the corresponding Agent’s skills directory using the commands above.
Official Page: https://www.skillhub.cn/skills/user_5bab6d4d/claw-memo-obsidian
API Coordinates: https://api.skillhub.cn/user_5bab6d4d/claw-memo-obsidian