Hugging Face
Workflow
- Read
STATE.md; reset it fromreferences/template/STATE.template.mdfor a new run. Classify the request as discovery, local inference, authentication, publishing, training preparation, or troubleshooting. - Read only the matching domain reference:
references/discovery.mdfor model, dataset, or Space selection.references/inference.mdfor local inference.references/auth.mdfor private or gated access.references/publish.mdfor uploads.references/troubleshooting.mdfor errors.
- Inspect the actual runtime, package versions, hardware, authentication state, and requested asset metadata before proposing or running a command.
- Execute the smallest reproducible workflow that satisfies the request. Use
$download-modelsfor managed long-running model downloads when available. - Validate model or dataset identity, task compatibility, revision, output shape or files, and authorization scope as applicable.
- Record commands, assumptions, artifacts, validation, and unresolved issues
in
STATE.md.
Rules
- Never print or persist raw access tokens.
- Pin revisions when reproducibility matters.
- Do not install missing dependencies unless the user explicitly requests environment setup; follow the target project's dependency policy.
- Get explicit confirmation before publishing or overwriting remote Hub assets.
Output
Return concise results with exact commands used, verified artifact identifiers, environment assumptions, and the next diagnostic step when unresolved.