ai-agent

clipp: Streamline C++ CLI parsing with a single‑header library

Founders building C++ tools get fast, expressive command‑line argument handling and automatic docs generation—all in one header. Backed by 1.3k+ GitHub stars, it fits modern C++ projects.

From the repo · “easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation”

1,325 stars153 forksC++Guide quality 8/10 · reviewed Oct 10Updated 5/30/2024100% free · open source
What it does

Clipp provides simple and powerful command line argument parsing for modern C++ applications, allowing founders and developers to easily handle user input and generate usage documentation.

When to use it
  • •When building a command line tool that requires user input and configuration
  • •When needing to generate usage documentation and help messages for a C++ application
  • •When looking for a lightweight and single-header solution for command line argument parsing
Ready-to-paste prompt
To parse a command line argument for a port number, use the following code: auto cli = clipp::group(clipp::option("-p", "--port") % clipp::integer("port number")); clipp::parse(argc, argv, cli); int port = clipp::value("port number");
Heads up: Clipp requires C++11 or later to compile, so ensure that your compiler is set to use at least C++11 standard, e.g. add the flag '-std=c++11' to your compiler command
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/clipp && curl -fsSL https://workflowstacks.com/api/skills/clipp/claude-skill -o ~/.claude/skills/clipp/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How clipp: Streamline C++ CLI parsing with a single‑header library works
Codeflow
Free to inspect

Clipp: Streamline C++ CLI parsing with a single‑header library is a medium C++ project (~7.2k lines across 34 code files, plus 41 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit 29 months ago, MIT license, has a test suite.

Size
Medium codebase
~7.2k lines · 34 code files · ~1 h to skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
C++
No API keys detected
C++ 97%Python 2%CMake 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    examples/Makefile
    A worked example — copy this to get going
What's in each folder
examples/Examples you can copy34 files
docs/Documentation1 files
include/Folder1 files
test/Tests — proof it works42 files
READMEHas testsDocumentedCI checksExamples includedMIT licenseLast update 29 mo ago
Quick Actions
Details
Creator
muellan
Language
C++
Category
ai-agent
Published
11/8/2017

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/clipp.svg)](https://workflowstacks.com/skills/clipp?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.