/gt-lotr:gt-lotr-researchfrom gt-lotr
Researches a service for LOTR by finding its MCP server, REST API docs, or package, then writes a template and fact sheet with cited sources. Use when adding a new service to the LOTR template catalog.
Ships in gt-lotr. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a service name into a template (what LOTR uses to connect) and a fact sheet (why every
field has the value it has). This is the research run. The execution run is lotr setup NAME,
which a person starts in their own terminal afterwards. The two never mix: this skill reads public
documentation and writes two JSON files; it does not connect to anything, sign in, or touch a secret.
CLI: python3 <base>/../../scripts/lotr.py (<base> is this skill's base directory), called lotr
below. lotr template guide is the reference for every field and carries the archetype decision table.
store:NAME); the checker refuses a value, and a fact sheet that
quotes one is refused too. If a documentation page shows an example key, do not copy it.open and prefer a REST template./.well-known/...). You may NOT sign in,
POST, send an initialize to the MCP endpoint, or call any authenticated API./gt:gt-validate, which re-derives a claim from the claim and its sources alone).linear, sentry, notion). Check
lotr template list first: if a template of that name exists (shipped, catalog or yours), say so and
stop unless the user wants it re-researched.lotr template guide). In short: hosted + browser
sign-in -> mcp-oauth (or mcp-oauth-preregistered when the docs say to create an OAuth app first);
hosted + pasted key -> mcp-http-key; local program -> stdio-npx / stdio-uvx / stdio-docker /
stdio-binary; only a legacy SSE URL -> sse-bridge; no MCP -> http-rest. Record WHY in choices.lotr template new NAME --archetype ARCHETYPE --out FILE (FILE as in step 8).connect.url or connect.base_url or connect.command, and network.hosts.
For a package, look up the CURRENT version in the registry and pin it ([email protected], name==1.2.3,
an image tag or digest).connect.runtime (node, uv, docker, binary).auth_scheme (and auth_header); for OAuth, scopes the docs name, whether the client
registers itself (client_registration), where the user creates an app (app_setup_url), and the
redirect address to register. For env vars the program needs: env_refs (secrets) versus env (plain).connect.policy.consent globs for any tool or endpoint the docs show deleting, sending,
billing or merging.smoke.op = ONE read-only tool or endpoint that needs no input (a "whoami", "list teams"),
named in the docs. If none, omit it.identity, description, summary, docs (the vendor's documentation page), notes (what the user
must do: where to create a key, which plan is needed).lotr template guide shows the shape; scripts/lotrlib/facts.py is the
definition). One fact per load-bearing field (connect.url, connect.command, connect.runtime,
connect.scopes, connect.auth_scheme, connect.auth_header, connect.client_registration,
network.hosts) with field, value (exactly as in the template), claim, source (the https URL
of the page), retrieved (today), state and a short evidence (a quote of at most a sentence). Add
facts for the rest (scopes meaning, plan requirements, the smoke tool). List in open everything you
could not confirm.unverified: you read it on one page.self-verified: you checked it against a SECOND independent source (docs page plus the package
registry or the vendor's repository; the vendor's public discovery document) or, for a package, you
read its registry metadata. Two pages on the same site, or two pages copying each other, are one source.independently-verified: only after a fresh agent re-derived it; needs verified_by and verified_on.
If two sources disagree, record the disagreement in open and mark the fact unverified.lotr-templates/templates/NAME.json
and lotr-templates/facts/NAME.facts.json, then the repository owner refreshes catalog.json
(hashes) with the catalog build tool in the repository's dev folder. Add a line to
lotr-templates/CHANGELOG.md.~/.config/gt-lotr/<zone>/connections/NAME.json and NAME.facts.json beside it.lotr template check FILE (valid, no TODO) and lotr template facts-check FACTS --template FILE
(every load-bearing field backed by a sourced fact, values agree with the template, no secret).open, the archetype and
why, anything that needs a human (a plan tier, an OAuth app, an admin approval), and the one next
step: lotr setup NAME in their own terminal (it checks the runtime, tells them where the credential
goes, signs them in if needed, adds the connection and tests it).self-verified that rests
on one source is a defect: downgrade it.summary is one plain line.notes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (shaven/golden-thread) — no native marketplace selected
npx claudepluginhub p/shaven-gt-lotr-golden-thread-plugin-golden-thread-lotr-0-5-02 skills in this plugin
Other plugins' skills for the same job