| ▲ | Soerensen 9 hours ago | |||||||||||||
The observation about agents not using skills without being explicitly asked resonates. In practice, I've found success treating skills as explicit "workflows" rather than background context. The pattern that works: skills that represent complete, self-contained sequences - "do X, then Y, then Z, then verify" - with clear trigger conditions. The agent recognizes these as distinct modes of operation rather than optional reference material. What doesn't work: skills as general guidelines or "best practices" documents. These get lost in context or ignored entirely because the agent has no clear signal for when to apply them. The mental model shift: think of skills less like documentation and more like subroutines you'd explicitly invoke. If you wouldn't write a function for it, it probably shouldn't be a skill. | ||||||||||||||
| ▲ | philipp-gayret 9 hours ago | parent | next [-] | |||||||||||||
Better yet is a system which activates skills in certain situations. I use hooks for this with Claude, works great. The skill descriptions are "Do not activate unless instructed by guidance." Example: A Python file is read or written, guidance is given back (once, with a long cooldown) to activate global and company-specific Python skills. Claude activates the skills and writes Python to our preference. | ||||||||||||||
| ▲ | smithkl42 8 hours ago | parent | prev | next [-] | |||||||||||||
That does raise the question of what the value is of a "skill" vs a "command". Claude Code supports both, and it's not entirely clear to me when we should use one vs the other - especially if skills work best as, well, commands. | ||||||||||||||
| ||||||||||||||
| ▲ | 8cvor6j844qw_d6 8 hours ago | parent | prev | next [-] | |||||||||||||
Reminds me of my personal Obsidian notes, CLI commands for tasks I need just rarely enough to forget, with explanations for future me. | ||||||||||||||
| ▲ | vidarh 9 hours ago | parent | prev [-] | |||||||||||||
The description "just" needs to be excruciatingly precise about when to use the skill, because the frontmatter is all the model will see in context. But on the other hand, in Claude Code, at least, the skill "foo" is accessible as /foo, as the generalisation of the old commands/ directory, so I tend to favour being explicit that way. | ||||||||||||||