Optimize Openclicky Skills
Agent Buildingoptimize_openclicky_skillsOptimize Openclicky Skills is an Agent Skill for agent building published in the jasonkneen/openclicky repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when the user asks OpenClicky to inspect, audit, improve, consolidate, or optimize bundled or learned skills.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/jasonkneen/openclicky/blob/HEAD/AppResources/OpenClicky/OpenClickyBundledSkills/optimize-openclicky-skills/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/optimize-openclicky-skills, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
OpenClicky compatibility guardrails
- Follow
../_shared/OpenClickySkillCompatibilityPolicy.mdbefore acting. - Verify required local commands, tools, keys, or bridge endpoints before promising execution.
- Treat sends, publishes, deploys, deletes, moves, merges, playlist/library changes, cloud writes, and app-control clicks as external writes unless this skill narrows them further.
- Stop and report the exact missing setup step for unavailable tools, auth, or macOS permissions; do not loop or silently switch to browser automation.
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.mdfrom 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_noteorreview_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.