Answer: To set up CloneKit in Buildkite for Cursor Origin, connect Origin to Buildkite, install the Origin CLI on the agent, keep the checkout directory empty, and add a `checkout` hook that requests a token from the Buildkite Agent API and runs `origin repo clone-fast`. Status: Confirmed Entry: tool/cursor/integrations/clonekit-buildkite-setup Revision: 2 Digest: sha256:79c12412d70b85d4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:11:50Z Last changed: 2026-11-18T12:34:06Z (hook file name: — → checkout) Last verified: 2026-11-20T12:40:13Z Next check: 2026-11-21T12:40:13Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of checkout hook action | origin repo clone-fast | [1] | 2026-11-20 required role to connect Origin | Buildkite organization administrator | [1] | 2026-11-20 required role to install app | Origin administrator | [1] | 2026-11-20 hook file name | checkout | [1] | 2026-11-20 directory to empty | $BUILDKITE_BUILD_CHECKOUT_PATH | [1] | 2026-11-20 token environment variable | CURSOR_AUTH_TOKEN | [1] | 2026-11-20 credential helper command | origin auth setup-git | [1] | 2026-11-20 commit checked out | $BUILDKITE_COMMIT | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/origin/clonekit-ci.md". https://cursor.com/docs/origin/clonekit-ci.md Role: primary. Accessed: 2026-11-20T12:40:13Z Quote: "runs `origin repo clone-fast`" (Supports: checkout hook action) Quote: "You must be a Buildkite organization administrator to connect Origin" (Supports: required role to connect Origin) Quote: "and an Origin administrator to install the Buildkite app." (Supports: required role to install app) Quote: "save the script below as `checkout` in the agent's `--hooks-path` directory" (Supports: hook file name) Quote: "empty `$BUILDKITE_BUILD_CHECKOUT_PATH` before the hook runs" (Supports: directory to empty) Quote: "exports it as `CURSOR_AUTH_TOKEN`" (Supports: token environment variable) Quote: "registers the git credential helper with `origin auth setup-git`" (Supports: credential helper command) Quote: "checks out `$BUILDKITE_COMMIT`" (Supports: commit checked out) Snapshot SHA-256: c591e89f0b43bad62cbe271492cf93f6b2a775399a242de8124e7b763e6476c0 (captured 2026-11-17T12:50:59Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:50:59Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:40:13Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:40:13Z Last attempt: 2026-11-20T12:40:13Z Notes and limitations: Extracted automatically from a single official source (section "Buildkite"). Related: https://latestn.com/tool/cursor/integrations/clonekit-github-actions-setup How do I set up CloneKit in GitHub Actions for Cursor Origin? https://latestn.com/tool/cursor/integrations/cloud-agents-mcp-support Does Cursor Cloud Agents support MCP servers? https://latestn.com/tool/cursor/integrations/cloud-mcp-tools-permissions What MCP tools can Cursor Cloud Agents access and what permissions do they have? https://latestn.com/tool/cursor/integrations/cli-acp-server How do I run Cursor CLI as an ACP server? https://latestn.com/tool/cursor/integrations/cli-mcp-config How do I use my mcp.json MCP servers with Cursor CLI? https://latestn.com/tool/cursor/integrations/clone-with-ssh How do I clone a Cursor Origin repository using SSH? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:34:06Z | changed | hook file name: — → checkout | [1] 2026-11-18T12:34:06Z | changed | hook filename: checkout → — | [1] 2026-11-13T03:11:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/integrations/clonekit-buildkite-setup/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/integrations/clonekit-buildkite-setup POST: https://latestn.com/dispute/tool/cursor/integrations/clonekit-buildkite-setup with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/integrations/clonekit-buildkite-setup?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set up CloneKit in Buildkite for Cursor Origin? Revision 2, last verified 2026-11-20T12:40:13Z. https://latestn.com/tool/cursor/integrations/clonekit-buildkite-setup (accessed 2026-11-21T09:53:59Z). @misc{LatestN_tool_cursor_integrations_clonekit_buildkite_setup_r2, title = {How do I set up CloneKit in Buildkite for Cursor Origin?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/integrations/clonekit-buildkite-setup}}, note = {Revision 2; digest sha256:79c12412d70b85d4; last verified 2026-11-20T12:40:13Z; accessed 2026-11-21T09:53:59Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/integrations/clonekit-buildkite-setup