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/streams-and-batches.md
View on GitHub# Streams and read batches
## Updates
Use JSONL and bound the stream to the task with `--peer`, `--event`, `--max-events`, `--idle-timeout`, or `--timeout` as appropriate:
```bash
clitg --profile personal --output jsonl updates watch \
--event message.new --consumer-id inbox-agent \
--max-events 100 --idle-timeout 30 --timeout 300
```
Save and reuse the opaque cursor, or use a stable consumer ID for automatic checkpoints. Treat `telegram.raw_update` as unreviewed input and inspect its `raw_type`; an update is not necessarily a message. Require the terminal summary or error before claiming stream completion.
## Read-only batches
Inspect `clitg --profile <profile> policy get` and respect its operation and target limits. Use JSONL with one `id`, registered read `command`, and `params` object per line. Validate unfamiliar commands with `commands get`. Keep `--concurrency` between 1 and 10; `--fail-fast` selects sequential stop-on-error behavior. Mutations are not allowed in batches and are rejected by the CLI.
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 |