Add workspace utility scripts
- llm: Local LLM wrapper for llama-swap - homelab-status: Quick K8s/cluster health check - calc: Python/JS REPL for quick calculations - transcribe: Whisper audio transcription wrapper Added to fish PATH.
This commit is contained in:
37
TOOLS.md
37
TOOLS.md
@@ -86,6 +86,43 @@ curl http://127.0.0.1:8080/v1/chat/completions \
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Workspace Scripts
|
||||
|
||||
Scripts in `~/clawd/scripts/` — add to PATH with:
|
||||
```bash
|
||||
export PATH="$HOME/clawd/scripts:$PATH"
|
||||
```
|
||||
|
||||
### llm — Local LLM wrapper
|
||||
```bash
|
||||
llm "What is 2+2?" # Uses default model (gemma)
|
||||
llm -m qwen3 "Explain kubernetes" # Use specific model
|
||||
llm coder "Write a Python function" # Short alias
|
||||
```
|
||||
|
||||
### homelab-status — Quick cluster check
|
||||
```bash
|
||||
homelab-status # Quick overview
|
||||
homelab-status --full # Include storage details
|
||||
```
|
||||
|
||||
### calc — Code REPL
|
||||
```bash
|
||||
calc "2 + 2" # Quick math
|
||||
calc "sum([1,2,3,4,5])" # Python functions
|
||||
calc "math.sqrt(144)" # With imports
|
||||
calc -j "[1,2,3].map(x => x*2)" # JavaScript mode
|
||||
```
|
||||
|
||||
### transcribe — Audio transcription
|
||||
```bash
|
||||
transcribe meeting.mp3 # Quick transcription (base model)
|
||||
transcribe -m medium interview.wav # Better accuracy
|
||||
transcribe -l en -f srt podcast.mp3 # English subtitles
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📁 Key Repos
|
||||
|
||||
### Homelab GitOps
|
||||
|
||||
Reference in New Issue
Block a user