| name | register-repo |
| description | Register a repository — delegate a Claude Code session to explore the codebase and create a structured profile. Use when the user says "register repo", "add this repo", or wants a repository profile created. |
Register Repository (delegate)
The user wants to register a repository. Delegate to a Claude Code session — the session does the exploration, not you.
- Figure out the path — from user input, task context, or ask if unclear.
- Find the session-side skill — look in
<available_skills> for walnut-register-repo and note its <location> path.
- Start a session with:
working_directory: the target repo path
prompt: "Read the skill at {location} and follow its instructions to explore this codebase and register it as a repository." Include any extra context the user provided.
- After session completes — verify with
file_read source='repos/{slug}'.
Do NOT investigate the codebase yourself. Do NOT ask the user a bunch of questions. The session + skill handles everything.