Add a project to observation sources
Registers a project directory as a source for homunculus observations, checking for required configuration.
When to use
Use this when you want to include a new project's data in the homunculus observation aggregation system.
How to invoke
both
npx claudepluginhub cyotee/homunculusAdd a project path to the homunculus observation sources.
First, check if current working directory has a .claude/ directory:
test -d ".claude" && echo "HAS_CLAUDE" || echo "NO_CLAUDE"
If user provides a path argument: Use that path.
If no argument AND current directory has .claude/:
Offer to add the current directory.
If no argument AND no .claude/ in current directory:
No .claude/ directory found in current project.
Specify a path: /homunculus:add-source /path/to/project
"${CLAUDE_PLUGIN_ROOT}/scripts/add-source.sh" "<path>"
ADDED:
Added: /path/to/project
Observations from this project will be included in /homunculus:aggregate.
EXISTS:
Already configured: /path/to/project
INVALID:
Path does not exist: /path/to/project
Suggest next steps:
Use /homunculus:sources to see all configured sources.
Use /homunculus:aggregate to collect observations.