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:
ywkj 2026-03-19 08:31:57 +08:00
parent 06c5c302e9
commit 3bf26335a6
3 changed files with 6 additions and 9 deletions

View File

@ -1,6 +1,4 @@
# Local runtime config for client-finder skill # 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 AUTH_BASE=https://api-gw-test.yuanwei-lnc.com
CLIENT_KEY=sk_xxx_replace_with_real_key

View File

@ -8,7 +8,7 @@ description: "找客户、找买家、开发客户、cold outreach。当用户
Skill-credit + ecom run-flow: query expansion → `/ecom/cold-outreach/run-flow`. 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. 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 ## 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). - Remove leading `cold-outreach:` prefix (case-insensitive).
2. Exchange runtime token. 2. Exchange runtime token.
- auth-runtime handles this automatically via `~/.openclaw/.env`. - Auth handled automatically by auth-runtime.
- Calls `POST /auth/skill-credit/session` with `CLIENT_KEY`, caches token with TTL.
3. Expand query. 3. Expand query.
- Build candidate queries from skill logic (`rule`) or `QUERY_EXPANSION_JSON` (`llm`). - Build candidate queries from skill logic (`rule`) or `QUERY_EXPANSION_JSON` (`llm`).

View File

@ -5,7 +5,7 @@
"": { "": {
"name": "client-finder", "name": "client-finder",
"dependencies": { "dependencies": {
"@clawd/auth-runtime": "file:../_shared/auth-runtime", "@clawd/auth-runtime": "file:../auth-runtime",
}, },
"devDependencies": { "devDependencies": {
"@types/bun": "latest", "@types/bun": "latest",
@ -17,11 +17,11 @@
}, },
}, },
"packages": { "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/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=="], "bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="],