Imported from dryvist/nix-agy (
AGENTS.md). Install upstream withnpx skills add dryvist/nix-agy. Copyright stays with the author.
nix-agy - AI Agent Instructions
All agy / Gemini-CLI-specific Nix config. Stranger-consumable: every input is a function argument, nothing homelab-specific is baked in.
Critical constraints
lib/render-autonomous.nixstays pkgs-free. Onlylib. The Policy Engine TOML is hand-rendered because of this — do not "improve" it intopkgs.formats.toml.- Byte-compatible with
nix-ai's gemini render while both exist. Changing whitespace or the generated-by header breaks that. - Autonomous profile is container-only. No home-manager code path may render it onto a host filesystem.
- Paths are
.gemini/, not.agy/— the CLI binary isgemini. - git-flow: feature branches off
develop;mainis the release branch. Conventional-commit subjects only.
Validation
nix flake check
nix fmt
Follow-up
- Migrate the interactive module from
nix-ai/modules/antigravity-clihere.