Borrowing it
Nothing to install: this file belongs to MCB-SMART-BOY/nixos-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MCB-SMART-BOY/nixos-config/solo/.claude/skills/package/SKILL.mdgit clone --depth 1 https://github.com/MCB-SMART-BOY/nixos-configWrote 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/mcb-smart-boy/nixos-config/package)<a href="https://agentmods.dev/skills/mcb-smart-boy/nixos-config/package"><img src="https://agentmods.dev/badge/skills/mcb-smart-boy/nixos-config/package.svg" alt="Measured on agentmods" 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.00038 | $0.02281 |
| Opus 5 | $0.00019 | $0.01141 |
| Sonnet 5 | $0.00008 | $0.00456 |
| Haiku 4.5 | $0.00004 | $0.00228 |
Grade A, and why
package 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 3d 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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Package
决策:包放哪里?
NixOS 系统包与 mcbctl 用户包分属两个项目:
NixOS 系统级服务/守护进程? → modules/packages.nix 或 modules/services/
mcbctl 用户软件? → /home/admin/mcbctl/profiles/<name>.nix
临时使用? → nix shell nixpkgs#pkg(不写配置)
编辑器插件? → mcbctl nixvim/HM 模块;语言工具按生态归属
Flatpak 应用? → machines/<machine>/default.nix 的 mcb.flatpak.apps/removeApps
Flatpak 策略
mcb.flatpak.apps(默认[])声明该机器应安装的系统级应用;它不是独占清单,未列出的已安装应用会保留mcb.flatpak.removeApps(默认[])是卸载系统级应用的唯一授权;仅显式列出的 ID 会移除,且不使用--delete-dataapps与removeApps必须互斥;冲突会在求值时失败mcb.flatpak.overrides仍通过flatpak override --system全局生效,可能影响未由apps管理的应用;“保留”仅指安装成员关系- 当前
nixos机器声明安装com.tencent.WeChat、com.qq.QQ、io.github.Predidit.Kazumi,显式移除 Flatpakcom.tencent.wemeet;已有 YesPlayMusic 会保留但新机器不会自动安装,Nix 版 Wemeet 保留 - 协调/更新实现位于
scripts/flatpak-system.sh;modules/services/desktop.nix只用writeShellApplication注入flatpak/jq/flock、生成 JSON policy 并连接 systemd - 当前
nixos机器使用 nixpkgswemeet,保留 nixpkgs 默认集成的社区wemeet-wayland-screensharecompatibility hook;modules/desktop.nix按顺序为 niri 26.04 应用 SHM backport,再应用基于6c1613c的 DMA-BUF 协商与 SHM metadata runtime fixes;mcbctl 的profiles/china-apps.nix提供wemeet、wemeet-xwayland与wemeet-xwayland-mesa三条入口,mcbctl 的home/desktop.nix默认调用wemeet-xwayland-mesa wemeet-wayland-screenshare上游已经归档;当前日志已证明远端视频能接收并解码,但 Native 与普通 XWayland 的 EGL window surface 都返回 error 3005,故默认桌面入口使用 XWayland + Mesa EGL;Native 与普通 XWayland 入口仍保留用于后续 A/B,不能把构建或解码日志等同于最终显示验证
用户桌面 capability
- mcbctl
home/default.nix声明mcb.desktop.providers.kazumi、steam、wemeet、clashVerge;home/desktop.nix只为 provider 为真的能力生成对应 desktop entry。 profiles/gaming.nix默认提供 Steam provider,profiles/china-apps.nix默认提供 WeMeet provider;Kazumi 与 Clash Verge 需由调用方显式提供,NixOS adapter 不从系统选项推断宿主 capability。- standalone target 默认只组合
homeModules.default;Linux 调用方通过desktopEnvironment = "niri"显式组合homeModules.linux与homeModules.niri。Darwin target 不生成这些主机特定入口。需要 NixOS wrapper、nixdhost options 或/run/wrappers时,额外导入homeModules.nixos。
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.
- 3d ago Changed · +7 lines e9003a5be46a
- 8d ago First seen · 79 lines · 38 tokens per session scan A 7c507d0d10a3
package is a skill published in the GitHub repository MCB-SMART-BOY/nixos-config (10 stars, last pushed 3d ago), licensed Apache-2.0. It adds 38 tokens to every session and 2,281 once invoked, about $0.0002 per session on Opus 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-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…