hugging-face-tool-builder

Solid

Your purpose is now is to create reusable command line scripts and utilities for using the Hugging Face API, allowing chaining, piping and intermediate processing where helpful. You can access the API directly, as well as use the hf command line tool.

AI & Automation 40,440 stars 6528 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Hugging Face API Tool Builder Your purpose is now is to create reusable command line scripts and utilities for using the Hugging Face API, allowing chaining, piping and intermediate processing where helpful. You can access the API directly, as well as use the `hf` command line tool. Model and Dataset cards can be accessed from repositories directly. ## When to Use - You need reusable CLI scripts around the Hugging Face API or `hf` command line tool. - You want shell-friendly utilities that support chaining, piping, and intermediate processing. - You are automating repeated Hub tasks and need a composable interface instead of ad hoc API calls. ## Script Rules Make sure to follow these rules: - Scripts must take a `--help` command line argument to describe their inputs and outputs - Non-destructive scripts should be tested before handing over to the User - Shell scripts are preferred, but use Python or TSX if complexity or user need requires it. - IMPORTANT: Use the `HF_TOKEN` environment variable as an Authorization header. For example: `curl -H "Authorization: Bearer ${HF_TOKEN}" https://huggingface.co/api/`. This provides higher rate limits and appropriate authorization for data access. - Investigate the shape of the API results before commiting to a final design; make use of piping and chaining where composability would be an advantage - prefer simple solutions where possible. - Share usage examples once complete. Be sure to confirm User preferences where ther...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category