inference-sh-cli

inference-sh-cli is a skill for Claude Code, Codex from aivrar/portable-hermes-agent. It costs 24 tokens per session (1,250 once invoked), scanned C, a copy of inference-sh-cli, MIT.

A command-line tool for running more than 150 cloud-based AI applications for images, video, language models, search, avatars, and lip syncing.

In plain words
What is it for?
Use it to search for an available AI app, then run it with structured input and read the generated results.
Why use it?
It provides one command-line workflow for these applications without requiring a local GPU or separate provider setup for each one.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search for an available AI app, then run it with structured input and read the generated results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aivrar/portable-hermes-agent/inference-sh-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aivrar/portable-hermes-agent --skill inference-sh-cli
Clone the repo
git clone --depth 1 https://github.com/aivrar/portable-hermes-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for inference-sh-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/inference-sh-cli/github.svg)](https://agentmods.dev/skills/aivrar/portable-hermes-agent/inference-sh-cli)
Your own site
<a href="https://agentmods.dev/skills/aivrar/portable-hermes-agent/inference-sh-cli"><img src="https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/inference-sh-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for inference-sh-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/aivrar/portable-hermes-agent/inference-sh-cli"><img src="https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/inference-sh-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01250
Opus 5 $0.00012 $0.00625
Sonnet 5 $0.00005 $0.00250
Haiku 4.5 $0.00002 $0.00125

Measured 9d ago against content hash 85fba8537293, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

inference-sh-cli scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://cli.inference.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://cli.inference.sh | sh
Origin

This is a copy

100% identical to inference-sh-cli — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

optional-skills/devops/inference-sh-cli/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

inference.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

Read the full file on GitHub · 157 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 157 lines · 24 tokens per session scan C 85fba8537293

Subscribe to this mod's changes

inference-sh-cli is a skill published in the GitHub repository aivrar/portable-hermes-agent (216 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 1,250 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 100% identical to inference-sh-cli, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

mmx-cli

Use mmx to generate text, images, video, speech, and music via the MiniMax AI platform. Use when the user wants to create media content, chat with MiniMax models, perform web search, or manage MiniMax API resources from the terminal.

Peiiii/nextclaw · 56 tokens

emotion-to-camera-language

A guide for turning vague visual feelings—such as cinematic, atmospheric, elegant, or healing—into concrete image or video prompt details. It uses lighting direction, depth of field, camera position, and the subject’s state.

L-Trunks/ai-film-skills · 202 tokens

ernie-image

ERNIE-Image parameter planning and prompt design for Baidu AI Studio image generation. Use when the user wants to create images with ERNIE-Image, improve ERNIE prompts, or choose ERNIE-specific arguments such as size, seed, usepe, numinferencesteps, guidancescale, n, and responseformat.

openmaster-ai/clawmaster · 72 tokens

stable-diffusion-image-generation

State-of-the-art text-to-image generation with Stable Diffusion models via HuggingFace Diffusers. Use when generating images from text prompts, performing image-to-image translation, inpainting, or building custom diffusion pipelines.

cyborg-garden/hermes-agent-mt · 50 tokens

分镜提示词

A Chinese-language skill that turns a one-sentence video idea into a complete storyboard prompt after asking for missing details. It organises the prompt into basic settings, mood and image quality, and visual content for video models such as Seedance 2.0.

wopanda/storyboard-prompt-skill · 87 tokens

inference-sh-cli

Run 150+ AI apps via inference.sh CLI (infsh) — image generation, video creation, LLMs, search, 3D, social automation. Uses the terminal tool. Triggers: inference.sh, infsh, ai apps, flux, veo, image generation, video generation, seedream, seedance, tavily.

cyborg-garden/hermes-agent-mt · 74 tokens