nixpkgs-pr-review

nixpkgs-pr-review is a skill for Claude Code, Codex from shikanime-labs/skills. It costs 41 tokens per session (2,204 once invoked), scanned A, original, Apache-2.0.

A review procedure for pull requests in NixOS/nixpkgs, the package collection and operating-system codebase for NixOS. It builds changed packages with nixpkgs-review and checks the changes against project conventions before reporting a recommendation.

In plain words
What is it for?
It is for reviewing upstream nixpkgs pull requests, including changes to packages, modules, libraries, and tests. It reports findings and does not approve or merge automatically.
Why use it?
It makes review evidence more concrete by testing affected packages and checking the project's expected style before approval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for reviewing upstream nixpkgs pull requests, including changes to packages, modules, libraries, and tests. It reports findings and does not approve or merge automatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shikanime-labs/skills/nixpkgs-pr-review
Install

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.

Any agent
npx skills add shikanime-labs/skills --skill nixpkgs-pr-review
Clone the repo
git clone --depth 1 https://github.com/shikanime-labs/skills

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 nixpkgs-pr-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/shikanime-labs/skills/nixpkgs-pr-review/github.svg)](https://agentmods.dev/skills/shikanime-labs/skills/nixpkgs-pr-review)
Your own site
<a href="https://agentmods.dev/skills/shikanime-labs/skills/nixpkgs-pr-review"><img src="https://agentmods.dev/badge/skills/shikanime-labs/skills/nixpkgs-pr-review/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 nixpkgs-pr-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/shikanime-labs/skills/nixpkgs-pr-review"><img src="https://agentmods.dev/badge/skills/shikanime-labs/skills/nixpkgs-pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,204 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.00041 $0.02204
Opus 5.5 $0.00016 $0.00882
Sonnet 5.5 $0.00008 $0.00441
Haiku 4.5 $0.00004 $0.00220

Measured 7d ago against content hash 6b29b11770d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nixpkgs-pr-review 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 7d 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/nixpkgs-pr-review/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nixpkgs PR Review

Review upstream NixOS/nixpkgs pull requests through the official contribution process: build every package the PR changes with nixpkgs-review, then check the diff against nixpkgs conventions before deciding on approval. Reports only — never auto-approve or merge without the maintainer's go-ahead.

This skill is grounded in a real modernization PR, NixOS/nixpkgs#557075 (ghstack: modernize), used below as the running example.

When to Use

  • "review this nixpkgs PR", "check PR #N on NixOS/nixpkgs", "is this package update good to merge"
  • Requested as a reviewer on an upstream nixpkgs PR
  • Any PR touching pkgs/, pkgs/by-name/, nixos/modules/, lib/, pkgs/test/, or nixos/tests/ in nixpkgs

Prerequisites

  • A full (non-shallow) local nixpkgs clone. Shallow clones miss merge bases and nixpkgs-review fails on them: git clone https://github.com/NixOS/nixpkgs (add --depth is NOT supported).
  • nix available (Lix or Nix ≥ 2.18). nixpkgs-review is packaged: nix run 'nixpkgs#nixpkgs-review' -- ... or nix shell nixpkgs#nixpkgs-review.
  • gh authenticated if posting the result as a PR comment.
  • Optional but recommended: nom (nix-output-monitor) for readable build logs; glow and delta for rendered markdown/diffs. Skipped silently if absent.

Quick Reference

cd ~/git/nixpkgs
nixpkgs-review pr <PR#>                # build changed packages, drop into shell
nixpkgs-review pr <PR#> --post-result  # build + post markdown result to the PR
nixpkgs-review pr <PR#> --print-result --no-shell
nixpkgs-review pr <PR#> --systems aarch64-linux
nixpkgs-review pr <PR#> --run 'cat report.json'
nixpkgs-review pr <PR#> --no-shell --post-result
nixpkgs-review rev HEAD                # review a local commit/branch
nixpkgs-review wip                     # review uncommitted working-tree changes
nixpkgs-review pr <PR#> --extra-nixpkgs-config '{ cudaSupport = true; }'

Read the full file on GitHub · 191 lines

Files

What ships with it

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

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. 7d ago Changed 6b29b11770d0
  2. 17d ago Changed · +1 lines 16cee0f68523
  3. 19d ago Changed · +3 lines 35ba210e4663
  4. 26d ago First seen · 187 lines · 41 tokens per session scan A 1655b360c099

Subscribe to this mod's changes

nixpkgs-pr-review is a skill published in the GitHub repository shikanime-labs/skills (2 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 2,204 once invoked, about $0.0002 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-09-23.

Related

Other skills, from other repositories

readme-template

Standard README template for repos — professional structure with badges, overview, table of contents, features/modules, stack, installation, configuration, tests, security, structure, docs, roadmap, contribute, license, author + RepoActivity sections (Star History, repo stats) + profile GIF footer. Use when creating…

pedroiff0/awesome-skills · 72 tokens

docker-single-port-multi-instance

Consolidate multiple Docker Compose app instances (production / test / demo) behind ONE host port using an nginx reverse proxy that routes by URL path prefix (e.g. /demo). Use when a user wants 'one port, several apps/banks' or a demo reachable simultaneously from the main landing page with its own database.

pedroiff0/awesome-skills · 73 tokens

fable-judge

Adversarial verification of finished work: re-runs the claimed verifications, diffs what changed, detects false "done" claims, delivers an evidence-based verdict (VERIFIED / VERIFIED WITH CAVEATS / REFUTED). Use after any agent or model claims work is complete — "/fable-judge", "judge this work", "verify what it did".…

oleg494/coding-kit · 98 tokens

dogfood

Exploratory QA of web apps: find bugs, evidence, reports.

pedroiff0/awesome-skills · 18 tokens

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

adversarial-reviewer

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…

emdash-cms/emdash · 72 tokens