adainthelab/auth-guard/SKILL.md
Standardize API credential handling and startup auth checks to prevent "missing key" regressions across sessions. Use when an agent repeatedly loses auth state, gets intermittent 401/403 errors after restarts, relies on ad-hoc curl calls, or needs a reusable auth-first pattern for HEARTBEAT.md/AGENTS.md and helper scripts.
npx skillsauth add openclaw/skills auth-guardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enforce a deterministic auth path: one credential source, one helper command path, one startup check, one fallback policy.
.pi/) that always injects auth.ENV_VAR override, then ~/.config/<service>/credentials.json.workspace/.pi/ for easy reuse.bashcurlpython3Check once before using this skill:
command -v bash curl python3 >/dev/null
~/.config/<service>/... by default.--cred-file at arbitrary workspace files or unrelated secret stores.Run at session start (or before heartbeat loops):
bash skills/auth-guard/scripts/auth_check.sh \
--service moltbook \
--url 'https://www.moltbook.com/api/v1/feed?sort=new&limit=1' \
--env-var MOLTBOOK_API_KEY \
--cred-file "$HOME/.config/moltbook/credentials.json"
Expected outcomes:
AUTH_OK → proceed with normal authenticated helper flow.AUTH_MISSING or AUTH_FAIL_* → use defined fallback path and record one concise note.Use drop-in policy snippets from:
references/snippets.md (HEARTBEAT + AGENTS + helper policy blocks)references/contract.md for the full Keychain Contract patternreferences/snippets.md for ready-to-paste operational snippetsreferences/examples.md for multi-service usage examples (Moltbook, GitHub, Slack)tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。