@nemus-cli/nemus 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -1
- package/README.md +5 -0
- package/assets/README.md +5 -0
- package/assets/avatar-500.png +0 -0
- package/assets/social-preview.png +0 -0
- package/package.json +1 -3
- package/skills/analyze-deps.md +0 -7
- package/skills/archive-workspace.md +0 -8
- package/skills/branch-create.md +0 -7
- package/skills/create-workspace.md +0 -9
- package/skills/delete-workspace.md +0 -11
- package/skills/list-org-repos.md +0 -7
- package/skills/list-suites.md +0 -6
- package/skills/list-workspaces.md +0 -7
- package/skills/nemus/references/ai-prompt.md +0 -8
- package/skills/nemus/references/analyze-deps.md +0 -7
- package/skills/nemus/references/archive-workspace.md +0 -7
- package/skills/nemus/references/branch-create.md +0 -5
- package/skills/nemus/references/branch-merge.md +0 -5
- package/skills/nemus/references/branch-rebase.md +0 -5
- package/skills/nemus/references/cache-clear.md +0 -5
- package/skills/nemus/references/cache-info.md +0 -5
- package/skills/nemus/references/configure-claude.md +0 -5
- package/skills/nemus/references/configure.md +0 -5
- package/skills/nemus/references/create-workspace.md +0 -5
- package/skills/nemus/references/dashboard.md +0 -11
- package/skills/nemus/references/delete-workspace.md +0 -5
- package/skills/nemus/references/generate-docs.md +0 -7
- package/skills/nemus/references/ghq-status.md +0 -9
- package/skills/nemus/references/go.md +0 -7
- package/skills/nemus/references/history.md +0 -13
- package/skills/nemus/references/list-org-repos.md +0 -5
- package/skills/nemus/references/list-suites.md +0 -5
- package/skills/nemus/references/list-workspaces.md +0 -5
- package/skills/nemus/references/mcp.md +0 -13
- package/skills/nemus/references/remove-repo.md +0 -5
- package/skills/nemus/references/run-command.md +0 -5
- package/skills/nemus/references/search-repos.md +0 -5
- package/skills/nemus/references/sessions.md +0 -7
- package/skills/nemus/references/suite-create.md +0 -5
- package/skills/nemus/references/suite-delete.md +0 -5
- package/skills/nemus/references/suite-export.md +0 -5
- package/skills/nemus/references/suite-import.md +0 -5
- package/skills/nemus/references/suite-use.md +0 -5
- package/skills/nemus/references/switch-branch.md +0 -5
- package/skills/nemus/references/update-cache.md +0 -5
- package/skills/nemus/references/update-workspace.md +0 -7
- package/skills/nemus/references/workspace-cleanup.md +0 -5
- package/skills/nemus/references/workspace-diff.md +0 -5
- package/skills/nemus/references/workspace-doctor.md +0 -5
- package/skills/nemus/references/workspace-info.md +0 -5
- package/skills/nemus/references/workspace-status.md +0 -5
- package/skills/nemus/references/workspace-sync.md +0 -5
- package/skills/refresh-workspace-docs.md +0 -4
- package/skills/remove-repo.md +0 -8
- package/skills/run-command.md +0 -7
- package/skills/save-context.md +1 -13
- package/skills/search-repos.md +0 -9
- package/skills/snapshot-list.md +0 -7
- package/skills/snapshot-save.md +0 -4
- package/skills/switch-branch.md +0 -7
- package/skills/update-cache.md +0 -8
- package/skills/update-workspace.md +0 -13
- package/skills/workspace-cleanup.md +0 -7
- package/skills/workspace-diff.md +0 -7
- package/skills/workspace-doctor.md +0 -7
- package/skills/workspace-info.md +0 -9
- package/skills/workspace-status.md +0 -7
- package/skills/workspace-sync.md +0 -7
- package/src/types/ink.d.ts +0 -33
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# MCP Server
|
|
2
2
|
|
|
3
|
-
Manage the MCP (Model Context Protocol) server integration with Claude Code.
|
|
4
|
-
|
|
5
|
-
## Commands
|
|
6
|
-
|
|
7
|
-
### Install
|
|
8
|
-
|
|
9
3
|
Register the Nemus MCP server with Claude Code:
|
|
10
4
|
```bash
|
|
11
5
|
nemus mcp install
|
|
@@ -13,15 +7,11 @@ nemus mcp install
|
|
|
13
7
|
|
|
14
8
|
This also installs shell integration, permission sync hooks, and workspace skills.
|
|
15
9
|
|
|
16
|
-
### Uninstall
|
|
17
|
-
|
|
18
10
|
Remove the MCP server registration:
|
|
19
11
|
```bash
|
|
20
12
|
nemus mcp uninstall
|
|
21
13
|
```
|
|
22
14
|
|
|
23
|
-
### Upgrade
|
|
24
|
-
|
|
25
15
|
Update hooks and skills without re-registering the MCP server:
|
|
26
16
|
```bash
|
|
27
17
|
nemus mcp upgrade
|
|
@@ -29,8 +19,6 @@ nemus mcp upgrade
|
|
|
29
19
|
|
|
30
20
|
Use after updating the Nemus package.
|
|
31
21
|
|
|
32
|
-
### Status
|
|
33
|
-
|
|
34
22
|
Check if the MCP server is registered:
|
|
35
23
|
```bash
|
|
36
24
|
nemus mcp status
|
|
@@ -41,4 +29,3 @@ nemus mcp status
|
|
|
41
29
|
When installed, Claude Code gains access to Nemus tools:
|
|
42
30
|
- `create-workspace`, `list-workspaces`, `workspace-status`, etc.
|
|
43
31
|
- Enables natural language workspace management via `nemus -- <prompt>`
|
|
44
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Remove Repo
|
|
2
2
|
|
|
3
|
-
Remove a repository instance from a workspace.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Warn the user about any uncommitted changes before removing.
|
|
8
4
|
|
|
9
5
|
2. Run the command:
|
|
@@ -20,4 +16,3 @@ Remove a repository instance from a workspace.
|
|
|
20
16
|
| `--workspace <name>` | `-w` | Target workspace |
|
|
21
17
|
| `--repos <dir,...>` | `-r` | Comma-separated directory names to remove |
|
|
22
18
|
| `--yes` | `-y` | Skip confirmation prompt |
|
|
23
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Run Command
|
|
2
2
|
|
|
3
|
-
Run a shell command across all repositories in a workspace (3 concurrent, 5 minute timeout per repo).
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus run <workspace> <command>
|
|
9
5
|
```
|
|
@@ -37,4 +33,3 @@ Shows per-repo results:
|
|
|
37
33
|
- Summary count of successes and failures
|
|
38
34
|
|
|
39
35
|
Exits with code 1 if any repo failed.
|
|
40
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Search Repos
|
|
2
2
|
|
|
3
|
-
Search organization repositories by name or description using fuzzy matching.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus cache search <query>
|
|
@@ -17,4 +13,3 @@ Search organization repositories by name or description using fuzzy matching.
|
|
|
17
13
|
3. If the user is looking for repos to add to a workspace, suggest:
|
|
18
14
|
- `nemus create` to create a new workspace with selected repos
|
|
19
15
|
- `nemus update` to add repos to an existing workspace
|
|
20
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Sessions
|
|
2
2
|
|
|
3
|
-
Pick a workspace with an active Claude Code session and resume it.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
Interactive only — displays a fuzzy-searchable list of workspaces with sessions:
|
|
8
4
|
```bash
|
|
9
5
|
nemus sessions
|
|
@@ -14,9 +10,6 @@ Alias:
|
|
|
14
10
|
w ses
|
|
15
11
|
```
|
|
16
12
|
|
|
17
|
-
## How It Works
|
|
18
|
-
|
|
19
13
|
1. Scans for Claude Code sessions across all workspaces
|
|
20
14
|
2. Shows them sorted by last active time
|
|
21
15
|
3. User picks one → terminal CDs to that workspace and resumes the Claude session
|
|
22
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Suite Create
|
|
2
2
|
|
|
3
|
-
Create a new suite (reusable collection of repositories) that can be used to quickly set up workspaces.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. In interactive mode:
|
|
8
4
|
```bash
|
|
9
5
|
nemus suite create
|
|
@@ -15,4 +11,3 @@ Create a new suite (reusable collection of repositories) that can be used to qui
|
|
|
15
11
|
```
|
|
16
12
|
|
|
17
13
|
3. After creation, confirm with the suite name and repo count.
|
|
18
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Suite Export
|
|
2
2
|
|
|
3
|
-
Export one or all suites to a JSON file for sharing.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Export all suites:
|
|
8
4
|
```bash
|
|
9
5
|
nemus suite export ./suites.json
|
|
@@ -12,4 +8,3 @@ Export one or all suites to a JSON file for sharing.
|
|
|
12
8
|
2. In interactive mode, you'll be prompted to choose a single suite or all.
|
|
13
9
|
|
|
14
10
|
3. Share the exported file with teammates who can import it with `nemus suite import`.
|
|
15
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Suite Import
|
|
2
2
|
|
|
3
|
-
Import suites from a JSON file (exported by `nemus suite export`).
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus suite import <file-path>
|
|
@@ -12,4 +8,3 @@ Import suites from a JSON file (exported by `nemus suite export`).
|
|
|
12
8
|
2. Existing suites with the same name will be skipped by default.
|
|
13
9
|
|
|
14
10
|
3. After import, verify with `nemus suite list`.
|
|
15
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Suite Use
|
|
2
2
|
|
|
3
|
-
Create a new workspace from a saved suite.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. In interactive mode:
|
|
8
4
|
```bash
|
|
9
5
|
nemus suite use
|
|
@@ -20,4 +16,3 @@ Create a new workspace from a saved suite.
|
|
|
20
16
|
- Set up Claude Code integration
|
|
21
17
|
|
|
22
18
|
4. After creation, suggest `nemus status <workspace>` to verify.
|
|
23
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Switch Branch
|
|
2
2
|
|
|
3
|
-
Switch all repositories in a workspace to a specified branch.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus branch switch --workspace <name> --branch <branch-name>
|
|
9
5
|
```
|
|
@@ -18,4 +14,3 @@ nemus branch switch --workspace <name> --branch <branch-name>
|
|
|
18
14
|
If some repos fail to switch (due to uncommitted changes), suggest:
|
|
19
15
|
- Committing or stashing changes first
|
|
20
16
|
- Using `nemus status <name>` to check the state
|
|
21
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Update Cache
|
|
2
2
|
|
|
3
|
-
Force refresh the GitHub repository cache so newly added repos become searchable.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus cache refresh
|
|
@@ -16,4 +12,3 @@ Force refresh the GitHub repository cache so newly added repos become searchable
|
|
|
16
12
|
2. Report the result (number of repos cached, etc.).
|
|
17
13
|
|
|
18
14
|
3. Suggest using `nemus cache search <query>` or `nemus cache list` to browse the updated list.
|
|
19
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Update Workspace
|
|
2
2
|
|
|
3
|
-
Add more repositories to an existing workspace.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run the command with flags (non-interactive):
|
|
8
4
|
```bash
|
|
9
5
|
nemus update --workspace <name> --repos <r1,r2,...>
|
|
@@ -23,8 +19,6 @@ Add more repositories to an existing workspace.
|
|
|
23
19
|
| `--workspace <name>` | `-w` | Target workspace |
|
|
24
20
|
| `--repos <r1,r2,...>` | `-r` | Comma-separated repo names to add. Use `repo:suffix` to add the same repo again under a separate folder. |
|
|
25
21
|
|
|
26
|
-
## Adding the same repo more than once (instances)
|
|
27
|
-
|
|
28
22
|
The same repository can live in a workspace multiple times under different
|
|
29
23
|
folders — useful for comparing branches/versions side by side, or keeping a
|
|
30
24
|
second checkout instead of a `git worktree` (which `nemus status`/`nemus sync` do NOT
|
|
@@ -43,4 +37,3 @@ instance is tracked independently by `nemus status` and `nemus sync` and is labe
|
|
|
43
37
|
> Do NOT use `git worktree` inside a workspace to get a second checkout of a
|
|
44
38
|
> tracked repo — worktrees are invisible to `nemus status`/`nemus sync`. Use
|
|
45
39
|
> `nemus update --repos <repo>:<suffix>` instead.
|
|
46
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Workspace Cleanup
|
|
2
2
|
|
|
3
|
-
Remove node_modules and build artifacts from all repos in a workspace to free disk space.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus cleanup <workspace> --all --yes
|
|
9
5
|
```
|
|
@@ -26,4 +22,3 @@ nemus cleanup <workspace> --git-clean --yes
|
|
|
26
22
|
| `--yes` / `-y` | Skip confirmation prompt |
|
|
27
23
|
|
|
28
24
|
Remind the user they'll need to run `npm install` before building again.
|
|
29
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Workspace Diff
|
|
2
2
|
|
|
3
|
-
Show diff summary (staged/unstaged file counts, insertions, deletions) for all repos in a workspace.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. If no workspace is specified, run `nemus list` and ask which one.
|
|
8
4
|
|
|
9
5
|
2. Run:
|
|
@@ -21,4 +17,3 @@ Show diff summary (staged/unstaged file counts, insertions, deletions) for all r
|
|
|
21
17
|
- Which files changed
|
|
22
18
|
|
|
23
19
|
4. If the user wants full diff content, they can pipe through `less` or redirect to a file.
|
|
24
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Workspace Doctor
|
|
2
2
|
|
|
3
|
-
Run comprehensive health checks on a workspace and return a health score (0-100).
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. If no workspace is specified, run `nemus list` and ask which one.
|
|
8
4
|
|
|
9
5
|
2. Run:
|
|
@@ -20,4 +16,3 @@ Run comprehensive health checks on a workspace and return a health score (0-100)
|
|
|
20
16
|
- `nemus sync` for outdated repos
|
|
21
17
|
- `nemus cleanup` for disk space issues
|
|
22
18
|
- `nemus branch create` or `nemus branch switch` for branch inconsistencies
|
|
23
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Workspace Info
|
|
2
2
|
|
|
3
|
-
Get detailed metadata for a workspace including all repository info and status.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
There is no dedicated `nemus info` CLI command. To get workspace information, combine:
|
|
8
4
|
|
|
9
5
|
1. **List workspaces** to see all available:
|
|
@@ -27,4 +23,3 @@ There is no dedicated `nemus info` CLI command. To get workspace information, co
|
|
|
27
23
|
```
|
|
28
24
|
|
|
29
25
|
The MCP tool `workspace-info` provides detailed metadata programmatically.
|
|
30
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Workspace Status
|
|
2
2
|
|
|
3
|
-
Show git status (branch, clean/dirty, ahead/behind) for all repositories in a workspace.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus status <workspace>
|
|
9
5
|
```
|
|
@@ -28,4 +24,3 @@ Displays a table per repository showing:
|
|
|
28
24
|
- **Modified files** count
|
|
29
25
|
|
|
30
26
|
Plus a summary: clean repos, dirty repos, needs push, needs pull.
|
|
31
|
-
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Workspace Sync
|
|
2
2
|
|
|
3
|
-
Pull latest changes for all repositories in a workspace. Skips repos with uncommitted changes.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus sync <workspace>
|
|
9
5
|
```
|
|
@@ -19,4 +15,3 @@ Report results per repo:
|
|
|
19
15
|
- Any repos that failed
|
|
20
16
|
|
|
21
17
|
If some repos were skipped, suggest committing or stashing changes first, then re-run `nemus sync <name>`.
|
|
22
|
-
|
|
@@ -3,10 +3,6 @@ name: refresh-workspace-docs
|
|
|
3
3
|
description: Refresh the per-repo documentation embedded in a workspace's context file (AGENTS.md / .claude.md). Use when a workspace was created a while ago and its repos have since received updates to their README, AGENTS.md, or CLAUDE.md files, so the embedded copies in the workspace context are stale.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Refresh Workspace Docs
|
|
7
|
-
|
|
8
|
-
Each repo's `AGENTS.md`/`CLAUDE.md` is embedded into the workspace context file's `## Per-Repository Context` section at creation time — a snapshot that does **not** auto-update. Refresh it in two steps:
|
|
9
|
-
|
|
10
6
|
```bash
|
|
11
7
|
nemus sync <workspace> # 1. git pull every repo so on-disk docs are current
|
|
12
8
|
nemus migrate # 2. rebuild the Per-Repository Context section from disk
|
package/skills/remove-repo.md
CHANGED
|
@@ -3,12 +3,6 @@ name: remove-repo
|
|
|
3
3
|
description: Remove a repository from a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Remove Repo
|
|
7
|
-
|
|
8
|
-
Remove a repository from a workspace.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus remove-repo --workspace <name> --repo <repo-name> --yes
|
|
14
8
|
```
|
|
@@ -18,8 +12,6 @@ Or interactively:
|
|
|
18
12
|
nemus remove-repo
|
|
19
13
|
```
|
|
20
14
|
|
|
21
|
-
## Important Notes
|
|
22
|
-
|
|
23
15
|
- This removes the repo directory from the workspace
|
|
24
16
|
- The repo is not deleted from GitHub, only removed locally
|
|
25
17
|
- The workspace metadata is updated to reflect the removal
|
package/skills/run-command.md
CHANGED
|
@@ -3,12 +3,6 @@ name: run-command
|
|
|
3
3
|
description: Run a shell command across all repos in a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Run Command
|
|
7
|
-
|
|
8
|
-
Run a shell command across all repos in a workspace.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus run <workspace-name> "<command>"
|
|
14
8
|
```
|
|
@@ -17,4 +11,3 @@ Example:
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus run my-workspace "git log --oneline -5"
|
|
19
13
|
```
|
|
20
|
-
|
package/skills/save-context.md
CHANGED
|
@@ -3,26 +3,16 @@ name: save-context
|
|
|
3
3
|
description: Save progress summary to workspace (persists across /clear and session restarts). Use when you want to preserve important context, findings, or progress before clearing conversation history.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Save Context
|
|
7
|
-
|
|
8
|
-
Save a progress summary or important context to the workspace. This persists in `CONTEXT.md` and survives `/clear`, session restarts, and agent switches.
|
|
9
|
-
|
|
10
|
-
## When to Use
|
|
11
|
-
|
|
12
6
|
- Before `/clear` to preserve progress
|
|
13
7
|
- After completing a significant milestone
|
|
14
8
|
- To leave notes for the next session
|
|
15
9
|
- When switching between tasks in the same workspace
|
|
16
10
|
|
|
17
|
-
## Using the MCP Tool (Claude Code)
|
|
18
|
-
|
|
19
11
|
Call `mcp__nemus__save-context` with:
|
|
20
12
|
- `workspace` (string): the workspace name
|
|
21
13
|
- `content` (string): markdown content to save
|
|
22
14
|
- `append` (boolean, optional): true to append, false to replace (default: false)
|
|
23
15
|
|
|
24
|
-
## Using the CLI (any agent)
|
|
25
|
-
|
|
26
16
|
```bash
|
|
27
17
|
# Replace existing context
|
|
28
18
|
nemus save-context -m "Completed auth refactor. Next: update payment service endpoints."
|
|
@@ -37,8 +27,6 @@ nemus save-context -f progress-notes.md
|
|
|
37
27
|
echo "summary here" | nemus save-context
|
|
38
28
|
```
|
|
39
29
|
|
|
40
|
-
## What to Save
|
|
41
|
-
|
|
42
30
|
Good context summaries include:
|
|
43
31
|
- **What was done** — completed tasks, merged PRs
|
|
44
32
|
- **Current state** — what's working, what's broken
|
|
@@ -53,4 +41,4 @@ Good context summaries include:
|
|
|
53
41
|
|
|
54
42
|
All services passing CI. Auth migration is complete for internal services.
|
|
55
43
|
External API consumers still use legacy tokens (tracked in JIRA PAY-123).
|
|
56
|
-
|
|
44
|
+
```
|
package/skills/search-repos.md
CHANGED
|
@@ -3,23 +3,14 @@ name: search-repos
|
|
|
3
3
|
description: Search org repositories by name or description
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Search Repos
|
|
7
|
-
|
|
8
|
-
Search for repositories in the GitHub organization.
|
|
9
|
-
|
|
10
|
-
## Searching
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus cache search <keyword>
|
|
14
8
|
```
|
|
15
9
|
|
|
16
10
|
This searches the cached list of org repos by name. Results show repo name and description.
|
|
17
11
|
|
|
18
|
-
## If Cache is Empty
|
|
19
|
-
|
|
20
12
|
```bash
|
|
21
13
|
nemus cache refresh
|
|
22
14
|
```
|
|
23
15
|
|
|
24
16
|
Then search again.
|
|
25
|
-
|
package/skills/snapshot-list.md
CHANGED
package/skills/snapshot-save.md
CHANGED
|
@@ -3,10 +3,6 @@ name: snapshot-save
|
|
|
3
3
|
description: Save a snapshot of the current workspace state
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Snapshot Save
|
|
7
|
-
|
|
8
|
-
Snapshots are automatically saved by Nemus operations (create, update, delete, etc.). There is no separate snapshot command — the history command shows past operations:
|
|
9
|
-
|
|
10
6
|
```bash
|
|
11
7
|
nemus history
|
|
12
8
|
```
|
package/skills/switch-branch.md
CHANGED
|
@@ -3,13 +3,6 @@ name: switch-branch
|
|
|
3
3
|
description: Switch all repos in a workspace to a specified branch
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Switch Branch
|
|
7
|
-
|
|
8
|
-
Switch all repos in a workspace to a specified branch.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus branch switch <workspace-name> <branch-name>
|
|
14
8
|
```
|
|
15
|
-
|
package/skills/update-cache.md
CHANGED
|
@@ -3,19 +3,11 @@ name: update-cache
|
|
|
3
3
|
description: Force refresh the GitHub repository cache
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Update Cache
|
|
7
|
-
|
|
8
|
-
Force refresh the GitHub repository cache.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus cache refresh
|
|
14
8
|
```
|
|
15
9
|
|
|
16
10
|
This fetches the latest list of repositories from the GitHub org and updates the local cache.
|
|
17
11
|
|
|
18
|
-
## When to Use
|
|
19
|
-
|
|
20
12
|
- When `nemus cache search` doesn't find a recently created repo
|
|
21
13
|
- Periodically to keep the cache fresh (auto-refreshes daily)
|
|
@@ -3,16 +3,10 @@ name: update-workspace
|
|
|
3
3
|
description: Add one or more repositories to an existing workspace. ALWAYS use this skill — never run `git clone` directly — when the user asks to add, clone, include, or pull a new repo into the current workspace. Triggers on phrases like "add repo X", "include X in this workspace", "I need X here", "clone X into workspace", "add a service".
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Update Workspace
|
|
7
|
-
|
|
8
6
|
> **CRITICAL**: NEVER use `git clone` directly to add repositories to a workspace.
|
|
9
7
|
> Always use `nemus update` — it registers the repo in workspace metadata, updates
|
|
10
8
|
> the context file, and keeps `nemus status`/`nemus sync` working correctly.
|
|
11
9
|
|
|
12
|
-
Add more repositories to an existing workspace.
|
|
13
|
-
|
|
14
|
-
## Resolving the Workspace
|
|
15
|
-
|
|
16
10
|
If the user hasn't specified a workspace, run:
|
|
17
11
|
```bash
|
|
18
12
|
nemus list 2>&1 | cat
|
|
@@ -23,8 +17,6 @@ Or to see what's in a specific workspace (from inside the workspace directory):
|
|
|
23
17
|
cat .workspace-meta.json
|
|
24
18
|
```
|
|
25
19
|
|
|
26
|
-
## Resolving Repositories
|
|
27
|
-
|
|
28
20
|
If the user hasn't specified which repos to add, help them discover:
|
|
29
21
|
```bash
|
|
30
22
|
nemus cache search <keyword>
|
|
@@ -35,15 +27,11 @@ To see what's already in the workspace (avoid adding duplicates):
|
|
|
35
27
|
cat .workspace-meta.json | jq '.repositories[].name'
|
|
36
28
|
```
|
|
37
29
|
|
|
38
|
-
## Adding Repos
|
|
39
|
-
|
|
40
30
|
Run the update command non-interactively:
|
|
41
31
|
```bash
|
|
42
32
|
nemus update --workspace <name> --repos <repo1,repo2,...> --yes
|
|
43
33
|
```
|
|
44
34
|
|
|
45
|
-
### Adding the same repo more than once (instances)
|
|
46
|
-
|
|
47
35
|
Append `:suffix` to a repo name to add it again under a separate folder
|
|
48
36
|
(`<repo>-<suffix>`) — e.g. a second checkout for another branch instead of a
|
|
49
37
|
`git worktree` (worktrees are invisible to `nemus status`/`nemus sync`):
|
|
@@ -52,4 +40,3 @@ nemus update --workspace <name> --repos casper:cas-101 --yes # -> casper-cas-1
|
|
|
52
40
|
```
|
|
53
41
|
Suffix = letters, numbers, hyphens, underscores. Each instance is tracked
|
|
54
42
|
independently by `nemus status`/`nemus sync`.
|
|
55
|
-
|
|
@@ -3,13 +3,6 @@ name: workspace-cleanup
|
|
|
3
3
|
description: Remove node_modules and build artifacts to free disk space
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Workspace Cleanup
|
|
7
|
-
|
|
8
|
-
Remove node_modules and build artifacts to free disk space.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus cleanup <workspace-name>
|
|
14
8
|
```
|
|
15
|
-
|
package/skills/workspace-diff.md
CHANGED
|
@@ -3,12 +3,6 @@ name: workspace-diff
|
|
|
3
3
|
description: Show diff summary for all repos in a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Workspace Diff
|
|
7
|
-
|
|
8
|
-
Show diff summary across all repos in a workspace.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus diff <workspace-name>
|
|
14
8
|
```
|
|
@@ -17,4 +11,3 @@ Or for the current workspace:
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus diff
|
|
19
13
|
```
|
|
20
|
-
|
|
@@ -3,12 +3,6 @@ name: workspace-doctor
|
|
|
3
3
|
description: Run health checks on a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Workspace Doctor
|
|
7
|
-
|
|
8
|
-
Run health checks on a workspace.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus doctor <workspace-name>
|
|
14
8
|
```
|
|
@@ -17,4 +11,3 @@ Or for the current workspace:
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus doctor
|
|
19
13
|
```
|
|
20
|
-
|
package/skills/workspace-info.md
CHANGED
|
@@ -3,19 +3,11 @@ name: workspace-info
|
|
|
3
3
|
description: Get detailed metadata for a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Workspace Info
|
|
7
|
-
|
|
8
|
-
Get detailed metadata for a workspace including all repository info, tags, and disk path.
|
|
9
|
-
|
|
10
|
-
## Resolving the Workspace
|
|
11
|
-
|
|
12
6
|
If the user hasn't specified a workspace name, list them:
|
|
13
7
|
```bash
|
|
14
8
|
nemus list 2>&1 | cat
|
|
15
9
|
```
|
|
16
10
|
|
|
17
|
-
## Getting Info
|
|
18
|
-
|
|
19
11
|
Read the workspace metadata file (path is relative to the workspace directory):
|
|
20
12
|
```bash
|
|
21
13
|
cat <workspace-path>/.workspace-meta.json
|
|
@@ -25,4 +17,3 @@ The workspace path can be found by checking the current directory or using:
|
|
|
25
17
|
```bash
|
|
26
18
|
nemus status <workspace-name>
|
|
27
19
|
```
|
|
28
|
-
|
|
@@ -3,12 +3,6 @@ name: workspace-status
|
|
|
3
3
|
description: Show git status for all repos in a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Workspace Status
|
|
7
|
-
|
|
8
|
-
Show git status across all repos in a workspace.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus status <workspace-name>
|
|
14
8
|
```
|
|
@@ -17,4 +11,3 @@ Or for the current workspace:
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus status
|
|
19
13
|
```
|
|
20
|
-
|
package/skills/workspace-sync.md
CHANGED
|
@@ -3,12 +3,6 @@ name: workspace-sync
|
|
|
3
3
|
description: Git pull all repos in a workspace
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Workspace Sync
|
|
7
|
-
|
|
8
|
-
Pull latest changes for all repos in a workspace.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus sync <workspace-name>
|
|
14
8
|
```
|
|
@@ -17,4 +11,3 @@ Or for the current workspace:
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus sync
|
|
19
13
|
```
|
|
20
|
-
|