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 agentmods add skills/mpolatcan/codehub/add-clinpx skills add mpolatcan/codehub --skill add-cligit clone --depth 1 https://github.com/mpolatcan/codehubWhat 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 | $0.00043 | $0.00937 |
| Opus 5 | $0.00022 | $0.00468 |
| Sonnet 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 yesterday.
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.
- yesterday First seen · 87 lines · 43 tokens per session scan C 9753e8501559
add-cli is a skill published in the GitHub repository mpolatcan/codehub (5 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 937 once invoked, about $0.0002 per session on Opus 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
rmux
Guide for using RMUX with Claude Code, including the tmux-compatible CLI, agent automation waits, the typed SDK, browser web-share, and the rmux claude launcher.
dstest
Deterministic simulation testing for containerized services. Write Lua scripts to inject chaos (pause, kill, resource deprivation) into Docker containers with reproducible, seeded fault injection. Use when writing chaos experiments, testing service resilience, or debugging distributed systems.
dokan
Operate the dokan runtime — run deterministic scripts in Docker over MCP, compose DAG flows, schedule cron, set secrets, return structured results, read logs token-frugally. Use when the user wants to run/deploy a script or job, build a pipeline/flow/DAG of steps, schedule recurring work, provision API keys for a job…
m07-concurrency
CRITICAL: Use for concurrency/async. Triggers: E0277 Send Sync, cannot be sent between threads, thread, spawn, channel, mpsc, Mutex, RwLock, Atomic, async, await, Future, tokio, deadlock, race condition, 并发, 线程, 异步, 死锁.
core-agent-browser
Internal support skill for agent-browser CLI workflows used by rust-learner, docs-researcher, and crate-researcher. Use only when browser automation is explicitly required.
domain-cli
Use when building CLI tools. Keywords: CLI, command line, terminal, clap, structopt, argument parsing, subcommand, interactive, TUI, ratatui, crossterm, indicatif, progress bar, colored output, shell completion, config file, environment variable, 命令行, 终端应用, 参数解析.