claude-code-tools 0.1.21__tar.gz → 0.2.1__tar.gz

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.

Potentially problematic release.


This version of claude-code-tools might be problematic. Click here for more details.

Files changed (22) hide show
  1. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/PKG-INFO +99 -10
  2. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/README.md +98 -9
  3. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/__init__.py +1 -1
  4. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/find_claude_session.py +178 -32
  5. claude_code_tools-0.2.1/claude_code_tools/find_codex_session.py +562 -0
  6. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/lmsh.md +2 -2
  7. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/pyproject.toml +3 -2
  8. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/.gitignore +0 -0
  9. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/LICENSE +0 -0
  10. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/codex_bridge_mcp.py +0 -0
  11. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/dotenv_vault.py +0 -0
  12. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/env_safe.py +0 -0
  13. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/tmux_cli_controller.py +0 -0
  14. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/claude_code_tools/tmux_remote_controller.py +0 -0
  15. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/cc-codex-instructions.md +0 -0
  16. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/claude-code-chutes.md +0 -0
  17. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/claude-code-tmux-tutorials.md +0 -0
  18. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/dot-zshrc.md +0 -0
  19. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/find-claude-session.md +0 -0
  20. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/reddit-post.md +0 -0
  21. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/tmux-cli-instructions.md +0 -0
  22. {claude_code_tools-0.1.21 → claude_code_tools-0.2.1}/docs/vault-documentation.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-code-tools
3
- Version: 0.1.21
3
+ Version: 0.2.1
4
4
  Summary: Collection of tools for working with Claude Code
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.11
@@ -17,6 +17,24 @@ Description-Content-Type: text/markdown
17
17
  A collection of practical tools, hooks, and utilities for enhancing Claude Code
18
18
  and other CLI coding agents.
19
19
 
20
+ ## Table of Contents
21
+
22
+ - [🎮 tmux-cli: Bridging Claude Code and Interactive CLIs — "playwright for the terminal"](#tmux-cli-bridging-claude-code-and-interactive-clis)
23
+ - [🚀 Quick Start](#quick-start)
24
+ - [🎮 tmux-cli Deep Dive](#tmux-cli-deep-dive)
25
+ - [🚀 lmsh (Experimental) — natural language to shell commands](#lmsh-experimental)
26
+ - [🔍 find-claude-session — search and resume Claude sessions](#find-claude-session)
27
+ - [🔍 find-codex-session — search and resume Codex sessions](#find-codex-session)
28
+ - [🔐 vault — encrypted .env backup & sync](#vault)
29
+ - [🔍 env-safe — inspect .env safely without values](#env-safe)
30
+ - [🛡️ Claude Code Safety Hooks — guardrails for bash, git, env, files](#claude-code-safety-hooks)
31
+ - [🤖 Using Claude Code with Open-weight Anthropic API-compatible LLM Providers](#using-claude-code-with-open-weight-anthropic-api-compatible-llm-providers)
32
+ - [📚 Documentation](#documentation)
33
+ - [📋 Requirements](#requirements)
34
+ - [🛠️ Development](#development)
35
+ - [📄 License](#license)
36
+
37
+ <a id="tmux-cli-bridging-claude-code-and-interactive-clis"></a>
20
38
  ## 🎮 tmux-cli: Bridging Claude Code and Interactive CLIs
21
39
 
22
40
  > **Note**: While the description below focuses on Claude Code, tmux-cli works with any CLI coding agent.
@@ -50,6 +68,7 @@ use tmux-cli behind the scenes.
50
68
 
51
69
  **Works anywhere**: Automatically handles both local tmux panes and remote sessions.
52
70
 
71
+ <a id="quick-start"></a>
53
72
  ## 🚀 Quick Start
54
73
 
55
74
  ```bash
@@ -63,9 +82,11 @@ uv tool install git+https://github.com/pchalasani/claude-code-tools
63
82
  This gives you:
64
83
  - `tmux-cli` - The interactive CLI controller we just covered
65
84
  - `find-claude-session` - Search and resume Claude Code sessions by keywords
85
+ - `find-codex-session` - Search and resume Codex sessions by keywords
66
86
  - `vault` - Encrypted backup for your .env files
67
87
  - `env-safe` - Safely inspect .env files without exposing values
68
88
 
89
+ <a id="tmux-cli-deep-dive"></a>
69
90
  ## 🎮 tmux-cli Deep Dive
70
91
 
71
92
  ### What Claude Code Can Do With tmux-cli
@@ -117,6 +138,7 @@ claude mcp add puppeteer -- npx -y @modelcontextprotocol/server-puppeteer
117
138
 
118
139
  For detailed instructions, see [docs/tmux-cli-instructions.md](docs/tmux-cli-instructions.md).
119
140
 
141
+ <a id="lmsh-experimental"></a>
120
142
  ## 🚀 lmsh (Experimental)
121
143
 
122
144
  Natural language shell - type what you want in plain English, get an editable command.
@@ -134,11 +156,11 @@ docker ps -n 5 # <-- Edit before running
134
156
 
135
157
  **Features:**
136
158
  - Rust-based for instant startup (<1ms binary load time)
137
- - Translates natural language to shell commands using Claude
159
+ - Translates natural language to shell commands using Claude Code CLI
138
160
  - Commands are editable before execution - full control
139
161
  - Preserves your shell environment
140
162
 
141
- **Note:** Claude API adds ~3-5s latency. Future versions may use local models for instant response.
163
+ **Note:** Requires Claude Code CLI (`claude` command) to be installed. The translation adds ~2-3s due to Claude Code CLI startup.
142
164
 
143
165
  **Installation:**
144
166
  ```bash
@@ -153,6 +175,7 @@ cp target/release/lmsh ~/.cargo/bin/
153
175
 
154
176
  See [docs/lmsh.md](docs/lmsh.md) for details.
155
177
 
178
+ <a id="find-claude-session"></a>
156
179
  ## 🔍 find-claude-session
157
180
 
158
181
  Search and resume Claude Code sessions by keywords with an interactive UI.
@@ -202,10 +225,54 @@ won't persist after exiting Claude Code.
202
225
 
203
226
  For detailed documentation, see [docs/find-claude-session.md](docs/find-claude-session.md).
204
227
 
205
- Looks like this --
228
+ Looks like this --
206
229
 
207
- ![fcs.png](docs/fcs.png)
230
+ ![find-claude-session.png](demos/find-claude-session.png)
208
231
 
232
+ <a id="find-codex-session"></a>
233
+ ## 🔍 find-codex-session
234
+
235
+ Search and resume Codex sessions by keywords. Usage is similar to `find-claude-session` above, but works with Codex session files instead.
236
+
237
+ ### Key Differences from find-claude-session
238
+
239
+ - Searches `~/.codex/sessions/` (organized by YYYY/MM/DD directories)
240
+ - Extracts metadata from `session_meta` entries in Codex JSONL files
241
+ - Resumes sessions with `codex resume <session-id>`
242
+
243
+ ### Usage
244
+
245
+ ```bash
246
+ # Search in current project only (default)
247
+ find-codex-session "keyword1,keyword2"
248
+
249
+ # Search across all projects
250
+ find-codex-session "keywords" -g
251
+ find-codex-session "keywords" --global
252
+
253
+ # Limit number of results
254
+ find-codex-session "keywords" -n 5
255
+
256
+ # Custom Codex home directory
257
+ find-codex-session "keywords" --codex-home /custom/path
258
+ ```
259
+
260
+ ### Features
261
+
262
+ - **Project filtering**: Search current project only (default) or all projects with `-g`
263
+ - Case-insensitive AND keyword search across all session content
264
+ - Interactive session selection with Rich table display
265
+ - Shows project name, git branch, date, line count, and preview of last user message
266
+ - Automatic session resumption with `codex resume`
267
+ - Cross-project session support with directory change prompts
268
+ - Reverse chronological ordering (most recent first)
269
+ - Multi-line preview wrapping for better readability
270
+
271
+ Looks like this --
272
+
273
+ ![find-codex-session.png](demos/find-codex-session.png)
274
+
275
+ <a id="vault"></a>
209
276
  ## 🔐 vault
210
277
 
211
278
  Centralized encrypted backup for .env files across all your projects using SOPS.
@@ -227,6 +294,7 @@ vault status # Check sync status for current project
227
294
 
228
295
  For detailed documentation, see [docs/vault-documentation.md](docs/vault-documentation.md).
229
296
 
297
+ <a id="env-safe"></a>
230
298
  ## 🔍 env-safe
231
299
 
232
300
  Safely inspect .env files without exposing sensitive values. Designed for Claude Code and other automated tools that need to work with environment files without accidentally leaking secrets.
@@ -252,6 +320,7 @@ env-safe --help # See all options
252
320
 
253
321
  Claude Code is completely blocked from directly accessing .env files - no reading, writing, or editing allowed. This prevents both accidental exposure of API keys and unintended modifications. The `env-safe` command provides the only approved way for Claude Code to inspect environment configuration safely, while any modifications must be done manually outside of Claude Code.
254
322
 
323
+ <a id="claude-code-safety-hooks"></a>
255
324
  ## 🛡️ Claude Code Safety Hooks
256
325
 
257
326
  This repository includes a comprehensive set of safety hooks that enhance Claude
@@ -261,8 +330,11 @@ Code's behavior and prevent dangerous operations.
261
330
 
262
331
  - **File Deletion Protection** - Blocks `rm` commands, enforces TRASH directory
263
332
  pattern
264
- - **Git Safety** - Prevents dangerous `git add -A`, unsafe checkouts, and
265
- accidental data loss
333
+ - **Git Safety** - Advanced git add protection with:
334
+ - Hard blocks: `git add .`, `git add ../`, `git add *`, `git add -A/--all`
335
+ - Speed bumps: Shows files before staging directories (e.g., `git add src/`)
336
+ - Commit speed bump: Warns on first attempt, allows on second
337
+ - Prevents unsafe checkouts and accidental data loss
266
338
  - **Environment Security** - Blocks all .env file operations (read/write/edit),
267
339
  suggests `env-safe` command for safe inspection
268
340
  - **Context Management** - Blocks reading files >500 lines to prevent context
@@ -299,10 +371,12 @@ Code's behavior and prevent dangerous operations.
299
371
 
300
372
  For complete documentation, see [hooks/README.md](hooks/README.md).
301
373
 
374
+ <a id="using-claude-code-with-open-weight-anthropic-api-compatible-llm-providers"></a>
302
375
  ## 🤖 Using Claude Code with Open-weight Anthropic API-compatible LLM Providers
303
376
 
304
377
  You can use Claude Code with alternative LLMs served via Anthropic-compatible
305
- APIs. Add these functions to your shell config (.bashrc/.zshrc):
378
+ APIs, e.g. Kimi-k2, GLM4.5 (from zai), Deepseek-v3.1.
379
+ Add these functions to your shell config (.bashrc/.zshrc):
306
380
 
307
381
  ```bash
308
382
  kimi() {
@@ -320,18 +394,30 @@ zai() {
320
394
  claude "$@"
321
395
  )
322
396
  }
397
+
398
+ dseek() {
399
+ (
400
+ export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
401
+ export ANTHROPIC_AUTH_TOKEN=${DEEPSEEK_API_KEY}
402
+ export ANTHROPIC_MODEL=deepseek-chat
403
+ export ANTHROPIC_SMALL_FAST_MODEL=deepseek-chat
404
+ claude "$@"
405
+ )
406
+ }
323
407
  ```
324
408
 
325
409
  After adding these functions:
326
- - Set your API keys: `export KIMI_API_KEY=your-kimi-key` and
327
- `export Z_API_KEY=your-z-key`
410
+ - Set your API keys: `export KIMI_API_KEY=your-kimi-key`,
411
+ `export Z_API_KEY=your-z-key`, `export DEEPSEEK_API_KEY=your-deepseek-key`
328
412
  - Run `kimi` to use Claude Code with the Kimi K2 LLM
329
413
  - Run `zai` to use Claude Code with the GLM-4.5 model
414
+ - Run `dseek` to use Claude Code with the DeepSeek model
330
415
 
331
416
  The functions use subshells to ensure the environment variables don't affect
332
417
  your main shell session, so you could be running multiple instances of Claude Code,
333
418
  each using a different LLM.
334
419
 
420
+ <a id="documentation"></a>
335
421
  ## 📚 Documentation
336
422
 
337
423
  - [tmux-cli detailed instructions](docs/tmux-cli-instructions.md) -
@@ -342,6 +428,7 @@ each using a different LLM.
342
428
  Complete guide for the .env backup system
343
429
  - [Hook configuration](hooks/README.md) - Setting up Claude Code hooks
344
430
 
431
+ <a id="requirements"></a>
345
432
  ## 📋 Requirements
346
433
 
347
434
  - Python 3.11+
@@ -349,6 +436,7 @@ each using a different LLM.
349
436
  - tmux (for tmux-cli functionality)
350
437
  - SOPS (for vault functionality)
351
438
 
439
+ <a id="development"></a>
352
440
  ## 🛠️ Development
353
441
 
354
442
  ### Setup
@@ -405,6 +493,7 @@ Run `make help` to see all available commands:
405
493
  - `make release` - Bump patch version and install globally
406
494
  - `make patch/minor/major` - Version bump commands
407
495
 
496
+ <a id="license"></a>
408
497
  ## 📄 License
409
498
 
410
499
  MIT
@@ -3,6 +3,24 @@
3
3
  A collection of practical tools, hooks, and utilities for enhancing Claude Code
4
4
  and other CLI coding agents.
5
5
 
6
+ ## Table of Contents
7
+
8
+ - [🎮 tmux-cli: Bridging Claude Code and Interactive CLIs — "playwright for the terminal"](#tmux-cli-bridging-claude-code-and-interactive-clis)
9
+ - [🚀 Quick Start](#quick-start)
10
+ - [🎮 tmux-cli Deep Dive](#tmux-cli-deep-dive)
11
+ - [🚀 lmsh (Experimental) — natural language to shell commands](#lmsh-experimental)
12
+ - [🔍 find-claude-session — search and resume Claude sessions](#find-claude-session)
13
+ - [🔍 find-codex-session — search and resume Codex sessions](#find-codex-session)
14
+ - [🔐 vault — encrypted .env backup & sync](#vault)
15
+ - [🔍 env-safe — inspect .env safely without values](#env-safe)
16
+ - [🛡️ Claude Code Safety Hooks — guardrails for bash, git, env, files](#claude-code-safety-hooks)
17
+ - [🤖 Using Claude Code with Open-weight Anthropic API-compatible LLM Providers](#using-claude-code-with-open-weight-anthropic-api-compatible-llm-providers)
18
+ - [📚 Documentation](#documentation)
19
+ - [📋 Requirements](#requirements)
20
+ - [🛠️ Development](#development)
21
+ - [📄 License](#license)
22
+
23
+ <a id="tmux-cli-bridging-claude-code-and-interactive-clis"></a>
6
24
  ## 🎮 tmux-cli: Bridging Claude Code and Interactive CLIs
7
25
 
8
26
  > **Note**: While the description below focuses on Claude Code, tmux-cli works with any CLI coding agent.
@@ -36,6 +54,7 @@ use tmux-cli behind the scenes.
36
54
 
37
55
  **Works anywhere**: Automatically handles both local tmux panes and remote sessions.
38
56
 
57
+ <a id="quick-start"></a>
39
58
  ## 🚀 Quick Start
40
59
 
41
60
  ```bash
@@ -49,9 +68,11 @@ uv tool install git+https://github.com/pchalasani/claude-code-tools
49
68
  This gives you:
50
69
  - `tmux-cli` - The interactive CLI controller we just covered
51
70
  - `find-claude-session` - Search and resume Claude Code sessions by keywords
71
+ - `find-codex-session` - Search and resume Codex sessions by keywords
52
72
  - `vault` - Encrypted backup for your .env files
53
73
  - `env-safe` - Safely inspect .env files without exposing values
54
74
 
75
+ <a id="tmux-cli-deep-dive"></a>
55
76
  ## 🎮 tmux-cli Deep Dive
56
77
 
57
78
  ### What Claude Code Can Do With tmux-cli
@@ -103,6 +124,7 @@ claude mcp add puppeteer -- npx -y @modelcontextprotocol/server-puppeteer
103
124
 
104
125
  For detailed instructions, see [docs/tmux-cli-instructions.md](docs/tmux-cli-instructions.md).
105
126
 
127
+ <a id="lmsh-experimental"></a>
106
128
  ## 🚀 lmsh (Experimental)
107
129
 
108
130
  Natural language shell - type what you want in plain English, get an editable command.
@@ -120,11 +142,11 @@ docker ps -n 5 # <-- Edit before running
120
142
 
121
143
  **Features:**
122
144
  - Rust-based for instant startup (<1ms binary load time)
123
- - Translates natural language to shell commands using Claude
145
+ - Translates natural language to shell commands using Claude Code CLI
124
146
  - Commands are editable before execution - full control
125
147
  - Preserves your shell environment
126
148
 
127
- **Note:** Claude API adds ~3-5s latency. Future versions may use local models for instant response.
149
+ **Note:** Requires Claude Code CLI (`claude` command) to be installed. The translation adds ~2-3s due to Claude Code CLI startup.
128
150
 
129
151
  **Installation:**
130
152
  ```bash
@@ -139,6 +161,7 @@ cp target/release/lmsh ~/.cargo/bin/
139
161
 
140
162
  See [docs/lmsh.md](docs/lmsh.md) for details.
141
163
 
164
+ <a id="find-claude-session"></a>
142
165
  ## 🔍 find-claude-session
143
166
 
144
167
  Search and resume Claude Code sessions by keywords with an interactive UI.
@@ -188,10 +211,54 @@ won't persist after exiting Claude Code.
188
211
 
189
212
  For detailed documentation, see [docs/find-claude-session.md](docs/find-claude-session.md).
190
213
 
191
- Looks like this --
214
+ Looks like this --
192
215
 
193
- ![fcs.png](docs/fcs.png)
216
+ ![find-claude-session.png](demos/find-claude-session.png)
194
217
 
218
+ <a id="find-codex-session"></a>
219
+ ## 🔍 find-codex-session
220
+
221
+ Search and resume Codex sessions by keywords. Usage is similar to `find-claude-session` above, but works with Codex session files instead.
222
+
223
+ ### Key Differences from find-claude-session
224
+
225
+ - Searches `~/.codex/sessions/` (organized by YYYY/MM/DD directories)
226
+ - Extracts metadata from `session_meta` entries in Codex JSONL files
227
+ - Resumes sessions with `codex resume <session-id>`
228
+
229
+ ### Usage
230
+
231
+ ```bash
232
+ # Search in current project only (default)
233
+ find-codex-session "keyword1,keyword2"
234
+
235
+ # Search across all projects
236
+ find-codex-session "keywords" -g
237
+ find-codex-session "keywords" --global
238
+
239
+ # Limit number of results
240
+ find-codex-session "keywords" -n 5
241
+
242
+ # Custom Codex home directory
243
+ find-codex-session "keywords" --codex-home /custom/path
244
+ ```
245
+
246
+ ### Features
247
+
248
+ - **Project filtering**: Search current project only (default) or all projects with `-g`
249
+ - Case-insensitive AND keyword search across all session content
250
+ - Interactive session selection with Rich table display
251
+ - Shows project name, git branch, date, line count, and preview of last user message
252
+ - Automatic session resumption with `codex resume`
253
+ - Cross-project session support with directory change prompts
254
+ - Reverse chronological ordering (most recent first)
255
+ - Multi-line preview wrapping for better readability
256
+
257
+ Looks like this --
258
+
259
+ ![find-codex-session.png](demos/find-codex-session.png)
260
+
261
+ <a id="vault"></a>
195
262
  ## 🔐 vault
196
263
 
197
264
  Centralized encrypted backup for .env files across all your projects using SOPS.
@@ -213,6 +280,7 @@ vault status # Check sync status for current project
213
280
 
214
281
  For detailed documentation, see [docs/vault-documentation.md](docs/vault-documentation.md).
215
282
 
283
+ <a id="env-safe"></a>
216
284
  ## 🔍 env-safe
217
285
 
218
286
  Safely inspect .env files without exposing sensitive values. Designed for Claude Code and other automated tools that need to work with environment files without accidentally leaking secrets.
@@ -238,6 +306,7 @@ env-safe --help # See all options
238
306
 
239
307
  Claude Code is completely blocked from directly accessing .env files - no reading, writing, or editing allowed. This prevents both accidental exposure of API keys and unintended modifications. The `env-safe` command provides the only approved way for Claude Code to inspect environment configuration safely, while any modifications must be done manually outside of Claude Code.
240
308
 
309
+ <a id="claude-code-safety-hooks"></a>
241
310
  ## 🛡️ Claude Code Safety Hooks
242
311
 
243
312
  This repository includes a comprehensive set of safety hooks that enhance Claude
@@ -247,8 +316,11 @@ Code's behavior and prevent dangerous operations.
247
316
 
248
317
  - **File Deletion Protection** - Blocks `rm` commands, enforces TRASH directory
249
318
  pattern
250
- - **Git Safety** - Prevents dangerous `git add -A`, unsafe checkouts, and
251
- accidental data loss
319
+ - **Git Safety** - Advanced git add protection with:
320
+ - Hard blocks: `git add .`, `git add ../`, `git add *`, `git add -A/--all`
321
+ - Speed bumps: Shows files before staging directories (e.g., `git add src/`)
322
+ - Commit speed bump: Warns on first attempt, allows on second
323
+ - Prevents unsafe checkouts and accidental data loss
252
324
  - **Environment Security** - Blocks all .env file operations (read/write/edit),
253
325
  suggests `env-safe` command for safe inspection
254
326
  - **Context Management** - Blocks reading files >500 lines to prevent context
@@ -285,10 +357,12 @@ Code's behavior and prevent dangerous operations.
285
357
 
286
358
  For complete documentation, see [hooks/README.md](hooks/README.md).
287
359
 
360
+ <a id="using-claude-code-with-open-weight-anthropic-api-compatible-llm-providers"></a>
288
361
  ## 🤖 Using Claude Code with Open-weight Anthropic API-compatible LLM Providers
289
362
 
290
363
  You can use Claude Code with alternative LLMs served via Anthropic-compatible
291
- APIs. Add these functions to your shell config (.bashrc/.zshrc):
364
+ APIs, e.g. Kimi-k2, GLM4.5 (from zai), Deepseek-v3.1.
365
+ Add these functions to your shell config (.bashrc/.zshrc):
292
366
 
293
367
  ```bash
294
368
  kimi() {
@@ -306,18 +380,30 @@ zai() {
306
380
  claude "$@"
307
381
  )
308
382
  }
383
+
384
+ dseek() {
385
+ (
386
+ export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
387
+ export ANTHROPIC_AUTH_TOKEN=${DEEPSEEK_API_KEY}
388
+ export ANTHROPIC_MODEL=deepseek-chat
389
+ export ANTHROPIC_SMALL_FAST_MODEL=deepseek-chat
390
+ claude "$@"
391
+ )
392
+ }
309
393
  ```
310
394
 
311
395
  After adding these functions:
312
- - Set your API keys: `export KIMI_API_KEY=your-kimi-key` and
313
- `export Z_API_KEY=your-z-key`
396
+ - Set your API keys: `export KIMI_API_KEY=your-kimi-key`,
397
+ `export Z_API_KEY=your-z-key`, `export DEEPSEEK_API_KEY=your-deepseek-key`
314
398
  - Run `kimi` to use Claude Code with the Kimi K2 LLM
315
399
  - Run `zai` to use Claude Code with the GLM-4.5 model
400
+ - Run `dseek` to use Claude Code with the DeepSeek model
316
401
 
317
402
  The functions use subshells to ensure the environment variables don't affect
318
403
  your main shell session, so you could be running multiple instances of Claude Code,
319
404
  each using a different LLM.
320
405
 
406
+ <a id="documentation"></a>
321
407
  ## 📚 Documentation
322
408
 
323
409
  - [tmux-cli detailed instructions](docs/tmux-cli-instructions.md) -
@@ -328,6 +414,7 @@ each using a different LLM.
328
414
  Complete guide for the .env backup system
329
415
  - [Hook configuration](hooks/README.md) - Setting up Claude Code hooks
330
416
 
417
+ <a id="requirements"></a>
331
418
  ## 📋 Requirements
332
419
 
333
420
  - Python 3.11+
@@ -335,6 +422,7 @@ each using a different LLM.
335
422
  - tmux (for tmux-cli functionality)
336
423
  - SOPS (for vault functionality)
337
424
 
425
+ <a id="development"></a>
338
426
  ## 🛠️ Development
339
427
 
340
428
  ### Setup
@@ -391,6 +479,7 @@ Run `make help` to see all available commands:
391
479
  - `make release` - Bump patch version and install globally
392
480
  - `make patch/minor/major` - Version bump commands
393
481
 
482
+ <a id="license"></a>
394
483
  ## 📄 License
395
484
 
396
485
  MIT
@@ -1,3 +1,3 @@
1
1
  """Claude Code Tools - Collection of utilities for Claude Code."""
2
2
 
3
- __version__ = "0.1.21"
3
+ __version__ = "0.2.1"