claude-nexus 0.28.2 โ 0.30.0
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/.claude-plugin/marketplace.json +4 -5
- package/.claude-plugin/plugin.json +7 -7
- package/.mcp.json +2 -2
- package/LICENSE +1 -1
- package/README.en.md +59 -156
- package/README.md +60 -144
- package/agents/architect.md +129 -118
- package/agents/designer.md +286 -78
- package/agents/engineer.md +124 -61
- package/agents/lead.md +252 -41
- package/agents/postdoc.md +154 -81
- package/agents/researcher.md +181 -95
- package/agents/reviewer.md +157 -76
- package/agents/strategist.md +142 -68
- package/agents/tester.md +182 -105
- package/agents/writer.md +116 -37
- package/dist/hooks/prompt-router.js +43 -7327
- package/dist/hooks/session-init.js +40 -31
- package/dist/mcp/server.js +20903 -0
- package/hooks/hooks.json +1 -25
- package/package.json +21 -14
- package/scripts/statusline.mjs +315 -98
- package/skills/nx-auto-plan/SKILL.md +149 -0
- package/skills/nx-plan/SKILL.md +95 -290
- package/skills/nx-run/SKILL.md +65 -90
- package/VERSION +0 -1
- package/dist/hooks/agent-bootstrap.js +0 -121
- package/dist/hooks/agent-finalize.js +0 -180
- package/skills/nx-init/SKILL.md +0 -189
- package/skills/nx-setup/SKILL.md +0 -204
- package/skills/nx-sync/SKILL.md +0 -87
|
@@ -6,17 +6,16 @@
|
|
|
6
6
|
"plugins": [
|
|
7
7
|
{
|
|
8
8
|
"name": "claude-nexus",
|
|
9
|
-
"description": "
|
|
10
|
-
"version": "0.
|
|
9
|
+
"description": "Claude Code plugin for nexus-core agent orchestration",
|
|
10
|
+
"version": "0.30.0",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "kih"
|
|
13
13
|
},
|
|
14
14
|
"source": "./",
|
|
15
15
|
"category": "productivity",
|
|
16
16
|
"tags": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"workflow"
|
|
17
|
+
"nexus",
|
|
18
|
+
"agent-orchestration"
|
|
20
19
|
]
|
|
21
20
|
}
|
|
22
21
|
]
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-nexus",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.30.0",
|
|
4
|
+
"description": "Claude Code plugin for nexus-core agent orchestration",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kih"
|
|
7
7
|
},
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"homepage": "https://github.com/moreih29/claude-nexus",
|
|
10
|
+
"repository": "https://github.com/moreih29/claude-nexus",
|
|
9
11
|
"keywords": [
|
|
10
12
|
"claude-code",
|
|
11
13
|
"plugin",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
]
|
|
15
|
-
"skills": "./skills/",
|
|
16
|
-
"mcpServers": "./.mcp.json"
|
|
14
|
+
"nexus",
|
|
15
|
+
"agent-orchestration"
|
|
16
|
+
]
|
|
17
17
|
}
|
package/.mcp.json
CHANGED
package/LICENSE
CHANGED
package/README.en.md
CHANGED
|
@@ -5,188 +5,91 @@
|
|
|
5
5
|
|
|
6
6
|
> ๐ [ํ๊ตญ์ด](README.md)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Nexus agent orchestration plugin for Claude Code. Registers the canonical agents, skills, and MCP server from [nexus-core](https://github.com/moreih29/nexus-core) into the Claude harness.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## What's inside
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
- **10 agents**: architect ยท designer ยท engineer ยท **lead** ยท postdoc ยท researcher ยท reviewer ยท strategist ยท tester ยท writer
|
|
13
|
+
- **3 skills**: `nx-auto-plan` ยท `nx-plan` ยท `nx-run` โ activated by `[plan]` ยท `[auto-plan]` ยท `[run]` tags
|
|
14
|
+
- **`nexus-core` MCP server**: 13 state management tools for planning, tasks, history, and artifacts (`nx_plan_*` ยท `nx_task_*` ยท `nx_history_search` ยท `nx_artifact_write`)
|
|
15
|
+
- **2 hooks**:
|
|
16
|
+
- `SessionStart` โ ensures the `.nexus/` folder layout and whitelist `.gitignore`
|
|
17
|
+
- `UserPromptSubmit` โ routes six tags (`[plan]` ยท `[auto-plan]` ยท `[run]` ยท `[m]` ยท `[m:gc]` ยท `[d]`)
|
|
18
|
+
- Ships with `settings.json` that makes `lead` the main-thread agent when the plugin is active
|
|
13
19
|
|
|
14
|
-
|
|
20
|
+
### Required setting
|
|
15
21
|
|
|
16
|
-
|
|
22
|
+
Claude Code does not honor `env` from a plugin's `settings.json`, so subagent resume (via `SendMessage`) only works when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is set in your own `~/.claude/settings.json` or project `.claude/settings.json`:
|
|
17
23
|
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }
|
|
27
|
+
}
|
|
21
28
|
```
|
|
22
29
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Run `/claude-nexus:nx-init` โ scans your project and auto-generates structured knowledge under `.nexus/`.
|
|
30
|
+
## Install
|
|
26
31
|
|
|
27
|
-
|
|
32
|
+
From inside Claude Code, use the plugin marketplace.
|
|
28
33
|
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
```
|
|
35
|
+
/plugin marketplace add moreih29/claude-nexus
|
|
36
|
+
/plugin install claude-nexus@nexus
|
|
37
|
+
```
|
|
31
38
|
|
|
32
39
|
## Usage
|
|
33
40
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
| Tag | Action | Example |
|
|
37
|
-
|-----|--------|---------|
|
|
38
|
-
| `[plan]` | Pre-execution planning | `[plan] Discuss DB migration strategy` |
|
|
39
|
-
| `[run]` | Execution (subagent composition) | `[run] Refactor payment module` |
|
|
40
|
-
| `[d]` | Record a decision (within plan session) | `[d] Use PostgreSQL for primary storage` |
|
|
41
|
-
| `[rule]` | Save a rule | `[rule] Always use bun instead of npm` |
|
|
42
|
-
| `[m]` | Add a memo | `[m] Revisit this pattern later` |
|
|
43
|
-
| `[m:gc]` | Garbage-collect memos | `[m:gc]` |
|
|
44
|
-
| `[sync]` | Sync context/ | `[sync]` |
|
|
45
|
-
|
|
46
|
-
Typical flow: `[plan]` to discuss and align โ `[d]` to decide (within plan) โ `[run]` to execute.
|
|
47
|
-
|
|
48
|
-
## Agents
|
|
49
|
-
|
|
50
|
-
### How (4 agents)
|
|
51
|
-
|
|
52
|
-
| Agent | Invocation | Role | Model |
|
|
53
|
-
|-------|-----------|------|-------|
|
|
54
|
-
| **Architect** | `claude-nexus:architect` | Technical design and architecture review | opus |
|
|
55
|
-
| **Designer** | `claude-nexus:designer` | UI/UX design and interaction patterns | opus |
|
|
56
|
-
| **Postdoc** | `claude-nexus:postdoc` | Research methodology and evidence synthesis | opus |
|
|
57
|
-
| **Strategist** | `claude-nexus:strategist` | Business strategy and competitive positioning | opus |
|
|
58
|
-
|
|
59
|
-
### Do (3 agents)
|
|
60
|
-
|
|
61
|
-
| Agent | Invocation | Role | Model |
|
|
62
|
-
|-------|-----------|------|-------|
|
|
63
|
-
| **Engineer** | `claude-nexus:engineer` | Code implementation and debugging | sonnet |
|
|
64
|
-
| **Researcher** | `claude-nexus:researcher` | Web search, independent investigation | sonnet |
|
|
65
|
-
| **Writer** | `claude-nexus:writer` | Technical writing and documentation | sonnet |
|
|
66
|
-
|
|
67
|
-
### Check (2 agents)
|
|
68
|
-
|
|
69
|
-
| Agent | Invocation | Role | Model |
|
|
70
|
-
|-------|-----------|------|-------|
|
|
71
|
-
| **Tester** | `claude-nexus:tester` | Verification, testing, and security review | sonnet |
|
|
72
|
-
| **Reviewer** | `claude-nexus:reviewer` | Content verification and fact-checking | sonnet |
|
|
73
|
-
|
|
74
|
-
## Skills
|
|
75
|
-
|
|
76
|
-
| Skill | Trigger | Description |
|
|
77
|
-
|-------|---------|-------------|
|
|
78
|
-
| **nx-plan** | `[plan]` | Structured planning. Clarify requirements โ record decisions (`[d]`) โ recommend execution tag |
|
|
79
|
-
| **nx-run** | `[run]` | Execution. User-directed agent composition for development, research, and more |
|
|
80
|
-
| **nx-init** | `/claude-nexus:nx-init` | Full project onboarding: scan codebase, establish identity, generate core knowledge |
|
|
81
|
-
| **nx-setup** | `/claude-nexus:nx-setup` | Interactive setup. Injects agent/skill/tag configuration into CLAUDE.md |
|
|
82
|
-
| **nx-sync** | `/claude-nexus:nx-sync` | Context sync. Reflects source changes into .nexus/context/ docs |
|
|
83
|
-
|
|
84
|
-
## Advanced
|
|
85
|
-
|
|
86
|
-
<details>
|
|
87
|
-
<summary>MCP Tools</summary>
|
|
41
|
+
With the plugin enabled, each new Claude Code session runs the `lead` agent as the main thread. Prefix a request with a tag to activate a skill.
|
|
88
42
|
|
|
89
|
-
|
|
43
|
+
| Tag | Effect |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `[plan]` | `nx-plan` โ multi-perspective structured planning |
|
|
46
|
+
| `[auto-plan]` | `nx-auto-plan` โ auto-decompose the request into a plan |
|
|
47
|
+
| `[run]` | `nx-run` โ execute the current plan's tasks |
|
|
48
|
+
| `[m] <body>` | Store a lesson or reference under `.nexus/memory/` |
|
|
49
|
+
| `[m:gc]` | Garbage-collect `.nexus/memory/` |
|
|
50
|
+
| `[d] <decision>` | Record a decision on the active plan issue |
|
|
90
51
|
|
|
91
|
-
|
|
52
|
+
## Optional: statusline
|
|
92
53
|
|
|
93
|
-
|
|
94
|
-
|------|---------|
|
|
95
|
-
| `nx_task_list/add/update/close` | Task management + history.json archiving |
|
|
96
|
-
| `nx_history_search` | Search past plan/task cycles (topic/decision query, last N) |
|
|
97
|
-
| `nx_artifact_write` | Save artifacts (branch-isolated) |
|
|
98
|
-
| `nx_plan_start` | Start plan session (topic + issues + research summary) |
|
|
99
|
-
| `nx_plan_status` | Query plan state |
|
|
100
|
-
| `nx_plan_update` | Modify plan issues (add/remove/edit/reopen) |
|
|
101
|
-
| `nx_plan_decide` | Record issue decision (plan.json) |
|
|
54
|
+
The plugin ships a two-line statusline script. Line one shows `โNexus vX.Y.Z`, the model, the project, and the git branch with staged/unstaged counts. Line two shows context-window usage plus 5-hour and 7-day Claude usage gauges with the time until each resets. The usage gauges require a Claude Pro or Max OAuth session; `~/.claude/.usage_cache` is shared across local sessions so concurrent Claude Code windows never re-fetch.
|
|
102
55
|
|
|
103
|
-
|
|
56
|
+
Claude Code does not let a plugin auto-configure the user's `statusLine`, so register the `claude-nexus-statusline` CLI (shipped with the same npm package) from your own `~/.claude/settings.json`.
|
|
104
57
|
|
|
105
|
-
|
|
106
|
-
|------|---------|
|
|
107
|
-
| `nx_lsp_hover` | Symbol type information |
|
|
108
|
-
| `nx_lsp_goto_definition` | Jump to definition |
|
|
109
|
-
| `nx_lsp_find_references` | List all references |
|
|
110
|
-
| `nx_lsp_diagnostics` | Compiler and linter errors |
|
|
111
|
-
| `nx_lsp_rename` | Project-wide symbol rename |
|
|
112
|
-
| `nx_lsp_code_actions` | Auto-fix and refactoring suggestions |
|
|
113
|
-
| `nx_lsp_document_symbols` | Symbols in a file |
|
|
114
|
-
| `nx_lsp_workspace_symbols` | Project-wide symbol search |
|
|
115
|
-
|
|
116
|
-
LSP auto-detects the project language (e.g., `tsconfig.json` โ TypeScript).
|
|
117
|
-
|
|
118
|
-
</details>
|
|
119
|
-
|
|
120
|
-
<details>
|
|
121
|
-
<summary>Hook</summary>
|
|
122
|
-
|
|
123
|
-
Nexus registers a single Gate module as a Claude Code hook.
|
|
124
|
-
|
|
125
|
-
| Event | Role |
|
|
126
|
-
|-------|------|
|
|
127
|
-
| `SessionStart` | Initialize `.nexus/` structure, reset agent-tracker, init `tool-log.jsonl` |
|
|
128
|
-
| `UserPromptSubmit` | Tag detection โ mode activation + TASK_PIPELINE injection + additionalContext guidance |
|
|
129
|
-
| `PreToolUse` | Edit/Write: blocks when incomplete tasks exist |
|
|
130
|
-
| `PostToolUse` | On Edit/Write/NotebookEdit, append subagent file edits to `tool-log.jsonl` (only when agent_id present) |
|
|
131
|
-
| `SubagentStart` | Auto-inject role-filtered core knowledge index (lazy-read). Upsert `resume_count`/`last_resumed_at` when agent_id recurs |
|
|
132
|
-
| `SubagentStop` | Record agent completion + aggregate `tool-log.jsonl` โ inject `files_touched` into agent-tracker entry |
|
|
133
|
-
| `Stop` | Blocks exit with pending tasks. Forces nx_task_close when all completed |
|
|
134
|
-
| `PostCompact` | Snapshot session state (mode, plan, agent status) |
|
|
135
|
-
|
|
136
|
-
</details>
|
|
137
|
-
|
|
138
|
-
<details>
|
|
139
|
-
<summary>Project Knowledge</summary>
|
|
140
|
-
|
|
141
|
-
Project knowledge and rules are stored under `.nexus/` and tracked by git.
|
|
58
|
+
### bunx or npx (no install)
|
|
142
59
|
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"statusLine": {
|
|
63
|
+
"type": "command",
|
|
64
|
+
"command": "bunx claude-nexus-statusline"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
143
67
|
```
|
|
144
|
-
.nexus/
|
|
145
|
-
memory/ โ lessons learned, references
|
|
146
|
-
context/ โ design principles, architecture philosophy
|
|
147
|
-
state/ โ plan.json, tasks.json
|
|
148
|
-
rules/ โ project custom rules
|
|
149
|
-
history.json
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
- `memory/`, `context/`, `rules/` โ git-tracked.
|
|
153
|
-
- `state/` โ runtime state. git-ignored.
|
|
154
|
-
- `history.json` โ cycle archive. git-tracked.
|
|
155
68
|
|
|
156
|
-
|
|
69
|
+
`npx -y claude-nexus-statusline` works the same way. The first call downloads the package to the local cache; subsequent calls run from that cache.
|
|
157
70
|
|
|
158
|
-
|
|
159
|
-
<summary>Runtime State</summary>
|
|
71
|
+
### Global install (fastest startup)
|
|
160
72
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
```
|
|
164
|
-
.nexus/state/
|
|
165
|
-
โโโ tasks.json โ Task list ([run] cycle)
|
|
166
|
-
โโโ plan.json โ Planning session ([plan] cycle)
|
|
167
|
-
โโโ claude-nexus/ โ harness-local namespace
|
|
168
|
-
โโโ agent-tracker.json โ Subagent lifecycle tracking (resume_count, files_touched)
|
|
169
|
-
โโโ tool-log.jsonl โ Subagent Edit/Write/NotebookEdit call log (append-only)
|
|
170
|
-
โโโ artifacts/ โ Artifacts
|
|
73
|
+
```bash
|
|
74
|
+
bun add -g claude-nexus # or npm i -g claude-nexus
|
|
171
75
|
```
|
|
172
76
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"statusLine": {
|
|
80
|
+
"type": "command",
|
|
81
|
+
"command": "claude-nexus-statusline"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
179
85
|
|
|
180
|
-
|
|
181
|
-
|------|--------|--------|
|
|
182
|
-
| **persistent** | Default-resume within same issue, Lead opt-in across issues, forced fresh on counter-evidence/review | architect, designer, postdoc, strategist, researcher |
|
|
183
|
-
| **bounded** | Conditional resume only when working on the same artifact (file); forced fresh on loop/feedback cycles | engineer, writer |
|
|
184
|
-
| **ephemeral** | Always fresh spawn (preserves verification independence) | tester, reviewer |
|
|
86
|
+
Update with a single `bun update -g claude-nexus` (or `npm update -g claude-nexus`).
|
|
185
87
|
|
|
186
|
-
|
|
88
|
+
## Requirements
|
|
187
89
|
|
|
188
|
-
|
|
90
|
+
- Claude Code (latest)
|
|
91
|
+
- Node.js 20 or later at runtime
|
|
189
92
|
|
|
190
|
-
|
|
93
|
+
## License
|
|
191
94
|
|
|
192
|
-
|
|
95
|
+
MIT
|
package/README.md
CHANGED
|
@@ -5,175 +5,91 @@
|
|
|
5
5
|
|
|
6
6
|
> ๐ [English](README.en.md)
|
|
7
7
|
|
|
8
|
-
Claude Code
|
|
8
|
+
Claude Code์ฉ Nexus ์์ด์ ํธ ์ค์ผ์คํธ๋ ์ด์
ํ๋ฌ๊ทธ์ธ. [nexus-core](https://github.com/moreih29/nexus-core)์ canonical ์์ด์ ํธยท์คํฌยทMCP ์๋ฒ๋ฅผ Claude ํ๋ค์ค์ ๋ฑ๋กํ๋ค.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## ๋ฌด์์ด ๋ค์ด ์๋
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
- **์์ด์ ํธ 10์ข
**: architect ยท designer ยท engineer ยท **lead** ยท postdoc ยท researcher ยท reviewer ยท strategist ยท tester ยท writer
|
|
13
|
+
- **์คํฌ 3์ข
**: `nx-auto-plan` ยท `nx-plan` ยท `nx-run` โ `[plan]`ยท`[auto-plan]`ยท`[run]` ํ๊ทธ๋ก ํ์ฑํ
|
|
14
|
+
- **MCP ์๋ฒ `nexus-core`**: ํ๋๋ยทํ์คํฌยท์ด๋ ฅยท์ํฐํฉํธ ์ํ ๊ด๋ฆฌ ๋๊ตฌ 13์ข
(`nx_plan_*`ยท`nx_task_*`ยท`nx_history_search`ยท`nx_artifact_write`)
|
|
15
|
+
- **ํ
2์ข
**:
|
|
16
|
+
- `SessionStart` โ `.nexus/` ํด๋ ๊ตฌ์กฐ์ ํ์ดํธ๋ฆฌ์คํธ `.gitignore` ๋ณด์ฅ
|
|
17
|
+
- `UserPromptSubmit` โ ํ๊ทธ 6์ข
(`[plan]`ยท`[auto-plan]`ยท`[run]`ยท`[m]`ยท`[m:gc]`ยท`[d]`) ๋ผ์ฐํ
|
|
18
|
+
- ํ์ฑํ ์ `lead` ์์ด์ ํธ๊ฐ ๋ฉ์ธ ์ค๋ ๋๊ฐ ๋๋๋ก `settings.json` ๊ธฐ๋ณธ ํฌํจ
|
|
13
19
|
|
|
14
|
-
|
|
20
|
+
### ํ์ ์ค์
|
|
15
21
|
|
|
16
|
-
|
|
22
|
+
์๋ธ์์ด์ ํธ resume(SendMessage) ๊ธฐ๋ฅ์ ์ฐ๋ ค๋ฉด Claude Code ์ธ์
์ `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` ํ๊ฒฝ ๋ณ์๊ฐ ํ์ํ๋ค (Claude Code๊ฐ ํ๋ฌ๊ทธ์ธ `settings.json`์ `env`๋ ์ ์ฉํ์ง ์์ผ๋ฏ๋ก ์ฌ์ฉ์๊ฐ ์ค์ ). `~/.claude/settings.json` ๋๋ ํ๋ก์ ํธ `.claude/settings.json`์ ์ถ๊ฐ:
|
|
17
23
|
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }
|
|
27
|
+
}
|
|
21
28
|
```
|
|
22
29
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
`/claude-nexus:nx-init`์ ์ฒ์ ์คํํ๋ฉด ํ๋ก์ ํธ๋ฅผ ์ค์บํด `.nexus/`์ ์ง์์ ์๋ ์์ฑํฉ๋๋ค.
|
|
26
|
-
|
|
27
|
-
> **Important**: ํ๋์ ์ํฌ์คํ์ด์ค์์ ๋์์ ์ฌ๋ฌ Claude Code ์ธ์
์ ์คํํ๋ ๊ฒ์ ์ง์๋์ง ์์ต๋๋ค. ์ํ ํ์ผ ์ถฉ๋์ด ๋ฐ์ํ ์ ์์ต๋๋ค.
|
|
28
|
-
|
|
29
|
-
**์ฒซ ์ฌ์ฉ**
|
|
30
|
-
|
|
31
|
-
- **ํ๋**: `[plan] ์ธ์ฆ ์์คํ
์ด๋ป๊ฒ ์ค๊ณํ๋ฉด ์ข์๊น?`
|
|
32
|
-
- **๊ฒฐ์ ๊ธฐ๋ก**: (plan ์ค) `์ ๊ทธ ๋ฐฉํฅ์ผ๋ก [d]`
|
|
33
|
-
- **์คํ**: `[run] ๋ก๊ทธ์ธ API ๊ตฌํ`
|
|
34
|
-
|
|
35
|
-
## ์ฌ์ฉ๋ฒ
|
|
36
|
-
|
|
37
|
-
| ํ๊ทธ | ๋์ | ์์ |
|
|
38
|
-
|------|------|------|
|
|
39
|
-
| `[plan]` | ํ๋ ๋ชจ๋ ํ์ฑํ | `[plan] DB ๋ง์ด๊ทธ๋ ์ด์
์ ๋ต ๋
ผ์` |
|
|
40
|
-
| `[d]` | ๊ฒฐ์ ๊ธฐ๋ก (plan ์ธ์
๋ด) | `์ ๊ทธ ๋ฐฉํฅ์ผ๋ก [d]` |
|
|
41
|
-
| `[run]` | ์คํ (์๋ธ์์ด์ ํธ ๊ตฌ์ฑ) | `[run] ๊ฒฐ์ ๋ชจ๋ ๋ฆฌํฉํ ๋ง` |
|
|
42
|
-
| `[rule]` | ๊ท์น ์ ์ฅ | `[rule] npm ๋์ bun ์ฌ์ฉ` |
|
|
43
|
-
| `[m]` | ๋ฉ๋ชจ ์ถ๊ฐ | `[m] ์ด ํจํด์ ๋์ค์ ์ฐธ๊ณ ` |
|
|
44
|
-
| `[m:gc]` | ๋ฉ๋ชจ ์ ๋ฆฌ | `[m:gc]` |
|
|
45
|
-
| `[sync]` | context/ ๋๊ธฐํ | `[sync]` |
|
|
46
|
-
|
|
47
|
-
## ์์ด์ ํธ
|
|
48
|
-
|
|
49
|
-
| ์นดํ
๊ณ ๋ฆฌ | ์์ด์ ํธ | ์ญํ | ๋ชจ๋ธ |
|
|
50
|
-
|----------|----------|------|------|
|
|
51
|
-
| **How** | Architect | ๊ธฐ์ ์ค๊ณ, ์ํคํ
์ฒ ๋ฆฌ๋ทฐ | opus |
|
|
52
|
-
| **How** | Designer | UI/UX ์ค๊ณ, ์ธํฐ๋์
ํจํด | opus |
|
|
53
|
-
| **How** | Postdoc | ๋ฐฉ๋ฒ๋ก ์ค๊ณ, ์ฆ๊ฑฐ ํ๊ฐ | opus |
|
|
54
|
-
| **How** | Strategist | ์ฝํ
์ธ ์ ๋ต, ๋ฐฉํฅ ์ค์ | opus |
|
|
55
|
-
| **Do** | Engineer | ์ฝ๋ ๊ตฌํ, ๋๋ฒ๊น
| sonnet |
|
|
56
|
-
| **Do** | Researcher | ์น ๊ฒ์, ๋
๋ฆฝ ์กฐ์ฌ | sonnet |
|
|
57
|
-
| **Do** | Writer | ๊ธฐ์ ๋ฌธ์, ํ๋ ์ ํ
์ด์
| sonnet |
|
|
58
|
-
| **Check** | Tester | ์ฝ๋ ๊ฒ์ฆ, ํ
์คํธ, ๋ณด์ | sonnet |
|
|
59
|
-
| **Check** | Reviewer | ์ฝํ
์ธ ๊ฒ์ฆ, ์ถ์ฒ ํ์ธ | sonnet |
|
|
60
|
-
|
|
61
|
-
## ์คํฌ
|
|
62
|
-
|
|
63
|
-
| ์คํฌ | ํธ๋ฆฌ๊ฑฐ | ์ค๋ช
|
|
|
64
|
-
|------|--------|------|
|
|
65
|
-
| **nx-plan** | `[plan]` | ๊ตฌ์กฐํ๋ ํ๋. ์๊ตฌ์ฌํญ ์ ๋ฆฌ โ ๊ฒฐ์ ๊ธฐ๋ก |
|
|
66
|
-
| **nx-run** | `[run]` | ๋์ ์์ด์ ํธ ๊ตฌ์ฑ ์คํ |
|
|
67
|
-
| **nx-init** | `/claude-nexus:nx-init` | ํ๋ก์ ํธ ์จ๋ณด๋ฉ. ์ฝ๋ ์ค์บ โ ์ง์ ์์ฑ |
|
|
68
|
-
| **nx-setup** | `/claude-nexus:nx-setup` | ๋ํํ ์ค์ |
|
|
69
|
-
| **nx-sync** | `/claude-nexus:nx-sync` | context/ ๋๊ธฐํ. ์์ค ๋ณ๊ฒฝ์ฌํญ์ .nexus/context/ ๋ฌธ์์ ๋ฐ์ |
|
|
70
|
-
|
|
71
|
-
## ๊ณ ๊ธ ๊ธฐ๋ฅ
|
|
72
|
-
|
|
73
|
-
<details>
|
|
74
|
-
<summary>MCP ๋๊ตฌ</summary>
|
|
75
|
-
|
|
76
|
-
Claude๊ฐ ์ง์ ํธ์ถํ๋ ๋๊ตฌ์
๋๋ค.
|
|
30
|
+
## ์ค์น
|
|
77
31
|
|
|
78
|
-
|
|
32
|
+
Claude Code ์์์ ํ๋ฌ๊ทธ์ธ ๋ง์ผํ๋ ์ด์ค๋ก ์ค์นํ๋ค.
|
|
79
33
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
| `nx_artifact_write` | ํ ์ฐ์ถ๋ฌผ ์ ์ฅ (`.nexus/state/artifacts/`) |
|
|
85
|
-
| `nx_plan_start` | ํ๋ ์ธ์
์์ (ํ ํฝ + ๋
ผ์ + ๋ฆฌ์์น ์์ฝ ๋ฑ๋ก) |
|
|
86
|
-
| `nx_plan_status` | ํ๋ ์ํ ์กฐํ |
|
|
87
|
-
| `nx_plan_update` | ํ๋ ๋
ผ์ ์์ (add/remove/edit/reopen) |
|
|
88
|
-
| `nx_plan_decide` | ๋
ผ์ ๊ฒฐ์ ์ฒ๋ฆฌ (plan.json) |
|
|
89
|
-
|
|
90
|
-
### Code Intelligence (8๊ฐ)
|
|
91
|
-
|
|
92
|
-
| ๋๊ตฌ | ์ฉ๋ |
|
|
93
|
-
|------|------|
|
|
94
|
-
| `nx_lsp_hover` | ์ฌ๋ณผ ํ์
์ ๋ณด |
|
|
95
|
-
| `nx_lsp_goto_definition` | ์ ์ ์์น ์ด๋ |
|
|
96
|
-
| `nx_lsp_find_references` | ์ฐธ์กฐ ๋ชฉ๋ก |
|
|
97
|
-
| `nx_lsp_diagnostics` | ์ปดํ์ผ๋ฌ/๋ฆฐํฐ ์๋ฌ |
|
|
98
|
-
| `nx_lsp_rename` | ํ๋ก์ ํธ ์ ์ฒด ์ฌ๋ณผ ๋ฆฌ๋ค์ |
|
|
99
|
-
| `nx_lsp_code_actions` | ์๋ ์์ /๋ฆฌํฉํ ๋ง ์ ์ |
|
|
100
|
-
| `nx_lsp_document_symbols` | ํ์ผ ๋ด ์ฌ๋ณผ ๋ชฉ๋ก |
|
|
101
|
-
| `nx_lsp_workspace_symbols` | ํ๋ก์ ํธ ์ ์ฒด ์ฌ๋ณผ ๊ฒ์ |
|
|
34
|
+
```
|
|
35
|
+
/plugin marketplace add moreih29/claude-nexus
|
|
36
|
+
/plugin install claude-nexus@nexus
|
|
37
|
+
```
|
|
102
38
|
|
|
103
|
-
|
|
39
|
+
## ์ฌ์ฉ
|
|
104
40
|
|
|
105
|
-
|
|
41
|
+
์ค์น ํ ์ Claude Code ์ธ์
์ ์ด๋ฉด `lead` ์์ด์ ํธ๊ฐ ๋ฉ์ธ ์ค๋ ๋๋ก ์คํ๋๋ค. ์์ฒญ ์์ ํ๊ทธ๋ฅผ ๋ถ์ฌ ์คํฌ์ ํ์ฑํํ๋ค.
|
|
106
42
|
|
|
107
|
-
|
|
108
|
-
|
|
43
|
+
| ํ๊ทธ | ๋์ |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `[plan]` | `nx-plan` ์คํฌ โ ๋ค๊ด์ ๋ถ์๊ณผ ๊ฒฐ์ ์ ๋ ฌ ๊ธฐ๋ฐ ์คํ ๊ณํ |
|
|
46
|
+
| `[auto-plan]` | `nx-auto-plan` ์คํฌ โ ์์ฒญ์ ์๋ ๋ถํดํด ๊ณํ |
|
|
47
|
+
| `[run]` | `nx-run` ์คํฌ โ ํ์ฌ ๊ณํ์ ํ์คํฌ ์คํ |
|
|
48
|
+
| `[m] <๋ณธ๋ฌธ>` | `.nexus/memory/`์ ๊ตํยท์ฐธ์กฐ ์ ์ฅ |
|
|
49
|
+
| `[m:gc]` | `.nexus/memory/` ์ ๋ฆฌ |
|
|
50
|
+
| `[d] <๊ฒฐ์ >` | ํ์ฑ plan ์ธ์
ํ์ฌ ์๊ฑด์ ๋ํ ๊ฒฐ์ ๊ธฐ๋ก |
|
|
109
51
|
|
|
110
|
-
|
|
52
|
+
## ์ ํ: statusline
|
|
111
53
|
|
|
112
|
-
|
|
113
|
-
|--------|------|
|
|
114
|
-
| `SessionStart` | `.nexus/` ๊ตฌ์กฐ ์ด๊ธฐํ, agent-tracker ๋ฆฌ์
, `tool-log.jsonl` ์ด๊ธฐํ |
|
|
115
|
-
| `UserPromptSubmit` | ํ๊ทธ ๊ฐ์ง โ ๋ชจ๋ ํ์ฑํ + TASK_PIPELINE ์ฃผ์
+ additionalContext ์๋ด |
|
|
116
|
-
| `PreToolUse` | Edit/Write: tasks.json ๋ฏธ์๋ฃ ์ ์ฐจ๋จ |
|
|
117
|
-
| `PostToolUse` | Edit/Write/NotebookEdit ํธ์ถ ์ ์๋ธ์์ด์ ํธ์ ํ์ผ ์์ ์ `tool-log.jsonl`์ append (agent_id ์์ ๋๋ง) |
|
|
118
|
-
| `SubagentStart` | ์์ด์ ํธ ์ญํ ๋ณ ์ฝ์ด ์ง์ ์ธ๋ฑ์ค ์๋ ์ฃผ์
(lazy-read). ๊ธฐ์กด agent_id ์ฌ๋ฐ ์ `resume_count`/`last_resumed_at` upsert |
|
|
119
|
-
| `SubagentStop` | ์์ด์ ํธ ์๋ฃ ๊ธฐ๋ก + `tool-log.jsonl` ์ง๊ณ โ `files_touched` ์ฃผ์
|
|
|
120
|
-
| `Stop` | pending ํ์คํฌ ์์ผ๋ฉด ์ข
๋ฃ ์ฐจ๋จ. all completed๋ฉด nx_task_close ๊ฐ์ |
|
|
121
|
-
| `PostCompact` | ์ธ์
์ํ ์ค๋
์ท (๋ชจ๋, ํ๋, ์์ด์ ํธ ํํฉ) |
|
|
54
|
+
ํ๋ฌ๊ทธ์ธ์ 2์ค statusline ์คํฌ๋ฆฝํธ๋ฅผ ํจ๊ป ๋ฐฐํฌํ๋ค. ์ฒซ ์ค์ `โNexus vX.Y.Z`ยท๋ชจ๋ธยทํ๋ก์ ํธยทgit ๋ธ๋์น(staged/unstaged), ๋์งธ ์ค์ ์ปจํ
์คํธ ์ฌ์ฉ๋ฅ ๊ณผ 5h/7d ์ฌ์ฉ ํ๋ ๊ฒ์ด์ง(๋ฆฌ์
๊น์ง ๋จ์ ์๊ฐ). Claude ProยทMax OAuth ์ธ์
์์๋ง 5h/7d๊ฐ ํ์๋๋ฉฐ, ๋ก์ปฌ์ ์ฌ๋ฌ Claude ์ธ์
์ด `~/.claude/.usage_cache`๋ฅผ ๊ณต์ ํ๋ฏ๋ก API ์ค๋ณต ํธ์ถ ์์ด ๊ฒฝํฉ์ด ๋ฐฉ์ง๋๋ค.
|
|
122
55
|
|
|
123
|
-
|
|
56
|
+
Claude Code๋ ํ๋ฌ๊ทธ์ธ์ด ์ฌ์ฉ์ `statusLine`์ ์๋ ๋ฑ๋กํ๋ ๊ฑธ ํ์ฉํ์ง ์์ผ๋ฏ๋ก, ๋ณ๋ CLI๋ก ๋ฐฐํฌ๋ `claude-nexus-statusline`์ ๋ณธ์ธ์ `~/.claude/settings.json`์ ๋ฑ๋กํ๋ค.
|
|
124
57
|
|
|
125
|
-
|
|
126
|
-
<summary>ํ๋ก์ ํธ ์ง์</summary>
|
|
127
|
-
|
|
128
|
-
`.nexus/`์ ํ๋ก์ ํธ ์ง์๊ณผ ๋ฐํ์ ์ํ๋ฅผ ์ ์ฅํฉ๋๋ค.
|
|
58
|
+
### bunx ๋๋ npx (์ค์น ๋ถํ์)
|
|
129
59
|
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"statusLine": {
|
|
63
|
+
"type": "command",
|
|
64
|
+
"command": "bunx claude-nexus-statusline"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
130
67
|
```
|
|
131
|
-
.nexus/
|
|
132
|
-
memory/ โ ํ์ตํ ๊ตํ, ์ฐธ๊ณ ์๋ฃ
|
|
133
|
-
context/ โ ์ค๊ณ ์์น, ์ํคํ
์ฒ ์ฒ ํ
|
|
134
|
-
state/ โ plan.json, tasks.json
|
|
135
|
-
rules/ โ ํ๋ก์ ํธ ์ปค์คํ
๊ท์น
|
|
136
|
-
history.json
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
- `memory/`, `context/`, `rules/` โ git ์ถ์ .
|
|
140
|
-
- `state/` โ ๋ฐํ์ ์ํ. git ๋ฌด์.
|
|
141
|
-
- `history.json` โ ์ฌ์ดํด ์์นด์ด๋ธ. git ์ถ์ .
|
|
142
68
|
|
|
143
|
-
|
|
69
|
+
`npx -y claude-nexus-statusline`๋ ๋์ผํ๊ฒ ๋์ํ๋ค. ์ต์ด ํธ์ถ 1ํ๋ง ํจํค์ง๋ฅผ ๋ก์ปฌ ์บ์์ ๋ฐ๊ณ , ์ดํ ํธ์ถ์ ์บ์์์ ์ฆ์ ์คํ๋๋ค.
|
|
144
70
|
|
|
145
|
-
|
|
146
|
-
<summary>๋ฐํ์ ์ํ</summary>
|
|
71
|
+
### ์ ์ญ ์ค์น (๊ฐ์ฅ ๋น ๋ฅธ ์์ ์๊ฐ)
|
|
147
72
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
```
|
|
151
|
-
.nexus/state/
|
|
152
|
-
โโโ tasks.json โ ํ์คํฌ ๋ชฉ๋ก ([run] ์ฌ์ดํด)
|
|
153
|
-
โโโ plan.json โ ํ๋ ์ธ์
([plan] ์ฌ์ดํด)
|
|
154
|
-
โโโ claude-nexus/ โ harness-local ๋ค์์คํ์ด์ค
|
|
155
|
-
โโโ agent-tracker.json โ ์๋ธ์์ด์ ํธ ๋ผ์ดํ์ฌ์ดํด (resume_count, files_touched ํฌํจ)
|
|
156
|
-
โโโ tool-log.jsonl โ ์๋ธ์์ด์ ํธ Edit/Write/NotebookEdit ํธ์ถ ๋ก๊ทธ (append-only)
|
|
157
|
-
โโโ artifacts/ โ ์ฐ์ถ๋ฌผ
|
|
73
|
+
```bash
|
|
74
|
+
bun add -g claude-nexus # ๋๋ npm i -g claude-nexus
|
|
158
75
|
```
|
|
159
76
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"statusLine": {
|
|
80
|
+
"type": "command",
|
|
81
|
+
"command": "claude-nexus-statusline"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
166
85
|
|
|
167
|
-
|
|
168
|
-
|------|------|---------|
|
|
169
|
-
| **persistent** | ๊ฐ์ ์ด์ ๋ด default-resume, ์ด์ ๊ฐ Lead ๋ช
์์ opt-in, ๋ฐ์ฆ/์ฌ๊ฒํ ๋ ๊ฐ์ fresh | architect, designer, postdoc, strategist, researcher |
|
|
170
|
-
| **bounded** | ๊ฐ์ artifact(ํ์ผ) ์ฐ์ ์์
์ conditional-resume, loop/feedback ์ฌ์ดํด์ ๊ฐ์ fresh | engineer, writer |
|
|
171
|
-
| **ephemeral** | ํญ์ fresh spawn (๊ฒ์ฆ ๋
๋ฆฝ์ฑ ๋ณด์ฅ) | tester, reviewer |
|
|
86
|
+
์
๋ฐ์ดํธ๋ `bun update -g claude-nexus`(๋๋ `npm update -g claude-nexus`) ํ ๋ฒ์ผ๋ก ๋๋๋ค.
|
|
172
87
|
|
|
173
|
-
|
|
88
|
+
## ์๊ตฌ ์ฌํญ
|
|
174
89
|
|
|
175
|
-
|
|
90
|
+
- Claude Code (์ต์ )
|
|
91
|
+
- Node.js 20 ์ด์ (ํ
ยทMCP ์๋ฒ ์คํ)
|
|
176
92
|
|
|
177
|
-
|
|
93
|
+
## ๋ผ์ด์ ์ค
|
|
178
94
|
|
|
179
|
-
|
|
95
|
+
MIT
|