[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F0R26KYP9D9ZY7SSBZV694":3,"skill-same:01M7F0R26KYP9D9ZY7SSBZV694":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7F0R26KYP9D9ZY7SSBZV694","huggingface-tool-builder",null,"Use this skill when the user wants to build tool\u002Fscripts or achieve a task where using data from the Hugging Face API would help. This is especially useful when chaining or combining API calls or the task will be repeated\u002Fautomated.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fhuggingface-tool-builder\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: huggingface-tool-builder\ndescription: \"Use this skill when the user wants to build tool\u002Fscripts or achieve a task where using data from the Hugging Face API would help. This is especially useful when chaining or combining API calls or the task will be repeated\u002Fautomated.\"\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Fhuggingface-tool-builder\nsource_repo: huggingface\u002Fskills\nsource_type: official\ndate_added: 2026-07-01\nlicense: Apache-2.0\nlicense_source: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Hugging Face API Tool Builder\n## When to Use\n\nUse this skill when the user wants to build tool\u002Fscripts or achieve a task where using data from the Hugging Face API would help. This is especially useful when chaining or combining API calls or the task will be repeated\u002Fautomated. This Skill creates a reusable script to fetch, enrich...\n\n\nYour 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.\n\n## Script Rules\n\nMake sure to follow these rules:\n - Scripts must take a `--help` command line argument to describe their inputs and outputs\n - Non-destructive scripts should be tested before handing over to the User\n - Shell scripts are preferred, but use Python or TSX if complexity or user need requires it.\n - IMPORTANT: Use the `HF_TOKEN` environment variable as an Authorization header. For example: `curl -H \"Authorization: Bearer ${HF_TOKEN}\" https:\u002F\u002Fhuggingface.co\u002Fapi\u002F`. This provides higher rate limits and appropriate authorization for data access.\n - 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.\n - Share usage examples once complete.\n\nBe sure to confirm User preferences where there are questions or clarifications needed.\n\n## Sample Scripts\n\nPaths below are relative to this skill directory.\n\nReference examples:\n- `references\u002Fhf_model_papers_auth.sh` — uses `HF_TOKEN` automatically and chains trending → model metadata → model card parsing with fallbacks; it demonstrates multi-step API usage plus auth hygiene for gated\u002Fprivate content.\n- `references\u002Ffind_models_by_paper.sh` — optional `HF_TOKEN` usage via `--token`, consistent authenticated search, and a retry path when arXiv-prefixed searches are too narrow; it shows resilient query strategy and clear user-facing help.\n- `references\u002Fhf_model_card_frontmatter.sh` — uses the `hf` CLI to download model cards, extracts YAML frontmatter, and emits NDJSON summaries (license, pipeline tag, tags, gated prompt flag) for easy filtering.\n\nBaseline examples (ultra-simple, minimal logic, raw JSON output with `HF_TOKEN` header):\n- `references\u002Fbaseline_hf_api.sh` — bash\n- `references\u002Fbaseline_hf_api.py` — python\n- `references\u002Fbaseline_hf_api.tsx` — typescript executable\n\nComposable utility (stdin → NDJSON):\n- `references\u002Fhf_enrich_models.sh` — reads model IDs from stdin, fetches metadata per ID, emits one JSON object per line for streaming pipelines.\n\nComposability through piping (shell-friendly JSON output):\n- `references\u002Fbaseline_hf_api.sh 25 | jq -r '.[].id' | references\u002Fhf_enrich_models.sh | jq -s 'sort_by(.downloads) | reverse | .[:10]'`\n- `references\u002Fbaseline_hf_api.sh 50 | jq '[.[] | {id, downloads}] | sort_by(.downloads) | reverse | .[:10]'`\n- `printf '%s\\n' openai\u002Fgpt-oss-120b meta-llama\u002FMeta-Llama-3.1-8B | references\u002Fhf_model_card_frontmatter.sh | jq -s 'map({id, license, has_extra_gated_prompt})'`\n\n## High Level Endpoints\n\nThe following are the main API endpoints available at `https:\u002F\u002Fhuggingface.co`\n\n```\n\u002Fapi\u002Fdatasets\n\u002Fapi\u002Fmodels\n\u002Fapi\u002Fspaces\n\u002Fapi\u002Fcollections\n\u002Fapi\u002Fdaily_papers\n\u002Fapi\u002Fnotifications\n\u002Fapi\u002Fsettings\n\u002Fapi\u002Fwhoami-v2\n\u002Fapi\u002Ftrending\n\u002Foauth\u002Fuserinfo\n```\n\n## Accessing the API\n\nThe API is documented with the OpenAPI standard at `https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json`.\n\n**IMPORTANT:** DO NOT ATTEMPT to read `https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json` directly as it is too large to process.\n\n**IMPORTANT** Use `jq` to query and extract relevant parts. For example,\n\n Command to Get All 160 Endpoints\n\n```bash\ncurl -s \"https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json\" | jq '.paths | keys | sort'\n```\n\nModel Search Endpoint Details\n\n```bash\ncurl -s \"https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json\" | jq '.paths[\"\u002Fapi\u002Fmodels\"]'\n```\n\nYou can also query endpoints to see the shape of the data. When doing so constrain results to low numbers to make them easy to process, yet representative.\n\n## Using the HF command line tool\n\nThe `hf` command line tool gives you further access to Hugging Face repository content and infrastructure.\n\n```bash\n❯ hf --help\nUsage: hf [OPTIONS] COMMAND [ARGS]...\n\n  Hugging Face Hub CLI\n\nOptions:\n  --help                Show this message and exit.\n\nCommands:\n  auth                 Manage authentication (login, logout, etc.).\n  buckets              Commands to interact with buckets.\n  cache                Manage local cache directory.\n  collections          Interact with collections on the Hub.\n  datasets             Interact with datasets on the Hub.\n  discussions          Manage discussions and pull requests on the Hub.\n  download             Download files from the Hub.\n  endpoints            Manage Hugging Face Inference Endpoints.\n  env                  Print information about the environment.\n  extensions           Manage hf CLI extensions.\n  jobs                 Run and manage Jobs on the Hub.\n  models               Interact with models on the Hub.\n  papers               Interact with papers on the Hub.\n  repos                Manage repos on the Hub.\n  skills               Manage skills for AI assistants.\n  spaces               Interact with spaces on the Hub.\n  sync                 Sync files between local directory and a bucket.\n  upload               Upload a file or a folder to the Hub.\n  upload-large-folder  Upload a large folder to the Hub.\n  version              Print information about the hf version.\n  webhooks             Manage webhooks on the Hub.\n```\n\nThe `hf` CLI command has replaced the now deprecated `huggingface-cli` command.\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# Hugging Face API Tool Builder\n## When to Use\n\nUse this skill when the user wants to build tool\u002Fscripts or achieve a task where using data from the Hugging Face API would help. This is especially useful when chaining or combining API calls or the task will be repeated\u002Fautomated. This Skill creates a reusable script to fetch, enrich...\n\n\nYour 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.\n\n## Script Rules\n\nMake sure to follow these rules:\n - Scripts must take a `--help` command line argument to describe their inputs and outputs\n - Non-destructive scripts should be tested before handing over to the User\n - Shell scripts are preferred, but use Python or TSX if complexity or user need requires it.\n - IMPORTANT: Use the `HF_TOKEN` environment variable as an Authorization header. For example: `curl -H \"Authorization: Bearer ${HF_TOKEN}\" https:\u002F\u002Fhuggingface.co\u002Fapi\u002F`. This provides higher rate limits and appropriate authorization for data access.\n - 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.\n - Share usage examples once complete.\n\nBe sure to confirm User preferences where there are questions or clarifications needed.\n\n## Sample Scripts\n\nPaths below are relative to this skill directory.\n\nReference examples:\n- `references\u002Fhf_model_papers_auth.sh` — uses `HF_TOKEN` automatically and chains trending → model metadata → model card parsing with fallbacks; it demonstrates multi-step API usage plus auth hygiene for gated\u002Fprivate content.\n- `references\u002Ffind_models_by_paper.sh` — optional `HF_TOKEN` usage via `--token`, consistent authenticated search, and a retry path when arXiv-prefixed searches are too narrow; it shows resilient query strategy and clear user-facing help.\n- `references\u002Fhf_model_card_frontmatter.sh` — uses the `hf` CLI to download model cards, extracts YAML frontmatter, and emits NDJSON summaries (license, pipeline tag, tags, gated prompt flag) for easy filtering.\n\nBaseline examples (ultra-simple, minimal logic, raw JSON output with `HF_TOKEN` header):\n- `references\u002Fbaseline_hf_api.sh` — bash\n- `references\u002Fbaseline_hf_api.py` — python\n- `references\u002Fbaseline_hf_api.tsx` — typescript executable\n\nComposable utility (stdin → NDJSON):\n- `references\u002Fhf_enrich_models.sh` — reads model IDs from stdin, fetches metadata per ID, emits one JSON object per line for streaming pipelines.\n\nComposability through piping (shell-friendly JSON output):\n- `references\u002Fbaseline_hf_api.sh 25 | jq -r '.[].id' | references\u002Fhf_enrich_models.sh | jq -s 'sort_by(.downloads) | reverse | .[:10]'`\n- `references\u002Fbaseline_hf_api.sh 50 | jq '[.[] | {id, downloads}] | sort_by(.downloads) | reverse | .[:10]'`\n- `printf '%s\\n' openai\u002Fgpt-oss-120b meta-llama\u002FMeta-Llama-3.1-8B | references\u002Fhf_model_card_frontmatter.sh | jq -s 'map({id, license, has_extra_gated_prompt})'`\n\n## High Level Endpoints\n\nThe following are the main API endpoints available at `https:\u002F\u002Fhuggingface.co`\n\n```\n\u002Fapi\u002Fdatasets\n\u002Fapi\u002Fmodels\n\u002Fapi\u002Fspaces\n\u002Fapi\u002Fcollections\n\u002Fapi\u002Fdaily_papers\n\u002Fapi\u002Fnotifications\n\u002Fapi\u002Fsettings\n\u002Fapi\u002Fwhoami-v2\n\u002Fapi\u002Ftrending\n\u002Foauth\u002Fuserinfo\n```\n\n## Accessing the API\n\nThe API is documented with the OpenAPI standard at `https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json`.\n\n**IMPORTANT:** DO NOT ATTEMPT to read `https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json` directly as it is too large to process.\n\n**IMPORTANT** Use `jq` to query and extract relevant parts. For example,\n\n Command to Get All 160 Endpoints\n\n```bash\ncurl -s \"https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json\" | jq '.paths | keys | sort'\n```\n\nModel Search Endpoint Details\n\n```bash\ncurl -s \"https:\u002F\u002Fhuggingface.co\u002F.well-known\u002Fopenapi.json\" | jq '.paths[\"\u002Fapi\u002Fmodels\"]'\n```\n\nYou can also query endpoints to see the shape of the data. When doing so constrain results to low numbers to make them easy to process, yet representative.\n\n## Using the HF command line tool\n\nThe `hf` command line tool gives you further access to Hugging Face repository content and infrastructure.\n\n```bash\n❯ hf --help\nUsage: hf [OPTIONS] COMMAND [ARGS]...\n\n  Hugging Face Hub CLI\n\nOptions:\n  --help                Show this message and exit.\n\nCommands:\n  auth                 Manage authentication (login, logout, etc.).\n  buckets              Commands to interact with buckets.\n  cache                Manage local cache directory.\n  collections          Interact with collections on the Hub.\n  datasets             Interact with datasets on the Hub.\n  discussions          Manage discussions and pull requests on the Hub.\n  download             Download files from the Hub.\n  endpoints            Manage Hugging Face Inference Endpoints.\n  env                  Print information about the environment.\n  extensions           Manage hf CLI extensions.\n  jobs                 Run and manage Jobs on the Hub.\n  models               Interact with models on the Hub.\n  papers               Interact with papers on the Hub.\n  repos                Manage repos on the Hub.\n  skills               Manage skills for AI assistants.\n  spaces               Interact with spaces on the Hub.\n  sync                 Sync files between local directory and a bucket.\n  upload               Upload a file or a folder to the Hub.\n  upload-large-folder  Upload a large folder to the Hub.\n  version              Print information about the hf version.\n  webhooks             Manage webhooks on the Hub.\n```\n\nThe `hf` CLI command has replaced the now deprecated `huggingface-cli` command.\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":24,"source":25,"license":15,"date_added":26,"description":7,"source_repo":27,"source_type":28,"license_source":29},"critical","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Fhuggingface-tool-builder",1782864000000,"huggingface\u002Fskills","official","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fhuggingface-tool-builder",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill huggingface-tool-builder",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill huggingface-tool-builder",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill huggingface-tool-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fhuggingface-tool-builder\u002FSKILL.md",true,[],[53,61,66,73,80,87],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":62,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]