nushell
Installation
SKILL.md
ccusage Nushell
Use this skill for repository scripts written in Nushell, especially under
.github/scripts/ and apps/ccusage/scripts/.
Runtime Shape
- Prefer executable
.nuscripts with a Nix shebang over addingnushellto a GitHub Actions profile install. - Use
#!/usr/bin/env nixplus anix shell --inputs-fromline when the script needs tools that should be pinned by the flake. - Keep the shebang tool list to commands the script directly invokes.
- It is acceptable for a Nu script to call external tools such as
gh,jq,git,hyperfine,pnpm,node, orbunwhen those tools are the right boundary. Prefer the shebang Nix shell to global installs.
Example: