원클릭으로
scaffold-minimal-flake
Use when the user asks to scaffold a minimal Nix flake for a project that does not have one.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when the user asks to scaffold a minimal Nix flake for a project that does not have one.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use when the user wants to set up, configure, or review `.agentsbox/config.toml` for a project — e.g. "set my default agent to claude", "add a published port for my dev server", "persist my cargo/pip/go cache across `agentsbox enter` runs", "configure agentsbox for this repo", or any time they want to extend the project config without clobbering existing keys. Inspects the project to propose `[[ports]]` and `[[volumes]]` and writes valid TOML directly (the `agentsbox` CLI isn't available in-box).
Use for cross-repo questions. Relay a message to another agentsbox agent and return its answer.
SOC 직업 분류 기준
| name | scaffold-minimal-flake |
| description | Use when the user asks to scaffold a minimal Nix flake for a project that does not have one. |
Create the smallest useful flake.nix for a programming project. Add only the runtime and package manager to devShells.default. Do not add build logic, formatters, linters, extra dev tools, additional shells, lock files, or project-specific automation unless the user explicitly asks.
Guard. Check for flake.nix at the project root.
Detect runtime.
package.json, lockfiles, tsconfig.json, or common source files.go.mod, go.sum, or common Go source files.Read version hints.
.node-version, .nvmrc, package.json engines.node, devEngines.runtime.version, or packageManager.go.mod go directive and toolchain directive.Map to Nix packages.
nixos-26.05 channel. If the selected runtime or package-manager version is not available there, use nixos-unstable instead and tell the user.nodejs_20, nodejs_22, go_1_22, go_1_23, etc.).nodejs or go).pnpm, yarn, bun, or npm via nodejs). If none is clear, install only nodejs.Write flake.nix.
devShells.default.Replace <!-- runtime --> and optionally <!-- package-manager --> with the selected packages:
{
description = "Development shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs = { nixpkgs, ... }:
let
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs systems;
in
{
devShells = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.mkShell {
packages = [
<!-- runtime -->
<!-- package-manager -->
];
};
});
};
}
For npm projects, omit the package-manager line; pkgs.nodejs already provides npm.
>=20, ^20.11.0, 20.x, 20.11.0 → Node 20. >=20 <23 → lowest matching major with a stable Nix package..nvmrc values like lts/*, node, or stable → pkgs.nodejs.packageManager priority: package.json field, then lockfiles (pnpm-lock.yaml, yarn.lock, package-lock.json/npm-shrinkwrap.json, bun.lock/bun.lockb).packageManager values like pnpm@9.12.0 → preserve the tool; pin the major only when a matching Nix attribute exists.toolchain go1.N.P over go 1.N.nixpkgs attributes or the stable default; fall back to nixos-unstable only when the selected version is missing from nixos-26.05.Update the default nixos-26.05 channel in this skill when a newer stable NixOS release becomes the project's standard pin.