Files
teknium1 55982159dd feat(tests): CI-enforce skill authoring standards; clear all remaining debt
New tests/skills/test_authoring_standards.py parametrizes every bundled +
optional SKILL.md (1148 checks) against the mechanically-verifiable subset
of the hardline standards:
- required frontmatter fields (name/description/version/author/license/
  platforms) + tags
- frontmatter name == directory name
- description <= 60 chars, ends with period, no marketing words
- related_skills resolve in-repo
- no machine-local paths
- <= 100k chars
Grandfather dict for legacy debt ships EMPTY — all pre-existing violations
fixed in this PR:

- 13 frontmatter names canonicalized to their directory names (the install
  identifier); all related_skills references updated (comfyui -> stable-
  diffusion). Fixes the class behind PR #42788's report; also fixes
  here.now's invalid dot-name.
- optional-skills/devops/cli -> inference-sh-cli (dir was the generic
  'cli'; fm name was right) incl. docs pages (en + zh-Hans), catalog row,
  sidebar entry.
- pytorch-fsdp: 157k generated 'Quick Reference' dump moved to
  references/common-patterns.md; SKILL.md 159k -> 2.5k with a pointer.
- research-paper-writing: 31.7k Phase 5 drafting section moved to
  references/phase5-paper-drafting.md; SKILL.md 103k -> 71k.

Docs regenerated with scope discipline.
2026-08-08 15:43:00 -07:00

3.1 KiB

CLI Reference

Installation

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

Global Commands

Command Description
infsh help Show help
infsh version Show CLI version
infsh update Update CLI to latest
infsh login Authenticate
infsh me Show current user

App Commands

Discovery

Command Description
infsh app list List available apps
infsh app list --category <cat> Filter by category (image, video, audio, text, other)
infsh app search <query> Search apps
infsh app list --search <query> Search apps (flag form)
infsh app list --featured Show featured apps
infsh app list --new Sort by newest
infsh app list --page <n> Pagination
infsh app list -l Detailed table view
infsh app list --save <file> Save to JSON file
infsh app my List your deployed apps
infsh app get <app> Get app details
infsh app get <app> --json Get app details as JSON

Execution

Command Description
infsh app run <app> --input <file> Run app with input file
infsh app run <app> --input '<json>' Run with inline JSON
infsh app run <app> --input <file> --no-wait Run without waiting for completion
infsh app sample <app> Show sample input
infsh app sample <app> --save <file> Save sample to file

Task Commands

Command Description
infsh task get <task-id> Get task status and result
infsh task get <task-id> --json Get task as JSON
infsh task get <task-id> --save <file> Save task result to file

Development

Command Description
infsh app init Create new app (interactive)
infsh app init <name> Create new app with name
infsh app test --input <file> Test app locally
infsh app deploy Deploy app
infsh app deploy --dry-run Validate without deploying
infsh app pull <id> Pull app source
infsh app pull --all Pull all your apps

Environment Variables

Variable Description
INFSH_API_KEY API key (overrides config)

Shell Completions

# Bash
infsh completion bash > /etc/bash_completion.d/infsh

# Zsh
infsh completion zsh > "${fpath[1]}/_infsh"

# Fish
infsh completion fish > ~/.config/fish/completions/infsh.fish

App Name Format

Apps use the format namespace/app-name:

  • falai/flux-dev-lora - fal.ai's FLUX 2 Dev
  • google/veo-3 - Google's Veo 3
  • infsh/sdxl - inference.sh's SDXL
  • bytedance/seedance-1-5-pro - ByteDance's Seedance
  • xai/grok-imagine-image - xAI's Grok

Version pinning: namespace/app-name@version

Documentation