set-token
Skill8 starsChanged 4 months agoMITView on GitHub
Cài Zalo bot token từ clipboard, token đi thẳng vào stdin của CLI không qua transcript. Dùng khi người dùng muốn cài hoặc thay token bot Zalo.
In this repository8 other files it gives its agents.
- allowSkill
- approveSkill
- group-addSkill
- group-removeSkill
- listSkill
- pending-chatsSkill
- policySkill
- revokeSkill
The file
Files
/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 | uvx --from "${CLAUDE_PLUGIN_ROOT}" zalo-bot-mcp-admin set-tokenLinux (xclip, không có thì wl-paste):
xclip -o -selection clipboard | uvx --from "${CLAUDE_PLUGIN_ROOT}" zalo-bot-mcp-admin set-tokenwl-paste | uvx --from "${CLAUDE_PLUGIN_ROOT}" 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

