Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Kihara777/NixKitsnpx agentmods add skills/kihara777/nixkits/nixkits-package-upstreamWrote 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/kihara777/nixkits/nixkits-package-upstream)<a href="https://agentmods.dev/skills/kihara777/nixkits/nixkits-package-upstream"><img src="https://agentmods.dev/badge/skills/kihara777/nixkits/nixkits-package-upstream/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/kihara777/nixkits/nixkits-package-upstream"><img src="https://agentmods.dev/badge/skills/kihara777/nixkits/nixkits-package-upstream.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.00136 | $0.03285 |
| Opus 5.5 | $0.00054 | $0.01314 |
| Sonnet 5.5 | $0.00027 | $0.00657 |
| Haiku 4.5 | $0.00014 | $0.00329 |
Grade A, and why
nixkits-package-upstream 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 1mo 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NixKits 上游贡献适配层
⚠️ 本技能名已弃用(2026-10-20)
拆分后的归属:通用方法在
upstream-audit(只读,到 dry-run 为止,不给提交步骤);提交动作(fork / 分支 / commit / push / PR、review 回应)在本机私有提交层(不随本仓库分发)。本文件作为 NixKits 的适配层保留:只补本仓特有的审计环节(可行性台账、许可缺口、 四语文档、维护日志、自检登记),不再包含任何写操作。下一次改名时删除本声明。
本技能是 upstream-audit 的仓库适配层。
通用方法(评估六问、by-name 与 nixpkgs-vet 要求、dry-run 四层判据、AI 政策、陷阱清单)
在那边;这里只写 NixKits 特有的东西。
开工前先读通用技能。顺序不能换:评估 → 审计 → dry-run → 实操。
第 0 步:本仓的两条硬约定
① flake.lock 提交,不要删它。
(2026-10-21 起:唯一的浮动输入 llama-cpp-ver 已迁到 impure 分支,lock 现在是
受测基线。要更新输入就显式 nix flake update <input> 并同批提交新 lock——
rm -f flake.lock 是旧约定,会让 CI 自己生成一份再判绿。)
② 开工前先 git fetch origin 对齐远端。
并行会话可能已经动过同一批文件。
第 1 步:可行性台账(2026-10-10 取证)
不要重新从零评估——先读这份台账与 UPSTREAM-AUDIT.md,
再只更新变化的部分。 取证基线是 nixpkgs master 78f093ad1(2026-10-10T03:06Z)。
| 包 | 在 nixpkgs 里 | 结论 |
|---|---|---|
| blender-mcp | 没有 | 推荐,许可已查实、测试已打通 |
| obs-bilibili-stream | 没有 | 已提交 PR #574725(2026-10-16,CI 全绿待审)。首投 #572912 因身份规则被关闭,见下 |
| opencode-telegram | 没有 | 可做,先摘掉 riscv64 那段 |
| ruyi | 没有 | 需评估,426 行补丁要先静态化 |
| kitsfmt | 没有 | 暂缓,上游仓 404 |
| codewhale | 没有 | 不推荐(主发行是预编译二进制) |
| godot-ai | 没有 | 不推荐(钉死 14 个精确运行时版本) |
| dsh | 没有 | 停止(nixpkgs 里叫 deepseek-harness,已有 3 个在途 PR) |
| mcp-searxng | 已在 | 不提交新包 |
三条最容易踩的:
mcp-searxng已经在 nixpkgs 里,initial PR #557725 于 2026-09-03 合并, 且有人开着 2.5.1 的更新 PR。列进「新包清单」是错的。dsh在 nixpkgs 里叫deepseek-harness——按我们的包名搜是搜不到的。obs-bilibili-stream的打包第一遍就通过了审阅(审阅者原话 "The PR itself seems technically fine to me"),死在身份规则上—— 台账记「可做」不等于「提交就能过」,还要过身份那一关(见通用技能 §2.4)。 三个在途 PR:#552467 / #553134 / #554081,都是 8 月开的,至今未合并。 我们这份从 npm 制品打、还要sed改包内文件,不是 nixpkgs 要的形态。kitsfmt的meta.homepage指向本仓,而github.com/Kihara777/kitsfmt返回 404。 先给它建独立仓库与 tag。
台账要更新时:把新的取证基线与日期写进 UPSTREAM-AUDIT.md,
不要在技能里堆历史。技能记方法,审计文档记那一时刻的事实。
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.
- 1mo ago Changed · +2 lines 8c3cc24f7bcd
- 1mo ago Changed · +9 lines · -6 tokens per session 4fc875702f6d
- 1mo ago Changed · +30 lines e827cd915cd1
- 1mo ago First seen · 166 lines · 142 tokens per session scan A 8843475ff594
nixkits-package-upstream is a skill published in the GitHub repository Kihara777/NixKits (30 stars, last pushed 4d ago), licensed MIT. It adds 136 tokens to every session and 3,285 once invoked, about $0.0005 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-10-11.
nixkits-package-upstream compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nixkits-package-upstreamKihara777/NixKits | Skill | 30 | 4d ago | MIT | A | 136 | Claude Code, Codex |
| git-commitadongwanai/learn-workbuddy | Skill | 566 | today | MIT | A | 0 | Claude Code, Codex |
| git-masterznlgis/my-opencode-deepseek-config | Skill | 65 | yesterday | MIT | A | 75 | Claude Code, Codex |
| to-ticketsznlgis/my-opencode-deepseek-config | Skill | 65 | yesterday | MIT | A | 60 | Claude Code, Codex |
| git-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 57 | Claude Code |
| commit-messagepingfanfan/hello-dsh | Skill | 111 | 2mo ago | MIT | A | 43 | Claude Code, Codex |
| git-commitsandbaseai/sandbase-skills | Skill | 213 | 8d ago | Apache-2.0 | A | 37 | Claude Code |