Use with AI Agents

The CLI has been tested and tuned to work well with AI agents such as Claude Code.

Give your agent instructions like:

I'm using ConfigHub. Its CLI, cub, is in my path. Do cub --help and follow its instructions to learn how to use it.

These instructions tell the agent how to get more detailed and more structured help text. For example, the agent will be instructed to set CONFIGHUB_AGENT=1 for all cub commands with --help to get a more AI agent optimized help text.

In the future we may provide an MCP server endpoint, but we have found that using the CLI is quite effective.