Skip to content
rakshaziPublic

About

Write, improve, restructure or test an agent skill (a SKILL.md with its references and scripts), or any prompt, template or checker a model has to follow. Full scaffolding and measures on models from 1.7b to 2T+ params included.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

model-lab: your skills are worse than they could be

Details, explanations, and story of the skill with bad jokes: rakshazi.me/blog/model-lab-skill

I use coding agents, and also use popular agent skills, but sometimes (turns out, a lot), I need to write my own skills, usually to give domain-specific knowledge or establish a proper procedure when doing stuff.

How would you write a skill for a task? You ask your agent to do the task, provide feedback on the results, iterate, and when finished, you ask it to write a skill, so next time such task will be easier, right?

Yeah, turns out such skills are pretty bad. SkillsBench put a number on it: skills curated by a human add 16.6 points to the pass rate, while skills the agent wrote for itself land 8 to 11.5 points below having no skill at all. SkillAxe found the same from the other side: LLM-authored skills give no measurable gain until an evaluation loop refines them. And the self-improving crowd, all the way up to Harness², gets its gains from that same place: propose, probe, measure, keep what survived.

How to fix that? Welcome to model-lab!

History: I asked big "it is so dangerous" model to write a skill, the results of the skill (in next runs) were pretty bad (I expected faster and cleaner execution of the task), so I got an idea: iterate skill on small models: 300-500b, 27b, and 4b params, and document what worked and what didn't. That's how model-lab was born: literally README.md file, where each line is a lesson learned.

Now, what model-lab is? A skill to write skills (with generalized lessons from previous iterations, up to the original README.md), with agent-specific quirks, scaffolding to spin up a test stand for verification, and instructions to iterate and improve based on the proven results failures.

How it works? Install the skill, and then ask your agent to write a skill for a task, and then let it cook: test stands, n=3 or n=5 runs per iteration, the result: a skill that actually works. Bonus: that skill will also work on smaller models, so proprietary providers' enjoyers can use Haiku/Luna/%name-other-dumb-and-cheap-model% for doing real work and costing them less than a cup of coffee for a big task.

Examples of skills written with model-lab: write AGENTS.md (procedure skill), krea2-prompting (domain knowledge skill). Plus, planning skill (procedure, later converted to pi extension), spec skill (procedure, described/shared in You Don't Need a %Frontier LLM%), etc. (unfortunately, not all stuff can be shared publicly, because I mostly use model-lab for internal domain knowledge and procedures).

I'd suggest you to use the most powerful/intelligent/frontier model you can afford to write the skills. Google's Harness² has a pretty good example: the better the skill writer (editor), the better the skill performance, including on smaller/weaker/cheaper models.

About

Write, improve, restructure or test an agent skill (a SKILL.md with its references and scripts), or any prompt, template or checker a model has to follow. Full scaffolding and measures on models from 1.7b to 2T+ params included.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Contributors

Languages