Skip to main content

claude_startup_files

Function claude_startup_files 

Source
pub fn claude_startup_files(
    cwd: &Path,
    config_dir: Option<&Path>,
    home: Option<&Path>,
) -> Vec<StartupFile>
Expand description

Claude’s startup files for a session in cwd, in the order the CLI loads them: the user’s CLAUDE.md (in config_dir, else ~/.claude), then each folder from the filesystem root down to cwd (its CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md), each file followed by what it imports; then the skill listing and the MCP servers of cwd.