* feat(web): /intent-signals landing page for the buyer-signals launch "Claude monitor buyer signals": built from /people-search, keeping its skill grid (now eight signal tiles from the launch film's real run) and the People Search Bench. New: a morning-run demo, a three-step 'your agent is the monitor' section (Claude Code /schedule, Codex from cron, diff against the last list), the $0.98 four-source receipt, and pay-per-check pricing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(web): /intent-signals scenes from the launch film Replace the monitor steps, the receipt table and the signal tile grid with the film's own scenes, rebuilt as HTML: a radar and signal feed that judges each post, a thread → scored companies → decision makers flow with vendor waterfall, 'treg monitors…' with evidence cards per signal, and the daily hot-leads list a scheduled run grows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(web): /intent-signals hero plays the whole film in one take The hero now runs monitor the topic → read the thread → score companies → find decision makers as one continuous, clickable demo, replacing the old hero table and the two separate scene sections. The 'treg monitors…' section goes back to the skill tile grid, each tile now a small visual scene (post, new position, news, job postings, funding, headcount chart, tech adopters, Reddit thread) instead of text rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(web): /intent-signals headline 'Claude for Signal Monitor' and the real Reddit mark Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * style(web): /intent-signals nav drops the Signals and Daily list links Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): /intent-signals works at every width Tablet keeps every column and a smaller radar beside the feed; phone puts the radar above the feed and the post above its thread, folds secondary columns, wraps the prompt bar and truncates names instead of overlapping. The prompt cursor now honours [hidden], and a new prompt clears the last reply before it types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * style(web): /intent-signals headline 'Claude for Monitor Leads Signal' in Geist Pixel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): /intent-signals prices from the billed run, not the film's $0.98 The launch run's LinkedIn, Reddit and X sweep billed $0.52 for 2,945 signals (4,710 with the free GitHub stargazers): $0.0002 per signal checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(skills): lead-signals, the /intent-signals workflow as a skill Detect, qualify, contact, hand back a ranked list; optionally keep watching on the agent's own schedule with a diff against the last list. It names signal families and the words to search the catalog with, never endpoint ids, so it stays right as the catalog grows. Served at /skills/lead-signals/SKILL.md and as the third entry in the well-known skills index, like make-ugc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(skills): lead-signals description says only when to use it; example vendors per signal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(skills): install our skills with npx skills add superdesigndev/treg The skills CLI (skills.sh) reads skills/ and skips symlinks, so build_plugin.py now also writes real copies of the workflow skills (make-ugc, lead-signals) there, and --check keeps them in step with src/treg/web/skills. The six skills that are repo tooling carry metadata.internal so the CLI hides them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(skills): vendor-listing is repo tooling, hidden from npx skills add Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(web): /intent-signals shows the one-line skill install npx skills add superdesigndev/treg --skill lead-signals, beside the treg set-up command; both copy buttons share one handler and wrap on a phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cli): treg skill bootstrap installs every public skill the registry advertises install.sh already runs it; it now also installs each skill in /.well-known/skills/index.json (make-ugc, lead-signals) into the same global agent folders as the treg skill. Best-effort, and a name from the index must be a plain slug before it becomes a directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(skills): lead-signals sends an agent without treg to llms.txt to set up Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(web): the buyer-signals page lives at /leads-signals Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * style(web): /leads-signals tools grid shows Aviato people search instead of Apollo Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * style(web): /leads-signals nav reads Leads signals Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(web): /leads-signals served by _static_page like the other launch pages The catalog's size comes from {ENDPOINTS}/{PROVIDERS} instead of typed numbers, and the page carries the shared share image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(context): the installer also installs the advertised workflow skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
6.7 KiB
name, description, metadata
| name | description | metadata | ||
|---|---|---|---|---|
| write-provider-skill | Build a treg provider skill — the endpoint map + mistake map that lets an agent do real work on a platform API through treg's proxy. Use when adding a skill for a connected provider (Google Ads, LinkedIn, Meta Ads, TikTok, X, Instagram, Search Console), or when an existing provider skill needs verifying or extending. |
|
Writing a provider skill
A provider skill is an MCP server made of documentation. An MCP server gives a model a tool list and typed parameters. We can't ship a server per platform, so the skill carries the same payload as prose: which endpoints matter, what the parameters really are, and where the API lies to you.
The third part is the one MCP can't give you, and it's where nearly all the value is.
The rule that decides what goes in
Document what produces a wrong answer without producing an error.
Ranked by value to an agent:
| Class | Why it matters | Example |
|---|---|---|
| Silent wrong answers | Agent reports confidently false results. Unrecoverable alone. | GA4: incompatible dimension+metric returns "0" per row, not an error — reads as "no revenue" |
| Wrong-shaped errors | Error doesn't describe the real cause, so retries go sideways | GA4: bad path returns a Google HTML 404 page, not JSON — a JSON parse throws something unrelated |
| Unguessable identifiers | Agent invents an ID and gets 403/404 forever | GA4 needs properties/123456789; GSC needs sc-domain:x.com vs https://x.com/ |
| Host splits | Endpoint exists but not on the bound host | GA4 Admin API is analyticsadmin, tool is bound to analyticsdata → 404 |
| Capability limits | Agent attempts work the scope can't do | GA4 connection is read only |
| Endpoint list | Findable in official docs | — |
Anything in the bottom row: link to the docs, don't restate them. A skill that paraphrases the API reference is worse than a URL — it goes stale and it's longer.
Verification protocol — non-negotiable
Every endpoint and every example body in the skill must have been executed. Not adapted from docs, not plausible — run.
scripts/dev-local.sh up
scripts/dev-local.sh cli connections ls # confirm health + resource_ref
scripts/dev-local.sh cli call <provider> <path> # always via /call/, never direct
Call through /call/ rather than curl-with-a-token: that exercises binding injection, token
refresh, and the audit trail, which is where treg bugs surface.
Mark every endpoint ✅ verified or ⚠️ unverified, and date the skill. An unverified endpoint is allowed — an unmarked one is not.
Read the audit log when something 404s. It records the exact upstream URL, which catches client-side path mangling that the terminal output hides:
sqlite3 treg-dev.db "select method,path,status_code from callrecord order by id desc limit 5"
That's how the zsh :r bug below was found: the terminal showed a plausible Google error, the
audit log showed the request had gone to ...123456789unRealtimeReport.
Write-side testing
Read endpoints: call freely. Write endpoints publish real things to real accounts and are not reversible. Before any POST/PUT/DELETE that creates content or spends money:
- Get an explicit designated target from the human (throwaway account, sandbox ad account)
- Get explicit per-provider go-ahead
- If neither exists, mark the endpoint ⚠️ unverified and document it from the API reference
Never publish to a production account to satisfy a checkbox.
Skill structure
Follow this order — it matches how an agent actually reads under time pressure:
frontmatter: name + description (description = the trigger; list the words a user would say)
# <Platform> via treg
one line: you call X through treg's proxy, you never hold a credential
"All examples verified live on <date>"
## Setup (once per team) — connect command, what capability you get
## Which <resource> to use — how to READ the id, never guess it
## The endpoints — table: path | method | purpose | verified?
## Common jobs — 4-6 real tasks, full runnable bodies
## Reading the response — shape gotchas (positional arrays, strings-not-numbers, timezone)
## Pitfalls — the silent-wrong-answer list. The most valuable section.
## Full documentation — links out
Pitfall classes that recur across providers
Check each one explicitly when building a new skill. Confirmed on GA4; expected but unconfirmed elsewhere until tested.
- Host split — is there an admin/management API on a different hostname than the data API?
The tool's
base_urlbinds one host; the other is unreachable via/call/. Expect this on Google Ads (googleads vs googleadsapi surfaces) and Meta (graph vs business). - Resource id format — exact prefix, exact encoding. Read it from
treg connections ls→resource_ref. If empty,treg connections resources <id>thentreg connections use. - Positional response arrays — headers and values matched by index, not name.
- Numbers as strings — cast before arithmetic.
- Timezone/currency — reports render in the property's timezone. Read it from the response before interpreting "today".
- Silent truncation — default row limits,
(other)buckets for high-cardinality dimensions, pagination tokens that look like completion. - Shell quoting — in zsh,
$VAR:runReporttriggers the:rhistory modifier and silently corrupts the path. Use${VAR}:runReport. Applies to any API with:actionpath suffixes. - Scope vs capability — what the connection actually granted (
treg connections ls→scopes,capabilities,missing_capabilities), not what the platform offers.
Also record treg friction
This exercise doubles as a treg test. When an agent would plausibly guess wrong about treg's own interface, note it — those are product bugs, not skill content. Found so far:
treg connections listis invalid; the subcommand islstreg connections resourcestakes a numeric id, not a provider name
Checklist
- Connected via real OAuth;
connections lsshowshealth: ok - Every endpoint executed through
/call/; each marked verified/unverified - Deliberately probed for silent-wrong-answers (bad field names, incompatible combos)
- Confirmed which capability the connection actually has
- Checked for a host split
- Write endpoints either authorized + tested, or marked unverified
- Links out instead of restating the reference
- treg friction recorded separately from platform friction