feat: añadir skill /create-bot para robots Matrix

Skill declarativa para crear robots (command-only, sin LLM) con el
pipeline completo: scaffold → build → register → verify → conversion
a robot. Incluye template de config.yaml minimalista y soporte para
comandos custom.

Diferencia con /create-agent: los robots no tienen LLM, reglas,
memoria ni system prompt. Solo responden a comandos.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-09 00:36:06 +00:00
parent 39e118e2c7
commit 81e9e2729a
2 changed files with 266 additions and 0 deletions
@@ -0,0 +1,71 @@
# Template: config.yaml para robots
Config minimalista para robots (command-only, sin LLM).
## Template base
```yaml
# ============================================
# ROBOT: <bot-id>
# ============================================
agent:
id: "<bot-id>"
name: "<display-name>"
version: "1.0.0"
type: robot
enabled: true
description: "<description>"
tags: [robot]
# ============================================
# PERSONALIDAD (minima para robots)
# ============================================
personality:
prefix: "<emoji>"
language: es
# ============================================
# MATRIX
# ============================================
matrix:
homeserver: "https://matrix-af2f3d.organic-machine.com"
user_id: "@<bot-id>:matrix-af2f3d.organic-machine.com"
access_token_env: MATRIX_TOKEN_<NORM>
device_id: "<BOT-ID>"
encryption:
enabled: true
store_path: "./agents/<bot-id>/data/crypto/"
pickle_key_env: PICKLE_KEY_<NORM>
trust_mode: tofu
recovery_key_env: SSSS_RECOVERY_KEY_<NORM>
rooms:
listen: []
respond: []
admin: []
filters:
command_prefix: "!"
mention_respond: false
dm_respond: false
ignore_bots: true
ignore_users: []
unauthorized_response: silent
min_power_level: 0
threads:
enabled: true
auto_thread: false
```
## Regla de normalizacion de env vars
`<NORM>` = bot-id en mayusculas, guiones → underscores. **Nunca eliminar sufijos.**
| bot-id | NORM | Ejemplo env var |
|--------|------|-----------------|
| `ping-bot` | `PING_BOT` | `MATRIX_TOKEN_PING_BOT` |
| `monitor` | `MONITOR` | `MATRIX_TOKEN_MONITOR` |
| `mi-bot-2` | `MI_BOT_2` | `MATRIX_TOKEN_MI_BOT_2` |