Yes
It can work well
poytr1 on Hacker News
In the thread “Grep beats LSP? Why coding agents ignore your fancier tools”, replying to this comment
Helped: Compiling repeated commands into reusable scripts with skills.
… Since these workflows are entirely command-line based, I added a hook to Claude Code that monitors the commands I repeatedly run, including those invoked by Claude Code itself, and compiles them into reusable scripts(with skills as entries). It can work well. The takeaway is that we should spend more time reviewing our own work patterns and workflows.