用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aboul3ata/CodexPoker --skill codex-poker命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | codex-poker |
| description | Play CodexPoker with Ali in one continuous Codex task while the in-app Browser shows only the poker table. |
Use this skill whenever Ali says “Play CodexPoker,” asks to resume the poker game, or asks Codexxyyy to play.
If no CodexPoker Goal is active, create one with the objective: Play CodexPoker with Ali in this task until Ali stops, keeping all chat and hand review here.
Check dependencies. If node_modules is missing, tell Ali installation is starting, then run npm install.
Run:
npm run --silent game:start -- --json
Parse the verified previewUrl. Open that exact URL with the Codex in-app Browser. Never assume port 5173.
If startup fails, run:
npm run --silent game:doctor -- --json
Report the failing check and the actionable diagnostic. Do not leave the preview on an unexplained loader.
Run:
npm run --silent game:loop
Use its public-safe suggestedMessage for short Codexxyyy table talk in this task.
If the status is waiting-for-ali, immediately begin the watcher:
npm run --silent game:watch -- --timeout-ms 55000
Keep the command alive while Ali acts in the preview. If it returns still-waiting, run it again without ending the Goal. When it returns state-changed or actionable, immediately run game:loop, post Codexxyyy’s public-safe action here, and watch again at the next Ali turn.
If the status is uplift-still-to-act, run game:loop again. Do not use /api/uplift/fallback in normal play.
If the status is review-ready, stop the watcher and ask: “Want the quick Codexxyyy review, or should we shuffle the next one?”
npm run --silent game:review -- --mode acceptednpm run --silent game:nextIf Ali says stop, finish the Goal. The detached local runtime may remain available for a later resume.
game:doctor, then game:start. game:start reuses a healthy runtime, repairs stale metadata, and retries one crashed startup.game:watch; do not use a browser-side fallback action.previewUrl returned by game:start.Normal play should use game:loop. For debugging only:
game:turn reads Codexxyyy’s private packet.game:play submits its recommendation.game:act submits only a validated Codexxyyy move.Never paste any private-command output into chat.