WireCatLabs/tg-cli
Telegram CLI for AI agents — your whole account in the terminal, local-first search, MCP server and full Bot API.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 34/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit WireCatLabs/tg-cli/.claude ./rig-tg-cli # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit WireCatLabs/tg-cli/docs/dev/skills/add-command .claude/skills/add-command $ npx degit WireCatLabs/tg-cli/docs/dev/skills/release .claude/skills/release $ npx degit WireCatLabs/tg-cli/docs/dev/skills/test-live .claude/skills/test-live $ npx degit WireCatLabs/tg-cli/skills/tg-cli .claude/skills/tg-cli
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(sudo)",
"Bash(sudo *)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write|MultiEdit|NotebookEdit",
"hooks": [
{
"type": "command",
"command": "sh \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/writes-stay-inside.sh"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "sh \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/sandbox-stays-on.sh"
}
]
}
]
},
"sandbox": {
"enabled": true
}
} Skills (4)
Hooks (2)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Edit|Write|MultiEdit|NotebookEdit | sh "$CLAUDE_PROJECT_DIR"/.claude/hooks/writes-stay-inside.sh |
| PreToolUse | Bash | sh "$CLAUDE_PROJECT_DIR"/.claude/hooks/sandbox-stays-on.sh |
Permissions
deny (2)
Bash(sudo)
Bash(sudo *)
ask (0)
—
allow (15)
Bash(pnpm typecheck)
Bash(pnpm -s typecheck)
Bash(pnpm lint)
Bash(pnpm -s lint)
Bash(pnpm test)
Bash(pnpm -s test)
Bash(npm view *)
Bash(git fetch)
Bash(git fetch *)
Bash(git add *)
Bash(git commit *)
Bash(git push)
Bash(git push *)
Bash(gh pr create *)
Bash(gh pr merge *)
Similar rigs
WireCatLabs/max-cli
MAX CLI для людей, ботов и агентов: личный аккаунт и Bot API MAX в терминале, MCP и навыки для Claude, Codex и Cursor
Pragmatist 2.2k tok · · Q8
leemour/max-cli
CLI для работы с пользовательской сессией MAX из AI агентов
Pragmatist 1.9k tok · · Q8
WireCatLabs/whatsapp-cli
WhatsApp CLI and MCP
Fort Knox 1.2k tok · · Q32
ldayton/Dippy
🐤 Less permission fatigue, more momentum. Dippy knows what’s safe to run and keeps Claude on track when plans change.
Pragmatist 177 tok · · Q0