invokellm

Invoke AI CLI tools like claude, codex, and gemini with model and session options.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rahulrajaram/rahulskills --skill invokellm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invokellm
Source: https://github.com/rahulrajaram/rahulskills/tree/main/skills/invokellm
Command: npx skills add https://github.com/rahulrajaram/rahulskills --skill invokellm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows you to directly invoke specific AI command-line interfaces (CLIs) like Claude, Codex, or Gemini, streamlining your workflow when you need to interact with a particular LLM.

Core Features & Use Cases

  • Direct LLM Invocation: Execute commands for claude, codex, gemini, or custom plugins.
  • Flexible Prompting: Pass prompts and various options like model selection, session management, and context files.
  • Use Case: When you need to quickly get an answer from Gemini about a specific code snippet, you can use /invokellm gemini "Explain this code snippet" to get an immediate response.

Quick Start

Use the invokellm skill to invoke the claude CLI with the prompt "Explain quantum computing".

Frequently Asked Questions about invokellm

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

FAQPage Schema
How do I invoke an AI CLI like Claude or Gemini from the command line?

You can invoke an AI CLI like Claude or Gemini by using the gptengage utility to execute commands and pass prompts. It supports options for model selection, persistent sessions, context file inclusion, and timeout settings for direct LLM interaction.

Can I include context files when running a Codex CLI command?

Yes, you can include context files when running a Codex CLI command. The invocation supports passing context files alongside your prompts to ensure the LLM has the necessary background information for your specific task.

What is the best way to maintain a persistent session with an LLM CLI?

The best way to maintain a persistent session with an LLM CLI is to use the session management options during invocation. This allows you to keep context across multiple interactions with tools like Claude or Gemini.

Does the gptengage utility support custom AI plugins?

Yes, the gptengage utility supports custom plugins. Beyond standard CLIs like claude, codex, and gemini, you can execute commands for custom plugins to interact with specific LLM services programmatically.

How do I set a timeout when interacting with an AI CLI?

You can set a timeout when interacting with an AI CLI by specifying timeout settings in your invocation options. This ensures your programmatic interaction with the LLM service does not hang indefinitely.

When should I use direct AI CLI invocation instead of other methods?

You should use direct AI CLI invocation when you need programmatic interaction with individual LLM services for specific tasks. It streamlines workflows requiring immediate responses from a particular model like Claude or Gemini.