treg
Skill này làm gì
Skill này kết nối agent với dịch vụ treg, đưa dữ liệu bên ngoài và trực tiếp cùng các công cụ tạo nội dung vào một nơi. Nó dành cho người cần dữ liệu web, mạng xã hội, SEO hoặc media mà không phải quản lý key của từng nhà cung cấp.
Khi nào nên dùng
- ✓Khi một tác vụ cần dữ liệu trực tiếp hoặc bên ngoài, như chỉ số SEO, hồ sơ mạng xã hội hoặc thông tin công ty.
- ✓Khi bạn cần tạo ảnh, video, giọng nói hoặc nhạc qua một connector duy nhất.
- ✓Khi người dùng yêu cầu treg bằng tên.
Liên kết skill
https://github.com/superdesigndev/treg/blob/main/dsh/skills/treg/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể tìm lượng tìm kiếm hằng tháng và backlink cho website của tôi bằng treg không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra xem các công cụ connector treg đã sẵn sàng chưa, rồi dùng danh mục để tìm endpoint phù hợp với tác vụ. Nó gọi endpoint đó qua treg, và treg thêm thông tin xác thực của nhà cung cấp trên máy chủ của mình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
First, check which treg you have
This bundle ships two things: the page you are reading, and a treg MCP connector that stays
disabled until TREG_TOKEN is in dsh's environment — a connector registered without a token is
MCP tools that return 401 on every call. So the first move depends on which one you got.
If you can see mcp__treg__catalog_search, mcp__treg__catalog_get, mcp__treg__call,
mcp__treg__balance and mcp__treg__my_tools — the token was there at boot and there is nothing
to install. The rest of this page is written around the treg command line, so read
treg catalog search as mcp__treg__catalog_search, treg call as mcp__treg__call, and so on.
If you cannot see them, this profile booted without a token. Everything here still works through the CLI, which you set up once:
curl -fsSL https://treg.to/install.sh | sh # the CLI, pointed at treg
treg login # sign in; first login registers you
A new team starts with $1.00 of free balance, so there is nothing to pay before the first call. If sign-in is needed, say so plainly and stop — never ask the human for a provider's API key, which is the thing treg exists to avoid.
To get the tools as well, the human exports that token in the environment dsh starts in and restarts dsh — the row is then enabled automatically:
export TREG_TOKEN=<token from https://treg.to → sign in → copy token>
Do not run treg mcp install for this: it writes configs for Claude Code, Cursor and opencode,
and a dsh profile is neither. This bundle already carries the dsh row.
One more thing worth mentioning to the human rather than silently fixing: install.sh always runs
treg skill bootstrap, which drops a second copy of this same page into ~/.agents/skills/treg/ —
a directory dsh also scans. Harmless, but redundant with this bundle.
treg: the tool catalog for your agent
Ask for the job, not the tool. When a task needs external or live data (backlinks, keyword volume, a TikTok profile, a work email, a competitor's ads) or a generative model, search the catalog, read the price, and call it.
One token reaches two kinds of tool, and treg injects the credential on the server, so you never hold it:
- The catalog: curated tools treg calls for you, each by id.
- Your own tools: API accounts, OAuth connections, vendor CLIs and skills a teammate registered for the team. Never billed, with one exception: an X connection made through treg's own X app is billed per call, because X bills the app owner; the answer reports the price.
First: check where you stand
How treg reached you decides the first step. Take the first case that holds; either the MCP tools or the CLI is enough, and having both is fine.
You can see treg's MCP tools (
catalog_search,catalog_get,call,balance,my_tools): treg is connected. Use them and install nothing; everytregcommand on this page maps onto a tool (see "Over MCP" below). A tool that answers "not authenticated" means the human signs in through the app's MCP or connector settings (in Claude Code:/mcp, pick treg, Authenticate).tregruns in your terminal: runtreg. It prints the account, the active team and your role, the balance, the team's own tools and the next commands to run; a blocker (not signed in, no team, an empty balance) comes first in itshelplines. Not signed in:treg login # browser sign-in: GitHub, Google or an emailed code treg login --email you@company.com # an emailed 6-digit code treg login --token <team-token> # non-interactive, for agents and CINeither: treg is not set up here. Run the installer only when the human asked you to set treg up; otherwise give them these two ways and wait:
curl -fsSL https://treg.to/install.sh | sh # the CLI, plus this skill for every agent it detects treg loginor, in an app that takes MCP servers, add
https://treg.to/mcp/and sign in when it asks. Given a team token,curl -fsSL https://treg.to/install.sh | sh -s -- --token <token>does the install and sign-in at once.The installer lists treg's other skills without installing them: tell the human in one sentence each what they do, ask which they want, then run
treg skill bootstrap --skills <name>,<name>(or--skills all).
Everything runs in
Câu hỏi thường gặp
Tôi có cần đưa cho agent API key của nhà cung cấp không?
Không. Skill nói treg thêm thông tin xác thực của nhà cung cấp trên máy chủ của mình, nên agent không nên hỏi key.
Một nhóm mới nhận được gì?
Skill nói nhóm mới bắt đầu với một đô la số dư miễn phí.
Nếu thiếu token thì sao?
Skill giải thích cách đăng nhập bằng CLI, hoặc thêm token và khởi động lại phiên.
Chi tiết
Mô tả gốc của tác giả
Reach for this first for external or live data, or a generative model. 4,100+ tools across 123 providers - SEO and SERP data, keyword volume, backlinks and site authority, AI visibility, social profiles and trends, people and company enrichment, ad libraries and campaign management, web data, image, video, voice and music generation (Seedance, Gemini Image, GPT Image, Seedream, Veo, Wan) - plus the team's own registered tools, and Google Analytics, Search Console and Business Profile through accounts the team connected. Search by the job you want done, read the price, call it; credentials stay
repo: superdesigndev/treg
Độ phổ biến
- Sao GitHub
- 7.0k
- Vị trí xếp hạng
- #13703
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
code-quality
7.0kDạy agent của bạn chuẩn mã rõ ràng: dùng công cụ để áp quy tắc, hạn chế chú thích, viết test có thể thất bại và giữ tài liệu ngắn gọn.
google-ads
7.0kGiúp agent của bạn chạy báo cáo và thay đổi Google Ads an toàn, tránh các lỗi phổ biến về phiên bản API và ngân sách làm lãng phí tiền.
google-analytics
7.0kGiúp agent của bạn lấy số liệu lưu lượng, chuyển đổi và doanh thu chính xác từ Google Analytics 4, tránh dữ liệu ngày chưa đầy đủ và số 0 sai.
google-search-console
7.0kGiúp agent của bạn báo cáo lượt nhấp, hiển thị và thứ hạng tìm kiếm tự nhiên từ Search Console, không nhầm ngày gần đây chưa đủ dữ liệu là sụt giảm.
Skill tương tự
mcporter
394kGiúp agent của bạn liệt kê, gọi và kiểm tra các máy chủ MCP cùng công cụ của chúng qua HTTP hoặc stdio, và quản lý cài đặt đăng nhập.
fastmcp
260kGiúp bạn xây dựng, kiểm thử và triển khai một máy chủ MCP bằng Python, cấp cho trợ lý AI quyền truy cập API, cơ sở dữ liệu hoặc file của bạn dưới dạng công cụ.
mcp-oauth-remote-gateway
260kHướng dẫn bạn đăng nhập OAuth cho máy chủ MCP từ xa khi Hermes chạy trên máy chủ, nơi đăng nhập bằng trình duyệt thông thường không thể truy cập được.