Skip to content
Back to skills

Sharing Cli Cache

ASecurity

"Share Datasets datasets to the Hub, operate datasets-cli, manage

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
businessperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill sharing-cli-cache --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sharing Cli Cache?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sharing Cli Cache
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sharing-cli-cache/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sharing-cli-cache)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sharing-cli-cache
description: "Share Datasets datasets to the Hub, operate datasets-cli, manage
  cache/download/offline settings, and troubleshoot safe Hub/cache workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Sharing, CLI, and Cache Operations

Use this sub-skill when the task involves publishing datasets to the Hugging Face Hub, preparing dataset repository metadata, running `datasets-cli`, controlling caches/downloads/offline mode, or diagnosing operational issues around auth, revisions, PRs, sharding, storage, and local filesystems.

## Route First

- For loading local files or Hub datasets, route to `../loading-local-hub/SKILL.md`.
- For `Features`, schema, media columns, and format conversion, route to `../features-formats/SKILL.md`.
- For `map`, streaming, iterable datasets, shuffling, multiprocessing transforms, and pipeline performance, route to `../processing-streaming/SKILL.md`.
- Stay here for `Dataset.push_to_hub`, `DatasetDict.push_to_hub`, dataset cards, repository structure, `datasets-cli`, `DownloadConfig`, cache directories, offline mode, and safe deletion from the Hub.

## What To Read

- Read `references/sharing-and-hub.md` for Hub upload planning, `push_to_hub` arguments, repository/card structure, auth/revision/PR choices, and private multi-config uploads.
- Read `references/cli-cache-reference.md` for `datasets-cli env`, `datasets-cli test`, `datasets-cli delete_from_hub`, cache environment variables, `DownloadConfig`, offline/local-files behavior, and fsspec storage options.
- Read `references/troubleshooting.md` when diagnosing token/private repo errors, dataset card metadata, sharding/embed problems, corrupted cache, offline surprises, fsspec auth, or destructive operations.
- Use `scripts/cli_cache_smoke.py --help` for a safe, local diagnostic helper that summarizes CLI/cache/offline settings and can optionally run non-destructive `datasets-cli` help/env commands.
- Copy or adapt `scripts/dataset_card_minimal.md` as a self-contained starting README template for Hub dataset repositories.

## Safety Defaults

- Treat upload/delete commands as network-mutating unless they are `--help`, `env`, or an explicit local dry-run helper.
- Never paste access tokens into logs, Markdown, command history, or dataset cards; prefer `token=True`, environment-backed auth, or the Hub login flow.
- Use `create_pr=True` or a PR revision for risky Hub updates when the caller does not own the target repo or wants review before merge.
- For destructive `datasets-cli delete_from_hub`, confirm the dataset id, config name, revision, and that the command deletes only the intended supported data-only configuration.
- Keep cache cleanup scoped: use a dedicated `cache_dir` for tests and inspect before deleting shared cache directories.

Files in this skill

  • SKILL.md2.8 KB
  • references/cli-cache-reference.md6.9 KB
  • references/sharing-and-hub.md6.7 KB
  • references/troubleshooting.md7.4 KB
  • scripts/cli_cache_smoke.py3.2 KB
  • scripts/dataset_card_minimal.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.