ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add openonion/connectonion --skill cli-skill-designgit clone --depth 1 https://github.com/openonion/connectonionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/openonion/connectonion/cli-skill-design)<a href="https://agentmods.dev/skills/openonion/connectonion/cli-skill-design"><img src="https://agentmods.dev/badge/skills/openonion/connectonion/cli-skill-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/openonion/connectonion/cli-skill-design"><img src="https://agentmods.dev/badge/skills/openonion/connectonion/cli-skill-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00097 | $0.05983 |
| Opus 5.5 | $0.00039 | $0.02393 |
| Sonnet 5.5 | $0.00019 | $0.01197 |
| Haiku 4.5 | $0.00010 | $0.00598 |
Grade A, and why
cli-skill-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 458 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Designing a CLI skill
Design command help as a usage skill for both people and agents. The help page is the source of truth for choosing and using a command: purpose, inputs, procedure, effects, verification and recovery. An agent should be able to learn correct usage from help, execute a command, and continue from its actual output.
Keep one authored workflow definition. Render terminal help and, where supported, a loadable Skill from that definition. Derive command names, arguments, defaults and required flags from the CLI registration. Author workflow and evidence requirements explicitly; function signatures alone cannot explain them. A separate SKILL.md can route to relevant help and add domain judgment without maintaining a second copy of command syntax. This is a design requirement, not a claim that an existing CLI already generates Skills from its help.
co-browser is the worked example. Read it before you write anything: its exit-code
table, its "read the output, not just the exit code" rule, and its Done checklist are
what this methodology generalizes. (Building a skill that drives a website through
co browser? That is the sibling skill browser-workflow-skill-builder — DOM,
selectors, verification scripts. This one is about the command surface itself.)
Start with the help workflow contract below, then verify command discovery, execution and recovery. Record actual test results, not just design principles.
What CI enforces on every co command
tests/unit/test_cli_help_contract.py (#1657) runs co audit's engine, which
never reads the source: it runs co --help, opens every command a page lists,
and judges each page from what it printed, the way an agent meets it. co rem
is walked but held to its own verbatim pages by
tests/e2e/cli/test_rem_help_contract.py. There is no baseline and no
waiver outside co rem's shrinking LOOK_PENDING (#1996): a new command fails
CI until its page passes. Printed by a real co in an empty HOME and cwd,
co <cmd> --help must:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed 437c303369bc
- 2mo ago Changed · +40 lines 6b2e395aa3f5
- 2mo ago Changed 03c0b10e7bcd
- 2mo ago Changed · +84 lines · +18 tokens per session a09fee9634f8
- 2mo ago Changed · +94 lines c5ba734db2ff
- 2mo ago Changed · +39 lines b2848c7e0b65
- 2mo ago Changed · +5 lines 54064c086f6e
- 2mo ago Changed · +9 lines 08c93990b744
- 2mo ago Changed 793880f63326
- 3mo ago First seen · 187 lines · 79 tokens per session scan A 8502e0f9f86c
cli-skill-design is a skill published in the GitHub repository openonion/connectonion (1,568 stars, last pushed today), licensed Apache-2.0. It adds 97 tokens to every session and 5,983 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cli-skill-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cli-skill-designopenonion/connectonion | Skill | 1.6k | today | Apache-2.0 | A | 97 | Claude Code, Codex |
| agent-lightningmicrosoft/agent-lightning | Skill | 19k | 5d ago | MIT | A | 43 | Claude Code |
| agentscope-javaagentscope-ai/agentscope-java | Skill | 6.5k | today | Apache-2.0 | A | 91 | Claude Code, Codex |
| apply-patchagentscope-ai/agentscope-java | Skill | 6.5k | today | Apache-2.0 | A | 38 | Claude Code, Codex |
| git-checkpointagentscope-ai/agentscope-java | Skill | 6.5k | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| company-employeePrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| web-designPrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 51 | Claude Code, Codex |