Skip to content
TrustedSkillsbeta
Back to all skills

Llm Router

Listed
jamesrochabrun·vlatest·ai-ml·MIT

Provides LLMs guidance and assistance for building AI and machine learning applications.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add jamesrochabrun/skills --skill llm-router -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

jamesrochabrun

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No undeclared network calls: failed

    Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: api.x.ai.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

    Hosts contacted

    api.x.aiundeclaredapi.groq.commodel providerapi.deepseek.commodel provideropenrouter.aimodel provider

    What it found

    • skills/llm-router/scripts/configure_provider.sh:23contacts api.x.ai
      echo "xai|https://api.x.ai/v1|grok-4-0709,grok-3,grok-code-fast-1"
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned jamesrochabrun/skills at 2482c17637.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
4 files, 965 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

The Llm Router skill enables AI agents to route requests to different LLM providers using SwiftOpenAI-CLI's agent mode. It automatically configures the CLI to use a specified provider (OpenAI, Grok, Groq, DeepSeek, or OpenRouter), ensures the tool is installed and up-to-date, and then executes one-shot agentic tasks. This simplifies the process of leveraging various LLMs without manual configuration for each request.

When to use it

  • When you need to quickly switch between different LLM providers (e.g., Grok, OpenAI, DeepSeek) within an AI agent workflow.
  • For experimenting with different models and evaluating their performance on specific tasks.
  • To leverage the capabilities of specialized models available through providers like Groq or OpenRouter.
  • When you need to execute one-shot agentic tasks using a particular LLM provider.

Key capabilities

  • Automatic installation and updating of SwiftOpenAI-CLI.
  • Configuration for multiple LLM providers: OpenAI, Grok, Groq, DeepSeek, and OpenRouter.
  • API key verification with clear instructions for setup (environment variables or config file).
  • Agent mode execution with features like one-shot task completion, tool calling, MCP integration support, conversation memory, and multiple output formats.

Example prompts

  • "Use Grok to explain quantum computing."
  • "Configure the agent to use DeepSeek Reasoner and then summarize this article."
  • “Use OpenAI GPT-5 to generate a poem about cats.”

Tips & gotchas

  • Requires SwiftOpenAI-CLI to be installed. The skill will attempt to install it, but ensure you have the necessary permissions.
  • API keys are required for each provider and must be configured correctly before tasks can be executed. The script provides clear instructions if an API key is missing.
  • Supported models vary by provider; refer to the provider's documentation for available options.