@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.
Files changed (2) hide show
  1. package/README.md +22 -20
  2. 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
- ## Installation
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
- ## Setup
15
+ Get your API key at [devmana.ai](https://devmana.ai) → **Settings** → **API Keys**
14
16
 
15
- After installing, you need to configure MANA for your project:
17
+ ### Step 2: Add MCP Server
16
18
 
17
- ### 1. Get Your API Key
19
+ **2a. Project only** (run from your project root):
18
20
 
19
- Sign up at [devmana.ai](https://devmana.ai) and create an API key.
21
+ ```bash
22
+ claude mcp add -s project mana -- mana --api-key=YOUR_API_KEY
23
+ ```
20
24
 
21
- ### 2. Create `.mcp.json` in your project
25
+ **2b. Global** (run from anywhere, applies to all projects):
22
26
 
23
- ```json
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. Add Claude Instructions
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
- Add the MANA instructions to `.claude/CLAUDE.md` in your project:
39
+ **3b. Global** (run from anywhere, applies to all projects):
37
40
 
38
41
  ```bash
39
- mkdir -p .claude
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. Restart Claude Code
45
+ ### Step 4: Restart Claude Code
44
46
 
45
47
  Run `/mcp` to verify MANA is connected.
46
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scottymade/mana",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MANA - LLM Token Usage Optimizer for Claude Code",
5
5
  "keywords": [
6
6
  "claude",