better-tg-cli 0.22.1 → 0.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![license](https://img.shields.io/badge/license-MIT-000000?style=flat&colorA=000000&colorB=000000)](LICENSE)
16
16
 
17
17
  <p>
18
- <a href="#install">Install</a> · <a href="reference.md">Reference</a> · <a href="SECURITY.md">Security</a> · <a href="https://github.com/TheVilfer/better-tg-cli/issues">Issues</a> · <a href="README.ru.md">Русский</a>
18
+ <a href="#install">Install</a> · <a href="skills/better-tg-cli/reference.md">Reference</a> · <a href="SECURITY.md">Security</a> · <a href="https://github.com/TheVilfer/better-tg-cli/issues">Issues</a> · <a href="README.ru.md">Русский</a>
19
19
  </p>
20
20
  </div>
21
21
 
@@ -78,11 +78,14 @@ Do **not** install `@skillhq/telegram`. It is the old upstream build on GramJS (
78
78
 
79
79
  ### As an agent skill
80
80
 
81
- The repo itself is the skill (`SKILL.md` + `reference.md`):
81
+ The skill ([`skills/better-tg-cli`](skills/better-tg-cli/SKILL.md)) teaches any agent with a shell
82
+ (Claude Code, Codex, Cursor, Gemini CLI, OpenCode and others) to use the CLI safely. It checks the
83
+ setup, never logs in on its own, keeps writes behind your approval, and avoids ban-prone patterns.
84
+ Install it with the [skills](https://skills.sh) CLI:
82
85
 
83
86
  ```bash
84
- git clone https://github.com/TheVilfer/better-tg-cli.git ~/.agents/skills/telegram
85
- ln -s ~/.agents/skills/telegram ~/.claude/skills/telegram
87
+ npx skills add TheVilfer/better-tg-cli # pick agents interactively
88
+ npx skills add TheVilfer/better-tg-cli -g -a claude-code -a codex -y
86
89
  ```
87
90
 
88
91
  ## Log in
@@ -124,7 +127,7 @@ telegram click @SomeBot 4410 "Settings" # press an inline button
124
127
  ```
125
128
 
126
129
  Read commands take `--json`, and some also take `--markdown`. See all commands with
127
- `telegram help-all`. [reference.md](reference.md) covers the behaviour that the flag list can't
130
+ `telegram help-all`. [reference.md](skills/better-tg-cli/reference.md) covers the behaviour that the flag list can't
128
131
  explain: output shapes, threads, bot buttons, admin commands and troubleshooting.
129
132
 
130
133
  ## MCP server
package/README.ru.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![license](https://img.shields.io/badge/license-MIT-000000?style=flat&colorA=000000&colorB=000000)](LICENSE)
16
16
 
17
17
  <p>
18
- <a href="#установка">Установка</a> · <a href="reference.md">Справка</a> · <a href="SECURITY.md">Безопасность</a> · <a href="https://github.com/TheVilfer/better-tg-cli/issues">Issues</a> · <a href="README.md">English</a>
18
+ <a href="#установка">Установка</a> · <a href="skills/better-tg-cli/reference.md">Справка</a> · <a href="SECURITY.md">Безопасность</a> · <a href="https://github.com/TheVilfer/better-tg-cli/issues">Issues</a> · <a href="README.md">English</a>
19
19
  </p>
20
20
  </div>
21
21
 
@@ -77,11 +77,14 @@ npm install -g better-tg-cli # Node >= 20
77
77
 
78
78
  ### Как скилл для агента
79
79
 
80
- Сам репозиторий и есть скилл (`SKILL.md` + `reference.md`):
80
+ Скилл ([`skills/better-tg-cli`](skills/better-tg-cli/SKILL.md)) учит любого агента с шеллом
81
+ (Claude Code, Codex, Cursor, Gemini CLI, OpenCode и других) безопасно работать с CLI. Он проверяет
82
+ установку, никогда не входит сам, держит запись под вашим подтверждением и обходит действия, за
83
+ которые банят. Ставится через CLI [skills](https://skills.sh):
81
84
 
82
85
  ```bash
83
- git clone https://github.com/TheVilfer/better-tg-cli.git ~/.agents/skills/telegram
84
- ln -s ~/.agents/skills/telegram ~/.claude/skills/telegram
86
+ npx skills add TheVilfer/better-tg-cli # агенты выбираются интерактивно
87
+ npx skills add TheVilfer/better-tg-cli -g -a claude-code -a codex -y
85
88
  ```
86
89
 
87
90
  ## Вход
@@ -124,7 +127,7 @@ telegram click @SomeBot 4410 "Настройки" # нажать инлай
124
127
  ```
125
128
 
126
129
  Команды чтения принимают `--json`, а некоторые и `--markdown`. Все команды выводит
127
- `telegram help-all`. В [reference.md](reference.md) описано то, чего не видно по списку флагов:
130
+ `telegram help-all`. В [reference.md](skills/better-tg-cli/reference.md) описано то, чего не видно по списку флагов:
128
131
  форматы вывода, треды, кнопки ботов, админские команды, решение проблем.
129
132
 
130
133
  ## MCP-сервер