henuwangkai
Runbooks
4LLM Prompt Caching — Cache-Key Design Runbook
LLM prompt caching techniques for agents and apps. Covers stable prefixes, cache keys, TTLs, metrics, and cached-output validation.
MCP Latency Probe — tools/list p95 Runbook
MCP tool calling latency runbook for agents. Measures tools/list p95, separates server latency from network delay, and defines pause rules.
Embedding Drift Monitoring — Retrieval Regression Runbook
Embedding drift monitoring runbook for RAG and agent search. Uses golden queries, recall@K, rank delta, and rollback gates.
Chrome MCP Operations Runbook — Iron Rules, Architecture & Troubleshooting
Operations skill for running chrome-devtools-mcp against your real Chrome at scale. Covers the proxy architecture, five iron rules (always-via-proxy, real-browser-only, no-env-proxy, never-kill-current-session, persistent-proxy), Chrome 146+ remote-debug popup workaround, multi-agent isolation guarantees, configuration recipes for ~/.mcp.json and ~/.claude/settings.json (with the 'no glob in permissions' gotcha), step-by-step troubleshooting flow, and four field notes from real incidents — port cleanup heuristics that backfire, protocol-layer hang detection, why 'newest = keep' is wrong, and why heavy pages need filePath-first take_snapshot to avoid 25k token overflow. Pairs with the 'Chrome MCP Background Proxy' script bundle.
Skills
17QA CLI Root A mpgn85r0
QA CLI Dep B mpgn85r0
QA Live Declared Edges mpgn4j8y
live QA for declared edge rewrite
tokrepo qa unresolved requires 20260522153134x37
Temporary asset for unresolved requires QA.
tokrepo qa tag resync 20260522153134x37
Temporary non-OSS asset for tag resync QA.
tokrepo qa nonoss recursive installer 20260522153134x37
Temporary non-OSS public asset requiring a public dependency for recursive CLI install QA.
MCP Configs
3Chrome Fleet — Multi-Agent Browser Pool with Shared Login State
Multi-agent control plane for chrome-devtools-mcp. Two modes: (1) shared main Chrome — N CDP proxies on 9401/9402/9403... all multiplexing onto one logged-in Chrome :9222 so every agent inherits your real cookies/extensions, with focus protection and ID isolation handled by cdp-proxy.mjs; (2) isolated agent Chromes — dedicated Chrome instance per agent on :930N with its own user-data-dir for multi-account / persona-isolation testing. Includes a status tool to inspect the running fleet.
Multi-Browser MCP Proxies — Arc Browser & Chrome Beta Variants
Companion to 'Chrome MCP Background Proxy' for running parallel, isolated MCP fleets against Arc Browser and Chrome Beta on top of the same cdp-proxy.mjs. Arc-specific proxy auto-discovers the WebSocket path from /json/version (Arc doesn't write a DevToolsActivePort file in the standard location); Chrome Beta proxy points at Beta's own DevToolsActivePort. Lets you run mcp__chrome__*, mcp__beta__*, and mcp__arc__* side-by-side with independent client state and no cross-talk.
Chrome MCP Background Proxy — Fix Popups, Focus Stealing & Multi-Agent Conflicts
Persistent CDP proxy + entry script that lets chrome-devtools-mcp run against your real, logged-in Chrome without the Chrome 146+ consent popup spamming on every connection, without focus stealing (Target.activateTarget / Page.bringToFront are intercepted, createTarget is forced to background), and without request-ID / event collisions when multiple Claude Code windows or sub-agents share one Chrome. Includes the proxy core (cdp-proxy.mjs v3), entry script, safe cleanup, pre-flight healthcheck, and a launchd-style self-healing watchdog with Feishu alerts.
Scripts
3Codex Chrome MCP Proxy v3
Sanitized public Chrome MCP bundle for Codex: persistent CDP proxy, real Chrome login-state control, background tabs, focus protection, multi-agent isolation, and cached chrome-devtools-mcp startup fallback.
QA Live Tag Sync mpgn4j8y
live QA for tag sync
claude-switch — Claude Code 账号快速切换 + 恢复对话
一个 bash 脚本,用于快速切换 Claude Code 登录账号(Pro/Max 多账号、团队/个人账号切换)。显示当前邮箱 → 登出 → 浏览器登录 → 确认切换结果。安装到 $PATH 后直接运行 `claude-switch`,或在 Claude Code 会话里 `! claude-switch`。
Knowledge
2Zero-Downtime DB Migration — Expand Contract Checklist
Expand-contract database migration checklist for agents. Covers additive schema changes, batched backfills, rollback, and contract gates.
OAuth Device Flow — CLI Agent Login Checklist
OAuth device flow checklist for CLI and agent login. Covers user codes, polling intervals, token storage, logs, and security boundaries.