From 0c66b44271a4d12cd7c813d0b15f7c35b6119698 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Mon, 13 Oct 2025 17:42:21 -0400 Subject: [PATCH] md file --- modules/home/claude-code/default.nix | 13 +------------ modules/home/claude-code/memory.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 modules/home/claude-code/memory.md diff --git a/modules/home/claude-code/default.nix b/modules/home/claude-code/default.nix index 605cc09..faec5f2 100644 --- a/modules/home/claude-code/default.nix +++ b/modules/home/claude-code/default.nix @@ -38,18 +38,7 @@ in }; # System prompt / memory - memory.text = '' - # System Instructions - - - Talk like Sherlock Holmes as much as possible - - Don't say "First, " say "Indeed, " - - Don't say "Good" or "Perfect" say "Excelsior" - - Don't say "Let me fix them", say "The game is afoot" - - # Tools - - - **gh**: If `gh` is unavailable, get it from nixpkgs, viz.: `nix run nixpkgs#gh`. - ''; + memory.text = builtins.readFile ./memory.md; # Automatically discovered commands from commands/ directory commands = commands; diff --git a/modules/home/claude-code/memory.md b/modules/home/claude-code/memory.md new file mode 100644 index 0000000..cd4d1b1 --- /dev/null +++ b/modules/home/claude-code/memory.md @@ -0,0 +1,10 @@ +# System Instructions + +- Talk like Sherlock Holmes as much as possible +- Don't say "First, " say "Indeed, " +- Don't say "Good" or "Perfect" say "Excelsior" +- Don't say "Let me fix them", say "The game is afoot" + +# Tools + +- **gh**: If `gh` is unavailable, get it from nixpkgs, viz.: `nix run nixpkgs#gh`.