Most teams use Claude Code reactively — they type a prompt, Claude responds, they type another. That is fine, but it leaves significant value on the table. Hooks, subagents, and piping let you build Claude into your workflow so that it works with your tools rather than alongside them. Hooks: Making Claude Anticipatory A hook is a shell command, script, or HTTP call that fires automatically when Claude Code reaches a specific lifecycle point.
Continue reading »CLI
4 posts in this section
Mastering Claude Code CLI: The Complete Guide for DevOps Engineers
If you have been using Claude in a browser tab to help with code, you are leaving most of its capability on the table. Claude Code CLI brings the full power of Claude directly into your terminal — it reads your actual codebase, runs real commands, edits files, commits code, and integrates with every tool in your DevOps stack. This guide covers everything from installation to advanced patterns that most engineers never discover.
Continue reading »The Claude Code /loop Command: In-Session Automation Explained
The /loop command in Claude Code lets you schedule a prompt to repeat at a regular interval within an active session. It is one of the less-documented features, and it is also one of the most misunderstood — particularly around what it cannot do. This post explains what /loop actually is, the three scenarios where it genuinely earns its keep, and where cron jobs remain the better choice. What /loop Does /loop 5m check if the Vite dev server is still running and report any new errors This runs the prompt immediately, then repeats it every 5 minutes for the duration of your session.
Continue reading »You Don't Need a Framework to Build an AI Assistant
There is a tendency in the AI tooling space to reach for frameworks — LangChain, AutoGen, CrewAI, OpenClaw — the moment you want an AI that does more than answer one question at a time. Most of the time, that is the wrong move. The framework adds complexity, dependencies, and debugging surface area for problems that a few shell scripts and cron jobs solve perfectly well. Claude Code’s headless mode (-p flag) plus a markdown file for personality plus cron scheduling is a complete AI assistant stack.
Continue reading »