Borrowing it
Nothing to install: this file belongs to trongnguyenbinh/zalo-bot-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/trongnguyenbinh/zalo-bot-mcp/main/.claude/commands/zalo-set-token.mdgit clone --depth 1 https://github.com/trongnguyenbinh/zalo-bot-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/trongnguyenbinh/zalo-bot-mcp/zalo-set-token)<a href="https://agentmods.dev/commands/trongnguyenbinh/zalo-bot-mcp/zalo-set-token"><img src="https://agentmods.dev/badge/commands/trongnguyenbinh/zalo-bot-mcp/zalo-set-token/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/trongnguyenbinh/zalo-bot-mcp/zalo-set-token"><img src="https://agentmods.dev/badge/commands/trongnguyenbinh/zalo-bot-mcp/zalo-set-token.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00372 |
| Opus 5 | $0.00000 | $0.00186 |
| Sonnet 5 | $0.00000 | $0.00074 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
zalo-set-token scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/zalo-set-token - Cài bot token từ clipboard
Lệnh này KHÔNG nhận tham số. Token đi từ clipboard thẳng vào stdin của CLI, không qua transcript, không qua argv.
QUY TẮC TUYỆT ĐỐI cho model:
- KHÔNG in token ra màn hình, không lặp lại token trong câu trả lời, không ghi token vào bất kỳ file nào khác. Kể cả một phần của token.
- Nếu người dùng lỡ gõ token thẳng vào chat: cảnh báo ngay rằng token đã nằm trong transcript phiên (file ~/.claude/projects/*.jsonl), nên vào trang quản lý bot thu hồi và tạo token mới, rồi mới dùng lệnh này.
Các bước:
-
Nhắc người dùng: copy token từ trang quản lý bot (bot.zapps.me) vào clipboard TRƯỚC, xong xác nhận thì mới chạy tiếp.
-
Chạy bằng Bash, chọn theo hệ điều hành:
macOS:
pbpaste | .venv/bin/zalo-bot-mcp-admin set-tokenLinux (xclip, không có thì wl-paste):
xclip -o -selection clipboard | .venv/bin/zalo-bot-mcp-admin set-tokenwl-paste | .venv/bin/zalo-bot-mcp-admin set-token -
CLI tự gọi getMe xác minh: token đúng thì ghi vào state dir với quyền 0600 và in tên bot; token sai thì không ghi gì. In nguyên văn kết quả của CLI (kết quả không chứa token).
-
Nhắc người dùng restart phiên claude để MCP server đọc token mới.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 38 lines · 0 tokens per session scan A 24c1779c8860
zalo-set-token is a command published in the GitHub repository trongnguyenbinh/zalo-bot-mcp (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 372 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
rename
Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
MIGRATE_DESIGN
Design doc for the migration tool PR. Author: Sol ([email protected]). Co-authored-by: wakesync.
branch-cleanup
Clean up merged and stale branches locally and remotely.
audit-accessibility
Audit web page or component for WCAG accessibility compliance.
coverage-report
Generate and display test coverage report with analysis and recommendations.
generate-docs
Generate or update project documentation including README, API docs, and changelog.