mcpField
I
infsh-cli

infsh-cli

github.com/halt-catch-fireエージェントワークフロー111.1k 回インストール12 週間前に更新
リポジトリ

infsh-cli について

belt コマンドラインから inference.sh を利用し、ローカル GPU なしでクラウド上の AI アプリを実行するスキルです。利用可能なアプリの検索やタスク実行、ローカルファイルの入力に役立ちます。

主な機能

  1. 01アプリストアの閲覧と検索
  2. 02JSON 入力によるアプリ実行
  3. 03入力例の生成
  4. 04タスクの非同期実行と状態確認
  5. 05パス指定によるローカルファイルのアップロード

活用シーン

  1. 01プロンプトから画像や動画を生成
  2. 02LLM や検索アプリを呼び出す
  3. 03ローカル画像の拡大や動画化
  4. 04アプリを探し入力形式を確認

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/halt-catch-fire/superpowers --skill infsh-cli

インストール後、Claude Code で/infsh-cliを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
app-discovery.md
authentication.md
cli-reference.md
running-apps.md

詳細

belt CLI スキルをインストール: npx skills add belt-sh/cli

inference.sh

シンプルな CLI でクラウド上の AI アプリを実行します。GPU は不要です。

inference.sh

CLI をインストール

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

インストーラーは何をしますか? インストールスクリプトが OS とアーキテクチャを検出し、dist.inference.sh から適切なバイナリをダウンロードして、SHA-256 チェックサムを検証した後、PATH に配置します。これだけです。昇格した権限やバックグラウンドプロセス、テレメトリーは必要ありません。cosign がインストールされている場合、インストーラーは Sigstore 署名も自動的に検証します。

手動インストール(sh にパイプするのを避けたい場合):

# バイナリとチェックサムをダウンロード
curl -LO https://dist.inference.sh/cli/checksums.txt
curl -LO $(curl -fsSL https://dist.inference.sh/cli/manifest.json | grep -o '"url":"[^"]*"' | grep $(uname -s | tr A-Z a-z)-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') | head -1 | cut -d'"' -f4)
# チェックサムを検証
sha256sum -c checksums.txt --ignore-missing
# 展開してインストール
tar -xzf inferencesh-cli-*.tar.gz
mv inferencesh-cli-* ~/.local/bin/inferencesh

クイック例

# Generate an image
belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'

# Generate a video
belt app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'

# Call Claude
belt app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'

# Web search
belt app run tavily/search-assistant --input '{"query": "latest AI news"}'

# Post to Twitter
belt app run x/post-tweet --input '{"text": "Hello from AI!"}'

# Generate 3D model
belt app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'

ローカルファイルのアップロード

URL の代わりにパスを指定すると、CLI はローカルファイルを自動的にアップロードします。

# Upscale a local image
belt app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'

# Image-to-video from local file
belt app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'

# Avatar with local audio and image
belt app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'

# Post tweet with local media
belt app run x/post-create --input '{"text": "Check this out!", "media": "./screenshot.png"}'

コマンド

タスクコマンド
アプリストアを閲覧belt app list
ストアを検索belt app search "flux"
カテゴリーで絞り込むbelt app list --category image
アプリの一覧を表示belt app list
アプリの詳細を取得belt app get google/veo-3-1-fast
サンプル入力を生成belt app sample google/veo-3-1-fast --save input.json
アプリを実行belt app run google/veo-3-1-fast --input input.json
待たずに実行belt app run <app> --input input.json --no-wait
タスクのステータスを確認belt task get <task-id>

利用可能なもの

カテゴリー例
画像FLUX、Gemini 3 Pro、Grok Imagine、Seedream 4.5、Reve、Topaz Upscaler
動画Veo 3.1、Seedance 2.0、Wan 2.5、OmniHuman、Fabric、HunyuanVideo Foley
LLMClaude Opus/Sonnet/Haiku、Gemini 3 Pro、Kimi K2、GLM-4、OpenRouter の任意のモデル
検索Tavily Search、Tavily Extract、Exa Search、Exa Answer、Exa Extract
3DRodin 3D Generator
Twitter/Xpost-tweet、post-create、dm-send、user-follow、post-like、post-retweet
ユーティリティメディアの結合、動画へのキャプション追加、画像の結合、音声の抽出

関連スキル

# Image generation (FLUX, Gemini, Grok, Seedream)
npx skills add inference-sh/skills@ai-image-generation

# Video generation (Veo, Seedance, Wan, OmniHuman)
npx skills add inference-sh/skills@ai-video-generation

# LLMs (Claude, Gemini, Kimi, GLM via OpenRouter)
npx skills add inference-sh/skills@llm-models

# Web search (Tavily, Exa)
npx skills add inference-sh/skills@web-search

# AI avatars & lipsync (OmniHuman, Fabric, PixVerse)
npx skills add inference-sh/skills@ai-avatar-video

# Twitter/X automation
npx skills add inference-sh/skills@twitter-automation

# Model-specific
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@google-veo

# Utilities
npx skills add inference-sh/skills@image-upscaling
npx skills add inference-sh/skills@background-removal

リファレンスファイル

ドキュメント

コメント