inference-sh-cli
NousResearch/hermes-agent · Agent Skill
Runs 150+ AI apps for image, video generation, and LLM tasks via the inference.sh CLI.
Jump to install ↓Overview
| Publisher | |
|---|---|
| Repository | NousResearch/hermes-agent ↗ |
| Skill folder | inference-sh-cli |
| Stars | 245,082 |
| Forks | 50,941 |
| Bundled files | 5 |
| License | MIT |
| Last updated | September 13, 2026 |
| Links | Skill source ↗ · Repository ↗ |
Mozgi check
What we found in the skill files. Details come with a subscription.
Installation
A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.
Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.
Install the “inference-sh-cli” skill from mozgi.io (https://mozgi.io/skills/inference-sh-cli/) for me. 1. Download the archive: https://mozgi.io/skills/inference-sh-cli/download If it fails, take the skill folder from the source: https://github.com/NousResearch/hermes-agent/tree/main/optional-skills/devops/inference-sh-cli 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “inference-sh-cli” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/inference-sh-cli/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/NousResearch/hermes-agent.git /tmp/hermes-agent mkdir -p .claude/skills cp -r /tmp/hermes-agent/optional-skills/devops/inference-sh-cli .claude/skills/inference-sh-cli
Restart Claude Code — the skill appears in the list; call it manually with /inference-sh-cli. For all projects use ~/.claude/skills.
git clone --depth 1 --branch main https://github.com/NousResearch/hermes-agent.git /tmp/hermes-agent mkdir -p .agents/skills cp -r /tmp/hermes-agent/optional-skills/devops/inference-sh-cli .agents/skills/inference-sh-cli
Codex looks for skills in .agents/skills from the current folder up to the repo root; call one with /skills or $inference-sh-cli. For all projects use ~/.agents/skills.
git clone --depth 1 --branch main https://github.com/NousResearch/hermes-agent.git /tmp/hermes-agent mkdir -p .cursor/skills cp -r /tmp/hermes-agent/optional-skills/devops/inference-sh-cli .cursor/skills/inference-sh-cli
Cursor picks the skill up on start; call it with “/” in Agent chat. Cursor also reads .claude/skills and .agents/skills. For all projects use ~/.cursor/skills.
git clone --depth 1 --branch main https://github.com/NousResearch/hermes-agent.git /tmp/hermes-agent mkdir -p .gemini/skills cp -r /tmp/hermes-agent/optional-skills/devops/inference-sh-cli .gemini/skills/inference-sh-cli
Gemini CLI offers to activate the skill when a task matches — you approve it. For all projects use ~/.gemini/skills.
Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.
SKILL.md contents
Original author text · read-onlyinference.sh CLI
Run 150+ AI apps in the cloud with a simple CLI. No GPU required.
All commands use the terminal tool to run infsh commands.
When to Use
- User asks to generate images (FLUX, Reve, Seedream, Grok, Gemini image)
- User asks to generate video (Veo, Wan, Seedance, OmniHuman)
- User asks about inference.sh or infsh
- User wants to run AI apps without managing individual provider APIs
- User asks for AI-powered search (Tavily, Exa)
- User needs avatar/lipsync generation
Prerequisites
The infsh CLI must be installed and authenticated. Check with:
infsh me
If not installed:
curl -fsSL https://cli.inference.sh | sh
infsh login
See references/authentication.md for full setup details.
Workflow
1. Always Search First
Never guess app names — always search to find the correct app ID:
infsh app list --search flux
infsh app list --search video
infsh app list --search image
2. Run an App
Use the exact app ID from the search results. Always use --json for machine-readable output:
infsh app run <app-id> --input '{"prompt": "your prompt here"}' --json
3. Parse the Output
The JSON output contains URLs to generated media. Present these to the user with MEDIA:<url> for inline display.
Common Commands
Image Generation
# Search for image apps
infsh app list --search image
# FLUX Dev with LoRA
infsh app run falai/flux-dev-lora --input '{"prompt": "sunset over mountains", "num_images": 1}' --json
# Gemini image generation
infsh app run google/gemini-2-5-flash-image --input '{"prompt": "futuristic city", "num_images": 1}' --json
# Seedream (ByteDance)
infsh app run bytedance/seedream-5-lite --input '{"prompt": "nature scene"}' --json
# Grok Imagine (xAI)
infsh app run xai/grok-imagine-image --input '{"prompt": "abstract art"}' --json
Video Generation
# Search for video apps
infsh app list --search video
# Veo 3.1 (Google)
infsh app run google/veo-3-1-fast --input '{"prompt": "drone shot of coastline"}' --json
# Seedance (ByteDance)
infsh app run bytedance/seedance-1-5-pro --input '{"prompt": "dancing figure", "resolution": "1080p"}' --json
# Wan 2.5
infsh app run falai/wan-2-5 --input '{"prompt": "person walking through city"}' --json
Local File Uploads
The CLI automatically uploads local files when you provide a path:
# Upscale a local image
infsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}' --json
# Image-to-video from local file
infsh app run falai/wan-2-5-i2v --input '{"image": "/path/to/image.png", "prompt": "make it move"}' --json
# Avatar with audio
infsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/audio.mp3", "image": "/path/to/face.jpg"}' --json
Search & Research
infsh app list --search search
infsh app run tavily/tavily-search --input '{"query": "latest AI news"}' --json
infsh app run exa/exa-search --input '{"query": "machine learning papers"}' --json
Other Categories
# 3D generation
infsh app list --search 3d
# Audio / TTS
infsh app list --search tts
# Twitter/X automation
infsh app list --search twitter
Pitfalls
1. Never guess app IDs — always run infsh app list --search <term> first. App IDs change and new apps are added frequently.
2. Always use --json — raw output is hard to parse. The --json flag gives structured output with URLs.
3. Check authentication — if commands fail with auth errors, run infsh login or verify INFSH_API_KEY is set.
4. Long-running apps — video generation can take 30-120 seconds. The terminal tool timeout should be sufficient, but warn the user it may take a moment.
5. Input format — the --input flag takes a JSON string. Make sure to properly escape quotes.
Reference Docs
references/authentication.md— Setup, login, API keysreferences/app-discovery.md— Searching and browsing the app catalogreferences/running-apps.md— Running apps, input formats, output handlingreferences/cli-reference.md— Complete CLI command reference
Frequently asked questions
What does the inference-sh-cli skill do?
Runs 150+ AI apps for image, video generation, and LLM tasks via the inference.sh CLI.
How do I install inference-sh-cli?
Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.
Which AI models work with inference-sh-cli?
Skills are plain Markdown instructions (the Agent Skills format), so inference-sh-cli works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.
Is inference-sh-cli free?
The skill is published openly by NousResearch under the MIT license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.
Is it safe to install skills?
A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.
How is a skill different from an MCP server or a plugin?
An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.