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/runtime-rebuildnpx skills add mpolatcan/codehub --skill runtime-rebuildgit 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.00042 | $0.00576 |
| Opus 5 | $0.00021 | $0.00288 |
| Sonnet 5 | $0.00008 | $0.00115 |
| Haiku 4.5 | $0.00004 | $0.00058 |
Grade C, and why
runtime-rebuild 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 2d 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.
- `SHELL ["bash", "-euo", "pipefail", "-c"]` at the top of the Dockerfile is intentional. If a `curl … | bash` install line fails silently, pipefail surfaces it as a build error. Don't remove this. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `SHELL ["bash", "-euo", "pipefail", "-c"]` at the top of the Dockerfile is intentional. If a `curl … | bash` install line fails silently, pipefail surfaces it as a build error. Don't remove this. How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rebuild CodeHub runtime image
Run this skill when any of:
runtime/Dockerfilewas edited- a CLI install command was added, removed, or updated
- the runtime tag in
lib.rs(DEFAULT_IMAGE) was bumped - you want to verify a clean build from scratch (no Docker layer cache)
Steps
-
Confirm tag. Read
src-tauri/src/lib.rsand locateDEFAULT_IMAGE(line near the top ofrun()). The version after:is the source of truth. -
Build. From repo root:
make image # equivalent to: docker build -t <repo>:<VERSION> runtime/ make image-nocache # --no-cache, guaranteed-clean rebuildBoth targets parse the version from
src-tauri/src/lib.rs:DEFAULT_IMAGE. Override via:make image IMAGE_TAG=0.2.0 -
Smoke-test inside the image before declaring success:
make image-verifyEvery CLI must produce a path + version. If
which antigravityis added it will currently fail because Antigravity install is commented out — that is expected; do not block on it. -
Tag
latestonly if this is the canonical version onmain:docker tag ghcr.io/mpolatcan/codehub-runtime:<VERSION> ghcr.io/mpolatcan/codehub-runtime:latest -
Multi-arch build for publishing (only when cutting a release — see
release-cutskill):make image-push # buildx --platform linux/amd64,linux/arm64 --push
Notes
SHELL ["bash", "-euo", "pipefail", "-c"]at the top of the Dockerfile is intentional. If acurl … | bashinstall line fails silently, pipefail surfaces it as a build error. Don't remove this.- If the build succeeds but a CLI is missing in the smoke test, suspect a silent install failure — re-run with
--progress=plainand inspect the relevantRUNstep. - Layer caching: editing a line invalidates all subsequent
RUNlayers. Cluster slow installs (Claude, Codex, Antigravity) above lines that change often (config envs) to maximize cache reuse during iteration.
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.
- 2d ago First seen · 57 lines · 42 tokens per session scan C 2194c07f4477
runtime-rebuild is a skill published in the GitHub repository mpolatcan/codehub (5 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 576 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
debugging-output-and-previewing-html-using-ray
Use when user says "send to Ray," "show in Ray," "debug in Ray," "log to Ray," "display in Ray," or wants to visualize data, debug output, or show diagrams in the Ray desktop application.
changelog-entry
Add a new entry to CHANGELOG.yml under the current unreleased version (or create the version block if needed), then regenerate documentation. Use when the user says things like "add a changelog entry", "log this fix in the changelog", or "/changelog-entry".
project-snmp-profiles-authoring
Use when editing Netdata SNMP profile YAMLs, topology SNMP profiles, ddsnmp profile parsing, or profile-format documentation. Requires checking source MIB field accessibility, especially MAX-ACCESS not-accessible INDEX objects, before adding or changing profile symbols.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
kurtosis-ethereum
Run Ethereum multi-client devnets using Kurtosis and the ethpandaops/ethereum-package. Use for spinning up local devnets, syncing public testnets, validating cross-client interop, testing fork transitions, shadowforks, running assertoor checks, debugging CL/EL client interactions, or verifying new feature…
evolve-create
Create a reusable gene from a novel fix pattern. Only invoke manually.