opsward.scan#
- opsward.scan(project_root, *, claude_config_dir=<object object>)[source]#
Scan project_root and return a ScanResult.
claude_config_diris the user’s Claude Code config dir, whoseskills/is the global scope a project skill competes with (shadowing, listing budget). It defaults todefault_claude_config_dir(); passNoneto read nothing outside the project (tests, portable goldens). Reading it is still read-only.>>> import tempfile, pathlib >>> r = scan(pathlib.Path(tempfile.mkdtemp()), claude_config_dir=None) >>> r.project_type, r.global_skills (<ProjectType.unknown: 'unknown'>, [])
- Return type: