用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnhughes3/lq-council --skill lq-deploy-cloudflare命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Create or update LQ Council debate personas in this repo. Use when adding a debater, editing persona markdown, or reviewing persona safety.
Attach optional remote MCP tools to LQ debate agents safely.
Rotate bearer tokens for LQ Council debaters without committing secrets.
基于 SOC 职业分类
正在显示 SKILL.md
| name | lq-deploy-cloudflare |
| description | Deploy this LQ debate agent template to Cloudflare Workers with Workers AI and Kimi K2.6. |
pnpm installexport CLOUDFLARE_ACCOUNT_ID=...
export CLOUDFLARE_API_TOKEN=...
pnpm lqbot deploy --agent <slug>
The deploy command:
src/generated/agents.ts.pnpm check.AGENT_TOKEN_HASHES.wrangler deploy.For multiple debaters:
pnpm lqbot deploy --all
The CLI preserves existing token hashes in ignored .lqbot/token-hashes.json, so deploying one
debater does not invalidate others. Add --save-local only when you want plaintext token copies
under ignored .lqbot/tokens/. If Wrangler fails after token generation, the CLI saves token copies
there automatically so the new hashes are not orphaned.
CLOUDFLARE_ACCOUNT_ID=... \
CLOUDFLARE_API_TOKEN=... \
pnpm lqbot deploy --agent <slug> --headless
pnpm lqbot smoke --url https://<worker>.workers.dev/agents/<slug>/debate --token <token>
Use Cloudflare observability first instead of adding an application request-log database:
pnpm exec wrangler tail lq-debate-agent
The Worker emits structured logs for lq_request_accepted, lq_model_input_prepared,
lq_request_completed, lq_provider_attempt_started, lq_provider_empty_response,
lq_provider_attempt_completed, lq_provider_attempt_failed, lq_context_budget_exceeded,
lq_request_rejected, lq_request_failed, and lq_spend_cap_reached. These include request
shape, JSON keys, field types, body hash, schema issue paths/codes, response keys, text length,
provider attempts, context-budget numbers, and route metadata. Production sets
LOG_PUBLIC_DEBATE_PAYLOADS=true because LQ debates are public, so accepted request logs include
parsed public prompts/context, model-input logs include constructed provider messages with the
per-request security marker redacted, and completion logs include successful model text. Logs still
never include bearer tokens, provider secrets, or raw authorization values. Workers Logs persistence
and Workers Traces are enabled in wrangler.jsonc with full head sampling; use the Cloudflare
dashboard Query Builder for retained logs and trace timelines.
.lqbot/, .env, .dev.vars, .wrangler/, or tokens.wrangler secret put through pnpm lqbot secret set <NAME> for provider keys. Paste
provider API keys into Wrangler's prompt or pipe through stdin; do not pass them with --value.@cf/moonshotai/kimi-k2.6.$50 per debater. Change monthlyBudgetUsd in the debater config.MODEL_CONTEXT_TOKENS=262144.MODEL_TIMEOUT_MS=270000; timed-out requests refund local reservations and
return a valid LQ { text } fallback.