一键导入
add-terminal
Add the terminal/CLI channel for talonctl chat. Use when the user says "add terminal", "cli chat", "terminal channel", or "talonctl chat".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add the terminal/CLI channel for talonctl chat. Use when the user says "add terminal", "cli chat", "terminal channel", or "talonctl chat".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manage scheduled tasks for Talon personas. Use when the user says "add schedule", "create schedule", "list schedules", "remove schedule", "scheduled task", or "cron job".
Create a Talon persona/profile interactively from a natural-language description. Use when the user says "create a profile", "add a persona", "new background agent", "create a persona", "add a profile", or "background agent profile".
Use when setting up Talon from the starter bundle (docker-based install) for the first time, adding channels or personas, changing the AI provider, or troubleshooting. Triggers on phrases like "set up talon", "configure talon", "add channel", "switch provider", "talonctl …".
Use when setting up Talon for the first time, adding channels or personas to an existing config, or running validation. Also use when the user says "configure talon", "add a channel", "add a persona", "add provider", "set up the daemon", "add schedule", or "configure providers".
Add Discord as a channel. Use when the user says "add discord", "connect discord", "set up discord bot", or "discord channel".
Add email (IMAP/SMTP) as a channel. Use when the user says "add email", "connect email", "set up email", or "email channel".
| name | add-terminal |
| description | Add the terminal/CLI channel for talonctl chat. Use when the user says "add terminal", "cli chat", "terminal channel", or "talonctl chat". |
| triggers | ["add terminal","terminal channel","cli chat","talonctl chat"] |
Walk the user through adding the terminal channel, which enables talonctl chat for CLI-based conversations with the daemon.
Check if a terminal channel already exists:
npx talonctl list-channels
If one exists, the user can already use talonctl chat. Show them how (skip to Verify).
Ask for a channel name (suggest terminal), then:
npx talonctl add-channel --name <name> --type terminal
Then edit talond.yaml to set the config section:
config:
port: 8089
host: "127.0.0.1"
token: ${TERMINAL_TOKEN}
Tell the user to add to .env:
TERMINAL_TOKEN=any-secret-string-you-choose
The token can be any string — it's just used to authenticate CLI clients against the WebSocket server. Generate one with:
openssl rand -hex 16
npx talonctl list-personas
Ask which persona to bind, then:
npx talonctl bind --persona <name> --channel <channel-name>
npx talonctl env-check
npx talonctl doctor
Tell the user:
- Make sure talond is running (or restart it)
- Run:
npx talonctl chat --port 8089 --token <your-token>- Type a message and press Enter — you should get a response
For TLS connections (if running behind a reverse proxy):
npx talonctl chat --port 8089 --token <your-token> --tls
| Problem | Fix |
|---|---|
| Connection refused | Check talond is running and port matches config |
| Auth failed | Token in talonctl chat --token must match TERMINAL_TOKEN in .env |
| Port already in use | Change the port in config (e.g. 8090) |
| Works locally but not remotely | Default host is 127.0.0.1 (localhost only). Change to 0.0.0.0 to allow remote, but use a firewall + TLS |
channels:
- name: terminal
type: terminal
config:
port: 8089 # Required — WebSocket server port
host: "127.0.0.1" # Optional (default: 127.0.0.1 — localhost only)
token: ${TERMINAL_TOKEN} # Required — shared secret for auth
talonctl chat connects, authenticates with the token, then sends/receives messages