Logo von Cli And Automation

Cli And Automation

Organisation
VectorSpaceLab
cli-and-automation

Routes reliable Hugging Face Hub CLI and shell automation, including hf output modes, authentication, file movement, repository and catalog operations, hosted jobs, extensions, and agent-skill generation. Use for hf command selection, JSON or quiet parsing, login and token handling, dry-run or confirmation planning, extensions, or compatible CLI skills.

Add to TypingMind

Übersicht

HerausgeberVectorSpaceLab
RepositoryAREX-Skill
Skill-Namecli-and-automation
Sterne
341
Forks
26
Mitgelieferte Dateien
6
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 6

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von VectorSpaceLab auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Cli And Automation in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/cli-and-automation
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/cli-and-automation .claude/skills/cli-and-automation
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Cli And Automation in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Cli And Automation automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Cli And Automation nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

CLI and Automation

Use this sub-skill when a researcher needs to select, explain, or safely automate the hf command-line interface. Treat the installed executable's --help as the release-specific authority: the generated CLI surface changes with the installed huggingface_hub version.

Trigger routes

Load this skill for:

  • “what hf command/flag should I use?” and shell scripts around the Hub;
  • human, JSON, quiet, or agent output, jq/pipeline parsing, or stderr hygiene;
  • login, token selection, HF_TOKEN, auth state, or non-interactive operation;
  • downloads, uploads, hf cp, bucket sync, URI/revision/type selection, or dry-run/plan/apply review;
  • repos, branches, tags, models, datasets, Spaces, cards, search, papers, discussions, webhooks, cache, endpoints, buckets, Jobs, or sandboxes;
  • trusted CLI extension install/update/remove/dispatch or extension authoring;
  • hf skills add, update, preview, marketplace skills, or the implicit skill freshness check.

First route: establish the executable

Read CLI reference before using a detailed flag. Run only safe probes first:

bash
command -v hf && hf --help
hf version
hf --version

hf is the supported entry point. huggingface-cli is a deprecated entry point and may warn and exit instead of providing the old CLI. tiny-agents is a separate MCP/agent CLI, not an alias for hf; inspect it with tiny-agents --help and do not infer its syntax from this skill. If the commands resolve to different installations, report the paths and use the one intended by the current environment.

Safe operating loop

  1. Classify the request as read-only, local-only, Hub mutation, or hosted compute. Ask for the target namespace/repo and permission when a mutation is intended; placeholders are not authorization.
  2. Check hf <group> --help and then hf <group> <command> --help for the installed version. Do not copy a flag from an older generated reference without checking help.
  3. Select an explicit output mode for scripts. Parse stdout only; keep stderr visible for warnings, hints, errors, and progress diagnostics.
  4. Supply credentials through the environment or a supported secret-file mechanism. Never print, echo, log, commit, or put a token in a URL.
  5. For movement or deletion, preview first (--dry-run, --plan, or a read-only list), inspect the exact target and action set, then obtain confirmation before applying.
  6. Pin --repo-type/--revision or encode them in one hf:// URI. Never combine URI-encoded type/revision/path with duplicate positional/options.
  7. Check exit status. For Jobs and Spaces, a streamed log ending is not proof of success; inspect or wait for the terminal status.
  8. Record the command, selected version, output mode, target, and whether the operation was previewed. Redact credentials from logs.

Progressive disclosure

  • Use CLI reference for the command catalog, verified flags, aliases, output semantics, URI rules, safety boundaries, and the skills/extensions surface.
  • Use automation workflows for safe stdout/stderr pipelines, download dry runs, bucket plan/apply, job control, and mutation gates.
  • Use API reference only when output or the lightweight Click-compatible framework explains a surprising CLI behavior.
  • Use development when generated CLI docs, static imports, or release-surface drift is involved.
  • Use troubleshooting for installation, auth, parsing, URI, network, extension, and generated-doc failures.
  • Run the bundled read-only help checker when entry-point health or a bounded help smoke test is useful. It accepts only a trusted executable named hf, bounded timeouts/probe counts, and exact allowlisted built-in command paths with no arguments; every invocation ends in --help. It never invokes a mutating command and always disables startup update checks for its child processes.

Routing map

NeedRoute
Format, parse, auth, shell safetyCLI reference → automation workflows
Download/cache/read pathdownloads-and-storage sibling, then this skill for CLI flags
Upload, repo CRUD, branches/tags, discussionshub-operations sibling, with this skill for command routing
Models/datasets/Spaces catalog or cardsthis skill; route inference endpoint details to its sibling
Jobs, sandboxes, buckets, cloud storagethis skill; use dry-run/plan gates
Python API rather than a terminal commandthe relevant sibling/API skill

This sub-skill does not replace the sibling operating skills for detailed Python APIs, inference behavior, cache internals, or Hub mutation policy. It owns the CLI boundary and automation contract.

Non-negotiable safety rules

  • An example that creates, uploads, deletes, changes visibility, changes a Space, manages a webhook, installs an extension/skill, launches compute, or applies a plan is a mutation. Use a clearly marked mutation example only after target and authorization are confirmed; prefer placeholders.
  • --yes bypasses a confirmation gate; it does not make the target safe. Never add it merely to make a script non-interactive.
  • --format json does not mean every command is non-interactive. In particular, login's browser/menu flow has restrictions; use an environment token for automation.
  • hf auth token intentionally prints a secret. Treat it as a narrow, deliberate pipe, never as a diagnostic command.
  • Do not use hf cp for local-to-local or unsupported bucket-to-repo copies; use the documented alternative. Do not pass a directory to single-file cp.
  • hf skills preview produces generated target-side hf-cli/SKILL.md content. That generated file is distinct from this managed huggingface-hub/sub-skills/cli-and-automation/ skill; do not overwrite or present one as the other.

Verification targets

A useful route ends with observable evidence: help exits zero; stdout parses under the selected mode; stderr remains separate; a dry-run/plan reports the intended actions without payload mutation; refused confirmation exits non-zero; and a final status command verifies the operation. For the difficult synthetic case, use a fake CLI/API fixture or help-only invocation to exercise a hf download --dry-run --format json parse, preserve a warning on stderr, and prove that hf repos delete without --yes is refused before any delete API call. Broad production-marked native tests do not establish this end-to-end shell contract.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Cli And Automation?

Routes reliable Hugging Face Hub CLI and shell automation, including hf output modes, authentication, file movement, repository and catalog operations, hosted jobs, extensions, and agent-skill generation. Use for hf command selection, JSON or quiet parsing, login and token handling, dry-run or confirmation planning, extensions, or compatible CLI skills.

Warum Cli And Automation in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Cli And Automation besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Cli And Automation in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/cli-and-automation ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Cli And Automation nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Cli And Automation verwenden?

So viele Sie möchten. In TypingMind können Sie Cli And Automation mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Cli And Automation kostenlos?

Ja. Der Skill wird von VectorSpaceLab auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇