55982159dd
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.
1.1 KiB
1.1 KiB
Authentication & Setup
Install the CLI
curl -fsSL https://cli.inference.sh | sh
Login
infsh login
This opens a browser for authentication. After login, credentials are stored locally.
Check Authentication
infsh me
Shows your user info if authenticated.
Environment Variable
For CI/CD or scripts, set your API key:
export INFSH_API_KEY=your-api-key
The environment variable overrides the config file.
Update CLI
infsh update
Or reinstall:
curl -fsSL https://cli.inference.sh | sh
Troubleshooting
| Error | Solution |
|---|---|
| "not authenticated" | Run infsh login |
| "command not found" | Reinstall CLI or add to PATH |
| "API key invalid" | Check INFSH_API_KEY or re-login |
Documentation
- CLI Setup - Complete CLI installation guide
- API Authentication - API key management
- Secrets - Managing credentials