← Back to context

Comment by poytr1

2 days ago

I had a similar intuition that we could definitely optimize token efficiency and performance for non-general tasks.

For example, I was handling a lot of infra operations, many of which follow fixed workflows like locating a specific log in certain time range, identify the issue, and apply the appropriate mitigation steps. 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.