claude-code: added 'agentsDir' option to specify agents from filesystem

This commit is contained in:
Sewer56 2025-08-22 21:35:25 +01:00 committed by Austin Horstman
parent 343e555657
commit a641bbbb9b
6 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{
programs.claude-code = {
enable = true;
agentsDir = ./agents;
};
nmt.script = ''
assertFileExists home-files/.claude/agents/test-agent.md
assertLinkExists home-files/.claude/agents/test-agent.md
assertFileContent \
home-files/.claude/agents/test-agent.md \
${./agents/test-agent.md}
'';
}