autoland

autoland is a skill for Claude Code, Codex from CIrcui-try/Circuit. It costs 20 tokens per session (1,867 once invoked), scanned A, original, MIT.

A post-submission workflow that waits for a pull request’s CI checks, automated build and test checks, to pass before merging it.

In plain words
What is it for?
Use it with an issue ID, branch name, or pull-request URL to create a missing pull request when possible, wait for CI, merge with a merge commit, remove the local worktree, and update develop.
Why use it?
It automates the wait, merge, and local cleanup instead of requiring you to monitor the pull request manually.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/circui-try/circuit/autoland
Any agent
npx skills add CIrcui-try/Circuit --skill autoland
Clone the repo
git clone --depth 1 https://github.com/CIrcui-try/Circuit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autoland

README.md
[![agentmods](https://agentmods.dev/badge/skills/circui-try/circuit/autoland.svg)](https://agentmods.dev/skills/circui-try/circuit/autoland)
Your own site
<a href="https://agentmods.dev/skills/circui-try/circuit/autoland"><img src="https://agentmods.dev/badge/skills/circui-try/circuit/autoland.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.01867
Opus 5 $0.00010 $0.00933
Sonnet 5 $0.00004 $0.00373
Haiku 4.5 $0.00002 $0.00187

Measured 3d ago against content hash 96eef50c9209, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

autoland scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/autoland/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

autoland

Use this skill when the user asks to run the autoland workflow.

Command Template

takeoff 이후 사후 자동화 단계. PR 이 아직 없고 이슈 키를 확정할 수 있으면 먼저 takeoff 를 실행해 PR 을 만든다. 이후 PR 의 CI checks 를 기다렸다가 모두 통과하면 merge commit 방식으로 머지하고, 이어서 landing 과 동일하게 로컬 워크트리를 제거하고 develop 을 최신화한다.

$ARGUMENTS 형식: [ISSUE-ID | branch | PR URL] [--interval <seconds>] [--timeout <minutes>]. 타깃을 생략하면 커맨드를 호출한 위치의 현재 브랜치를 대상으로 한다. 예: /autoland, /autoland CIR-15, /autoland feature/cir-15-fix-..., /autoland https://github.com/OWNER/REPO/pull/123.

인자 파싱

  1. 첫 토큰이 플래그가 아니면 <TARGET> 으로 둔다. 없으면 메인 레포로 이동하기 전에 CURRENT_BRANCH = $(git branch --show-current) 로 호출 위치의 브랜치를 저장해 <TARGET> 기본값으로 사용한다. <TARGET>CURRENT_BRANCH 도 없으면 사용자에게 직접 입력받는다.
  2. --interval <seconds> 를 파싱한다. 기본값은 30, 1 미만이거나 숫자가 아니면 중단.
  3. --timeout <minutes> 를 파싱한다. 기본값은 60, 1 미만이거나 숫자가 아니면 중단.

자기 단계 실행 절차

  1. 메인 레포로 이동: 인자 파싱 중 캡처한 CURRENT_BRANCH 를 보존한 채 MAIN_REPO_ROOT = $(git rev-parse --path-format=absolute --git-common-dir | xargs dirname)cd $MAIN_REPO_ROOT.
  2. GitHub 인증 확인: gh-auth-check 스킬로 GitHub CLI 로그인 상태와 active account 를 확인한다.
  3. 대상 결정:
    • <TARGET>CIR-/PROJ- 같은 이슈 키 패턴이면 ISSUE_KEY 로 보존하고, Linear MCP get_issuegitBranchName 을 조회해 branch 로 사용한다.
    • <TARGET>https://github.com/.../pull/... 형태면 PR URL 로 사용한다.
    • 그 외에는 branch 로 사용한다. branch 안에 CIR-39 또는 cir-39 같은 이슈 키가 포함되어 있으면 대문자 이슈 키로 정규화해 ISSUE_KEY 로 보존한다.
  4. PR 상태 확인: gh pr view <PR URL 또는 branch> --json number,url,state,isDraft,baseRefName,headRefName,headRefOid,mergeable 실행.
    • PR 을 찾지 못했고 ISSUE_KEY 가 있으면 /takeoff <ISSUE_KEY> 절차를 먼저 실행한다. takeoff 가 push, rebase, PR 생성, 상태 파일 정리를 처리한다. takeoff 가 사용자 승인 필요 상황(force push, 충돌, 미커밋 변경, 워크트리 없음 등)으로 멈추면 autoland 도 중단한다.
    • takeoff 성공 후 같은 branch 로 gh pr view ... 를 다시 실행해 PR URL, PR number, head branch, head SHA 를 고정한다. 그래도 PR 을 찾지 못하면 중단.
    • PR 을 찾지 못했고 ISSUE_KEY 도 없으면 takeoff 대상을 확정할 수 없으므로 중단한다.
    • stateMERGED 면 머지는 스킵하고 landing 정리만 진행.
    • stateOPEN 이 아니면 중단.
    • isDraft == true 면 중단.
    • baseRefName != "develop" 이면 중단.
    • 이후 단계에서는 PR URL, PR number, head branch, head SHA 를 고정해 사용한다.
  5. CI checks 초기 확인: gh pr checks <PR> --json bucket,state,name,workflow,link 실행.
    • 반환된 check 가 0개면 자동 머지하지 않고 중단.
    • bucketfail 또는 cancel 인 check 가 있으면 중단.
  6. CI 대기:
    • gh pr checks <PR> --watch --fail-fast --interval <interval> 로 checks 종료를 기다린다.
    • 대기 시간이 <timeout> 분을 넘으면 프로세스를 중단하고 자동 머지하지 않는다.
    • watch 가 실패, 취소, timeout 으로 끝나면 원인 check 이름과 링크를 요약하고 중단.
  7. 최종 CI 재확인: gh pr checks <PR> --json bucket,state,name,workflow,link 를 다시 실행한다.
    • check 가 0개면 중단.
    • 모든 bucketpass 가 아니면 중단. skipping, pending, fail, cancel 은 자동 머지 대상이 아니다.
  8. 머지 직전 PR 재확인: gh pr view <PR> --json state,isDraft,baseRefName,headRefOid,mergeable 실행.
    • PR 이 더 이상 OPEN 이 아니거나 draft 가 되었거나 base 가 develop 이 아니면 중단.
    • headRefOid 가 4단계에서 확인한 SHA 와 다르면 checks 를 다시 기다려야 하므로 중단.
  9. PR 머지: gh pr merge <PR> --merge --delete-branch --match-head-commit <head SHA> 실행.
    • --admin, --auto, --squash, --rebase 는 사용하지 않는다.
    • branch protection, required review, merge conflict, 권한 오류는 우회하지 않고 중단.
  10. 로컬 정리: 기존 /landing <ISSUE 또는 branch> 절차와 동일하게 진행한다.
    • 이슈 키로 호출된 경우 원래 <TARGET>/landing 입력으로 사용한다.
    • PR URL 로 호출된 경우 4단계의 headRefName 을 branch 입력으로 사용한다.
    • 워크트리가 없으면 landing 처럼 스킵 메시지만 출력하고 계속한다.
  11. 티켓 상태 동기화: PR 머지와 landing 정리가 끝났고 이슈 키를 확인할 수 있으면 Linear 상태를 Done 으로 직접 변경한다.
  12. 직접 확인 포인트 정리: PR 본문의 Manual verification 섹션을 우선 사용하고, 없으면 PR diff/커밋/Linear 이슈 내용을 보고 사용자가 직접 확인할 수 있는 가시적인 피처를 1~5개로 정리한다.
    • 화면, 버튼, 리스트, 상태 표시, 알림, 에러 메시지, 사용자 플로우처럼 눈으로 확인 가능한 단위로 쓴다.
    • 코드 정리, 테스트, 인프라 변경처럼 직접 확인할 UI/동작이 없으면 "직접 확인할 가시 피처 없음" 이라고 명시한다.
    • 애매하면 근거를 짧게 붙여 추정이라고 표시한다.
  13. 요약 출력: PR URL, checks 통과 여부, merge commit 방식으로 머지했는지, landing 정리 결과, 직접 확인 포인트를 함께 안내한다.

Read the full file on GitHub · 81 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 81 lines · 20 tokens per session scan A 96eef50c9209

Subscribe to this mod's changes

autoland is a skill published in the GitHub repository CIrcui-try/Circuit (5 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 1,867 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

comet-github-ci-triage

使用 PR 当前准确 head、失败 job 日志、本地复现边界和可合并状态,诊断 Comet PR 的 GitHub Actions 与覆盖率检查。PR 出现 CI 报错、Codecov 问题、过期检查或无法解释的红色 job 时使用。.

rpamis/comet · 72 tokens

ci-cd-expert

Enterprise CI/CD, optimization, security, & delivery expert. Covers GHA, GitLab CI, Jenkins, monorepos (Turbo, Nx, Bazel), containers (BuildKit, Kaniko), GitOps (Argo), delivery (Spinnaker, Kayenta, Fastlane, Flyway), OIDC, and Android. Use for: pipelines, caching, GitOps, monorepos, OIDC, DB migrations, mobile…

JosephSanjaya/skills · 239 tokens

cloud-infra-supply-chain

当目标涉及云资产(对象存储/云元数据/Serverless)、容器/K8s、运维面板(宝塔/Grafana/Zabbix/Jenkins/GitLab/Nacos等)、消息队列/缓存中间件、CI/CD流水线、第三方回调集成、依赖组件CVE、信息泄露配置时调用。负责未授权访问、弱口令、云配置错误、供应链漏洞与敏感信息挖掘。.

zhaji2333/CkSKILLS · 111 tokens

evaluator-write-qa

Internal Auto-Harness evaluator skill for sprint QA and QA report writing. Use only inside the Evaluator subagent during qa mode.

redker56/auto-harness · 32 tokens

evaluator-review-contract-parallel

Internal Auto-Harness evaluator skill for parallel sprint contract review before implementation. Use only inside the Evaluator subagent during review mode.

redker56/auto-harness · 33 tokens

evaluator-write-final-parallel

Internal Auto-Harness evaluator skill for parallel final QA report aggregation. Use only inside the Evaluator subagent during evaluatorfinalparallel.

redker56/auto-harness · 33 tokens