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 ctxpipe-ai/ctxpipe --skill feature-gatesgit clone --depth 1 https://github.com/ctxpipe-ai/ctxpipeWrote 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/ctxpipe-ai/ctxpipe/feature-gates)<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/feature-gates"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/feature-gates/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/ctxpipe-ai/ctxpipe/feature-gates"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/feature-gates.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.00065 | $0.00933 |
| Opus 5.5 | $0.00026 | $0.00373 |
| Sonnet 5.5 | $0.00013 | $0.00187 |
| Haiku 4.5 | $0.00006 | $0.00093 |
Grade A, and why
feature-gates 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 8d 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.
What it actually says
feature-gates
The host runs this skill as a plain command, once for each repository, on the assembled ref after the root steps. No model runs it.
- The host writes
/ctxpipe/step.jsonand the context index, as for each step. - The host writes the root-to-file map (ADR-052 section 6) and runs
node /ctxpipe/skills/feature-gates/scripts/feature-gates.mjs --source /ctxpipe/source/<handle> --source-url <url> --source-path <path> --roots <root-to-file map>.--rootsis necessary. - The script reads only the
.goand.rsfiles whose path names a feature (for examplepkg/features/kube_features.goorcompiler/rustc_feature/src/unstable.rs). It does not read test files, test and example folders, or vendored, test-data, and fixture folders. - A Go gate is a constant
Name featuregate.Feature = "Name". The// owner:and// kep:lines of its comment give the owners and the KEP numbers. The other comment lines are the description. Its spec map (Name: {{Version: …, Default: …, PreRelease: …}}) in the same folder gives its stages; the last spec is the current stage and default. - A Rust gate is an entry
(unstable, name, "1.63.0", Some(12345))of adeclare_features!file. Its///lines are the description, and the number is the tracking issue. - Each gate gets
knowledge/features/<name>.md. When another file has that path, the file isknowledge/features/<repository>-<name>.md. When more than one file of the source declares the name, each gate getsknowledge/features/<name>-<declaring folder>.md. A file of kindFeatureGateof this source with the name, whoseDeclared inline names the declaring file, is the file of the gate. When one file of the source declares the name and the context has one such file, that file is the file of the gate, also when itsDeclared inline names an earlier declaring file (a Rust gate moves fromunstable.rstoaccepted.rsorremoved.rs). - The file gets a
PART_OFclaim to each package unit file (Service,App,Library) of the deepest root that holds the declaring file. When that root has no such file, the claim goes to the repository unit. - A KEP gets a link to a
Decisionfile of the context whose name holdsKEP-<number>, and to the mirrored issuegithub/issues/kubernetes/enhancements/<number>.mdwhen the context has it. A Rust tracking issue gets a link togithub/issues/<owner>/<repository>/<number>.mdwhen the context has it. External KEP links are text in code, because the host allows external links only to the repositories of the Workspace. - The description is source text, so it is in a block quote with a
Source:line. It keeps its first 2 KiB. A longer description ends with "…", andskippednames its file and line and the count of bytes that the cut removed. - A page ends only at the step limits of the host validator (2 MiB of files, and a patch.json of 1 MiB and 10,000 ops). When more files wait, the result has
"more": true, and the host runs the skill again on the new base. - It writes the staged tree and
/ctxpipe/out/patch.json, and a summary that matchesschema.jsonto stdout.
The script never sets a host field. A file that this source owns alone, with no human section, is written again with the current facts (a gate changes its stage and default between releases). Any other existing file changes only additively (new claims, and new lines in a ## Related section at the end).
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 23 lines · 65 tokens per session scan A 36f7510e54c5
feature-gates is a skill published in the GitHub repository ctxpipe-ai/ctxpipe (28 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 933 once invoked, about $0.0003 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-11-23.
feature-gates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-gatesctxpipe-ai/ctxpipe | Skill | 28 | today | MIT | A | 65 | Claude Code, Codex |
| hns-moaiadk-best-practicesmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 129 | Claude Code |
| hns-moaiadk-patternsmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 116 | Claude Code |
| top-down-typescriptpaleo/alignfirst | Skill | 91 | yesterday | CC0-1.0 | A | 53 | Claude Code, Codex |
| loom-pythoncosmix/loom | Skill | 66 | yesterday | MIT | A | 14 | Claude Code, Codex |
| loom-csharpcosmix/loom | Skill | 66 | yesterday | MIT | A | 16 | Claude Code, Codex |
| loom-javacosmix/loom | Skill | 66 | yesterday | MIT | A | 14 | Claude Code, Codex |