mcpField
A
agent-tools

agent-tools

github.com/inference-shAgent 工作流44 次安装
代码仓库

关于 agent-tools

agent-tools 是用于通过 inference.sh 命令行运行云端 AI 应用的 skill,帮助 Agent 查找应用、提交输入并查看任务状态,也支持自动上传本地文件。

主要功能

  1. 01列出并搜索可用应用
  2. 02通过 JSON 输入运行应用
  3. 03自动上传本地文件
  4. 04提交任务后不等待结果
  5. 05查看任务状态

适用场景

  1. 01生成图像或视频
  2. 02通过 OpenRouter 调用 LLM
  3. 03放大本地图像
  4. 04提交图像、音频和视频输入

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/inference-sh/agent-skills --skill agent-tools

安装后在 Claude Code 中输入/agent-tools确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

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

详细介绍

inference.sh

通过简单的 CLI 在云端运行 250 多款 AI 应用。无需 GPU。

inference.sh

安装 CLI

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

安装程序会做什么? 安装脚本会检测你的操作系统和架构,从 dist.inference.sh 下载适用的二进制文件,验证其 SHA-256 校验和,并将其放入你的 PATH。仅此而已——无需提升权限,不会运行后台进程,也不会收集遥测数据。如果你已安装 cosign,安装程序还会自动验证 Sigstore 签名。

手动安装(如果你不想通过管道传给 sh):

# Download the binary and checksums
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)
# Verify checksum
sha256sum -c checksums.txt --ignore-missing
# Extract and install
tar -xzf inferencesh-cli-*.tar.gz
mv inferencesh-cli-* ~/.local/bin/inferencesh

快速示例

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

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

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

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

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

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

上传本地文件

提供本地路径而非 URL 时,CLI 会自动上传本地文件:

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

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

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

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

命令

任务命令
列出所有应用infsh app list
搜索应用infsh app list --search "flux"
按类别筛选infsh app list --category image
获取应用详情infsh app get google/veo-3-1-fast
生成示例输入infsh app sample google/veo-3-1-fast --save input.json
运行应用infsh app run google/veo-3-1-fast --input input.json
运行但不等待infsh app run <app> --input input.json --no-wait
检查任务状态infsh task get <task-id>

可用内容

类别示例
图像FLUX、Gemini 3 Pro、Grok Imagine、Seedream 4.5、Reve、Topaz Upscaler
视频Veo 3.1、Seedance 1.5、Wan 2.5、OmniHuman、Fabric、HunyuanVideo Foley
大模型Claude 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/X发布推文、创建帖子、发送私信、关注用户、点赞帖子、转发帖子
实用工具媒体合并、视频添加字幕、图像拼接、音频提取

相关技能

# 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

参考文件

文档

评论

支持 Markdown