Borrowing it
Nothing to install: this file belongs to mpolatcan/codehub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mpolatcan/codehub/main/.claude/skills/add-cli/SKILL.mdgit clone --depth 1 https://github.com/mpolatcan/codehubWrote 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/mpolatcan/codehub/add-cli)<a href="https://agentmods.dev/skills/mpolatcan/codehub/add-cli"><img src="https://agentmods.dev/badge/skills/mpolatcan/codehub/add-cli/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/mpolatcan/codehub/add-cli"><img src="https://agentmods.dev/badge/skills/mpolatcan/codehub/add-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00043 | $0.00937 |
| Opus 5.5 | $0.00017 | $0.00375 |
| Sonnet 5.5 | $0.00009 | $0.00187 |
| Haiku 4.5 | $0.00004 | $0.00094 |
Grade C, and why
add-cli scanned grade C with 2 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 2mo 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
RUN curl -fsSL <install-url> | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
RUN curl -fsSL <install-url> | bash How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a new CLI to CodeHub
Adding a CLI is a four-file change. Skipping any step will produce silent runtime failures (modal entry exists but session dies, or vice versa). Do all four in one commit.
1. Dockerfile — install the binary
Edit runtime/Dockerfile. Add a RUN line in the install block:
# <Name> (<vendor>)
RUN curl -fsSL <install-url> | bash
# or
RUN npm install -g <package>
Verify the binary lands on PATH. Some installers drop binaries to ~/.local/bin — the Dockerfile already exports that via ENV PATH. Others install to /usr/local/bin (npm) automatically.
If the CLI needs a config dir, add an ENV line so the path is predictable and mountable under /config:
ENV <NAME>_CONFIG_DIR=/config/<name>
2. Rust — Cli enum
Edit src-tauri/src/docker.rs:
- Add a variant to
enum Cli. - Update
Cli::binary()to return the executable name on PATH. - Update
Cli::parse()to accept the lowercase id (and any sensible aliases).
The enum has #[serde(rename_all = "lowercase")], so the frontend sends the lowercase variant name.
3. Frontend — CLIS array + Cli type
Edit src/app/lib/catalog.ts. Add an entry to the CLIS: CliSpec[] array with:
id: matches the lowercase enum variantlabel: display name (e.g. "Claude Code")alias: short bird name used in the auto-generated session alias (e.g. "Owl")species: Latin/common species (decorative — the ornithological-field-journal vibe)bird:#bird-<slug>referencing an SVG symbol id inindex.html
In the same file, add the new CLI to MODE_SUPPORT with its allowed launch modes
(["standard", "auto", "yolo"], or ["standard"] if flags are unverified).
Extend the Cli type union in src/app/lib/ipc.ts:
export type Cli = "claude" | "codex" | "antigravity" | "<new-id>";
4. SVG sprite — bird silhouette
Edit index.html. Add a <symbol id="bird-<slug>" viewBox="0 0 64 64"> inside the existing <defs> block. Keep it a single-colour silhouette path that uses fill="currentColor" so the tab/modal colour transitions still apply. Bird species choice matters — pick one whose vibe matches the CLI's personality (owl = thoughtful, raven = scribe, falcon = speed, kingfisher = precise, etc.).
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.
- 2mo ago First seen · 87 lines · 43 tokens per session scan C 9753e8501559
add-cli is a skill published in the GitHub repository mpolatcan/codehub (6 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 937 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
pkf-writing
Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.
prismer-python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
memory-import
Bulk-import an external knowledge base into Prismer memory via the three-layer import pipeline (07 §3.1). Use when the user asks to import/migrate documents, a knowledge base, or notes into workspace memory. Layer 1 lands raw documents (zero LLM, instantly searchable); Layer 2 is YOUR distillation work — you read the…
cli-creator
Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a…
sora-taira-testnet
Work against the SORA Taira testnet through its deployed Torii MCP endpoint for live account, asset, alias, contract, governance, Musubi package-registry, and transaction workflows. Use when Codex needs to inspect or mutate the Taira testnet, verify or add https://taira.sora.org/v1/mcp, prefer the curated iroha. tool…
conventions
Spring Boot project conventions and mandatory rules. Auto-loads when working with Spring Boot, Java, or Maven projects. Enforces No-Lombok, constructor injection, RestClient, Flyway for relational databases, Problem Details errors, and other standards; adds OpenAPI contract rules when the API is built for a UI.