Convert memory, conversation history, or completed tasks into publishable OpenClaw skills. Use when (1) A task or workflow should be reusable, (2) Extracting...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install skill-from-memory或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install skill-from-memory⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/skill-from-memory/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: skill-from-memory description: Convert memory, conversation history, or completed tasks into publishable OpenClaw skills. Use when (1) A task or workflow should be reusable, (2) Extracting lessons from memory to create tools, (3) Packaging solved problems as skills for future use, (4) Publishing skills to GitHub and ClawHub registry. ---
Transform your work into reusable skills. Extract workflows, solutions, and patterns from conversation history or memory files, package them as skills, and publish to GitHub and ClawHub.
This skill automates the complete workflow:
# Analyze last conversation and create skill draft
./scripts/extract-from-history.sh /path/to/session.jsonl ./my-new-skill
# Or specify a time range
./scripts/extract-from-history.sh /path/to/session.jsonl ./my-new-skill --since "2026-02-03" --pattern "backup"
# Extract from memory markdown
./scripts/extract-from-memory.sh /path/to/memory/2026-02-04.md ./my-new-skill
# One command: extract, create, and publish
./scripts/create-and-publish.sh \
--source /path/to/session.jsonl \
--skill-name "my-automation" \
--github-repo "user/my-skills" \
--clawhub-slug "my-automation"
Identify from conversation/memory:
Decide resource types:
scripts/ - For reusable codereferences/ - For documentationassets/ - For templates/filesGenerate:
SKILL.md with frontmatter and instructionsscripts/Push to GitHub and publish to ClawHub:
./scripts/publish.sh ./my-skill \
--github "user/repo" \
--clawhub-slug "my-skill" \
--version "1.0.0"
Parse conversation JSONL for skill content.
./scripts/extract-from-history.sh <session.jsonl> <output-dir> [options]
Options:
--since DATE Only extract from DATE onwards
--pattern REGEX Filter messages matching pattern
--tools-only Only extract tool usage patterns
Parse memory markdown files.
./scripts/extract-from-memory.sh <memory.md> <output-dir>
Generate skill structure from extracted content.
./scripts/create-skill.sh <extracted-content-dir> <skill-name>
Options:
--description "..." Skill description
--type workflow Skill type (workflow|tool|reference)
Complete publish workflow.
./scripts/publish.sh <skill-path> [options]
Options:
--github REPO GitHub repo (owner/repo)
--clawhub-slug ClawHub slug
--version VER Version tag
--skip-github Skip GitHub push
--skip-clawhub Skip ClawHub publish
User: "帮我设置每天自动备份OpenClaw配置" → Agent creates backup scripts + cron setup
```bash ./scripts/extract-from-history.sh \ ~/.openclaw/agents/main/sessions/latest.jsonl \ ./extracted-backup ```
- Type: Workflow skill - Scripts: backup.sh, setup-cron.sh, cleanup.sh - No assets needed
```bash ./scripts/create-skill.sh ./extracted-backup cron-backup \ --description "Automated backup scheduling with cron" \ --type workflow ```
```bash ./scripts/publish.sh ./cron-backup \ --github "zfanmy/openclaw-skills" \ --clawhub-slug "cron-backup" \ --version "1.0.0" ```
✅ Do:
❌ Don't:
Look for these patterns:
Required setup:
# Configure git
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
# Setup SSH key for GitHub
ssh-keygen -t ed25519 -C "[email protected]"
# Add ~/.ssh/id_ed25519.pub to GitHub Settings → SSH Keys
# Login to ClawHub
clawhub login
Follow semantic versioning:
1.0.0 - Initial release1.0.1 - Bug fix1.1.0 - New feature2.0.0 - Breaking change--sinceclawhub login first--examples flag when creating安装 Skill From Memory 后,可以对 AI 说这些话来触发它
Help me get started with Skill From Memory
Explains what Skill From Memory does, walks through the setup, and runs a quick demo based on your current project
Use Skill From Memory to convert memory, conversation history, or completed tasks into publi...
Invokes Skill From Memory with the right parameters and returns the result directly in the conversation
What can I do with Skill From Memory in my documents & notes workflow?
Lists the top use cases for Skill From Memory, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/skill-from-memory/ 目录(个人级,所有项目可用),或 .claude/skills/skill-from-memory/(项目级)。重启 AI 客户端后,用 /skill-from-memory 主动调用,或让 AI 根据上下文自动发现并使用。
Skill From Memory 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Skill From Memory 可免费安装使用。请查阅仓库了解许可证信息。
Convert memory, conversation history, or completed tasks into publishable OpenClaw skills. Use when (1) A task or workflow should be reusable, (2) Extracting...
Skill From Memory 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Skill From Memory
Identifies repetitive steps in your workflow and sets up Skill From Memory to handle them automatically