一键导入
circleci
Patterns for invoking the CircleCI CLI (circle) from agents. Covers structured output, project and org targeting, list, circleci api fallback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Patterns for invoking the CircleCI CLI (circle) from agents. Covers structured output, project and org targeting, list, circleci api fallback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | circleci |
| description | Patterns for invoking the CircleCI CLI (circle) from agents. Covers structured output, project and org targeting, list, circleci api fallback. |
circleci already does the right thing in non-TTY contexts: it skips the pager,
strips ANSI color, and errors out fast with a helpful message instead of
prompting (e.g. must provide --title and --body when not running interactively).
You don't need to defensively set CIRCLECI_PAGER or pass --no-pager (no such
flag exists).
Human output from circleci is markdown-formatted. If you want structured data:
--json for structured output.--json once to print the data, then analyze and pick what you need.--jq '<expr>' for filtering without piping through a separate jq.circleci infers the project from the cwd's git remotes.
Pass --org <VCS>/<ORG> to override the resolved CWD repo, where VCS is gh / bb / circleci.
circleci run subcommands are the starting point.
circleci run get --json: --branch <branch> will get you the most recent run for the current branch.circleci job output list <job-id> --json: will get you all job attributes and steps with ANSI-stripped output.circleci job get <job-id> --json: will get you the job attributes, and step info without output.circleci job output get <job-id> --json: --step-num <step-id> will get you the ANSI-stipped output for a specific step.circleci api for anything --json doesn't exposeSometimes useful data isn't on the typed commands.
circleci api 'projects/{project-id}' or
circleci api 'runs?filter[project_id]={project-id}' - note the
{project-id} placeholder is filled in for you when run from a repo
with detected remotes; pass them literally if you want determinism.circleci auth me prints the active host(s), user, and which env var (if
any) is being honored.circleci auth me --json is supported.PAGER is honored.NO_COLOR is honored.