better-tg-cli 0.22.2 → 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 +8 -5
- package/README.ru.md +8 -5
- package/dist/telegram.mjs +1 -1
- package/package.json +3 -3
- package/skills/better-tg-cli/SKILL.md +76 -0
- package/SKILL.md +0 -57
- /package/{reference.md → skills/better-tg-cli/reference.md} +0 -0
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](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
|
|
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
|
-
|
|
85
|
-
|
|
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)
|
|
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
|
-
|
|
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
|
-
|
|
84
|
-
|
|
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-сервер
|