ask-matt
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Create new skills, modify and improve existing skills for JavaClaw. Use when users want to create a skill from scratch, edit or improve an existing skill, or refine a skill's description so it triggers more reliably. Also use when a user asks to "turn this workflow into a skill", "save these instructions as a skill", or "make the agent better at X".
A skill for creating and iteratively improving JavaClaw skills.
Skills in JavaClaw live at workspace/skills/<skill-name>/SKILL.md and are loaded dynamically by the SkillsTool at runtime. The agent picks them up automatically — no restart needed.
The core loop:
SKILL.mdJump in wherever the user is. If they already have a draft, skip straight to testing. If they just have a vague idea, interview them first.
Start by understanding what the user actually wants. If the conversation already shows a workflow the user wants to capture (a sequence of steps, tools used, corrections made), extract the answers from that — then fill gaps with the user.
Key questions:
Ask about edge cases, expected inputs, success criteria, and any context the agent will need. Don't start writing until you have enough to write something useful — but don't over-interview either. If you can make a reasonable assumption, make it and note it.
Create workspace/skills/<skill-name>/SKILL.md with:
name: kebab-case identifier matching the directory namedescription: The primary triggering mechanism. Include what the skill does AND when to use it. The agent decides whether to load a skill based solely on this field — so be specific and make it slightly "pushy". Instead of "Helps with data analysis", write "Helps with data analysis. Use this skill whenever the user asks about datasets, CSV files, charts, or wants to understand or transform data — even if they don't say 'analysis'."workspace/skills/
└── skill-name/
└── SKILL.md ← required; keep under ~300 lines
JavaClaw skills are single-file. The agent reads SKILL.md when the skill triggers. Keep it focused and readable — a dense wall of text is harder to follow than clear, structured instructions.
Use imperative form. Explain reasoning where it matters.
Output format example:
## Report structure
Use this template every time:
# [Title]
## Summary
## Details
## Next steps
Example pattern:
## Commit message format
User said: "Added login with Google"
Write: feat(auth): add Google OAuth login
After writing a draft, come up with 2-3 realistic test prompts — things a real user would actually say. Share them and confirm with the user before proceeding.
For each test prompt, read the skill and follow its instructions yourself to complete the task. Present the output to the user and ask for feedback:
"Here's what the agent would do for: [prompt]. Does this look right? Anything you'd change?"
This is intentionally lightweight — you wrote the skill and you're running it, so you have full context. The goal is a quick sanity check, not a rigorous benchmark. The human review is what matters.
After the user reviews, update the skill based on their feedback. A few principles:
Generalize, don't patch. If a test case revealed a gap, think about what the underlying issue is and fix that — don't just add a special case for the exact example.
Stay lean. Remove instructions that aren't pulling their weight. If the agent is already doing something naturally, you don't need to spell it out.
Explain the why. If you find yourself adding a rigid rule, ask whether you could instead explain the reasoning so the agent understands why and can apply it flexibly.
After updating, re-run the same test prompts (and any new ones) and repeat until:
The description field is the only thing the agent sees when deciding whether to load a skill. A weak description means the skill never triggers; an overly broad one means it triggers when it shouldn't.
After finishing the skill, review the description with the user:
Present before/after to the user and confirm.
If the user wants to improve an existing skill rather than create a new one:
SKILL.md first before suggesting any changes.name and directory unchanged.MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
OBobra/superpowers331k近 7 天新增 5,030 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star