Install
openclaw skills install oh-my-skillAutomatically generate and save a reusable skill after AI agent successfully completes a complex task involving 5 or more tool calls. Use this skill whenever...
openclaw skills install oh-my-skillAutomatically captures and packages successful complex workflows as reusable skills.
Warning: Make sure your session doesn't contain any highly private data. If it's already been sent to Claude, then that's it.
you could modify the Desensitize process to match your scence/case.
Trigger proactively after completing any task that involved:
After such a task completes successfully, say something like:
"That was a fairly involved workflow — want me to save it as a reusable skill so you can repeat it easily next time?"
If the user says yes, or explicitly asks to generate a skill, proceed with the steps below.
Review the current conversation and extract:
Look for patterns: What made this hard? What would be needed to repeat it?
Before extracting any content, run the session text through the masking script to strip sensitive data:
python3 ~/.openclaw/workspace/skills/oh-my-skill/scripts/desensitize.py session.txt clean_session.txt
Or pipe text directly:
echo "my text" | python3 ~/.openclaw/workspace/skills/oh-my-skill/scripts/desensitize.py
The script applies two layers of masking:
Literal replacements (named individuals → generic labels):
Bill Gates → A manLITERAL_REPLACEMENTS list in desensitize.pyPattern-based masking (regex, auto-detected)
Use the cleaned text as the source for all subsequent steps.
Write a SKILL.md with:
---
name: <kebab-case-name>
description: <What it does, when to trigger. Be specific and "pushy" — list all the user phrases and contexts that should trigger this skill.>
---
# <Skill Title>
<One-paragraph summary of what this skill does and why it's valuable.>
## Inputs
List what the user must provide:
- File paths / uploads
- Preferences or configuration
- Any required context
## Workflow
Step-by-step instructions Claude should follow, referencing tool calls and decision points extracted from the session.
### Step 1: ...
### Step 2: ...
...
## Output
What gets produced, in what format, saved where.
## Notes / Edge Cases
Anything learned from the original run: gotchas, fallbacks, format quirks.
Naming conventions:
kebab-case for the namepdf-to-summary-docx not document-helperresearch-and-cite, excel-data-cleaner, slide-deck-from-outlinepdf-to-summary-docx-4f2a, excel-data-cleaner-9c31python3 -c "import uuid; print(str(uuid.uuid4())[:4])"Save to ~/.openclaw/workspace/skills/<skill-name>/SKILL.md.
If the task also used supporting scripts or reference files, save those under:
~/.openclaw/workspace/skills/<skill-name>/scripts/
~/.openclaw/workspace/skills/<skill-name>/references/
~/.openclaw/workspace/skills/<skill-name>/assets/
Show the user:
Ask: "Does this look right? Want me to adjust the name, description, or any steps?"
Before saving, verify:
After a session where Claude built a Word report from a PDF + web research:
---
name: pdf-research-to-docx-report
description: Build a polished Word document report by combining content from an uploaded PDF with live web research. Use this whenever a user uploads a PDF and wants a written report, briefing, or summary that also pulls in current data from the web. Trigger on phrases like "make a report from this PDF", "write me a briefing", "research and write a doc".
---
# PDF + Research → DOCX Report
Combines PDF extraction, web search, and Word document generation into a single pipeline.
## Inputs
- Uploaded PDF file
- Report topic / framing question
- Desired length and tone (optional)
## Workflow
### Step 1: Read the skill files
Load `docx/SKILL.md` for Word generation instructions.
### Step 2: Extract PDF content
Use `bash_tool` to extract text from the PDF via `pdftotext` or Python `pdfplumber`.
### Step 3: Web research
Run 3–5 `web_search` calls to supplement the PDF with current data.
### Step 4: Outline and draft
Combine findings into a structured outline, then write the full report draft.
### Step 5: Generate DOCX
Follow `docx/SKILL.md` instructions to produce a styled Word document.
### Step 6: Present
Copy to `/mnt/user-data/outputs/` and call `present_files`.
## Output
A `.docx` report file, downloadable by the user.