Lookup procedure for Simplified Custom Auth recipe fields — sources the auth template, the key-issuing docsUrl and an auth-rejecting testUrl from the provider's
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-credential-recipe-research-23c250c8dd72 ,按照其中的说明把「credential-recipe-research」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
A recipe is only as good as the documentation it came from. This is a
procedure, not guidance: execute every step with the research tool and keep
only findings you can point to on a fetched page. Guessed URLs are how users
end up on the wrong page with a key that can't be verified.
Inputs: the service name and the API host(s) the workflow's nodes call.
Fetch the provider's authentication docs — research(action="web-search")
with "<service> API authentication", then fetch-url the best docs hit.
Record the scheme EXACTLY as documented: header name, prefix word, casing
(Authorization: Key {{api_key}} vs Bearer {{api_key}} vs a custom header
like xi-api-key). If the documented auth is basic, digest, or OAuth, stop:
that is not expressible as a template — use the matching generic type instead
(see the workflow-builder skill's credential ladder).
Find where a logged-in user CREATES or COPIES the key. The URL is not shown in the form — the n8n Assistant help thread presents it as THE place to get the value, so a wrong URL sends the user to a dead end with full confidence:
"<service> dashboard API keys", and scan the fetched auth docs for
phrases like "get your key from", "Dashboard → API Keys", "console",
"settings".console.apify.com/settings/integrations,
elevenlabs.io/app/settings/api-keys, replicate.com/account/api-tokens,
app.tavily.com/home — not under /docs, /reference, or
/documentation./account/api-keys,
/dashboard/keys, …). Dashboards are apps behind a login: a fetch answers
200 for any invented route, so the path cannot be verified by fetching.
Emit a deep dashboard URL only when it appears VERBATIM on a page you
fetched; when the docs only describe navigation ("Dashboard → API Keys")
without a literal URL, use the dashboard/app root they reference — a
shallower real page beats a deeper invented one.Find a documented, side-effect-free GET that rejects a bad key with 401/403. Check the API reference in this order and stop at the first qualifying hit:
/v1/account, /v2/users/me, /v1/user./v1/models/usage, Tavily's /usage./v1/templates, /v1/models, /v1/voices.Rules, all mandatory:
auth/health, TikTok) — a status probe cannot
verify through them.Fill credentialHints (field list and example in the post-build-flow skill)
from the findings above only. suggestedName names the service ("Apify API
Token"); never include a real secret.