One-click install
npx skills add https://github.com/0xHarbs/agent-setup --skill llm-integration-0xharbs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-integration
Source: https://github.com/0xHarbs/agent-setup/tree/main/claude/skills/domain/llm-integration
Command: npx skills add https://github.com/0xHarbs/agent-setup --skill llm-integration-0xharbs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers onboard users to an Electron app's LLM provider setup by detecting Claude CLI authentication, managing Anthropic and OpenAI API keys, and unifying provider configurations under a single flow.

Core Features & Use Cases

  • Provider detection and setup: auto-detect Claude CLI status and initialize provider configurations.
  • API key management: securely store, expose, and test Anthropic and OpenAI keys via an integrated flow.
  • Unified provider routing: select the appropriate provider for a given model via a factory, with fallback handling.

Quick Start

Run the onboarding wizard to detect Claude CLI status and store Anthropic or OpenAI API keys for your Electron app.

Frequently Asked Questions about llm-integration

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

FAQPage Schema
How do I manage API keys for OpenAI and Anthropic in an Electron app?

You can manage API keys for OpenAI and Anthropic in an Electron app by using an onboarding flow that securely stores credentials via an IPC bridge with in-memory caching and .env persistence.

How do I detect Claude CLI authentication status during app setup?

Detect Claude CLI authentication status during app setup by running a provider detection flow that checks CLI availability and initializes provider configurations accordingly.

Can I use a single provider configuration flow for multiple LLM providers?

Yes, you can unify multiple LLM providers under a single configuration flow using a provider factory that routes to the appropriate provider with fallback handling.

What is the best way to securely store LLM provider credentials locally?

The best way to securely store LLM provider credentials locally is by combining in-memory caching with .env file persistence, managed through an Electron IPC bridge.

Does this LLM integration approach support environment variable handling for API keys?

Yes, this LLM integration approach supports environment variable handling, allowing you to expose and test Anthropic and OpenAI keys via environment configurations alongside in-app storage.

How do I onboard users to LLM provider setup in an Electron application?

Onboard users to LLM provider setup in an Electron application by running an onboarding wizard that auto-detects CLI status and securely stores API keys.