origin-api

Route Origin API questions to documentation sections and enforce authentication and webhook rules.

15.8k|1.6k|Updated Jan 23, 2026
Ready to run
npx skills add https://github.com/cursor/plugins --skill origin-api-cursor
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: origin-api
Source: https://github.com/cursor/plugins/tree/main/origin-apps/skills/origin-api
Command: npx skills add https://github.com/cursor/plugins --skill origin-api-cursor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working with the Cursor Origin API, developers need authoritative guidance on endpoints, authentication, webhooks, and operational constraints without relying on outdated memory or incomplete snippets. ## Core Features & Use Cases - Documentation Navigation: Routes questions about Origin endpoints, scopes, events, and webhooks to the correct section of official docs. - Verification Rules: Enforces critical rules for native vs. mirrored repositories, webhook subscription, signature verification, and deduplication. - Use Case: You are building an Origin App and need to authenticate as an app, call a specific endpoint, and handle webhook deliveries—this Skill directs you to the exact sections in the Origin docs and confirms the five rules to check first. ## Quick Start Ask the Skill about your Origin API task, such as authenticating an Origin App, verifying webhook signatures, or understanding scope requirements, and it will fetch and cite the relevant documentation section.

Frequently Asked Questions about origin-api

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

FAQPage Schema
How do I authenticate as an Origin App and call endpoints?▼

Authentication details and scope requirements are defined in the Origin docs under "Scopes." Request the union of x-origin-scopes.scopes from all operations your app calls, then use those scopes during app creation and token exchange.

What are the differences between native and mirrored Origin repositories?▼

Native repositories grant full scopes and all write operations. Mirrored repositories from GitHub restrict writes to metadata and contents reads; all events except repository.pushed return 403, and merging pull requests or changing the default branch is unavailable.

How do I verify and handle Origin webhook deliveries?▼

Verify the signature over the raw request body before parsing (Origin signs a digest, unlike Standard Webhooks), dedupe on delivery ID, return 2xx immediately, then process asynchronously. Subscribe to events first; missing subscriptions produce silence, not errors.

Why do some Origin webhook events not arrive for my app?▼

Only installation.* events arrive without an explicit subscription. Other events require a subscription to that event type. Check the "Events" section in the docs for the full list of available event slugs and subscription requirements.

How do I port a GitHub App to Origin?▼

Use the port-github-app-to-origin Skill in this plugin. It guides you through the porting brief by comparing GitHub App permissions and webhook events to Origin equivalents in the API spec.