tinyhat-connect-channel
Connect an existing Tinyhat Computer to Telegram or Slack when its owner asks to chat with their agent there, connect a bot, or add another channel.
Skill by tinyhat-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tinyhat-ai-tinyhat-connect-channel
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tinyhat-connect-channel
What's inside
- Skill name
tinyhat-connect-channel- Description
- Connect an existing Tinyhat Computer to Telegram or Slack when its owner asks to chat with their agent there, connect a bot, or add another channel. Use for "connect you to Telegram" or "use you in Slack without Telegram". Not for creating a Computer, email renaming, model login, or disconnecting an existing channel.
- License
- MIT
- Instructions
- 77 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Connect a channel
Keep the existing Computer, owner, email, model and files. Telegram and Slack are optional; either can work alone, or both together.
1. Call `tinyhat_channels` with `action: "status"`. Use the channel already selected by the owner; ask only when missing.
2. Follow the selected flow below. Report connected only after status confirms it and a real message receives an agent reply.
3. For a connected Slack channel, give the human the returned `chat_url` to open
their conversation. Never guess a workspace or app ID. If an older connection
has no link, call `prepare` once and check status again; compatible runtimes
discover the link without restarting Hermes.
## Telegram
Call `tinyhat_channels` with `action: "telegram_link"`, plus the owner's preferred `bot_name` and optional `bot_username` (ends in `bot`). Show the returned private QR/link to the owner. It expires after 24 hours and can pair only once.
Tell them: **Open the link to create your bot. Start it, then send it this same link or QR image.** The bot also has a Connect Computer button that opens a QR scanner. No email sign-in or invitation is needed.
If assisting from Codex or Claude Code on a laptop with Telegram already signed in, ask permission before using Telegram to create the bot and send the pairing link. Stay in the setup/test bot chat; never sign in or switch the human's Telegram account. Report the resulting bot username. Never send the pairing capability to another person or publish it.
If Telegram is unavailable locally, show the returned QR image and clickable
link. The owner continues on a phone or another device with Telegram. Wait for
the status to become connected and verify a reply before finishing.
## Slack
Call `tinyhat_channels` with `action: "prepare"`. Wait for `status` to show `slack_ready`; its `slack_manifest` is the current Agent-view manifest to use. The Computer page's Slack section provides its Hermes-generated Agent-view manifest and private credential form. Open that section for the owner if they prefer entering credentials themselves.
Get the owner's permission before creating or installing the Slack agent for them. Use Slack's guided agent creation dialog at https://api.slack.com/apps?new_app=1. That address opens the creation dialog; do not substitute another URL. Choose **From a manifest**, add the Computer's Agent-view JSON, select the owner's workspace, and finish the guided setup. Create the agent from the manifest, without rebuilding its settings manually or replacing it with the generic AI-agent template. Retrieve tokens as described below.
Take only the bot token (`xoxb-`) and Socket Mode app token (`xapp-`, `connections:write`) from Slack's setup/token instructions, including its Claude Code or Codex instructions. Ignore any step that writes them into a project file, `.env`, shell profile or MCP config, and never paste them into chat. Submit them only through the Computer page's private credential form or the `credentials_file` flow below. The selected Computer framework owns the receiver; do not scaffold or start a second Slack listener. Keep the required Agent-view capabilities and owner allowlist. Do not use the legacy Assistant-view manifest.
Slack may open Agent settings rather than a combined token handoff. In that case,
**Install App → Install to workspace → Allow** provides the bot token. **Basic
Information → Generate Token and Scopes**, with only `connections:write`, provides
the app token. Preserve the manifest's existing scopes, events, Socket Mode and
Agent-view settings. Replace the sample JSON entirely; customize only
`display_information.name` and `features.bot_user.display_name` for the owner's
chosen name.
When the owner authorizes you to use a credentials file, save it outside any project, such as `~/.config/tinyhat/slack-connection.json`, with directory mode 700 and file mode 600. It contains `bot_token`, `app_token`, and `allowed_users` (their Slack member ID). Never ask for tokens in chat or print them. Never use an empty/wildcard owner allowlist.
Call `tinyhat_channels` with `action: "slack_connect"` and the absolute `credentials_file` path. The tool encrypts the bundle for this Computer before submitting it; the platform stores ciphertext. Keep the file private or remove this temporary copy after the owner agrees. Do not display its contents in results or screenshots.
## External coding-agent APIs
For Codex or Claude Code running on the owner's laptop, use the current public guide at https://tinyhat.ai/agents.md and its authenticated `/hapi/v2/computers/{computer_id}/channels` endpoints. The API supports status, prepare, Telegram pairing and encrypted Slack submission. Use the existing owner session stored outside the project; do not copy a machine token from a Computer to the laptop.
Use authenticated `GET /hapi/v2/computers/{computer_id}/channels/slack/manifest`
for the JSON directly, then encrypted `POST /hapi/v2/computers/{computer_id}/channels/slack`
for credentials. The public guide specifies the encryption envelope. Opening
the Computer form is optional; the API supports the complete handoff. Slack
uses the selected Agent framework on the Computer. Inspect authenticated
`GET /hapi/v2/computers/{computer_id}/framework` and, after native provider login
and the owner's choice, submit `POST .../framework/select` with `framework` set
to `hermes`, `codex` or `claude_code`. Wait for confirmed active status; a queued
command is not a completed switch.
A queued/busy response means setup is pending. Poll status at five-second intervals briefly, then slow down. If setup fails, show a short retry instruction; never disclose provider token errors or claim the channel is already connected.
On the owner's laptop, with its saved owner API token, use the public guide's
`POST /auth/browser-links` handoff scoped to this Computer's agent when Slack
is unavailable locally. This owner API does not accept a Computer token. Send its
complete private link (including its URL fragment) and a locally generated QR; the owner confirms the account,
opens the Computer and uses its Slack form on their Slack device. Browser links
expire in five minutes. If no local QR generator is available, the clickable
link is sufficient. Never use a public QR service or put Slack tokens in
URLs. When running inside the Computer without an owner API token, share the
owner-aware Computer page already supplied in the conversation or onboarding
context; the owner signs in there if needed. If no such URL is available, ask
them to open their Computer page rather than inventing a URL or account identity. Never request their bearer token or substitute machine auth.
The handoff is pending until the channel reports connected and replies.
This skill supersedes `tinyhat_slack_connect` and the connection instructions in
`tinyhat-slack`. Always use `tinyhat_channels` for new Slack setup, including
Computers that already use Telegram.From tinyhat-ai/tinyhat, MIT.
More from tinyhat-ai/tinyhat
- 0.547score
tinyhat-google-workspace-app-manager
tinyhat-ai
Inspect or, after explicit approval, install or uninstall Tinyhat's pinned Google Workspace CLI app.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-hat-wearing
tinyhat-ai
Install, wear, resume, or finish an accessible Tinyhat Hat on this agent from its handle or URL.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-local-app-sharing
tinyhat-ai
Create, list, or expire short-lived Tinyhat Visuals when visual communication would help the user, including reports, charts, dashboards, previews…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-mail
tinyhat-ai
Use when the owner says "check your inbox," "I sent you an email, did you get it?," "read/search your email," asks whether this Agent can receive email, asks…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-mail-client
tinyhat-ai
Help the owner open Mail on their Tinyhat desktop or connect their agent mailbox to Thunderbird, Apple Mail, Epistles, or another IMAP/SMTP client.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-complete-setup
tinyhat-ai
Finish a Tinyhat Computer's onboarding when the owner asks to set up their selected coding agent and Slack or Telegram, finish setup, or get their Computer…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-account-upgrade
tinyhat-ai
Use when the owner asks to upgrade their Tinyhat account, enable Stripe Projects services, or prepare their individual connected account.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-contact-details
tinyhat-ai
Use when the owner asks "what is your phone number/email address?", "how can I contact you?", or asks Tinyhat to set up this Agent's contact details.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-credentials
tinyhat-ai
List, find, or remove secure credentials stored only on this Tinyhat Computer.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-plugin-skill-authoring
tinyhat-ai
Create, modify, or review Tinyhat plugin skills.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-agentphone
tinyhat-ai
Use when the owner says "call me," "call this number," "call again," "send a text/SMS," "I sent you a text, did you receive it?," asks whether this Agent can…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-codex-auth
tinyhat-ai
Start Tinyhat's OpenAI Codex / ChatGPT subscription device-auth flow, and explain the funding model.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 10
- Last commit (this folder)
- Sep 16, 2026 (1 month ago)
- Last release
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tinyhat-ai/tinyhat
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tinyhat-ai
- 0.547score
tinyhat-plugin-skill-authoring
tinyhat-ai
Create, modify, or review Tinyhat plugin skills.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-account-upgrade
tinyhat-ai
Use when the owner asks to upgrade their Tinyhat account, enable Stripe Projects services, or prepare their individual connected account.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-agentphone
tinyhat-ai
Use when the owner says "call me," "call this number," "call again," "send a text/SMS," "I sent you a text, did you receive it?," asks whether this Agent can…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-codex-auth
tinyhat-ai
Start Tinyhat's OpenAI Codex / ChatGPT subscription device-auth flow, and explain the funding model.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-complete-setup
tinyhat-ai
Finish a Tinyhat Computer's onboarding when the owner asks to set up their selected coding agent and Slack or Telegram, finish setup, or get their Computer…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
tinyhat-contact-details
tinyhat-ai
Use when the owner asks "what is your phone number/email address?", "how can I contact you?", or asks Tinyhat to set up this Agent's contact details.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
tinyhat-connect-channel skill. Agent Mart. https://agentmart.dev/skills/tinyhat-ai-tinyhat-connect-channel (last updated 2026-10-24)