What problem does it solve?
Connecting to the X (Twitter) API through an MCP plugin involves credit balances, per-call billing, and confusing error states like missing tools or enrollment failures. This Skill ensures the agent checks credits before spending, estimates costs before expensive calls, and responds to sign-in, setup, and billing errors with the correct user-facing guidance instead of retry loops or premature paywall messages.
Core Features & Use Cases
- Connect and session bootstrap: Verifies X tools exist, fetches the user profile and credit balance via get_usage_credits, and sends the correct onboarding message based on remaining balance.
- Cost-aware API usage: Estimates the dollar cost of every X call using a pricing reference and live pricing endpoint, confirms with the user before anything over ~$0.25, and suggests budget-appropriate tasks.
- Structured error handling: Maps sign-in failures, missing-tools setup failures, out-of-credits blocks, rate limits, and 5xx outages to specific quoted responses without retry loops.
- Use Case: A user connects the X plugin and asks to research a topic. The agent confirms tools exist, reads their $20 balance, suggests a small search within budget, estimates the cost, and proceeds only after confirmation.
Quick Start
Connect the X plugin in this chat and ask the agent to look up a post or search a topic, and it will check your credits and estimate costs first.