一键导入
setup
First-time ttal setup. Installs ttal, then runs ttal onboard for daemon, hooks, and config. Run this after cloning a ttal workspace template.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
First-time ttal setup. Installs ttal, then runs ttal onboard for daemon, hooks, and config. Run this after cloning a ttal workspace template.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Refresh context window — agent writes handoff and restarts
CLI image manipulation — convert PNG/JPG to SVG, remove watermarks, resize, crop, and edit raster images using ImageMagick and vtracer
Triage plan review findings — categorize issues, fix actionable ones, report
Use when a request needs collaborative exploration of intent, constraints, alternatives, or design before the direction is settled.
Use when the user asks to finalize and hand back an existing design or implementation plan stored in FlickNote.
Use when a bug needs root-cause diagnosis and a written fix plan before implementation.
| name | setup |
| description | First-time ttal setup. Installs ttal, then runs ttal onboard for daemon, hooks, and config. Run this after cloning a ttal workspace template. |
Run setup steps automatically. Only pause when user action is required (Telegram bot creation, pasting tokens). Fix things yourself when possible.
Principle: Do the work. Only ask the user when you genuinely need their input (secrets, choices).
UX Note: Use AskUserQuestion for all user-facing questions.
This skill runs inside the ttal-cli repository. All documentation is available
in docs/ (VitePress site) and templates are in templates/. When the user asks
questions about ttal, read from docs/ directly — no network requests needed.
Check if ttal is installed:
which ttal && echo "TTAL_OK=true" || echo "TTAL_OK=false"
If TTAL_OK=false, detect platform and install:
brew tap tta-lab/ttal && brew install ttalgo install github.com/tta-lab/ttal-cli@latest
go not found: brew install go (macOS) or guide user to install GoVerify: ttal version
ttal onboard handles everything: prerequisites (tmux, taskwarrior, ffmpeg), workspace scaffold, taskwarrior UDAs, daemon install, worker hooks. When it runs ttal init, templates are found locally in this repo — no network clone needed. Just run it:
ttal onboard
If onboard reports fixable issues, re-run with ttal onboard --fix. Parse its output for any errors that need user attention.
After onboard completes, capture workspace path and verify team_path points to current directory:
WORKSPACE=$(pwd)
grep "team_path" ~/.config/ttal/config.toml
If team_path doesn't match current workspace, update it using perl -i -pe (portable across macOS and Linux):
perl -i -pe "s|team_path = .*|team_path = \"$WORKSPACE\"|" ~/.config/ttal/config.toml
AskUserQuestion: "Would you like to set up Telegram integration? This lets you manage agents from your phone. (You can skip this and add it later.)"
If yes:
Tell user:
@userinfobot/start — it replies with your chat IDWrite the chat_id to config.toml under [teams.default]:
perl -i -pe "s|chat_id = .*|chat_id = \"<pasted-id>\"|" ~/.config/ttal/config.toml
If the chat_id key doesn't exist yet, append it under [teams.default]:
perl -i -pe 's/(\[teams\.default\])/\1\nchat_id = "<pasted-id>"/' ~/.config/ttal/config.toml
Discover agents in the workspace root ($WORKSPACE):
shopt -s nullglob
for dir in */CLAUDE.md; do dirname "$dir"; done
Token naming convention: uppercase the agent name and append _BOT_TOKEN. For example: agent manager → MANAGER_BOT_TOKEN, agent yuki → YUKI_BOT_TOKEN.
For each agent, tell user:
@BotFather/newbot<agent-name> (ttal) (or whatever they want)<agent-name>_ttal_bot (must end in bot)After user creates all bots, ask them to paste each token. Write to ~/.config/ttal/.env using heredoc to avoid token exposure in process list:
# For each agent (example for agent named "yuki"):
cat >> ~/.config/ttal/.env << 'ENVEOF'
YUKI_BOT_TOKEN=<pasted-token>
ENVEOF
Tell user to create one more bot for system notifications (PR status, CI results):
ttal_notify_botWrite token as DEFAULT_NOTIFICATION_BOT_TOKEN to .env:
cat >> ~/.config/ttal/.env << 'ENVEOF'
DEFAULT_NOTIFICATION_BOT_TOKEN=<pasted-token>
ENVEOF
ttal daemon restart # pick up new tokens
ttal doctor # should show all green
Run final health check:
ttal doctor
If all green, print success with discovered agents and next steps:
✓ ttal is ready!
Your agents:
(list discovered agent directories)
Next steps:
• Start your agents: ttal team start
• Add a project by editing ~/.config/ttal/projects.toml directly
• Create a task: ttal task add --project myapp "Build the thing"
If warnings/errors remain, explain each and offer to fix.