nixkits-package-upstream

nixkits-package-upstream is a skill for Claude Code, Codex from Kihara777/NixKits. It costs 136 tokens per session (3,285 once invoked), scanned A, original, MIT.

A repository-specific guide for contributing Nix packages to nixpkgs, the package collection used by the Nix operating system and package manager. It adds NixKits-specific checks, records, translations, and corrections to the general contribution process.

In plain words
What is it for?
Use it when deciding which of NixKits' packages should be proposed to nixpkgs and preparing the related audits, dry runs, documentation updates, and maintenance records.
Why use it?
It prevents contributors from repeating outdated package research or missing local requirements. It also helps distinguish packages that are already upstream, already being proposed, unsuitable, or blocked by licensing issues.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for codewhale. Also seen: mentions AGENTS.md; built for codewhale; mentions OpenCode.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 拆分后的归属:通用方法在 [`upstream-audit`](../upstream-audit/SKILL.md).

Good fit Use it when deciding which of NixKits' packages should be proposed to nixpkgs and preparing the related audits, dry runs, documentation updates, and maintenance records.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Kihara777/NixKits
agentmods
npx agentmods add skills/kihara777/nixkits/nixkits-package-upstream

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nixkits-package-upstream

README.md
[![agentmods](https://agentmods.dev/badge/skills/kihara777/nixkits/nixkits-package-upstream/github.svg)](https://agentmods.dev/skills/kihara777/nixkits/nixkits-package-upstream)
Your own site
<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.

agentmods 80×15 button for nixkits-package-upstream

Your own site · 80×15
<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>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,285 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 8c3cc24f7bcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/nixkits-package-upstream/SKILL.md · 207 lines

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, 不要在技能里堆历史。技能记方法,审计文档记那一时刻的事实。

Read the full file on GitHub · 207 lines

Changes

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.

  1. 1mo ago Changed · +2 lines 8c3cc24f7bcd
  2. 1mo ago Changed · +9 lines · -6 tokens per session 4fc875702f6d
  3. 1mo ago Changed · +30 lines e827cd915cd1
  4. 1mo ago First seen · 166 lines · 142 tokens per session scan A 8843475ff594

Subscribe to this mod's changes

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.

Related

nixkits-package-upstream compared with skills from other repositories

nixkits-package-upstream next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nixkits-package-upstreamKihara777/NixKitsSkill304d agoMITA136Claude Code, Codex
git-commitadongwanai/learn-workbuddySkill566todayMITA0Claude Code, Codex
git-masterznlgis/my-opencode-deepseek-configSkill65yesterdayMITA75Claude Code, Codex
to-ticketsznlgis/my-opencode-deepseek-configSkill65yesterdayMITA60Claude Code, Codex
git-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A57Claude Code
commit-messagepingfanfan/hello-dshSkill1112mo agoMITA43Claude Code, Codex
git-commitsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A37Claude Code