leynier/telegram-cli / skills/clitg
clitg
VerifiedRead and manage a Telegram user account through the structured clitg CLI, including messages, media, and account settings.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.7 KB |
| agents/openai.yaml | config | 235 B |
| references/mcp-server.md | markdown | 1.5 KB |
| references/raw-and-registered.md | markdown | 1.0 KB |
| references/specialized-actions.md | markdown | 1.7 KB |
| references/streams-and-batches.md | markdown | 1.0 KB |
| references/writes.md | markdown | 1.5 KB |
references/mcp-server.md
View on GitHub# MCP server
Starting `clitg mcp serve`, exposing it beyond loopback, issuing pairing codes, and creating or revoking MCP tokens or clients change who can operate the account; do them only with explicit authorization. They require clitg 0.4 or later with the `mcp` extra: `uv tool install 'clitg[mcp]'`.
Local clients spawn `clitg --profile <profile> mcp serve`, which speaks MCP over stdio. HTTP mode is a JSONL stream: `clitg --profile <profile> --output jsonl mcp serve --transport http`. Read `server.started` for `url`, `issuer`, and `auth`; a `pairing.code` item carries a single-use code only when terminal delivery was selected. Stop the process to end the stream and expect a terminal summary.
Remote OAuth clients such as ChatGPT need an HTTPS origin through `--public-url` or `--tunnel netbird`. Pair with `clitg --profile <profile> mcp pair --deliver terminal|saved-messages|both`; never paste a pairing code anywhere except the clitg pairing page the user opened. Header-based clients use `mcp tokens create --name <name> --token-file <new-file>`; prefer the file so the token never enters the transcript.
Revoke with exact confirmations after a dry run: `mcp clients revoke --client-id <id> --confirm mcp.clients.revoke` and `mcp tokens revoke --name <name> --confirm mcp.tokens.revoke`.
Inside an MCP session, tool results are clitg envelopes. Preview mutations with `dry_run`, pass `--confirm` and `--confirmation-token` through `clitg_run` arguments for destructive and critical commands, and treat `conflict` after the lock wait as a busy profile session.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |