Credentials. The port plan touches app credentials and scopes, so keep any tokens or secrets out of the plan document and the agent prompt.
Who it is forA developer who maintains a GitHub App and wants to move it onto the Cursor Origin API.
The problemPorting an app without a plan risks getting credentials, scopes, webhooks, paging, or error handling wrong.
The outcomeA written port plan that covers the Origin rules for credentials, scopes, webhooks, paging, and errors.
What you need first
- Access to the cursor/plugins repository on GitHub
- Cursor set up to use plugins
- Basic familiarity with the .cursor-plugin/plugin.json manifest each plugin needs
Steps
- Open the origin-apps/ directory and find the skill that plans the port of an existing GitHub App.
- Fetch the live Origin API spec first, as the plugin description instructs.
- List the current GitHub App's credentials, permissions, webhooks, and error handling.
- Map each item to the matching Origin rule for credentials, scopes, webhooks, paging, and errors.
- Write the port plan and flag any gap you cannot map.
Prompt for your agent
Using the origin-apps plugin from the cursor/plugins repo, fetch the live Origin API spec and plan the port of the GitHub App at <app-repo-path>. Output a port plan that maps credentials, scopes, webhooks, paging, and errors. Verify that the plan cites the live spec and lists any unmapped items.
Caveat. The plugin tells you to fetch the live spec first, so the plan is only as current as the spec you retrieve at the time you run it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cursor/plugins and "Plan the port of a GitHub App to the Origin API"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer