Eigene Skills vom MacBook (9 Skills)

This commit is contained in:
2026-10-27 01:20:31 +01:00
commit 3b03f4f525
25 changed files with 2231 additions and 0 deletions
@@ -0,0 +1,104 @@
# TTS Routing Summary
## Session: 2026-10-15 (CEST, UTC+02:00)
## User: Robbi (/Users/robertrapp)
## Key Changes Made
### 1. forms.yaml — `notiz` backend changed from `direct` to `hermes`
**File**: `/Users/robertrapp/tts/voice/forms.yaml`
**Before**:
```yaml
notiz:
hermes_profile: voice-notiz
backend: direct # braucht keine Hermes-Tools mehr (Server speichert selbst); spart ~1,4 s
max_tokens: 60
action: notiz # Server speichert die Notiz selbst (voice/notes.py), das Profil bestätigt nur
immediate: [ack_ja]
stall_after_s: [3.0]
```
**After**:
```yaml
notiz:
hermes_profile: voice-notiz
backend: hermes # Routing über Hermes-Agent: Profil-Gedächtnis und Skills; spart ~1,4 s Hermes-Overhead umgegangen
max_tokens: 60
action: notiz # Server speichert die Notiz selbst (voice/notes.py), das Profil bestätigt nur
immediate: [ack_ja]
stall_after_s: [3.0]
```
**Impact**: Notes/reminders now route through Hermes-Agent with profile SOUL.md, memory, and skills instead of bypassing Hermes entirely.
### 2. Cron Job — Friday reminder with Telegram push
**Job ID**: `a760cba172ea`
**Schedule**: Every 1d at 09:32 CEST
**Next run**: Friday 16.10.2026 at 09:32
**Deliver**: origin (this Telegram DM)
**Prompt**: Checks if today is Friday; if yes, sends Telegram push with reminder content using Waltraut-Lichter formatting.
**Reminder content**: "mich am Freitag daran erinnern, dass ich zu Waldrottlicht eine Nebelmaschine und zwei Buddys mitbring"
### 3. New Skill: `tts-routing`
**Location**: `/Users/robertrapp/.hermes/skills/tts-routing/SKILL.md`
Governs how TTS output, notes, and reminders are routed through Hermes-Agent. Includes:
- Trigger conditions and overview
- Note/reminder routing via forms.yaml (direct vs hermes)
- Cron job setup for time-based reminders with Telegram push
- User preferences (Telegram push vs notes, Waltraut-Lichter formatting, battery constraints)
- Note storage format (`~/.hermes/notes/*.md`)
- Pitfalls and gotchas
- Related skills and references
## Notes Directory
**Location**: `~/.hermes/notes/`
Files are Markdown with timestamp filenames (`YYYY-MM-DD_HHMMSS.md`):
- Header: `# Sprachnotiz DD.MM.YYYY HH:MM`
- Body: user's note text
Example newest note (`2026-10-15_091308.md`):
```
# Sprachnotiz 15.10.2026 09:13
Kannst du mir bitte eine Notiz machen oder mich am Freitag daran erinnern, dass ich zu Waldrottlicht eine Nebelmaschine und zwei Buddys mitbringen kann?
```
## User Preferences Embedded
- **Telegram push preferred** over simple notes for reminders
- **Waltraut-Lichter*** formatting for correct Telegram message style
- **Battery constraint**: Batties are small battery-based LED lights (WLED controlled via playbot)
- **Lamp control**: ONLY via `bash td/lampe.sh farbe R G B` when TouchDesigner is running sACN; otherwise use Lichtzentrale
- **Credential redaction**: All API keys, tokens, passwords must be [REDACTED] — never retain real values
## Pitfalls & Gotchas
- ⚠️ **Do not set `backend: direct`** for `notiz` form — bypasses Hermes-Agent, no profile context/memory/skills
- ⚠️ **TouchDesigner sACN overlay**: If TouchDesigner sends sACN (`/json/info` shows `"live": true`), HTTP commands to WLED are invisible; use `touchdesigner-lampe` skill
- ⚠️ **WLED via Lichtzentrale**: Always switch via `curl -s http://playbot.local:8090/llms.txt` first; never direct IP
- ⚠️ **Cron job delivery**: Jobs run in fresh session with no chat context; prompts must be self-contained
- ⚠️ **Note file format**: `~/.hermes/notes/*.md`; read newest first; filename = `YYYY-MM-DD_HHMMSS.md`
## Related Skills
- `hermes-agent` — Hermes Agent configuration and orchestration
- `lichtzentrale` — WLED light control via playbot Lichtzentrale
## References
- `~/.hermes/notes/` — stored notes (Markdown, timestamped); 18 files found as of 15.10.2026, newest: `2026-10-15_091308.md` with Friday reminder about Waldrottlicht (Nebelmaschine + 2 Buddys)
- `voice/forms.yaml` — form definitions including `notiz` backend; **updated 15.10.2026: backend changed from `direct` to `hermes`** to route through Hermes-Agent with profile context, memory, and skills
- `hermes-profiles/voice-notiz/` — profile with SOUL.md, config.yaml for Hermes routing; model: nemotron-3.5-lightning-off, provider: custom, base_url: http://127.0.0.1:8082/v1
- Cron job `a760cba172ea` — daily Friday reminder with Telegram push; created 15.10.2026, runs at 09:32 CEST, next run Friday 16.10.2026 at 09:32, delivers to origin chat
- `voice/notes.py` — handles note saving to `~/.hermes/notes/`
- `voice/profiles.py` — profile management for voice forms
- `voice/forms.yaml` `notiz` form: `backend: hermes` now routes LLM request to `{HERMES}/p/voice-notiz/v1/chat/completions` with `model: "hermes-agent"` and `Authorization: Bearer ***`