How to Use Hugging Face repository card in Muse Code
Fetch a model or dataset repository's README card, including its Markdown and metadata. Use it to review documented uses, limitations, and licensing beyond the repository's search listing.
Prompts to try with Hugging Face repository card in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Hugging Face repository card to read openai/whisper-small and add its documented intended uses and limitations to our speech transcription evaluation plan.
Use Hugging Face repository card to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Hugging Face repository card and tell me what changed since last week.
Check Hugging Face repository card and summarize what you find in three bullet points.
Pull the newest data from Hugging Face repository card and give me the result as a table.
How to set up Hugging Face repository card in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Hugging Face repository card
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "huggingface-co/hub/card", "input": { "repo_id": "<repo_id>" } }'
Then paste one of the prompts above: Muse Code finds Hugging Face repository card on Spiral, shows the price and runs it.
Hugging Face repository card providers and prices
Spiral runs Hugging Face repository card through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Repo type | model or dataset | model | repo_type |
Every API field of Hugging Face · Card is on its tool page: open its card above.
What can you do with Hugging Face repository card in Muse Code?
Create a model and dataset review table for your project's ML task. A coding agent can compare Hub metadata and repository documentation with requirements already recorded in the project.
Prepare a repository license review
Shortlist models and datasets, collect their declared license metadata, and read their cards for the accompanying usage statements. Produce a review table with links to the original repositories.
Plan a model evaluation
Find candidate models and evaluation datasets, inspect their repository metadata, and extract documented tasks and limitations from their cards. Turn the findings into a proposed evaluation shortlist.
Build an internal ML catalog
Discover repositories from selected public organizations, inspect known model and dataset records, and add card summaries to a searchable internal catalog.
Check documentation before adoption
Find relevant model and dataset repositories, inspect their metadata, and read their cards. Build a checklist of documented uses, citations, and limitations that still need review.
Choose a model for a project
Search for models suited to the project's task, inspect each candidate's task and library information, and summarize the limitations documented in its card.
Select a training dataset
Discover datasets for the intended task, inspect descriptions and available configurations, and read the cards before proposing which data to evaluate.
More on Hugging Face repository card and Muse Code
Overview
Hugging Face repository card in other agents
Questions about Hugging Face repository card in Muse Code
Can Muse Code use Hugging Face repository card?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Hugging Face repository card like any built-in tool.
How much does Hugging Face repository card cost in Muse Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need an Alexandria account to use Hugging Face repository card in Muse Code?
No. Spiral runs Hugging Face repository card on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Hugging Face repository card in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Hugging Face repository card runs?
Hugging Face repository card runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
Does this cover models and datasets outside Hugging Face?
The data comes from repositories on Hugging Face Hub. A model or dataset hosted only elsewhere is outside this repository coverage.
How complete are repository records?
Many Hub metadata attributes are optional, and search listings contain fewer attributes than individual repository responses. Model cards are recommended to document training, evaluations, and limitations, but that recommendation does not establish that every card includes them.
What period do download counts cover?
The standard Hub downloads attribute covers the last 30 days for models and datasets. Cumulative downloads are defined separately.
Are download counts counts of people?
Model downloads count requests to designated files, including GET and HEAD requests. Dataset downloads combine files fetched from one repository within a five-minute window for the same IP-based user, so the two totals use different counting rules.
Where do license and language labels come from?
Hugging Face uses repository card metadata for these labels. Dataset cards can declare license, language, and size, while model cards also carry publisher-supplied metadata.
Start using Hugging Face repository card in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


