Comment by jitix
4 days ago
I like this idea. Do you have any middleware in your current setup that added the contents of this directory to the agent prompt?
4 days ago
I like this idea. Do you have any middleware in your current setup that added the contents of this directory to the agent prompt?
I'd be interested in smarter ways of doing this, but currently I just use my CLAUDE.local.md to serve as the index.md in my example. It includes the 'specialist' .md files with their relative paths and descriptions, and tells Claude Code to use these when planning.
I also have explicit `xnew`, `xplan`, `xcode` and `xcheck` commands in CLAUDE.md that reinforce this. For example, here's my `xnew`:
Claude supports slash commands, this might be better for you: https://docs.anthropic.com/en/docs/claude-code/slash-command...
As well as custom agents: https://docs.anthropic.com/en/docs/claude-code/sub-agents
There’s also [.claude/agents/](https://docs.anthropic.com/en/docs/claude-code/sub-agents), which doesn’t contain docs for agents but separate sub-agent definitions.
I'm building a little tool like this for myself. It's almost ready to be open-sourced. Just need to clean up some code and write better documentation.
So just the remaining 80%
I was at 80% a month ago. Now just 1% remains so, give or take 3 years more.