@scottymade/mana 1.0.0 → 1.0.1
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 +22 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,43 +4,45 @@ MANA - LLM Token Usage Optimizer for Claude Code
|
|
|
4
4
|
|
|
5
5
|
Optimizes token-heavy tool outputs, saving 50-80% on every operation. Double your Claude Code usage.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
### Step 1: Install MANA
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
12
|
npm install -g @scottymade/mana
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
Get your API key at [devmana.ai](https://devmana.ai) → **Settings** → **API Keys**
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
### Step 2: Add MCP Server
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
**2a. Project only** (run from your project root):
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
```bash
|
|
22
|
+
claude mcp add -s project mana -- mana --api-key=YOUR_API_KEY
|
|
23
|
+
```
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
**2b. Global** (run from anywhere, applies to all projects):
|
|
22
26
|
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
"mcpServers": {
|
|
26
|
-
"mana": {
|
|
27
|
-
"command": "mana",
|
|
28
|
-
"args": ["--api-key=YOUR_API_KEY"]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
27
|
+
```bash
|
|
28
|
+
claude mcp add -s user mana -- mana --api-key=YOUR_API_KEY
|
|
32
29
|
```
|
|
33
30
|
|
|
34
|
-
### 3
|
|
31
|
+
### Step 3: Add Claude Instructions
|
|
32
|
+
|
|
33
|
+
**3a. Project only** (run from your project root):
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
{ curl -fsSL https://raw.githubusercontent.com/scottymade/mana/main/instructions/CLAUDE_INSTRUCTIONS.md; echo ""; echo "---"; echo ""; cat CLAUDE.md 2>/dev/null; } > CLAUDE.md.tmp && mv CLAUDE.md.tmp CLAUDE.md
|
|
37
|
+
```
|
|
35
38
|
|
|
36
|
-
|
|
39
|
+
**3b. Global** (run from anywhere, applies to all projects):
|
|
37
40
|
|
|
38
41
|
```bash
|
|
39
|
-
|
|
40
|
-
curl -fsSL https://raw.githubusercontent.com/scottymade/mana/main/instructions/CLAUDE_INSTRUCTIONS.md >> .claude/CLAUDE.md
|
|
42
|
+
{ curl -fsSL https://raw.githubusercontent.com/scottymade/mana/main/instructions/CLAUDE_INSTRUCTIONS.md; echo ""; echo "---"; echo ""; cat ~/.claude/CLAUDE.md 2>/dev/null; } > ~/.claude/CLAUDE.md.tmp && mv ~/.claude/CLAUDE.md.tmp ~/.claude/CLAUDE.md
|
|
41
43
|
```
|
|
42
44
|
|
|
43
|
-
### 4
|
|
45
|
+
### Step 4: Restart Claude Code
|
|
44
46
|
|
|
45
47
|
Run `/mcp` to verify MANA is connected.
|
|
46
48
|
|