omega-loops-providers

Configure LLM providers and OAuth device login in the Omega Loops Rust agent.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/swcstudiospace/aimeecodes --skill omega-loops-providers-swcstudiospace
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: omega-loops-providers
Source: https://github.com/swcstudiospace/aimeecodes/tree/main/.aimee/skills/omega-loops-providers
Command: npx skills add https://github.com/swcstudiospace/aimeecodes --skill omega-loops-providers-swcstudiospace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding or changing LLM providers in the Omega Loops Rust workspace requires touching provider IDs, auth strategies, provider.json entries, TUI slash commands, and shell plugin aliases across many crates, and mistakes like reimplementing device polling or misconfiguring token refresh cause subtle auth failures. ## Core Features & Use Cases - Provider Integration Workflow: Step-by-step process for adding a new OAuth provider, from ProviderId constants and FromStr aliases through provider.json auth methods to TUI and shell plugin wiring. - SuperGrok / xAI OAuth Reference: Documents the shipped xai_oauth provider using RFC 8628 device-code flow against auth.x.ai, including client ID, scopes, endpoints, and UX labeling. - Pitfall & Debug Guidance: Covers tier-based HTTP 403 entitlement errors, fail-closed model merge bugs, xAI pricing deserialization, and Cargo workspace issues, with verification commands. - Use Case: You want users to log into SuperGrok without an API key. Follow the workflow to register the xai_oauth provider, wire the /supergrok slash command, and verify with focused cargo tests. ## Quick Start Ask the agent to add a new OAuth device-flow provider to Omega Loops following the provider workflow and verify it with the listed cargo check and test commands.

Frequently Asked Questions about omega-loops-providers

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

FAQPage Schema
How do I add a new OAuth provider to a Rust CLI agent?▼

Add a ProviderId constant with display name and FromStr aliases, register a provider.json entry with an oauth_device or oauth_code auth method, and wire TUI commands plus shell plugin aliases. Reuse the existing OAuthDeviceStrategy instead of writing custom device polling.

How does SuperGrok xAI OAuth device login work?▼

SuperGrok uses the RFC 8628 device-code flow against auth.x.ai with a public Grok CLI client ID and scopes including grok-cli:access and api:access. The provider id is xai_oauth, separate from the API-key-based xai provider.

Why does SuperGrok return HTTP 403 after successful browser login?▼

HTTP 403 after login indicates entitlement gating between SuperGrok and SuperGrok Heavy tiers, not a stale token. Do not loop re-login; use the xai provider with XAI_API_KEY as a fallback or upgrade the subscription tier.

Should I set token_refresh_url for an xAI OAuth provider?▼

No. Setting token_refresh_url switches the strategy factory to the GitHub Copilot-style OAuthWithApiKey exchange. Omit it for pure Bearer OAuth providers like xAI so tokens are used directly.

Why does omega list model fail even though SuperGrok login succeeded?▼

Two known bugs caused this: a fail-closed model merge that dropped SuperGrok when another provider returned 401, and xAI Imagine pricing arrays breaking deserialization. Fixes keep successful provider results and ignore non-object pricing fields.