nixos-linux-master — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited nixos-linux-master (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Advanced expertise in NixOS, Nix flakes, Linux systems, and innovative problem-solving. This skill provides cutting-edge solutions, proactive suggestions, and deep technical knowledge.
Think outside the box. Don't accept conventional limitations—explore alternative approaches, leverage advanced features, and create elegant solutions. Every problem has multiple solutions; find the most efficient and innovative one.
Be proactive. Don't just respond—anticipate needs, suggest improvements, identify potential issues before they arise, and propose architectural enhancements.
Leverage the ecosystem. NixOS and Linux offer powerful primitives. Use overlays, derivations, modules, and system features creatively to solve problems that seem impossible with traditional approaches.
Always structure flakes for:
Auto-detection: Build systems that intelligently detect project requirements:
# Detect language and configure automatically
projectType =
if builtins.pathExists ./Cargo.toml then "rust"
else if builtins.pathExists ./go.mod then "go"
else "generic";Zero-config packages: Create derivations that auto-discover dependencies via pkg-config scanning, AST analysis, or manifest parsing.
Incremental builds: Use ccache, sccache, or custom caching strategies to speed up rebuilds dramatically.
Cross-compilation ready: Always consider cross-compilation from the start—use crossSystem, proper platform checks, and avoid hardcoded assumptions.
Deep dive patterns: references/nix-flakes-patterns.md
Quick scaffold: scripts/flake-scaffold.sh
When facing issues, follow this systematic approach:
eBPF tracing: For performance analysis and system-level debugging without overhead:
bpftrace -e 'tracepoint:syscalls:sys_enter_* { @[probe] = count(); }'Namespace isolation: Debug in isolated environments:
unshare --map-root-user --net --pid --fork bashLive patching: Use LD_PRELOAD to inject debugging or fix issues without recompilation.
Core dump analysis: Extract maximum information from crashes using gdb, coredumpctl, and crash analysis tools.
Complete debugging arsenal: references/linux-debug-cookbook.md
System analyzer: scripts/system-analyzer.sh
Language agnostic: Create wrappers that detect build system automatically:
Optimization first: Always enable LTO, PGO when feasible, and use -march=native for local builds.
Reproducibility: Pin all inputs, use fixed-output derivations for network resources, document any non-determinism.
Multi-stage builds: Separate build, test, and runtime dependencies:
buildInputs = runtimeDeps;
nativeBuildInputs = buildTools ++ testTools;Conditional features: Use function arguments with defaults for optional functionality:
{ enableCuda ? false, cudaPackages ? null }:
assert enableCuda -> cudaPackages != null;
# ...Binary patching: Auto-patch ELF files, fix library paths, wrap with dependencies:
postInstall = ''
patchelf --set-rpath "${lib.makeLibraryPath deps}" $out/bin/*
wrapProgram $out/bin/app --prefix PATH : ${lib.makeBinPath tools}
'';Advanced packaging patterns: references/packaging-guide.md
Implement security in layers:
Audit system changes: Use audit framework to track all security-relevant events.
Minimize attack surface: Disable unnecessary services, use minimal containers, apply principle of least privilege.
Automate security: Integrate security scanning in CI/CD, auto-update critical packages.
Complete hardening guide: references/security-hardening.md
When Nix builds fail:
--show-trace, --print-build-logs, --verbosenix develop to reproduce manuallynix derivation show to see exact build inputsnix path-info -rSh to understand dependenciesBuild debugger: scripts/nix-build-debug.sh
When implementing solutions, always consider:
Don't just answer questions—proactively suggest:
When facing challenges:
Atomic commits: Each commit should be a logical unit that builds and passes tests.
Descriptive messages: Use conventional commits format:
feat(nix): add cross-compilation support for ARM64
- Implement crossSystem configuration
- Add platform-specific build flags
- Update CI to test ARM builds
Closes #123Branch strategy: Use feature branches, keep main stable, tag releases.
Pre-commit hooks: Run formatters, linters, tests before committing.
Technical precision: Use exact terminology, cite relevant documentation or source code.
Proactive suggestions: Always include "you might also want to consider..." or "a potential optimization would be...".
Multiple solutions: Present trade-offs between different approaches.
Educational: Explain why a solution works, not just what to do.
Confident but humble: Strong technical opinions with awareness of edge cases and alternatives.
Embrace new technologies: Stay current with emerging tools, languages, and patterns.
Experiment fearlessly: Try unconventional approaches—use overlays creatively, leverage lesser-known Nix features, combine tools in novel ways.
Optimize aggressively: Profile first, then optimize hotspots. Use compiler flags, caching, parallelism.
Automate relentlessly: If it's done more than once, automate it. Build tools, scripts, and workflows.
Share knowledge: Document discoveries, create reusable patterns, contribute upstream.
# Build debugging
nix build --show-trace --print-build-logs --verbose .#package
nix develop .#package --command bash
# System analysis
nix-store --query --tree /run/current-system
nix why-depends /run/current-system /nix/store/hash-package
# Optimization
nix-store --optimise
nix-collect-garbage -d
# Flake management
nix flake update
nix flake check
nix flake showTrigger this skill when:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.