inference-sh-cli
NousResearch/hermes-agent · Agent Skill
Esegue oltre 150 app AI per la generazione di immagini, video e attività LLM tramite la CLI di inference.sh.
Vai all'installazione ↓Panoramica
| Autore | |
|---|---|
| Repository | NousResearch/hermes-agent ↗ |
| Cartella dello skill | inference-sh-cli |
| Stelle | 245.082 |
| Fork | 50.941 |
| File inclusi | 5 |
| Licenza | MIT |
| Aggiornato | 13 settembre 2026 |
| Link | Sorgente dello skill ↗ · Repository ↗ |
Verifica Mozgi
Cosa abbiamo trovato nei file dello skill. I dettagli con l’abbonamento.
Installazione
Uno skill è una cartella con un file SKILL.md. Scegli il tuo agente ed esegui i comandi in un terminale (macOS, Linux o Git Bash su Windows) dalla radice del progetto.
Incolla il prompt in Claude, Codex o un altro assistente: controllerà lo skill e lo installerà.
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
Riavvia Claude Code: lo skill compare nell'elenco; per richiamarlo a mano usa /inference-sh-cli. Per tutti i progetti: ~/.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 cerca gli skill in .agents/skills dalla cartella corrente fino alla radice del repo; richiamalo con /skills o $inference-sh-cli. Per tutti i progetti: ~/.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 carica lo skill all'avvio; richiamalo con “/” nella chat Agent. Cursor legge anche .claude/skills e .agents/skills. Per tutti i progetti: ~/.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 propone di attivare lo skill quando il compito corrisponde: tu confermi. Per tutti i progetti: ~/.gemini/skills.
Leggi SKILL.md e i file correlati prima di installare. Clicca un file per l'anteprima.
Contenuto di SKILL.md
Testo originale dell'autore · sola letturainference.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
Domande frequenti
Che cosa fa lo skill inference-sh-cli?
Esegue oltre 150 app AI per la generazione di immagini, video e attività LLM tramite la CLI di inference.sh.
Come si installa inference-sh-cli?
Apri il blocco “Installazione” in questa pagina e scegli il tuo agente — Claude Code, Codex, Cursor o Gemini CLI — per i comandi pronti che copiano la cartella dello skill nel posto giusto. Oppure copia il prompt dalla scheda “Con l'assistente” e lascia che sia l'assistente a controllare e installare lo skill.
Con quali modelli AI funziona inference-sh-cli?
Gli skill sono semplici istruzioni in Markdown (formato Agent Skills), quindi inference-sh-cli funziona con qualsiasi agente che legge SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode e altri. Il modello carica le istruzioni solo quando il compito corrisponde alla descrizione dello skill.
inference-sh-cli è gratuito?
Lo skill è pubblicato apertamente da NousResearch con licenza MIT. Lo skill in sé non costa nulla: paghi solo il tuo fornitore AI per i token usati.
È sicuro installare gli skill?
Uno skill è un insieme di istruzioni che il tuo agente seguirà: leggi SKILL.md e i file correlati prima di installarlo. Gli script nella cartella dello skill vengono eseguiti solo se li esegue l'agente: controlla cosa fa e non concedere permessi superflui.
In cosa differisce uno skill da un server MCP o da un plugin?
Un server MCP o un plugin danno al modello nuovi strumenti: codice che viene eseguito e restituisce un risultato. Uno skill fornisce conoscenza e metodo: come affrontare il compito, quali passi seguire e com'è un buon risultato. Non servono server né chiavi API.