Skill Detail
huggingface
Standardized Hugging Face skill for MediaUse. Guest-only mode with no login requirement, strict context flow, full dynamic command map, and safety/rate controls.
Install This Skill
npx skills add mediause/agent-skills/huggingfaceskill.md
Use Hugging Face discovery workflows in MediaUse with a guest-only, no-login flow for papers, models, datasets, and spaces.
Use Hugging Face discovery workflows in MediaUse with a guest-only, no-login flow for papers, models, datasets, and spaces.
Scope
Use this skill when the task targets Hugging Face operations such as:
- Account: plugin health check
- Papers: top paper rankings, single paper detail
- Models: ranked model listing
- Datasets: ranked dataset listing
- Spaces: ranked space listing
Hugging Face in this plugin is guest-only. No login is required.
1. Install MediaUse CLI (Windows Only)
Use the official install script for Windows:
-
https://release.mediause.dev/install.ps1
Mandatory update rule: -
Before every run, execute the install script once to auto-install or auto-upgrade to the latest MediaUse CLI.
Run:
powershell -C "iwr https://release.mediause.dev/install.ps1 -UseBasicParsing | iex"
Then verify:
mediause --version
Current support status:
- Windows: supported
- Linux: not supported yet
- macOS: not supported yet
Recommended skill install path:
- .mediause/skills/huggingface/SKILL.md
2. Get and Configure MediaUse Key
2.1 Apply for key
- Open https://mediause.dev/
- Sign in to your account.
- Open Project.
- Create or copy your API key.
2.2 Configure key in CLI
mediause manage key <your_key> --json
3. Core Flow (Guest-Only, No Login)
Always follow this order:
First step on every run: execute install script once to auto-install/auto-upgrade the latest MediaUse CLI.
- Discover site and commands.
- Bind guest context with
use account huggingface:guest. - Execute dynamic read actions.
- Verify with trace/task.
Important constraints:
- Hugging Face plugin here only uses guest mode.
- Do not run
mediause auth login huggingface. - Do not require
mediause auth healthfor this plugin flow.
3.1 Discover and plugin setup
mediause plugin list --json
mediause plugin add huggingface --json
mediause huggingface -h
mediause huggingface get -h
mediause huggingface account -h
3.2 Bind guest context
mediause use account huggingface:guest --json
If the page/session is challenged (for example unusual traffic), rerun with visible mode:
mediause use account huggingface:guest --show --json
Risk reduction note:
--showusually lowers repeated anti-bot interception risk in challenged sessions.
4. Hugging Face Dynamic Command Map (v1)
Source manifest:
- plugin:
plugin.huggingface - file:
crates/platforms/plugins/huggingface/manifest.yaml
4.1 account.*
mediause huggingface account health --json
4.2 get.top
Top upvoted Hugging Face papers.
mediause huggingface get top [--limit <n>] [--all <bool>] [--date <YYYY-MM-DD>] [--period <daily|weekly|monthly>] --json
Notes:
--perioddefault isdaily--dateis for daily mode--all trueignores limit and returns full ranked set
4.3 get.models
Top Hugging Face models.
mediause huggingface get models [--sort <downloads|likes|trending|created_at|last_modified>] [--search <text>] [--pipeline <tag>] [--limit <n>] --json
4.4 get.datasets
Top Hugging Face datasets.
mediause huggingface get datasets [--sort <downloads|likes|trending|created_at|last_modified>] [--search <text>] [--limit <n>] --json
4.5 get.spaces
Top Hugging Face spaces.
mediause huggingface get spaces [--sort <likes|created_at|last_modified>] [--search <text>] [--sdk <gradio|streamlit|docker|static>] [--limit <n>] --json
4.6 get.paper
Hugging Face paper detail by arXiv id.
mediause huggingface get paper --id <arxiv_id> --json
Example ids:
1706.037622401.06196
5. Workflow Examples
5.1 Daily paper scan
mediause plugin add huggingface --json
mediause use account huggingface:guest --json
mediause huggingface get top --period daily --limit 20 --json
mediause trace last --json
5.2 Weekly leaderboard and model follow-up
mediause use account huggingface:guest --json
mediause huggingface get top --period weekly --limit 50 --json
mediause huggingface get models --sort downloads --search llama --limit 20 --json
mediause trace last --json
5.3 Dataset and space discovery
mediause use account huggingface:guest --json
mediause huggingface get datasets --sort likes --search multilingual --limit 20 --json
mediause huggingface get spaces --sort likes --sdk gradio --limit 20 --json
mediause trace last --json
5.4 Paper deep read
mediause use account huggingface:guest --json
mediause huggingface get paper --id 1706.03762 --json
mediause trace last --json
6. Operational Constraints (Mandatory)
6.1 Read-only and guest-only
- This plugin flow is read-only.
- Use
huggingface:guestonly. - Do not attempt write actions or login flow for this plugin.
6.2 Frequency limits and spacing
Suggested limits:
get top/models/datasets/spaces: <= 60 calls per minuteget paper: <= 30 calls per minute
Minimum spacing:
- list/ranking calls: >= 1 second between calls
- single paper detail calls: >= 2 seconds between calls
If throttled or blocked:
- Pause 30-60 seconds.
- Retry with lower call frequency.
- Re-bind guest context with
--showif challenge is present.
6.3 Safety policy
- Do not bypass anti-bot or platform protections.
- Do not scrape credentials or session secrets.
- Respect Hugging Face usage policies and local regulations.
6.4 Output and error handling
- Prefer
--jsonoutput for automation. - Keep stable machine-readable handling for errors.
- On HTTP 429 or challenge pages, stop and retry with cooldown.
7. Execution Checklist
Before run:
Before every run, execute the install script once.
- CLI installed via
https://release.mediause.dev/install.ps1on Windows. - PATH updated and
mediause --versionworks. - API key configured.
- Plugin installed and help output verified.
- Guest context bound using
mediause use account huggingface:guest --json.
During run:
- Use only read commands listed in this skill.
- Keep request spacing and avoid burst loops.
- Use
--showonly when challenge handling is needed.
After run:
- Save outputs/logs.
- Record retry/cooldown events.
- Keep traffic conservative for repeated polling jobs.
8. Quick Command Reference
# always run once before each workflow (auto-upgrade latest)
powershell -C "iwr https://release.mediause.dev/install.ps1 -UseBasicParsing | iex"
mediause --version
# discover
mediause plugin list --json
mediause plugin add huggingface --json
mediause huggingface -h
mediause huggingface get -h
# guest context
mediause use account huggingface:guest --json
# actions
mediause huggingface account health --json
mediause huggingface get top --period daily --limit 20 --json
mediause huggingface get models --sort downloads --limit 20 --json
mediause huggingface get datasets --sort likes --limit 20 --json
mediause huggingface get spaces --sort likes --limit 20 --json
mediause huggingface get paper --id 1706.03762 --json
# trace
mediause trace last --json
Skill Metadata
Maintainer: @mediause-demo
Last-Updated: 2026-05-21
Version: v1