viewcc 1.4.0 → 1.6.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/README.md +84 -61
- package/dist/assets/index-DnUklSkq.js +110 -0
- package/dist/assets/index-DwH-BDeS.js +110 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# View Claude Code
|
|
2
2
|
|
|
3
|
-
> Interactive visualization tool for Claude Code agents and
|
|
3
|
+
> Interactive visualization tool for Claude Code agents, skills, and commands
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/viewcc)
|
|
6
6
|
[](https://www.npmjs.com/package/viewcc)
|
|
7
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
**View Claude Code** is a powerful tool that visualizes your Claude Code agents, skills, and commands in an interactive graph.
|
|
10
10
|
Perfect for understanding agent-skill relationships, navigating complex configurations, and executing agents/skills directly from the UI.
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Features
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
14
|
+
- **Interactive Graph Visualization** - Beautiful hierarchical layout showing all agents, skills, and commands
|
|
15
|
+
- **Global + Local Support** - Scans both project `.claude/` and global `~/.claude/` directories
|
|
16
|
+
- **Smart Relationship Mapping** - Automatically detects and visualizes agent-skill connections
|
|
17
|
+
- **One-Command Setup** - Just run `npx viewcc` - no installation needed
|
|
18
|
+
- **Execute from UI** - Run agents and skills directly from the graph interface
|
|
19
|
+
- **Visual Clarity** - Color-coded nodes with distinct styling for local vs global scope
|
|
20
|
+
- **Zero Configuration** - Works out of the box with any Claude Code project
|
|
21
|
+
- **Responsive Design** - Smooth zoom, pan, and navigation controls
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Quick Start
|
|
24
24
|
|
|
25
25
|
### Prerequisites
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ Perfect for understanding agent-skill relationships, navigating complex configur
|
|
|
31
31
|
|
|
32
32
|
**Project Requirements:**
|
|
33
33
|
- A **Claude Code project** with a `.claude/` directory
|
|
34
|
-
- If you don't have one, run `claude
|
|
34
|
+
- If you don't have one, run `claude` in your project folder
|
|
35
35
|
- Or use this tool to explore any existing Claude Code project
|
|
36
36
|
|
|
37
37
|
**Optional:**
|
|
@@ -50,15 +50,16 @@ npx viewcc
|
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
That's it! The visualizer will:
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
53
|
+
- Scan your project's `.claude/` directory
|
|
54
|
+
- Scan your global `~/.claude/` directory
|
|
55
|
+
- Start the server
|
|
56
|
+
- Open your browser automatically
|
|
56
57
|
|
|
57
58
|
### Usage
|
|
58
59
|
|
|
59
60
|
**Basic usage:**
|
|
60
61
|
```bash
|
|
61
|
-
# Visualize current project
|
|
62
|
+
# Visualize current project (local + global)
|
|
62
63
|
npx viewcc
|
|
63
64
|
|
|
64
65
|
# Visualize specific project
|
|
@@ -94,6 +95,52 @@ npx viewcc --verbose
|
|
|
94
95
|
npx viewcc --port 5000 --no-open --verbose
|
|
95
96
|
```
|
|
96
97
|
|
|
98
|
+
## How It Works
|
|
99
|
+
|
|
100
|
+
### Node Types
|
|
101
|
+
|
|
102
|
+
| Type | Color | Description |
|
|
103
|
+
|------|-------|-------------|
|
|
104
|
+
| **Agent** | Blue | AI assistants with specific tasks |
|
|
105
|
+
| **Skill** | Green | Reusable capabilities with scripts/webapp |
|
|
106
|
+
| **Command** | Amber | Slash commands (`/command-name`) |
|
|
107
|
+
|
|
108
|
+
### Scope
|
|
109
|
+
|
|
110
|
+
| Scope | Border Style | Location |
|
|
111
|
+
|-------|--------------|----------|
|
|
112
|
+
| **Local** | Solid | `.claude/` in project |
|
|
113
|
+
| **Global** | Dashed (orange) | `~/.claude/` in home |
|
|
114
|
+
|
|
115
|
+
Use the **Global** toggle button to show/hide global nodes.
|
|
116
|
+
|
|
117
|
+
### Edge Types
|
|
118
|
+
|
|
119
|
+
| Type | Style | Meaning |
|
|
120
|
+
|------|-------|---------|
|
|
121
|
+
| **uses** | Solid indigo | Agent uses a skill/command |
|
|
122
|
+
| **calls** | Dashed purple | Agent calls another agent |
|
|
123
|
+
|
|
124
|
+
### Hierarchy
|
|
125
|
+
|
|
126
|
+
- **Level 0**: Top-level agents with child agents
|
|
127
|
+
- **Level 1+**: Child agents
|
|
128
|
+
- **Rightmost**: Skills and commands
|
|
129
|
+
|
|
130
|
+
## Controls
|
|
131
|
+
|
|
132
|
+
| Action | Effect |
|
|
133
|
+
|--------|--------|
|
|
134
|
+
| **Click node** | View details in sidebar |
|
|
135
|
+
| **Click "Execute"** | Run agent/skill via Claude Code |
|
|
136
|
+
| **Scroll** | Zoom in/out |
|
|
137
|
+
| **Drag background** | Pan around |
|
|
138
|
+
| **Drag node** | Move node position |
|
|
139
|
+
| **Click background** | Deselect node |
|
|
140
|
+
| **Global button** | Toggle global nodes visibility |
|
|
141
|
+
|
|
142
|
+
## Development
|
|
143
|
+
|
|
97
144
|
### Local Development
|
|
98
145
|
|
|
99
146
|
If you want to modify or contribute:
|
|
@@ -117,59 +164,36 @@ cd ~/other-project
|
|
|
117
164
|
viewcc
|
|
118
165
|
```
|
|
119
166
|
|
|
120
|
-
## 📖 How It Works
|
|
121
|
-
|
|
122
|
-
### Graph Structure
|
|
123
|
-
|
|
124
|
-
- **Blue nodes**: Agents (AI assistants with specific tasks)
|
|
125
|
-
- **Green nodes**: Skills (reusable capabilities)
|
|
126
|
-
- **Purple lines**: Agent calls another agent
|
|
127
|
-
- **Indigo lines**: Agent uses a skill
|
|
128
|
-
|
|
129
|
-
### Hierarchy
|
|
130
|
-
|
|
131
|
-
- **Level 0**: Top-level agents with child agents
|
|
132
|
-
- **Level 1**: Child agents
|
|
133
|
-
- **Level 2**: Leaf agents (skill-only)
|
|
134
|
-
- **Level 3**: Skills
|
|
135
|
-
|
|
136
|
-
## 🎮 Controls
|
|
137
|
-
|
|
138
|
-
- **Click node**: View details in sidebar
|
|
139
|
-
- **Click "Execute" button**: Run agent/skill via Claude Code
|
|
140
|
-
- **Scroll**: Zoom in/out
|
|
141
|
-
- **Drag**: Pan around
|
|
142
|
-
- **Click background**: Deselect node
|
|
143
|
-
|
|
144
|
-
## 🛠️ Development
|
|
145
|
-
|
|
146
167
|
### Project Structure
|
|
147
168
|
|
|
148
169
|
```
|
|
149
|
-
|
|
150
|
-
├──
|
|
151
|
-
│
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
└──
|
|
159
|
-
|
|
160
|
-
└── public/data/ # Generated graph data
|
|
170
|
+
claude-code-visualizer/
|
|
171
|
+
├── src/ # TypeScript source
|
|
172
|
+
│ ├── cli.ts # CLI entry point
|
|
173
|
+
│ ├── scanner.ts # Project scanner
|
|
174
|
+
│ └── server.ts # Express server
|
|
175
|
+
├── lib/ # Compiled JavaScript
|
|
176
|
+
├── dist/ # Built webapp
|
|
177
|
+
└── .claude/
|
|
178
|
+
└── skills/
|
|
179
|
+
└── agent-skill-visualizer/
|
|
180
|
+
└── webapp/ # React/TypeScript app
|
|
161
181
|
```
|
|
162
182
|
|
|
163
183
|
### Building from Source
|
|
164
184
|
|
|
165
185
|
```bash
|
|
186
|
+
# Build everything (TypeScript + webapp)
|
|
187
|
+
npm run build
|
|
188
|
+
|
|
189
|
+
# Webapp only
|
|
166
190
|
cd .claude/skills/agent-skill-visualizer/webapp
|
|
167
191
|
npm install
|
|
168
192
|
npm run dev # Development mode
|
|
169
193
|
npm run build # Production build
|
|
170
194
|
```
|
|
171
195
|
|
|
172
|
-
##
|
|
196
|
+
## Contributing
|
|
173
197
|
|
|
174
198
|
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
175
199
|
|
|
@@ -181,21 +205,20 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
181
205
|
4. Push to the branch (`git push origin feature/AmazingFeature`)
|
|
182
206
|
5. Open a Pull Request
|
|
183
207
|
|
|
184
|
-
##
|
|
208
|
+
## License
|
|
185
209
|
|
|
186
210
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
187
211
|
|
|
188
|
-
##
|
|
212
|
+
## Acknowledgments
|
|
189
213
|
|
|
190
214
|
- Built for [Claude Code](https://github.com/anthropics/claude-code) by Anthropic
|
|
191
215
|
- Inspired by the need to visualize complex agent-skill relationships
|
|
192
|
-
- Uses D3.js for graph rendering
|
|
193
216
|
|
|
194
|
-
##
|
|
217
|
+
## Contact
|
|
195
218
|
|
|
196
219
|
- GitHub: [@kubony](https://github.com/kubony)
|
|
197
220
|
- Issues: [GitHub Issues](https://github.com/kubony/claude-code-visualizer/issues)
|
|
198
221
|
|
|
199
222
|
---
|
|
200
223
|
|
|
201
|
-
**Made with
|
|
224
|
+
**Made with Claude Code**
|