用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ccwq/infocard-pub --skill infocard-preview-delivery命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use before infocard .docs authoring to select a registered theme from content-aware candidates. Owns the only content-to-theme association, capability filtering, bounded reproducible variation, and theme-decision.json.
Use when one URL or a complete user brief should become one published infocard through the .docs promotion workflow.
Light-batch publish 2–3 cards in parallel without worktree.
正在显示 SKILL.md
| name | infocard-preview-delivery |
| description | Use when delivering infocard preview URL to user. |
| version | 1.0.0 |
| author | Hermes Agent |
| license | MIT |
| metadata | {"hermes":{"tags":["infocard","preview","tunnel","cloudflared","delivery"],"related_skills":["infocard-creation-preview-standards","webpage-vision-inspect-skill"]}} |
When the user needs to visually review or approve an infocard, you MUST provide a publicly reachable URL before the next step. This is a hard gate, not optional.
localhost:4173 is not valid delivery. Static build checks are not visual review.
1. Start local preview server
2. curl -sI http://localhost:<port>/docs/<slug>.html → HTTP 200
3. Start tunnel → get public URL
4. curl -sI <tunnel-url>/docs/<slug>.html → HTTP 200
5. Send URL to user
6. Wait for confirmation
7. Only then: proceed to next step
# Download once
curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 \
-o /tmp/cloudflared && chmod +x /tmp/cloudflared
# Start tunnel (point to your preview port)
/tmp/cloudflared tunnel --url http://localhost:<PORT>
# URL ready in ~10s: https://instance-xxxx-xxxx.trycloudflare.com
Ready signal: logs show Environment is healthy. URL format: https://*.trycloudflare.com.
Use only when user explicitly requires WG and provides the peer .conf.
wg setconf wg0 /path/to/peer.conf
ip link set wg0 up
| Item | Value |
|---|---|
| Public IP | 43.198.95.38 |
| Preview port | 4173 |
| cloudflared binary | /tmp/cloudflared (v2026.7.3) |
| WG tools | /usr/bin/wg (no wg0 interface) |
localhost: URLA preview URL and a final published URL are different evidence classes. When proving a public release or repair, reopen the exact public URL with a cache-busting query, verify page identity and current structural/theme markers, capture the rendered page at the required viewport(s), and send the real PNG path. A localhost screenshot, stale browser tab, or virtual supervisor screenshot path is not proof of online publication. Any HTML/CSS change invalidates earlier screenshots and requires fresh public captures after push and Pages propagation.
infocard-creation-preview-standards — local preview surface (live-server + port 5588)webpage-vision-inspect-skill — structured multi-shot visual inspection after URL delivery