md4ai 0.10.2 → 0.10.4

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 ADDED
@@ -0,0 +1,167 @@
1
+ <p align="center">
2
+ <strong><span style="color:#38bdf8">MD4</span>AI</strong><br/>
3
+ <em>See what Claude actually reads</em>
4
+ </p>
5
+
6
+ <p align="center">
7
+ <a href="https://www.npmjs.com/package/md4ai"><img src="https://img.shields.io/npm/v/md4ai?color=38bdf8&label=npm" alt="npm version"></a>
8
+ <a href="https://www.npmjs.com/package/md4ai"><img src="https://img.shields.io/npm/dm/md4ai?color=10b981" alt="monthly downloads"></a>
9
+ <a href="https://github.com/Media-HQ-2-Ltd/MD4AI/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Media-HQ-2-Ltd/MD4AI" alt="licence"></a>
10
+ <a href="https://www.md4ai.com"><img src="https://img.shields.io/badge/dashboard-md4ai.com-38bdf8" alt="web dashboard"></a>
11
+ </p>
12
+
13
+ ---
14
+
15
+ Scan your Claude Code configuration, visualise the dependency graph, catch orphan files, and track software versions — across every device and every project.
16
+
17
+ **Free for individual developers.** Teams get shared dashboards and invite-based collaboration.
18
+
19
+ <p align="center">
20
+ <img src="https://www.md4ai.com/screenshots/project-overview.png" alt="MD4AI project dashboard" width="700"/>
21
+ </p>
22
+
23
+ ## Why MD4AI?
24
+
25
+ As your Claude Code setup grows — CLAUDE.md, skills, hooks, MCP servers, memory files, plan docs — it becomes hard to see the full picture. MD4AI scans everything and shows you:
26
+
27
+ - **Dependency graph** — which files reference which, interactively
28
+ - **Orphan detection** — config files nothing points to
29
+ - **Broken references** — links to files that don't exist
30
+ - **Skills catalogue** — project-specific, machine-wide, and marketplace plugins
31
+ - **Stale files** — anything untouched for 90+ days
32
+ - **Environment drift** — compare `.env`, Vercel, and GitHub Secrets
33
+ - **Software versions** — frameworks and tools detected vs latest releases
34
+
35
+ ## Quick Start
36
+
37
+ ```bash
38
+ npm install -g md4ai
39
+ ```
40
+
41
+ > Requires **Node.js 22** or later. Works on **Windows (WSL2)**, **Linux**, and **macOS**.
42
+
43
+ ```bash
44
+ # 1. Create an account at md4ai.com and set your API key
45
+ export MD4AI_SUPABASE_ANON_KEY="your-anon-key"
46
+
47
+ # 2. Log in
48
+ md4ai login
49
+
50
+ # 3. Link a project (get the ID from the dashboard URL)
51
+ cd /path/to/your-claude-project
52
+ md4ai link <project-id>
53
+
54
+ # 4. That's it — your scan results are live at md4ai.com
55
+ ```
56
+
57
+ Or scan without an account:
58
+
59
+ ```bash
60
+ md4ai scan --offline # generates output/index.html
61
+ ```
62
+
63
+ ## What You Get
64
+
65
+ ### Dependency Graph
66
+
67
+ See how your CLAUDE.md, skills, hooks, and config files connect. Search, zoom, and print wall sheets.
68
+
69
+ <p align="center">
70
+ <img src="https://www.md4ai.com/screenshots/dependency-graph.png" alt="Dependency graph" width="600"/>
71
+ </p>
72
+
73
+ ### Orphan Detection
74
+
75
+ Find configuration files not reachable from any root. Grouped by folder with modification dates.
76
+
77
+ <p align="center">
78
+ <img src="https://www.md4ai.com/screenshots/orphan-files.png" alt="Orphan files" width="600"/>
79
+ </p>
80
+
81
+ ### Skills Comparison
82
+
83
+ Every skill and plugin at a glance — machine-wide vs project-specific, with current status.
84
+
85
+ <p align="center">
86
+ <img src="https://www.md4ai.com/screenshots/skills-table.png" alt="Skills comparison" width="600"/>
87
+ </p>
88
+
89
+ ### Software Versions
90
+
91
+ Track detected tool versions compared against latest stable and beta releases.
92
+
93
+ <p align="center">
94
+ <img src="https://www.md4ai.com/screenshots/software-versions.png" alt="Software versions" width="600"/>
95
+ </p>
96
+
97
+ ## Commands
98
+
99
+ ### Scanning & Syncing
100
+
101
+ | Command | Description |
102
+ |---------|-------------|
103
+ | `md4ai scan [path]` | Scan a Claude project and push results to the dashboard |
104
+ | `md4ai scan --offline` | Scan locally — generates `output/index.html` without pushing |
105
+ | `md4ai sync --all` | Re-scan and sync all linked projects on this device |
106
+ | `md4ai link <project-id>` | Link cwd to a dashboard project and run initial scan |
107
+
108
+ ### Analysis
109
+
110
+ | Command | Description |
111
+ |---------|-------------|
112
+ | `md4ai simulate <prompt>` | Show which files Claude would load for a given prompt |
113
+ | `md4ai print <title>` | Generate a printable A3 wall-chart HTML |
114
+ | `md4ai init-manifest` | Scaffold an `env-manifest.md` from detected `.env` files |
115
+
116
+ ### Account & Devices
117
+
118
+ | Command | Description |
119
+ |---------|-------------|
120
+ | `md4ai login` | Authenticate with email and password |
121
+ | `md4ai status` | Show login status, linked folders, and last sync |
122
+ | `md4ai list-devices` | List all devices and their linked projects |
123
+ | `md4ai mcp-watch` | Monitor MCP server status (runs until Ctrl+C) |
124
+
125
+ ### One Command to Rule Them All
126
+
127
+ ```bash
128
+ md4ai start # or just: md4ai
129
+ ```
130
+
131
+ Checks for updates, scans the current project, and starts MCP monitoring — all in one go.
132
+
133
+ ## Scan Output
134
+
135
+ ```
136
+ Files found: 41
137
+ References: 41
138
+ Broken refs: 2
139
+ Orphans: 3
140
+ Stale files: 0
141
+ Skills: 19
142
+ Toolings: 55
143
+ Env Vars: 24 (manifest found)
144
+ Plugins: 17 (17 skills)
145
+ Data hash: 9868c4a8b50f...
146
+ ```
147
+
148
+ ## Web Dashboard
149
+
150
+ All scan data syncs to [md4ai.com](https://www.md4ai.com) where you can:
151
+
152
+ - Browse the dependency graph interactively
153
+ - View file contents with structure navigation
154
+ - Track environment variable drift across local, Vercel, and GitHub
155
+ - Monitor MCP server status per device
156
+ - Share projects with team members
157
+ - Compare skills across machines
158
+
159
+ ## Support
160
+
161
+ Questions, feedback, or bugs: [richard@mediahq2.com](mailto:richard@mediahq2.com)
162
+
163
+ Built by [Testate Technologies Ltd](https://www.md4ai.com) · [Changelog](https://www.md4ai.com/changelog)
164
+
165
+ ## Licence
166
+
167
+ MIT — see [LICENCE](https://github.com/Media-HQ-2-Ltd/MD4AI/blob/main/LICENSE) for details.