nix-flake-update-check SKILL.md skillA

nix-flake-update-check from kihara777/nixkits is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kihara777/nixkits/nix-flake-update-check@git:20261022.edd2bef

Pins git:20261022.edd2bef in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kihara777/nixkits
Path
skills/nix-flake-update-check/SKILL.md
Versions recorded
18
Latest version
git:20261022.edd2bef, committed Oct 22, 2026
First version recorded
Sep 16, 2026
Size
49,055 bytes
Repository stars
28
License
MIT

检查任意 nix flake 仓库中软件包的上游版本更新并升级——开工前先同步远端并核对活跃 issue / PR、按包型(npm / cmake / Rust / fetchurl / python)分流的 hash 更新流程与自托管 forge(Gitea)取源、开工前的交互式澄清(支持提问的智能体须主动使用以确保一次跑完)、同账户子项目的链式并行检查(含回环与依赖冲突防护)、版本语义变化时文档须重写而非机械替换、文档外部链接的失效审计、GitHub Actions 的 SHA 固定更新检查、外部自动化 PR 的 hash 修补、推送后对 CI 构建的验证(失败按日志原文分类为偶发/真失败,附各形态修复方案与失败时的交互式选项)、flake.lock 处置、补丁内版本检查与 nixpkgs 漂移陷阱。仓库特有的文档与日志环节经「仓库适配层」注入。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# nix flake 软件包更新检查(通用)

检查 nix flake 仓库中各软件包的上游发布更新并执行版本升级。

本技能只包含**与仓库无关**的通用方法。仓库特有的环节(文档同步、维护日志、
内置插件清单等)由**仓库适配层**提供——见文末「仓库适配层」。

## 本技能的文件构成

**主流程在本文档**;两份配套参考按需查阅,不必通读:

| 文件 | 内容 | 何时读 |
|---|---|---|
| **`SKILL.md`**(本文) | 交互式澄清 + 第 0~9 步主流程 + 适配层契约 | 始终 |
| [`builders.md`](builders.md) | 按 builder 的 hash 更新流程、`flake.lock` 处置 | 第 4 步 |
| [`traps.md`](traps.md) | nixpkgs 漂移陷阱、fail-closed 校验、外链审计、Actions 更新、补丁内版本 | 第 2 步末尾(Actions)与第 7 步自检命中时 |

## 交互式澄清:一次流程内解决所有待定项

**在开始前先判断所运行的智能体是否支持交互式提问**(如 DSH 提供
`ask_user_question`,可一次提出多个问题并等待用户选择)。**支持就积极使用**
——凡是不确定、有多种合理做法、或必须由用户拍板的事项,**当场问**,不要
先按自己的猜测执行完、再让用户在下一条消息里纠正。

**为什么这条是强要求**:软件更新是**多决策点**流程(升级策略、跨大版本取舍、
依赖冲突的解法、通道选择、是否部署)。若每个决策点都退化成「猜一次 → 被纠正
→ 重来」,一次更新会膨胀成多轮往返,且**每次重来都要重跑构建**——而构建是
本流程最贵的环节(Rust/python 包动辄数十分钟)。把决策点前置到开始之前,
整个流程才可能**一次跑完**。

### 必须提问的情形

| 情形 | 为什么必须问 |
|---|---|
| **跨大版本升级**(3.x → 4.x) | 可能含 breaking change、新的硬性要求,或需要用户接受行为变化 |
| **依赖冲突有两种以上合理解法** | 如「抬依赖版本」vs「跳过该包」vs「打补丁放宽校验」——代价与风险差别很大,且有的会破坏上游安全契约 |
| **需要新增 overlay / 补丁 / 额外 vendored 包** | 增加维护面,属结构性改动 |
| **构建时长或体积显著增加** | 用户可能宁愿暂缓 |
| **通道选择**(stable / next / alpha) | 取决于用户想跟哪条线,技能无法推断 |
| **是否部署到运行中的系统** | 影响生产环境 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kihara777/nixkits/nix-flake-update-check@sha256:74e6a0b524349ed2

The line at the top of this page pins the label git:20261022.edd2bef, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_udscfzzg3ynsmxpy.svg)](https://markdownregistry.com/a/art_udscfzzg3ynsmxpy)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 18 versions of this file, between Sep 16, 2026 and Oct 22, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261022.edd2bef latest2026-10-22 edd2bef 49,055 BA view · diff
git:20261021.fa354162026-10-21 fa35416 47,268 BA view · diff
git:20261020.d0229792026-10-20 d022979 46,341 BA view · diff
git:20261017.ba7a5c12026-10-17 ba7a5c1 45,882 BA view · diff
git:20261015.674b1b42026-10-15 674b1b4 45,712 BA view · diff
git:20261015.c4599e82026-10-15 c4599e8 44,410 BA view · diff
git:20261002.6ff84e32026-10-02 6ff84e3 43,134 BA view · diff
git:20261002.c10de092026-10-02 c10de09 37,425 BA view · diff
git:20260927.c5022ea2026-09-27 c5022ea 32,082 BA view · diff
git:20260920.dac80a72026-09-20 dac80a7 31,446 BA view · diff
git:20260920.23e11a52026-09-20 23e11a5 30,930 BA view · diff
git:20260920.34368c12026-09-20 34368c1 29,973 BA view · diff
git:20260917.e0b1a642026-09-17 e0b1a64 24,828 BA view · diff
git:20260917.55674f22026-09-17 55674f2 39,185 BA view · diff
git:20260917.442e5d12026-09-17 442e5d1 37,227 BA view · diff
git:20260917.c7de9b62026-09-17 c7de9b6 35,210 BA view · diff
git:20260917.c08f5c92026-09-17 c08f5c9 28,728 BA view · diff
git:20260916.667bf6e2026-09-16 667bf6e 13,205 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (49055 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kihara777/nixkits · 28 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_udscfzzg3ynsmxpy
GET https://markdownregistry.com/api/v1/resolve?ref=kihara777/nixkits/nix-flake-update-check
GET https://markdownregistry.com/api/v1/blob/74e6a0b524349ed29173c0a7b29ad55d1f51fdb940c7229d58ca797d7a7a8954

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kihara777/nixkits

AGENTS.md AGENTS.md file
kihara777/nixkits · AGENTS.md
git:20261026.93adc54 · audit A · 28 stars
news-three-elements SKILL.md skill
kihara777/nixkits · packages/dsh-preset-news-three-elements/bundled/news-three-elements/SKILL.md · 以真实通讯社新闻格式编造「催逝快讯」——本技能里的「新闻三要素」不指新闻学那三样,而是三位必须到场的主角:巴兰尼科夫、尤丁采夫、布亚诺夫。触发词「新闻三要素」;含素材搜索、格式硬性要求、用语模板、宽松的拒绝服务判定(先当素材,接不回来才拒)…
git:20260915.a0759b1 · audit A · 28 stars
agent-self-maintenance SKILL.md skill
kihara777/nixkits · skills/agent-self-maintenance/SKILL.md · 用五个「会失败」的小机制让 AI 编码助手长期维护自己的记忆——日记闸门、开局对账、事实核查、自我观察、自检收据。适用于任何有 journal/ 与自检脚本的仓库;含各机制的判据与边界(目录缺失时说什么、数据为什么不能随机制搬走)。
git:20261104.8c7c4cc · audit A · 28 stars
news-three-elements SKILL.md skill
kihara777/nixkits · skills/news-three-elements/SKILL.md · 以真实通讯社新闻格式编造「催逝快讯」——本技能里的「新闻三要素」不指新闻学那三样,而是三位必须到场的主角:巴兰尼科夫、尤丁采夫、布亚诺夫。触发词「新闻三要素」;含素材搜索、格式硬性要求、用语模板、宽松的拒绝服务判定(先当素材,接不回来才拒)…
git:20260915.a0759b1 · audit A · 28 stars
nix-packaging SKILL.md skill
kihara777/nixkits · skills/nix-packaging/SKILL.md · 从零把一个上游软件打包成 Nix 表达式——按来源类型分流(GitHub 源码 / npm / Rust / 预编译二进制 / Gitea)、hash 的两段式获取(fakeHash → 读取 got → 回填 →…
git:20261024.8b180c4 · audit A · 28 stars
nixkits-check-updates SKILL.md skill
kihara777/nixkits · skills/nixkits-check-updates/SKILL.md · NixKits 仓库的软件包更新适配层——在通用技能 nix-flake-update-check 之上,补充本仓库特有的远端 issue / PR 形态(含与更新重叠的历史先例)、CI 结构(可复用 build-package.yml…
git:20261022.b63b636 · audit A · 28 stars
nixkits-package-upstream SKILL.md skill
kihara777/nixkits · skills/nixkits-package-upstream/SKILL.md · NixKits 的 nixpkgs 上游贡献适配层——在通用技能 upstream-audit 之上,补充本仓特有的环节:13 个包的可行性台账(谁已进 nixpkgs、谁有在途…
git:20261022.d025ef6 · audit A · 28 stars
nixkits-skills SKILL.md skill
kihara777/nixkits · skills/nixkits-skills/SKILL.md · 将 NixKits 技能安装或更新到编码助手目录(opencode、codewhale、codex、openclaw、agents)。支持本地和在线两种安装模式。DeepSeek Harness (dsh) 不再作为安装目标——其…
git:20261020.2e66963 · audit A · 28 stars
nixos-modern-cli SKILL.md skill
kihara777/nixkits · skills/nixos-modern-cli/SKILL.md · 在 NixOS 系统上工作时使用。确保正确使用现代 Nix/NixOS CLI、完整的 shell 能力、sudo 权限和正确的系统维护流程;含 Nix store 路径陷阱与密钥/`path:` input 的仓库外组织方式。
git:20260916.a33a3cf · audit A · 28 stars
nixos-specialisation-tuning SKILL.md skill
kihara777/nixkits · skills/nixos-specialisation-tuning/SKILL.md · 为 NixOS 设计 specialisation 分面(默认 headless + 可选桌面),并在统一内存(UMA)设备上调优 llama.cpp 本地推理。覆盖分面架构、引导菜单与默认面、分面切换后的运行级收敛与用户级…
git:20260922.8c276c0 · audit A · 28 stars
recover-nixos-config SKILL.md skill
kihara777/nixkits · skills/recover-nixos-config/SKILL.md · 当用户误删 /etc/nixos 目录下的文件(flake.nix、flake.lock 等)时,从 Nix store 中恢复。
git:20260606.7dad578 · audit A · 28 stars
translate-pseudocn SKILL.md skill
kihara777/nixkits · skills/translate-pseudocn/SKILL.md · 为文档撰写技能提供伪中国语(pcn)语言支持。以日语汉字词汇为基础、剥离平假名与片假名、保留日语语序的伪本地化。可被 write-project-docs 自动发现调用。
git:20260920.dac80a7 · audit A · 28 stars

Every file in kihara777/nixkits

Browse by kind, by grade A, or by owner.