tlive
Monitor Claude Code sessions and approve tasks remotely via Telegram, Feishu, or web dashboard.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/tlive-y49/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
tlive β remote approvals (Telegram/Feishu/web), live web terminal, and session monitoring for Claude Code / Codex. Use for configuring or diagnosing tlive, connecting IM platforms, printing session links, or explaining approval behavior. Triggers "tlive", "IM bridge", "phone approvals", "remote terminal", "Telegram/Feishu notifications".
What this skill does
tlive usage guide
tlive is a self-hosted monitoring/approval layer. Claude Code sessions report
through global hooks; Codex sessions are watched through an app-server
companion process (no hooks, no trust step). Completions and failures land in
IM (Telegram/Feishu) and the web dashboard, where you can reply-to-continue.
The posture (tlive mode, default notify) decides whether approvals are
held for a remote answer: in notify tlive only watches + notifies (the shim
never holds an approval β prompts stay 100% native); tlive mode full turns on
remote approval (Allow/Deny from IM/desktop/dashboard); off makes every hook a
no-op. The daemon auto-starts with new sessions (disable via
daemon.autoStart: false).
Commands
tlive setupβ configure IM credentials + register the Claude/Codex plugins (hooks ride the Claude plugin; Codex needs none).--hooks-onlyre-registers plugins only; add--claude/--codexto pick a vendor.tlive statusβ daemon health, effectivemode, channels, and the Codex companion state (running/degraded/off; degraded or off = Codex approvals local-only).tlive mode off|notify|fullβ set posture (see intro). Persisted to config, takes effect on the next hook;notifyis the default,full= remote approval on.tlive run <cmd>β wrap a process: local terminal + live web terminal (QR to open).tlive urlβ print the dashboard link + QR code.tlive logs -fβ follow the daemon log.tlive start/tlive stopβ explicit lifecycle (start is rarely needed; sessions lazy-start the daemon unless autoStart is off).
Diagnostics
- No IM messages:
tlive statusfor channel config;tlive logs -ffor send errors; confirm the daemon is up after starting a session. - Codex has no remote cards: check
tlive statusβ the companion line must sayrunning.offmeans codex isn't on PATH (or Windows);degradedmeans the app-server child keeps dying β see~/.tlive/codex-appserver.log. Either way Codex still prompts locally; nothing is ever auto-run. - No approval card ever arrives: check
tlive statusβ themode:line must sayfull. The defaultnotifynever sends approval cards (tool prompts stay local); enable remote approval withtlive mode full. - Claude approval card unanswered (in
full): the local dialog stays live the whole time (parallel channels, first answer wins); answering locally resolves the remote card as "answered in terminal". The remote window defaults to ~24h (approvals.windowSec, shared by both vendors). - Web page unreachable:
tlive urlfor the current link (token is in the URL); phones need the same LAN (or your own reverse proxy/VPN β tlive has nopublicUrlconfig, and cards never carry the link).
Security model in one breath
- Never auto-allow: unanswered β Claude's local dialog governs / Codex's native prompt governs. Deny always carries a reason.
- Read-only tools (Read/Glob/Grep) pass by default.
/safe onalso auto-allows routine ops (non-dangerous Bash, non-sensitive edits) β the danger floor (rm -rf, sudo, .env/.ssh writesβ¦) still asks and no config can lower it./trust onpauses approvals entirely (high risk β pair with allowedSenders). - Runtime switches flip the same state from either entrance: IM commands
(/mute /trust /safe) and the CLI (
tlive mute|trust|safe on|off)./mute on= go quiet; it silences IM notifications ONLY. The desktop toast is a separate, independent surface (IM β₯ desktop): CLI-onlytlive desktop on|off, no IM command, unaffected by/mute. It fires only for things that need you to act: a pending approval, or the idle "waiting for your input" nudge. A finished turn stays on IM (a per-turn toast would flood the screen). - Vendor-side
permissions.denyalways wins; tlive never overrides it.
First-time onboarding
When the user says "help me set up tlive" (or runs /tlive:setup), walk them through:
tlive statusto check the engine; missing βnpm i -g tlive.- No channels β collect Telegram (bot token + chat id) or Feishu
(appId + appSecret) credentials and merge into
~/.tlive/config.json:{ "allowedSenders": [], "adapters": { "telegram": { "token": "β¦", "chatIdAllowList": ["β¦"] }, "feishu": { "appId": "β¦", "appSecret": "β¦" } } } tlive startβtlive statusto verify channels;tlive urlfor the dashboard.- Offer remote approval: tlive defaults to
notify(watch + notify only). If the user wants to Allow/Deny tool calls from their phone, runtlive mode full(holds each tool call for a remote answer; reversible withtlive mode notify). Leave it innotifyif they only want monitoring. - Codex needs no extra step β the companion starts with the daemon. If status
says
off/degraded, that's diagnostic info, not a setup task.
Related skills
Generative Code Art
anthropics
Create algorithmic art with p5.js using randomness and interactive parameters.
Poster & Visual Design
anthropics
Create original posters and visual art in PNG and PDF formats.
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
MCP Server Builder
anthropics
Build protocol servers that connect language models to external APIs and services.