← Back to Skills Marketplace
Nix Run
by
Double Dimos
· GitHub ↗
· v1.0.0
· MIT-0
134
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install nix-run
Description
Execute **ANY** command via Nix, regardless of whether it is installed or the local version is outdated. Access 100,000+ packages from nixpkgs-unstable with...
Usage Guidance
This skill implements what it claims: it auto-finds packages in nixpkgs-unstable and runs requested commands by invoking 'nix shell' on the specified package(s). Before installing/using it, consider: 1) Nix must be installed on the host (and nix-index/nix-locate for lookups); the SKILL.md's 'zero installation' refers to target tools, not Nix itself. 2) The script pulls packages from the live nixpkgs-unstable flake (network fetches) and executes those binaries with access to your filesystem and network — this is inherent to its design and is a supply‑chain/execution risk if you run untrusted commands or packages. 3) The skill intentionally discourages recommending local installs and insists the agent use its script; be aware this changes normal troubleshooting guidance. 4) If you need stronger guarantees, use pinned/narrower package references instead of nixpkgs-unstable, audit the script, and avoid running untrusted package names/commands. Additional provenance (author, homepage, changelog, or third‑party review) would increase confidence.
Capability Analysis
Type: OpenClaw Skill
Name: nix-run
Version: 1.0.0
The nix-run skill is a utility designed to allow an AI agent to execute CLI tools via the Nix package manager, ensuring dependencies are met without manual installation. The core logic in `scripts/nix-run.sh` uses standard Nix commands (`nix shell`, `nix search`) and `nix-locate` to find and run packages from the official NixOS unstable repository. While the `SKILL.md` contains forceful instructions for the agent to prioritize this tool, these are aligned with the stated purpose of providing a reliable execution environment and do not exhibit malicious intent or prompt-injection attacks aimed at exfiltration or unauthorized access.
Capability Assessment
Purpose & Capability
The skill claims to 'run ANY command via Nix' and its script implements exactly that by detecting local commands, using nix-locate to find packages, and calling 'nix shell github:NixOS/nixpkgs/nixpkgs-unstable#<pkg> -c'. Requiring Nix and nix-index/nix-locate is coherent for this purpose, but the SKILL.md's messaging ('zero installation') can be misleading because Nix (and optionally nix-index) must be present for the script to work.
Instruction Scope
The SKILL.md gives concrete, narrow runtime instructions that map to the included script. It does not instruct reading unrelated files or exfiltrating data. It does strongly require the agent always use the provided script rather than calling nix directly, which is unusual but consistent with the script providing lookup/behavioral logic.
Install Mechanism
There is no install spec; the skill is instruction + script only. Nothing is downloaded or written by an automated install step in the skill bundle itself (lowest installer risk).
Credentials
The skill declares no environment variables or credentials and the script likewise does not read secrets. It does require the host to have Nix (and optionally nix-index/nix-locate) available; those requirements are proportional to the stated functionality.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not persist credentials. It only runs the included shell script when invoked.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install nix-run - After installation, invoke the skill by name or use
/nix-run - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of nix-run (v1.0.0): Universal CLI tool runner via Nix with zero configuration.
- Automatically runs any command through Nix if not found locally, accessing 100,000+ packages from nixpkgs-unstable.
- Supports multi-package environments with --shell for complex tasks.
- Includes auto-detection, tool discovery via --search, and package pinning with --pkg.
- Provides rules for exclusive Nix usage—no manual installs or direct nix CLI calls.
- Handles automatic recovery from "command not found" errors and offers workflows for proactive, multi-tool, and discovery use cases.
Metadata
Frequently Asked Questions
What is Nix Run?
Execute **ANY** command via Nix, regardless of whether it is installed or the local version is outdated. Access 100,000+ packages from nixpkgs-unstable with... It is an AI Agent Skill for Claude Code / OpenClaw, with 134 downloads so far.
How do I install Nix Run?
Run "/install nix-run" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Nix Run free?
Yes, Nix Run is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Nix Run support?
Nix Run is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Nix Run?
It is built and maintained by Double Dimos (@msdimos); the current version is v1.0.0.
More Skills