treg
它能做什么
这项技能将智能体连接到 treg 服务,把外部实时数据和生成工具整合在一处。它适合需要网页、社交、SEO 或媒体数据、又不想分别管理每个服务商密钥的用户。
适用场景
- ✓当任务需要实时或外部数据时,例如 SEO 指标、社交资料或公司详情。
- ✓当你希望通过单一连接器生成图像、视频、语音或音乐时。
- ✓当用户直接提到 treg 的时候。
技能链接
https://github.com/superdesigndev/treg/blob/main/dsh/skills/treg/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用 treg 帮我查一下我网站每月的搜索量和反向链接。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查 treg 连接器工具是否可用,然后使用目录为任务找到合适的端点。它通过 treg 调用该端点,服务商凭证由 treg 在其服务器上添加。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
常见问题
我需要给智能体提供服务商 API 密钥吗?
不需要。该技能说明,treg 在其服务器上添加服务商凭证,因此智能体不应索要密钥。
新团队会获得什么?
该技能说明,新团队开始时会有一美元的免费余额。
如果令牌缺失怎么办?
该技能说明如何使用 CLI 登录,或如何添加令牌并重启会话。
详情
作者的原始描述
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
热度
- GitHub 星标
- 7.0k
- 排名
- #13703
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
code-quality
7.0k教你的智能体遵循清晰的代码规范:用工具强制执行规则,少写注释,让测试能够失败,并保持文档简短。
google-ads
7.0k帮你的智能体安全地生成 Google Ads 报告并进行修改,避免常见的 API 版本和预算错误,以免浪费资金。
google-analytics
7.0k帮你的智能体从 Google Analytics 4 获取准确的流量、转化和收入数据,避免不完整的日期和虚假的零值。
google-search-console
7.0k帮你的智能体从 Search Console 报告自然搜索的点击、展示和排名,避免把尚不完整的近期数据误认为下降。