| name | optimize_openclicky_skills |
| description | Use when the user asks OpenClicky to inspect, audit, improve, consolidate, or optimize bundled or learned skills. |
Optimize OpenClicky Skills
Use this workflow when the user asks to look at skills, improve skills, optimize skills, clean up skills, make agents faster, or reduce repeated mistakes through better workflow skills.
Required Inputs
- Read
OpenClickyRuntimeMap.md from Codex home.
- Read
memory.md.
- Inspect the learned skills directory from the runtime map.
- Inspect bundled skills only when the user asks about built-in behavior or when learned skills depend on them.
Archive First
Before replacing or superseding any skill file:
- Create a timestamped backup under the archives path from
OpenClickyRuntimeMap.md.
- Preserve the original relative path in the archive folder name or a short
README.md.
- Do not delete the old skill unless the user explicitly asked for destructive deletion.
Recommended archive command shape:
mkdir -p "$ARCHIVES_DIR/skills/YYYYMMDD-HHMMSS"
cp -R "$SKILL_DIR" "$ARCHIVES_DIR/skills/YYYYMMDD-HHMMSS/"
Optimization Pass
For each relevant skill:
- Check whether the trigger description is specific enough for agents to choose it.
- Remove vague motivational text and keep direct workflow steps.
- Add exact file paths, commands, app names, permission gotchas, and verification steps from successful prior runs.
- Split unrelated workflows into separate learned skills.
- Merge duplicate skills only after archiving all originals.
- Keep skill names snake_case and action-oriented, for example
create_apple_note or review_openclicky_logs.
Outputs
Create or update the needed SKILL.md files. Then update memory.md with a short note summarizing:
- Which skills were optimized.
- Which skills were created.
- Where backups were archived.
- Any remaining gap that future agents should know.
Final response should be short and include the changed skill paths and archive path.