用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/joshka0/foxctl --skill agent-ci命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Protocol for participant agents in transport-first rooms: join, check membership, handle inbox/tasks, reply durably, and escalate.
Operate inside an existing foxctl room: orient from status or inbox, manage tasks correctly, escalate, and close with durable updates.
Run durable multi-agent rooms with transport-first delivery, participant state, room tasks, and optional tmux or zellij viewers.
基于 SOC 职业分类
正在显示 SKILL.md
| name | agent-ci |
| description | Run GitHub Actions CI locally before push: execute workflows, stop on failures, fix issues, and rerun the broken step. |
# 1. Install agent-ci (one-time)
bun add -d @redwoodjs/agent-ci
# 2. Pull the GitHub Actions runner image (one-time, ~1.5GB)
docker pull ghcr.io/actions/actions-runner:latest
# Run the local CI workflow
npx agent-ci run --quiet --workflow .github/workflows/ci-local.yml
# Optional: collapse matrix jobs during debugging
npx agent-ci run --quiet --workflow .github/workflows/ci-local.yml --no-matrix
# Upstream-supported, but broader: run all relevant workflows for the branch
npx agent-ci run --quiet --all
For this repo, prefer the explicit local workflow over --all. It is the narrower and safer default, and it carries repo-local container limits for OrbStack/Docker.
--all is valid upstream, but use it only as a final confirmation pass when you specifically want every relevant workflow selection rule to apply.
# The runner pauses on failure. Fix the issue, then retry:
npx agent-ci retry --name <runner-name>
# Retry from a specific step (skips earlier ones)
npx agent-ci retry --name <runner-name> --from-step 3
# Abort and tear down
npx agent-ci abort --name <runner-name>
actions-runner binary.actions/checkout, actions/setup-go, and actions/cache work natively.ci-local.yml workflow in this repo uses the local foxctl-ci:go1.26.1 container image.container.options, not in ad hoc shell wrappers.| File | Purpose |
|---|---|
.github/workflows/ci-local.yml | Local-only CI workflow for agent-ci |
.github/workflows/ci.yml | Production CI (GitHub Actions) |
.gitlab-ci.yml | Production CI (GitLab) — must stay in parity with ci.yml |
The three CI configs (ci.yml, ci-local.yml, .gitlab-ci.yml) must stay in parity.
If you add a check to one, add it to the others. ci-local.yml may differ only in
container/image handling (it uses runs-on instead of container: for local compatibility).
npx agent-ci run --quiet --workflow .github/workflows/ci-local.yml before opening an MR.--no-matrix during failure triage unless full matrix coverage is the thing you are validating.label-ai and release jobs from ci.yml are intentionally omitted from ci-local.yml (they need GitHub API).agent-ci as the first hammer. Start with the narrow failing lane, then use agent-ci as the final workflow-shaped confirmation.