Hugging Face Jobs
SkillMediaReference for running workloads on Hugging Face Jobs.
Use Hugging Face Jobs in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Hugging Face Jobs and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Hugging Face Jobs skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by qud-technologies/quranic-universal-audio in .claude/skills/hf-jobs/SKILL.md and read by Ahel’s review.
Cloud compute on HF infra. Pay-per-second. Pro/Team/Enterprise plan required.
Three surfaces — same model under each:
| Surface | Use when |
|---|---|
hf jobs ... CLI | One-off submissions, quick scripts, shell pipelines, inspecting state |
huggingface_hub Python (run_job, run_uv_job, Volume, inspect_job, fetch_job_logs, create_scheduled_job) | Programmatic submission, parallel fan-out, scripted orchestration |
hf_jobs(...) MCP tool | Submitting via Claude in this session — script accepts inline Python directly, $HF_TOKEN is auto-substituted in secrets |
The plugin skill huggingface-skills:hugging-face-jobs has the long-form reference (token semantics across all three surfaces, sample patterns like vLLM batch generation, troubleshooting matrix). This project skill is the project-fit layer plus a compact CLI/Python cheat sheet — open it first, escalate to the plugin skill for general patterns.
Reference index
| File | Open when working on |
|---|---|
references/cli-and-python.md | CLI and Python cheat sheet — hf jobs run, hf jobs uv run, ps/logs/inspect/stats/cancel, scheduled jobs, hardware flavors + costs, --timeout / --namespace / --label / -e / -s / --env-file / --secrets-file, volume mount syntax, Volume class, built-in env vars (JOB_ID, ACCELERATOR, CPU_CORES, MEMORY), webhook triggers |
Always-true essentials
- UV is the default surface.
hf jobs uv run(orhf_jobs("uv", ...)) takes a script (local path via CLI; inline string or URL via MCP — local paths fail in MCP because the container can't see them) with PEP 723 inline deps. Plain Docker (hf jobs run <image> <cmd>) is the escape hatch for non-Python or pre-built images (vLLM, DuckDB, pytorch/pytorch). - Default UV image:
ghcr.io/astral-sh/uv:python3.12-bookworm. Override with--imagefor ML-heavy frameworks. - Default timeout is 30 min. Always pass
--timeoutfor anything training-shaped. Format:30m,1.5h,1d, or seconds. - Default flavor is
cpu-basic. Pass--flavorfor GPU/TPU. List + prices:hf jobs hardware. - Environment is ephemeral. Anything not pushed to a Hub repo, written to a mounted bucket, or POSTed elsewhere dies with the container. For training, mount a bucket as the output dir.
- Token forwarding: CLI
--secrets HF_TOKEN(reads local env /~/.cache/huggingface/token); MCPsecrets={"HF_TOKEN": "$HF_TOKEN"}(auto-replaced); Python APIsecrets={"HF_TOKEN": get_token()}(the literal"$HF_TOKEN"will 401). - Volume mounts:
-v hf://[TYPE/]SOURCE:/MOUNT_PATH[:ro]. Models/datasets read-only always; buckets read-write by default. Requireshuggingface_hub >= 1.8.0for the PythonVolumeclass. - Namespace: jobs land in your user namespace by default.
--namespace <org>for organization billing/visibility. - Async by default. Submission returns a
JobInfowithid+url. Don't poll in a tight loop —inspect_joborhf jobs ps --filter status=runningwhen the user asks. - Auth check:
hf auth whoami(orhf_whoami()). Plan gate: Jobs are paid-tier only, so 403 on submission usually means a free account, not bad code.
Auth
hf auth login once locally; the same token gets forwarded to jobs via --secrets HF_TOKEN. .env at repo root already holds the token used by the pre-push HF Space hooks — same token works for Jobs.
Maintenance
References are self-contained — no live URLs read at runtime. When the HF docs shift (new flavor, CLI flag rename), refresh the file rather than adding an external link. Keep each reference file under ~300 lines; split when concerns mix.
Signals
- GitHub stars
- 44
- Forks
- 6
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
hf-jobs- Source
- github.com/qud-technologies/quranic-universal-audio
github.com/qud-technologies/quranic-universal-audio