origin

Installs, authenticates, and repairs the origin CLI for Cursor-hosted git repositories.

Updated Oct 15, 2019
One-click install
npx skills add https://github.com/kkkaoru/dotfiles --skill origin-kkkaoru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: origin
Source: https://github.com/kkkaoru/dotfiles/tree/main/.cursor/skills-cursor/origin
Command: npx skills add https://github.com/kkkaoru/dotfiles --skill origin-kkkaoru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Git operations against Cursor-hosted repositories at origin.cursor.com fail when the origin CLI is missing, outdated, or unauthenticated, and diagnosing these failures manually is time-consuming. ## Core Features & Use Cases - CLI Installation and Detection: Detects whether the origin binary is on PATH or at ~/.local/bin/origin and installs it via the official install script when missing. - Authentication Setup: Runs origin auth login to configure the git credential helper for origin.cursor.com so git push and pull work without extra setup. - Failure Recovery: Maps common failure signatures such as authentication errors, missing namespaces, and stuck browser logins to concrete fixes. - Use Case: A developer clones a Cursor-hosted repo and git push fails with an authentication error; the skill checks auth status, re-runs login, and retries the push. ## Quick Start Set up the origin CLI and sign me in so I can clone and push to my Cursor-hosted repository.

Frequently Asked Questions about origin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install the origin CLI for Cursor-hosted repos?

Install the origin CLI by running the official installer: curl -fsSL https://downloads.cursor.com/origin/install.sh | sh. It verifies the download checksum and symlinks the binary to ~/.local/bin/origin, which you can invoke by absolute path if it is not yet on PATH.

How do I fix git push authentication failed for origin.cursor.com?

Run origin auth status to check your session, then origin auth login to re-authenticate, and retry the git command. The login configures the git credential helper for origin.cursor.com so subsequent push and pull operations work automatically.

Does the origin CLI work on Windows?

The origin CLI supports macOS and Linux, including WSL. Native Windows outside WSL is not supported for Origin repo operations, so use WSL or another supported platform instead of attempting a Windows install.

Why does origin repo create fail with a missing namespace error?

This error means the account has no Origin namespace configured. For team users, a team admin must set up the namespace at cursor.com/codebase; retrying the command in the same session will not resolve it.

What should I do when origin auth login never completes?

The login command waits for the browser step to finish, so ask the user to complete it or re-run the command. In headless or SSH sessions, the CLI prints a login URL to open manually instead of launching a browser.