incur

Build typed, envelope-based CLIs for humans and AI agents.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/douglance/incurs --skill incur-douglance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: incur
Source: https://github.com/douglance/incurs/tree/main
Command: npx skills add https://github.com/douglance/incurs --skill incur-douglance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

incur provides a robust framework for building CLIs that work for both humans and AI agents, offering strong typing, structured outputs, and built-in agent discovery.

Core Features & Use Cases

  • Typed command schemas for arguments, options, and outputs to prevent runtime errors.
  • Agent discovery via Skills, MCP, and integration with HTTP/Fetch transports for cross-environment usage.
  • Streamlined tooling for skill generation, shell completions, and middleware-driven command execution.

Quick Start

Create a root incur CLI and run it to see typed outputs immediately.

Frequently Asked Questions about incur

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a CLI that works for both humans and AI agents?

You can build CLIs for both humans and AI agents by using a typed, envelope-based framework that enforces type-safety for command schemas and supports agent discovery across multiple transports like HTTP and MCP.

What is agent discovery and how does it work in a command-line framework?

Agent discovery in a command-line framework allows automated agents to dynamically find and interact with CLI tools via Skills, MCP integrations, and HTTP/Fetch transports, enabling cross-environment usage without manual endpoint configuration.

Can I use TypeScript to enforce type safety for CLI arguments and options?

Yes, you can enforce type safety for CLI arguments and options by defining typed command schemas that validate inputs and outputs at the framework level, preventing runtime errors before command execution begins.

Does this CLI framework support MCP integration and HTTP fetch gateways?

Yes, the framework provides built-in tooling for MCP integration and fetch gateways, enabling cross-transport capabilities so your CLI commands can be executed over HTTP or MCP alongside standard command-line execution.

What's the best way to generate router-style CLIs with structured outputs?

To generate router-style CLIs with structured outputs, use a middleware-driven command execution framework that supports typed schemas, enabling reliable single-command and router-style workflows with agent-discovery features.

Do I need additional dependencies to enable shell completions for my CLI?

No, you do not need additional dependencies for shell completions because the framework provides streamlined tooling for skill generation and shell completions directly within its core feature set.