chore: clean CLIENT_KEY references from SKILL.md and .env.example
Auth is handled automatically by auth-runtime — no need to expose CLIENT_KEY in skill-level documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
06c5c302e9
commit
3bf26335a6
|
|
@ -1,6 +1,4 @@
|
|||
# Local runtime config for client-finder skill
|
||||
# Copy to .env.local in the same folder and fill real values.
|
||||
# Auth is handled automatically via ~/.openclaw/.env
|
||||
|
||||
AUTH_BASE=https://api-gw-test.yuanwei-lnc.com
|
||||
CLIENT_KEY=sk_xxx_replace_with_real_key
|
||||
|
||||
|
|
|
|||
5
SKILL.md
5
SKILL.md
|
|
@ -8,7 +8,7 @@ description: "找客户、找买家、开发客户、cold outreach。当用户
|
|||
Skill-credit + ecom run-flow: query expansion → `/ecom/cold-outreach/run-flow`.
|
||||
Execution mode is fire-and-return: start workflow fast and return accepted immediately; terminal callbacks are handled by backend webhook delivery.
|
||||
|
||||
> Auth (CLIENT_KEY) is loaded automatically from `~/.openclaw/.env` by auth-runtime. No need to pass it.
|
||||
> Auth is handled automatically by auth-runtime via `~/.openclaw/.env`.
|
||||
|
||||
## Run Skill
|
||||
|
||||
|
|
@ -51,8 +51,7 @@ For client onboarding and billing flow (Chinese), read [how-to-use.md](how-to-us
|
|||
- Remove leading `cold-outreach:` prefix (case-insensitive).
|
||||
|
||||
2. Exchange runtime token.
|
||||
- auth-runtime handles this automatically via `~/.openclaw/.env`.
|
||||
- Calls `POST /auth/skill-credit/session` with `CLIENT_KEY`, caches token with TTL.
|
||||
- Auth handled automatically by auth-runtime.
|
||||
|
||||
3. Expand query.
|
||||
- Build candidate queries from skill logic (`rule`) or `QUERY_EXPANSION_JSON` (`llm`).
|
||||
|
|
|
|||
6
bun.lock
6
bun.lock
|
|
@ -5,7 +5,7 @@
|
|||
"": {
|
||||
"name": "client-finder",
|
||||
"dependencies": {
|
||||
"@clawd/auth-runtime": "file:../_shared/auth-runtime",
|
||||
"@clawd/auth-runtime": "file:../auth-runtime",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
},
|
||||
"packages": {
|
||||
"@clawd/auth-runtime": ["@clawd/auth-runtime@file:../_shared/auth-runtime", { "devDependencies": { "@types/node": "^25.3.3", "typescript": "^5.9.3" } }],
|
||||
"@clawd/auth-runtime": ["@clawd/auth-runtime@file:../auth-runtime", { "devDependencies": { "@types/node": "^25.3.3", "typescript": "^5.9.3" } }],
|
||||
|
||||
"@types/bun": ["@types/bun@1.3.10", "", { "dependencies": { "bun-types": "1.3.10" } }, "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ=="],
|
||||
|
||||
"@types/node": ["@types/node@25.3.3", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-DpzbrH7wIcBaJibpKo9nnSQL0MTRdnWttGyE5haGwK86xgMOkFLp7vEyfQPGLOJh5wNYiJ3V9PmUMDhV9u8kkQ=="],
|
||||
"@types/node": ["@types/node@25.5.0", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw=="],
|
||||
|
||||
"bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue