0xerwin1/dbflux/dbflux-rpc-auth-provider

Claude Code and agent skill by 0xerwin1/dbflux

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create external DBFlux auth-provider services that speak the auth-provider RPC protocol. Trigger: When adding an RPC auth provider, external credential service, SSO plugin, OAuth plugin, or auth-provider service configured through Settings → RPC Services.

Install

npx vskill@latest install 0xerwin1/dbflux/dbflux-rpc-auth-provider

SKILL.md

When to Use

  • The auth provider should live outside the DBFlux binary.
  • The user mentions auth-provider RPC, external credential service, SSO plugin, or Settings → RPC Services.
  • The provider should be registered with RpcServiceKind::AuthProvider.

Source of Truth

  • docs/DRIVER_RPC_PROTOCOL.md
  • crates/dbflux_ipc/src/auth_provider_protocol.rs
  • crates/dbflux_ipc/src/auth_provider_client.rs
  • crates/dbflux_app/src/rpc_services.rs
  • examples/custom_auth_provider/

Critical Patterns

  • Start from examples/custom_auth_provider/ unless the user already has service code.
  • Auth-provider services never register as database drivers.
  • Managed auth-provider services require an explicit command; DBFlux does not assume dbflux-driver-host.
  • DBFlux probes compatible services on startup, so restart DBFlux after changing RPC service settings.
  • If DBFlux launches the provider, it injects the auth-provider handshake token through the environment.

Protocol Checklist

  1. Bind the local socket using DBFlux IPC conventions.
  2. Handle Hello and negotiate the highest compatible protocol version.
  3. Return provider_id, display_name, form_definition, and version-specific capabilities from Hello.
  4. Implement ValidateSession.
  5. Implement Login; emit zero or one LoginUrlProgress before terminal LoginResult.
  6. Implement ResolveCredentials.
  7. Return secret credential values as secret fields in the response type.
  8. Return UnsupportedMethod for unsupported requests.
  9. Use structured protocol errors such as InvalidRequest, VersionMismatch, Provider, or Internal.

Launch Facts

  • Use RpcServiceKind::AuthProvider in the persisted service descriptor.
  • Empty command and empty args: DBFlux expects an already-running provider service.
  • Explicit command: DBFlux starts and owns the provider process.
  • Empty command with non-empty args is invalid for auth providers.

Commands

bash
cargo build
RUST_LOG=info cargo run -- --socket <socket-id>
python3 scripts/lint.py fmt --check

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
142
Repository forks
12
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0xerwin1/dbflux/dbflux-rpc-auth-provider/badge)](https://verified-skill.com/skills/0xerwin1/dbflux/dbflux-rpc-auth-provider)

Something wrong with this skill or its page? Tell us.