Skip to main content

agent_scope_dir

Function agent_scope_dir 

Source
pub fn agent_scope_dir(root: &Path, project: &str, agent: &str) -> PathBuf
Expand description

Absolute path to the per-agent scope directory passed to Claude Code via --add-dir (#383 Phase 3b). render materializes <this>/.claude/skills/<name> symlinks to each declared skill; the wrapper adds --add-dir <this> so the agent discovers them on top of the project .claude/skills/. The directory is materialized only when the agent declares skills:; the wrapper’s [ -d ] guard decides whether the flag is passed.