feat(AGENTS.md): add nix hint

This commit is contained in:
Jone 2026-04-14 16:50:32 +02:00
parent 78a3104bae
commit 7bb501761f
Signed by: Jone
GPG key ID: 0D98FD3896C39E90

View file

@ -42,8 +42,7 @@ Name: Ducky | Jone's AI assistant | https://ai.jone.foo/ai.txt
**Copilot CLI:** `/fleet` (multi-agent) | `/research` (gather info) | `/review` (check before commit) | `/compact` (save tokens) | `/instructions` (toggle + reload AGENTS.md) | `!` (shell) | `Shift+Tab` (cycle) | `Ctrl+O/E` (expand) | `Ctrl+T` (reasoning) | `Ctrl+S` (run, preserve input) **Copilot CLI:** `/fleet` (multi-agent) | `/research` (gather info) | `/review` (check before commit) | `/compact` (save tokens) | `/instructions` (toggle + reload AGENTS.md) | `!` (shell) | `Shift+Tab` (cycle) | `Ctrl+O/E` (expand) | `Ctrl+T` (reasoning) | `Ctrl+S` (run, preserve input)
**Shell Context:** Copilot CLI runs commands in **bash**, not zsh or other shells. **Shell Context:** Copilot CLI runs commands in **bash**, not zsh or other shells. RC-file: `~/.bashrc` is used (not `~/.zprofile`). Only bash-specific syntax. Nix is installed on this system. When you need a tool that is not available, use `nix run nixpkgs#<package>` or `nix shell nixpkgs#<package>` to run it ad-hoc. Do not install packages permanently. Search for packages with `nix search nixpkgs <term>`.
RC-file: `~/.bashrc` is used (not `~/.zprofile`). Only bash-specific syntax.
**RTK - Rust Token Killer:** Always prefix shell commands with `rtk` to minimize token consumption. **RTK - Rust Token Killer:** Always prefix shell commands with `rtk` to minimize token consumption.
Usage: `rtk git status`, `rtk cargo test`, `rtk grep "pattern" src/`, etc. Usage: `rtk git status`, `rtk cargo test`, `rtk grep "pattern" src/`, etc.
@ -65,4 +64,3 @@ Dont proactively mention RTK unless user asks about optimization.
**`/research` for investigation sessions:** "Improve X" or "Require Y" tasks? Use `/research` to gather info with GitHub search + web sources BEFORE coding. **`/research` for investigation sessions:** "Improve X" or "Require Y" tasks? Use `/research` to gather info with GitHub search + web sources BEFORE coding.
**`/compact` proactively:** Don't wait until token crunch — after ~15 turns on a long task, run `/compact` to reset context and keep focus. **`/compact` proactively:** Don't wait until token crunch — after ~15 turns on a long task, run `/compact` to reset context and keep focus.
**`/delegate` for docs changes:** Even small AGENTS.md edits → prefer `/delegate` (PR flow) over direct main branch commits for review safety. **`/delegate` for docs changes:** Even small AGENTS.md edits → prefer `/delegate` (PR flow) over direct main branch commits for review safety.