Hugging Face
Use Hugging Face from your AI agent through ClawLink — browser login, no API key to paste, no config to edit. Connect Hugging Face once and the agent can read and act on it. Works in any agent that can run shell commands (Claude Code, Cursor, Codex, Cline, and more).
Setup
Run these once — the agent can run them for you:
npx @useclawlink/cli login # opens browser → approve (mints + stores a key)
npx @useclawlink/cli connect hugging-face # opens browser → authorize Hugging Face
No API key to create or paste — login stores the credential at ~/.clawlink/credentials.json.
Using Hugging Face
npx @useclawlink/cli actions hugging-face "<what you want to do>" # find an action
npx @useclawlink/cli describe hugging-face <action-id> # see its inputs (before writes)
npx @useclawlink/cli run hugging-face <action-id> --input '<json>' # execute
Reads first; confirm with the user before any write.
Available actions
| Action | Description |
|---|---|
hugging_face_generate_chat_completion |
Generate a chat completion response |
hugging_face_generate_embeddings |
Convert text into vector embeddings |
hugging_face_get_daily_papers |
Retrieve daily papers from Hugging Face |
hugging_face_filter_dataset_rows |
Filter rows in a dataset split |
hugging_face_create_collection |
Create a new collection on Hugging Face |
hugging_face_create_ask_access |
Request access to a gated repository |
hugging_face_check_dataset_validity |
Check whether a dataset is valid |
hugging_face_check_models_upload_method |
Check upload method for model files |
Notes
- No API key for Hugging Face itself — ClawLink holds the OAuth token; the agent only holds your ClawLink credential.
- Not connected yet, or access expired? Re-run
npx @useclawlink/cli connect hugging-face. - The action list above is a snapshot;
npx @useclawlink/cli actions hugging-faceis always current.
Resources
- ClawLink: https://claw-link.dev
- Docs: https://docs.claw-link.dev
- CLI: https://www.npmjs.com/package/@useclawlink/cli
Powered by ClawLink — connect 90+ apps to any AI agent.