Matthew Boston

Every CLI Should Include Agent Skills

February 27, 2026

The Current State of CLIs

Command-line tools are powerful but rigid. They do exactly what you tell them, nothing more. When something goes wrong, you get an error code and maybe a cryptic message. Figuring out what happened and what to do next is entirely on you.

This works fine when you know exactly what you’re doing. But how often are you reaching for Stack Overflow or documentation to figure out the right flags, the correct sequence of commands, or why something failed?

Imagine Smarter Tools

Imagine a git that suggests the right command after a messy merge — not just showing you conflict markers, but explaining what happened and offering resolution strategies based on the actual content of the conflicts.

Imagine a kubectl that explains why your pod keeps crashing before you even ask — correlating the error logs, the resource limits, and the recent config changes to give you a diagnosis instead of a wall of YAML.

Imagine a docker that notices you’re building an image with a known vulnerability in the base layer and suggests an alternative before you push it to production.

What Agent Skills Look Like

By adding lightweight agent skills to CLIs — context awareness, reasoning, and adaptive help — these tools could evolve from rigid executors into true collaborators. The key components are:

  • Context awareness: Understanding not just the command, but the state of the project, recent changes, and the developer’s likely intent
  • Reasoning: Connecting symptoms to causes, suggesting next steps, and explaining trade-offs
  • Adaptive help: Providing guidance that’s specific to your situation, not generic documentation

This doesn’t mean every CLI needs a full language model embedded in it. It means CLIs should expose the right hooks — structured output, state inspection, error context — so that AI layers can reason about them effectively.

The Path Forward

The tools that adopt this first will have a massive advantage. Developers will gravitate toward CLIs that help them think, not just execute. The ones that stay rigid will feel increasingly primitive by comparison.

We’ve always shaped our tools to fit how we work. Now our tools can start shaping themselves.


This article was originally posted on LinkedIn.