Skip to content

Add X MCP guide skill to X plugin - #228

Merged
maloneya merged 2 commits into
cursor:mainfrom
maloneya:amaloney/x-plugin-api-guide-skill
Aug 19, 2026
Merged

Add X MCP guide skill to X plugin#228
maloneya merged 2 commits into
cursor:mainfrom
maloneya:amaloney/x-plugin-api-guide-skill

Conversation

@maloneya

@maloneya maloneya commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds an "X MCP guide" skill to the X plugin, read before any X MCP call. It centers on the plugin's Connect sign-in flow rather than API-app setup.
  • Covers the three core account errors — not signed in (401), not onboarded (403 client-not-enrolled / user-not-enrolled), and out of credits — each with an exact, simple line to say to the user, and rules to never retry them unchanged or explain billing/enrollment internals.
  • Includes session-start current-user probing, field/pagination/cost guidance, search operators, and per-request workflows.
  • Registers "skills": "./skills/" in the plugin manifest (the plugin had no skills before), bumps the version to 2.1.0, and adds a changelog entry.

Test plan

  • Manifest validates against schemas/plugin.schema.json (skills is a supported field; JSON parses cleanly)
  • Skill frontmatter follows the SKILL.md convention used elsewhere in this repo

maloneya and others added 2 commits August 19, 2026 11:40
Maps X API error responses (401/402/403/429/409) to the developer-account
state that caused them, with auth-mode guidance and cost-aware retry rules
so agents don't burn prepaid credits on blind retries.

Co-authored-by: Cursor <cursoragent@cursor.com>
Reframes the skill around the X MCP Connect flow: three core errors
(sign-in, not onboarded, out of credits) with exact lines to say to the
user, plus session-start probing, search operators, and cost-aware
workflow rules. Drops the developer-account error decode table.

Co-authored-by: Cursor <cursoragent@cursor.com>
@maloneya maloneya changed the title Add x-api-mcp-guide skill to X plugin Add X MCP guide skill to X plugin Aug 19, 2026
@maloneya
maloneya merged commit fd6dd6f into cursor:main Aug 19, 2026
2 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit a367027. Configure here.


> This X account isn't set up yet. Go to https://console.x.com, register and onboard with this same X account, then come back and I'll retry.

Do not retry. Do not search. Do not mention apps, projects, or pay-per-use. If they already did that, ask them to reconnect, probe once, and if it still 403s say the same line again.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

403s misrouted as not onboarded

Medium Severity · Logic Bug

The not-onboarded matcher treats any 403 on timeline, mentions, search, or bookmarks after Connect as enrollment failure, and that branch wins before not-authorized-for-resource. Agents then give the console onboarding line, refuse to retry, and skip the private-resource path for protected accounts or missing access.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a367027. Configure here.

github-actions Bot added a commit to SmailG/claude-cursor-plugins that referenced this pull request Aug 20, 2026
…maloneya/amaloney/x-plugin-api-guide-skill

chore: sync with cursor/plugins — Merge pull request cursor#228 from maloneya/amaloney/x-plugin-api-guide-skill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant