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...
Convert memory, conversation history, or completed tasks into publishable OpenClaw skills. Use when (1) A task or workflow should be reusable, (2) Extracting...
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
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-skillOr 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
Extract:
./scripts/extract-from-history.sh \ ~/.openclaw/agents/main/sessions/latest.jsonl \ ./extracted-backup
Design:
Create:
./scripts/create-skill.sh ./extracted-backup cron-backup \ --description "Automated backup scheduling with cron" \ --type workflow
Publish:
./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 "your@email.com"Setup SSH key for GitHub
ssh-keygen -t ed25519 -C "your@email.com"
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 creatingNo automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.