depot-ci
できること
このスキルは、Depot CIのワークフローを設定して実行する流れを、AIエージェントに案内します。GitHub Actionsのワークフローを Depot に移し、実行結果を確認したい開発者向けです。
使う場面
- ✓既存のGitHub ActionsのワークフローをDepot CIに移行したいとき。
- ✓Depot CIのワークフローを実行したり、そのシークレットや変数を管理したりする必要があるとき。
- ✓Depot CIの実行が失敗し、ログを読んで原因を探したいとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/.agents/skills/depot-ci/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“GitHub ActionsのワークフローをDepot CIに移行し、1つを実行して動くか確認するのを手伝ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、Depotのコマンドラインツールを使って、ワークフローのファイルを移行し、実行し、状態とログを確認します。詳しいコマンドの解説は必要なときだけ参照します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Depot CI
Depot CI is a programmable CI system for engineers and agents. Workflows in Depot CI run entirely on Depot compute with built-in job visibility, debuggability, and control. GitHub Actions is the first syntax Depot CI supports: migrate your existing GitHub Actions workflows, and get fast, reliable runs on optimized infrastructure.
This SKILL.md covers the core workflow plus the most common commands. Detailed flag tables, JSON output shapes, and less-common commands live in focused files under references/, pointed to from the relevant sections below. Load a reference file only when you need the detail it contains.
PostHog addition: read references/posthog-check-run-semantics.md before you reason about what a Depot CI run reports to GitHub.
It covers what Depot CI and GitHub Actions each post for a skipped, empty-matrix or continue-on-error job, how GitHub and the Trunk merge queue score those conclusions, and how the two engines differ on check naming and reruns.
This repo runs Depot CI workflows out of .depot/workflows/ alongside GitHub Actions, so both engines report on the same commit.
Depot posts each check from one of three GitHub apps.
The "Which app posts a Depot check" section of references/posthog-check-run-semantics.md lists the apps and how to match their checks.
Architecture
Three subsystems: compute (provisions and executes work), orchestrator (schedules multi-step workflows, handles dependencies), GitHub Actions parser (translates Actions YAML into orchestrator workflows). The system is fully programmable.
Common flags
Nearly every depot ci command (and depot tests) accepts:
--org <id>: organization ID, required when the user belongs to multiple organizations (see Org Context Check below).--token <token>: Depot API token.-o, --output json: machine-readable output, useful for agents and scripting. Mostdepot cisubcommands accept the-oshorthand, butdepot tests,depot ci secrets, anddepot ci varsaccept only the long--outputform.
Per-command tables in the reference files omit these to cut noise; assume they're available.
Org Context Check for Multi-Org Users
If a user belongs to multiple organizations, before setup/migration or if CI commands can't find expected workflows, verify Depot org context first:
depot org show # Current org ID
depot org list # Orgs the user belongs to
depot org switch <org-id> # Option A: switch default org for this shell/session
# Option B: keep current org and target explicitly per command
depot ci run --org <org-id> --workflow .depot/workflows/ci.yml
Use --org <org-id> when the workflow/repo lives in a different org than the current default.
Getting Started
1. Install the Depot Code Access GitHub App
Depot dashboard → Settings → GitHub Code Access → Connect to GitHub. (If you've used Claude Code on Depot, this may already be installed.)
2. Migrate workflows
depot ci migrate
This interactive wizard:
- Checks that the Depot Code Access app is installed and configured.
- Discovers all workflows in
.github/workflows/and analyzes each for Depot CI compatibility. - Copies selected workflows to
.depot/workflows/with inline corrections and comments, and copies local actions from.github/actions/to.depot/actions/. - Detects secrets and variables referenced in workflows and prints next steps for importing them.
Your .github/ directory is untouched, so workflows run in both GitHub and Depot simultaneously. Warning: workflows that cause side effects (deploys, artifact updates) will execute twice.
3. Import secrets and variables
depot ci migrate secrets-and-vars
This creates and runs a one-shot GitHub Actions workflow on a temporary branch that reads your existing secrets and variables and imports them into Depot CI. You can also add them manually with depot ci secrets add / depot ci vars add (see Managing Secrets and Variables below).
For migration detail (the preflight/workflows/secrets-and-vars subcommands, their flag tables, exactly what gets transformed, and manual setup), read references/migration.md.
Managing Secrets and Variables
Secrets (referenced as ${{ secrets.NAME }}, encrypted, never rea
よくある質問
ワークフローを書き直す必要がありますか?
既存のGitHub Actionsのワークフローを移行するためのコマンドがあると、このスキルは説明しています。Depot CIはその構文に対応しているためです。
シークレットも管理できますか?
はい。Depot CIのシークレットと変数の管理も扱います。
失敗の理由を示せますか?
はい。実行の一覧表示、状態の確認、ログの読み取り、実行の診断のためのコマンドを扱います。
詳細
作者による元の説明
Configures and manages Depot CI, a drop-in replacement for GitHub Actions that runs workflows entirely within Depot. Use when migrating GitHub Actions workflows to Depot CI, running `depot ci migrate`, managing Depot CI secrets and variables, running workflows with `depot ci run`, debugging Depot CI runs with `depot ci run list`, `depot ci status`, `depot ci logs`, `depot ci diagnose`, or `depot ci ssh`, inspecting test results with `depot tests` or run artifacts with `depot ci artifacts`, checking workflow compatibility, or understanding Depot CI capabilities. Also use when the user mentions
repo: PostHog/posthog
人気
- GitHubのスター
- 41k
- ランキング
- #6810
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
formatting-slack-messages
41kエージェントが、Slackの現在のルールに照らして、適切なレイアウトのメッセージ、モーダル、ホーム画面を作れるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。