@antonior/claude-code-setup 1.1.2 → 1.2.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 CHANGED
@@ -56,6 +56,7 @@ The installer installs these for you if missing:
56
56
  - `notify-sound.sh` — sound on notification/stop
57
57
  - **`commands/`** — `/check-dep`, `/debug`, `/scan-secrets` slash commands
58
58
  - **`skills/`** — `/mute`, `/unmute`, and `/caveman` (with intensity levels)
59
+ - **`agents/`** — custom subagents: `Explore` (fast read-only code search), `Plan` (architect/implementation plans), `statusline-setup` (statusline config)
59
60
  - **`statusline.sh`** — git, model, context %, rate-limit statusline
60
61
  - **`transcript-search/rag_lite.py`** — the transcript-search MCP engine
61
62
  - **MCP servers** (registered via `claude mcp add-json`, user scope) — see below
@@ -84,10 +85,6 @@ The installer reproduces **100% of the configuration and behaviour**. Two things
84
85
  1. **Log into Claude Code** (your account — you'd do this on any new machine anyway).
85
86
  2. **Give `claude-video-vision` your own API key** if you use video analysis.
86
87
 
87
- ## Intentionally not shipped
88
-
89
- - `skipDangerousModePermissionPrompt` — this disables a safety confirmation. I won't flip that on your machine by default; enable it yourself if you want it.
90
-
91
88
  ## License
92
89
 
93
90
  [MIT](./LICENSE) © Antonio Radosav
package/bin/install.js CHANGED
@@ -170,6 +170,7 @@ function main() {
170
170
  ensureDir(path.join(CLAUDE_DIR, 'skills'));
171
171
  ensureDir(path.join(CLAUDE_DIR, 'skills', 'caveman'));
172
172
  ensureDir(path.join(CLAUDE_DIR, 'commands'));
173
+ ensureDir(path.join(CLAUDE_DIR, 'agents'));
173
174
  ensureDir(path.join(CLAUDE_DIR, 'transcript-search'));
174
175
 
175
176
  // 3. Hooks
@@ -195,6 +196,12 @@ function main() {
195
196
  // per-user from their own ~/.claude/projects and is never shipped)
196
197
  copyFile(path.join(FILES_DIR, 'transcript-search', 'rag_lite.py'), path.join(CLAUDE_DIR, 'transcript-search', 'rag_lite.py'));
197
198
 
199
+ // 4d. Agents (custom subagent definitions: Explore, Plan, statusline-setup).
200
+ // Overwritten on re-run so updates propagate, same as hooks/statusline.
201
+ for (const a of ['Explore.md', 'Plan.md', 'statusline-setup.md']) {
202
+ copyFile(path.join(FILES_DIR, 'agents', a), path.join(CLAUDE_DIR, 'agents', a));
203
+ }
204
+
198
205
  // 5. Statusline
199
206
  const statuslineDest = path.join(CLAUDE_DIR, 'statusline.sh');
200
207
  copyFile(path.join(FILES_DIR, 'statusline.sh'), statuslineDest);
package/files/CLAUDE.md CHANGED
@@ -49,5 +49,6 @@ Applies to all projects. The current user and any project CLAUDE.md override thi
49
49
  - Run `/compact` proactively when context hits 60%. Don't wait to be asked.
50
50
 
51
51
  ## Misc
52
- - British English in prose (behaviour, colour, licence) HL is UK.
52
+ - British English in prose (behaviour, colour, licence). HL is UK.
53
+ - No em dashes (—), en dashes (–), or hyphens between words in prose. This includes compound modifiers: write "host owned", "one way", "over the air", "self hosted", "real time", never hyphenated. Use full stops, commas, colons, parentheses, or just separate words. The ONLY hyphens allowed are inside a literal code identifier, file path, package name (e.g. react-navigation, core/ui-components), CSS property, HTML attribute, or version string. Never invent one in plain English.
53
54
  - Skills to use proactively: `/scan-secrets` (auto before commits), `/check-dep` (before adding deps), `/debug` (when stuck).
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: Explore
3
+ description: Fast read-only search agent for locating code. Use it to find files by pattern, grep for symbols or keywords, or answer where is X defined / which files reference Y. Do NOT use for code review, design-doc auditing, cross-file consistency checks, or open-ended analysis.
4
+ model: sonnet
5
+ tools: Glob, Grep, LS, Read
6
+ ---
7
+
8
+ You are a fast, read-only code search agent. Your job is to locate files, symbols, and patterns — nothing else.
9
+
10
+ - Find files by glob pattern
11
+ - Grep for symbols, keywords, function names
12
+ - Answer "where is X defined" or "which files reference Y"
13
+ - Return excerpts and file:line references
14
+
15
+ Do not review, analyse, summarise, or make recommendations. Just find and report locations.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: Plan
3
+ description: Software architect agent for designing implementation plans. Returns step-by-step plans, identifies critical files, and considers architectural trade-offs.
4
+ model: opus
5
+ tools: Glob, Grep, LS, Read, WebFetch, WebSearch
6
+ ---
7
+
8
+ You are a senior software architect. Your job is to design clear, actionable implementation plans.
9
+
10
+ - Deeply understand the problem before designing
11
+ - Identify critical files and existing patterns to reuse
12
+ - Evaluate trade-offs between approaches
13
+ - Commit to one recommended approach with reasoning
14
+ - Output a step-by-step plan with file paths and verification steps
15
+
16
+ Be decisive. Do not present multiple options without a clear recommendation.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: statusline-setup
3
+ description: Configure the Claude Code status line setting. Reads and edits ~/.claude/statusline.sh and ~/.claude/settings.json to update what is displayed in the status bar.
4
+ model: haiku
5
+ tools: Read, Edit, Write, Bash
6
+ ---
7
+
8
+ You are a specialist for configuring the Claude Code status line. You read and modify ~/.claude/statusline.sh and ~/.claude/settings.json only.
9
+
10
+ Follow the user's instructions exactly. Make targeted edits — do not rewrite files unless necessary.
@@ -38,7 +38,6 @@
38
38
  "Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\(json.dumps\\(d.get\\('mcpServers', {}\\), indent=2\\)\\)\")"
39
39
  ]
40
40
  },
41
- "model": "sonnet",
42
41
  "hooks": {
43
42
  "SessionStart": [
44
43
  {
@@ -157,7 +156,9 @@
157
156
  "command": "~/.claude/statusline.sh"
158
157
  },
159
158
  "effortLevel": "xhigh",
159
+ "advisorModel": "opus",
160
+ "skipDangerousModePermissionPrompt": true,
160
161
  "theme": "dark-ansi",
161
162
  "autoCompactEnabled": true,
162
- "advisorModel": "opus"
163
+ "agentPushNotifEnabled": true
163
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antonior/claude-code-setup",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "Install Antonio's full Claude Code setup: hooks, slash commands, skills, statusline, settings, and MCP servers (transcript-search + video-vision)",
5
5
  "bin": {
6
6
  "claude-code-setup": "bin/install.js"