跳到正文
FunCoding

treg

Search and call treg's catalog of external data APIs - SEO and search results, backlinks, social profiles, company and business-contact enrichment, ad libraries and web data - through the treg connector. Use when a task needs live data from an outside API; search by the task, check the price, then call.

Star
10,049
最近提交
2026年12月2日

plugins/treg-claude/skills/treg/SKILL.md

在 GitHub 上查看

treg

This plugin connects Claude to treg's MCP server. treg holds the provider credentials on its server, so the human never pastes an API key here. There is nothing to install.

If the treg tools are not visible, or a tool answers "not authenticated", the human has not signed in yet. Tell them to connect treg in the app's connector or MCP settings (in Claude Code: /mcp, pick treg, Authenticate), then stop.

Tools

tooluse it for
catalog_searchfind endpoints by the task in plain words, such as "backlinks for a domain"
catalog_getone endpoint's parameters, provider documentation, price and measured reliability, plus other providers for the same job
catalog_call_readcall an endpoint whose documented method is GET, HEAD or OPTIONS
catalog_call_writecall an endpoint whose documented method is POST, PUT, PATCH or DELETE
balancethe team's prepaid balance and money held for calls in progress
catalog_requestrecord a request when the catalog has nothing for the task (free)

Flow

  1. catalog_search with the task in plain words, not a vendor name. Read verdict: strong means these endpoints do the task, closest means check them with catalog_get, none means the catalog has no tool for it.
  2. catalog_get the endpoint you picked. When several providers do the same job, compare price, success rate and speed, and pick one that takes the inputs you actually have.
  3. Call it with catalog_call_read or catalog_call_write, matching the method catalog_get shows.
  4. Nothing fits: catalog_request one sentence about what is missing, then tell the human.

Money: the human decides

Calls are paid from the team's prepaid treg balance at the price catalog_get shows. Most cost a fraction of a cent.

  • Before the first paid call in a task, tell the human the price per call and the expected total, and get their agreement. Agree on a budget once for the task, not for each call.
  • Keep a running total of each answer's cost_usd, and stop and ask before you go over the budget.
  • Before a loop over many inputs, run one or two calls first and check the result.
  • Do not try to add funds. If a call is refused for funds, check balance and tell the human; a team admin adds funds in the treg dashboard.

Write calls

catalog_call_write can create, change or delete data at the provider. Before each write call, tell the human what it will change and wait for their approval. Many search endpoints use POST only to send a query; catalog_get says what an endpoint does.

When something goes wrong

  • A provider error: the answer is the provider's own, relayed unchanged. Read it and fix the request. Do not repeat a 4xx with other providers: it is almost always the request.
  • A 429, 5xx or timeout: try another provider from catalog_get, and tell the human which.
  • An answer that never arrived (timeout, dropped connection): the provider may have answered and been paid. Repeat the call with the same idempotency_key to get the stored answer without paying again. Use a new key, or none, for new work.
  • An error from treg itself says what to do in its message. Tell the human.

Personal data

Some endpoints return data about people, such as business contact details. Use them only for the human's stated task, keep the results in this conversation, and do not send them anywhere else.

相似的 Skill

rea-tool-design

MOmorluto/rea486k近 7 天新增 8,943 个 star

research

MAmattpocock/skills337k近 7 天新增 4,978 个 star

benchmark-methodology

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

brand

NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 3,225 个 star

banner-design

NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 3,225 个 star

mode-creator

THthedotmack/claude-mem121k近 7 天新增 1,626 个 star