Register a repository: start a Claude Code session that explores the codebase and creates a structured profile. Use when the user says "register repo", "add this repo", or wants a repository profile created.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Walnut Register Repo Dispatch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/evanzhang008-walnut-register-repo-dispatch)
---
name: walnut-register-repo-dispatch
description: >-
Register a repository: start a Claude Code session that explores the
codebase and creates a structured profile. Use when the user says
"register repo", "add this repo", or wants a repository profile created.
---
# Register Repository (session-driven)
The user wants to register a repository. Hand it to a Claude Code session: the session does the exploration, not you.
1. **Figure out the path** from user input, task context, or ask if unclear.
2. **Find the session-side skill**: `walnut-register-repo` (read it with `skill_read {"dirName":"walnut-register-repo"}`).
3. **Start a session** (`session_start`) with:
- `working_directory`: the target repo path
- `prompt`: "Read the Walnut skill walnut-register-repo (`walnut tools call skill_read '{\"dirName\":\"walnut-register-repo\"}'`) and follow its instructions to explore this codebase and register it as a repository." Include any extra context the user provided.
4. **After the session completes**, verify with
`walnut tools call api '{"method":"GET","path":"/api/repositories/{slug}"}'`.
Do NOT investigate the codebase yourself. Do NOT ask the user a bunch of questions. The session + skill handles everything.