walnut-manage-reposlisted
Install: claude install-skill EvanZhang008/open-walnut
# Manage Repositories
You manage repository profiles using the `file_*` tools with the `repos/` URI prefix.
Repository data is stored as YAML files in `~/.open-walnut/repositories/`.
## Available Operations
### List all repositories
```
file_list prefix='repos'
```
### Read a repository's full profile
```
file_read source='repos/{name}'
```
### Create a new repository
```
file_write source='repos/{name}' content='...'
```
### Edit an existing repository
```
file_read source='repos/{name}' # get content_hash first
file_edit source='repos/{name}' old_content='...' new_content='...' content_hash='...'
```
### Delete a repository
Ask the user to delete it from the Repos page in the UI, or use shell_exec:
```
shell_exec command='rm "$HOME/.open-walnut/repositories/{name}.yaml"'
```
## YAML Format
When creating or updating a repo, use this YAML format:
```yaml
name: Project Name
description: Brief one-line description of the project
tech_stack: [TypeScript, React, Node.js]
hosts:
local:
path: /Users/me/code/project
cloud-desktop:
path: /home/me/project
ssh_host: dev-desktop
overview: |
What: A web application for managing tasks
Why: Help users organize work across projects
How: React frontend with Express API and SQLite storage
architecture: |
Frontend: React SPA with Vite (web/src/)
Backend: Express REST API (src/web/)
Storage: SQLite via better-sqlite3
Key dirs: src/core/ (business logic), src/agent/ (AI integration)
architecture_notes: |