[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M753GAXT5D6WZEEXQ1JNYFZH":3,"skill-same:01M753GAXT5D6WZEEXQ1JNYFZH":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M753GAXT5D6WZEEXQ1JNYFZH","inference-and-endpoints",null,"Run hosted model inference and manage Hugging Face Inference Endpoints with sync or async clients, provider-aware payloads, streaming, tools, structured outputs, MCP, and safe lifecycle recovery.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: inference-and-endpoints\ndescription: \"Run hosted model inference and manage Hugging Face Inference Endpoints with sync or async clients, provider-aware payloads, streaming, tools, structured outputs, MCP, and safe lifecycle recovery.\"\nlicense: Apache-2.0\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\n---\n\n# Inference And Endpoints\n\nUse this route for hosted inference through `InferenceClient` or\n`AsyncInferenceClient`, a provider\u002Ftoken\u002Fbase URL decision, task payloads or\nbinary media, OpenAI-compatible chat, streaming, tools or structured JSON,\nMCP client\u002Fagent workflows, or the deployment and lifecycle of an Inference\nEndpoint. This skill targets `huggingface_hub` 1.29.0 evidence.\n\n## Route Before Calling\n\n| Request | Route |\n|---|---|\n| Serverless Hub\u002Fprovider prediction | `InferenceClient` or `AsyncInferenceClient`; read [providers and tasks](references\u002Fproviders-and-tasks.md). |\n| Dedicated HF-managed deployment | `HfApi`\u002Froot endpoint helpers and `InferenceEndpoint`; read [workflows](references\u002Fworkflows.md). |\n| Chat with an OpenAI-shaped API | `client.chat.completions.create`, an alias of `chat_completion`. |\n| Tools, function calls, JSON mode, or schema output | Chat route plus [task types](references\u002Ftask-types.md) and provider caveats. |\n| MCP servers or a tiny tool-using agent | Install the optional `mcp` extra, then read [workflows](references\u002Fworkflows.md). |\n| Local vLLM\u002FTGI\u002FOllama\u002FLiteLLM server | Use `model`\u002F`base_url` as an OpenAI-compatible URL; this route does not install or run the server. |\n| Hub repositories, downloads, jobs, Spaces, or CLI output in general | Use the sibling sub-skill rather than this route. |\n\nDo not confuse `InferenceClient` (an HTTP prediction client for the HF router,\nproviders, deployed URLs, or compatible servers) with `InferenceEndpoints` API\nmethods (deployment configuration and lifecycle). An Inference Endpoint can\nlater be used as the client's URL.\n\n## Safe Setup And Identity\n\n- Base hosted inference needs the package and its HTTP dependencies; it does\n  **not** require a local GPU, CUDA, `torch`, or model download. Install only\n  what the requested surface needs: `pip install \"huggingface_hub\"`,\n  `pip install Pillow` to decode image outputs, `pip install numpy` for\n  embedding arrays, or `pip install \"huggingface_hub[mcp]\"` before connecting\n  to MCP servers. There is no runtime `inference` extra; the repository's\n  `testing` extra is for maintainers, not application setup.\n- Keep credentials out of prompts, request bodies, logs, notebooks, and\n  examples. Prefer a secret manager or `HF_TOKEN`\u002Fan existing `hf auth login`;\n  pass a placeholder in documentation. A Hugging Face `hf_...` key uses HF\n  routing\u002Fbilling; a provider key uses direct provider access. `bill_to` only\n  applies to an eligible HF organization and is ignored for external keys.\n- Resolve model identity before the request: a Hub model ID must support the\n  selected task, and a third-party provider route also needs a compatible\n  provider mapping; a deployed\u002Flocal URL is a direct target. With a model ID,\n  `provider=\"auto\"` selects from mapped providers (chat uses the server-side\n  auto-router). With no model, `None` or `\"auto\"` falls back to the recommended\n  `hf-inference` model for that task. A URL is direct and should not be paired\n  with a provider. Pin `model` explicitly for repeatability.\n- `model` and `base_url` are constructor aliases and mutually exclusive, as are\n  `token` and `api_key`. For chat, a URL supplied by either constructor name is\n  normalized to a `\u002Fv1\u002Fchat\u002Fcompletions` route unless it already ends in\n  `\u002Fchat\u002Fcompletions`; other tasks use the URL unchanged. The implementation\n  stores either constructor spelling identically; `base_url` is the\n  OpenAI-compatible name. With a constructor URL and a call-time `model=`, the\n  URL remains the transport target and the call-time value becomes the JSON\n  payload model.\n- Set `timeout` when a bounded request is required. `None` means no client-side\n  request deadline. Use one client per configured identity and close it,\n  especially the async client and any partially consumed stream.\n\nRead [API reference](references\u002Fapi-reference.md) for inspected signatures,\nreturn types, endpoint classes, and sync\u002Fasync parity before coding.\n\n## Task And Output Workflow\n\n1. Select a task family and a model\u002Fprovider combination from [providers and\n   tasks](references\u002Fproviders-and-tasks.md); do not assume every provider\n   supports every task.\n2. Construct the task-specific input. Text tasks take strings or batches;\n   vision\u002Faudio tasks accept bytes, binary file objects, `Path`, URL, or PIL\n   input where supported. A string is a URL or path, not raw binary content.\n3. Call the typed method. Representative contracts are `text_generation`\n   (string, detailed output, or iterable), `chat_completion` (output object or\n   stream), `feature_extraction` (`numpy.ndarray`), and `text_to_image`\n   (`PIL.Image`). [Task types](references\u002Ftask-types.md) covers generated\n   dataclasses and payload shapes without making the router a catalog.\n4. For `stream=True`, consume synchronously with `for` or asynchronously with\n   `async for` over the awaited async result. Chat deltas may contain content,\n   reasoning, tool-call fragments, finish reasons, or a usage-only final chunk;\n   do not assume every chunk has content.\n5. Record model, provider mode, task, non-secret request ID\u002Fstatus, output\n   shape, and typed exception. Never record authorization headers or raw\n   private media.\n\n`text_generation` is for a prompt. Use chat for message history so the client\nand server apply the model's chat format. `details=True` and detailed stream\nobjects are backend-dependent, especially for TGI. Provider-specific options\nbelong in `extra_body` only after checking that provider's contract.\n\n## Chat, Tools, And Structured Output\n\nUse OpenAI-shaped `messages` with valid roles and content. Function tools are\nschemas, not executable Python: validate names and JSON arguments yourself,\napply least privilege, and only execute an approved function after checking\nits arguments. `tool_choice` may be `\"auto\"`, `\"none\"`, `\"required\"`, or a\nprovider-supported named function object. Provider\u002Fmodel support is not\nuniform; see [providers and tasks](references\u002Fproviders-and-tasks.md).\n\nUse `response_format={\"type\": \"json_object\"}` for valid JSON where supported,\nor `{\"type\": \"json_schema\", \"json_schema\": {\"name\": ..., \"schema\": ...,\n\"strict\": True}}` for schema-constrained output. Keep the schema finite,\nvalid JSON Schema, and aligned with the prompt. Parse and validate the returned\nmessage content; a response-format request is not a substitute for validation.\nFor HF Inference, the implementation translates JSON schema to its supported\ngrammar form, so check the provider before relying on strict behavior.\n\nOpenAI migration requires replacing the import\u002Fclient and selecting a valid\nHF model\u002Fprovider or compatible URL; it is not a promise that every OpenAI\nparameter or provider feature is portable. `client.chat.completions.create` is\nan alias, not a separate transport.\n\n## Async And MCP\n\n`AsyncInferenceClient` has the same representative input signatures and\nreturns awaitables or `AsyncIterable` streams. Run it inside an asyncio\ncontext, `await` ordinary calls and the stream-producing call, then cancel or\nclose the consumer on early termination. Do not use synchronous iteration on an\nasync stream.\n\nMCP is experimental and optional. Importing the public class can succeed\nwithout the optional dependency because the MCP package is loaded when a\nserver connection is opened; install the `mcp` extra before using that path.\n`MCPClient` can attach `stdio`, `sse`, or streamable `http` servers, discover\nallowed tools, stream a turn, and execute a tool only through the session that\nregistered its name. `Agent` wraps a bounded MCP loop. Use placeholder\nURLs\u002Fcommands, an explicit narrow `allowed_tools` list (empty to expose none),\nisolated working directories, and explicit headers; never put real credentials\nin a sample or allow an untrusted stdio command. Use an async context manager\nand call `cleanup` on manual paths.\n\n## Endpoint Lifecycle\n\nUse `list_inference_endpoints_hardware` first to resolve valid vendor, region,\naccelerator, instance type\u002Fsize and quota. Then create with\n`create_inference_endpoint` (or the experimental catalog helper), inspect the\nreturned `InferenceEndpoint`, and wait for a healthy `running` state before\naccessing `.client`\u002F`.async_client`. `wait(timeout=..., refresh_every=...)`\nmutates the object and raises typed endpoint errors on failure or timeout.\n\nThe object aliases `fetch`, `update`, `pause`, `resume`, `scale_to_zero`, and\n`delete` to HfApi operations; root helpers are also available. Paused endpoints\nneed explicit resume; scaled-to-zero endpoints restart on request with cold\nstart. Delete is irreversible. Treat `secrets` and custom image credentials\nas write-only. For engine images, parallelism belongs in the image config;\n`container_args` are engine flags and are not equivalent. See [workflows](references\u002Fworkflows.md).\n\n## Diagnose And Verify\n\nStart with the exact signature and selected task\u002Fprovider, then inspect the\nprepared request only with a mock transport. A missing token\u002Fprovider mapping,\nunsupported task\u002Fprovider, malformed messages\u002Ftools\u002Fschema, binary MIME\u002Fpath,\nstream event, timeout\u002Frate-limit, billing, endpoint state, or custom-image\nerror should be diagnosed using [troubleshooting](references\u002Ftroubleshooting.md).\nUse typed errors and bounded recovery; do not blindly retry non-idempotent\nendpoint mutations or repeat paid inference.\n\nNo live inference, model download, deployment, or endpoint deletion is part of\nthis skill verification. Run the safe synthetic transport case instead:\n\n```bash\nPYTHONPATH=src python skills\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Fscripts\u002Fmock_chat_recovery.py\n# In an installed-package project, omit `PYTHONPATH=src`.\n```\n\nThe script asserts no real network or token use while exercising chat tools and\nJSON schema, async stream cancellation, and an explicit provider fallback.\nNative VCR\u002Fproduction tests cover individual payloads and recorded services,\nnot this full cross-provider recovery\u002Fcancellation composition; its limitation\nis documented in the script and [workflows](references\u002Fworkflows.md).\n\n## Progressive Disclosure\n\n- [api-reference.md](references\u002Fapi-reference.md) — verified constructors,\n  representative task signatures, output types, endpoint APIs, and aliases.\n- [workflows.md](references\u002Fworkflows.md) — safe mocked client flows, async\n  streaming\u002Fcancellation, MCP setup, endpoint planning, and `hf endpoints\n  --help` discovery.\n- [providers-and-tasks.md](references\u002Fproviders-and-tasks.md) — provider\u002Ftask\n  matrix, routing semantics, billing and capability caveats.\n- [task-types.md](references\u002Ftask-types.md) — generated type system and\n  practical text\u002Fchat\u002Fbinary\u002Fembedding payload shapes.\n- [troubleshooting.md](references\u002Ftroubleshooting.md) — typed failure diagnosis\n  and narrow recovery for all supported surfaces.\n- [development.md](references\u002Fdevelopment.md) — maintainer-only generated-file\n  policy; never ask runtime users to invoke source generators.\n","# Inference And Endpoints\n\nUse this route for hosted inference through `InferenceClient` or\n`AsyncInferenceClient`, a provider\u002Ftoken\u002Fbase URL decision, task payloads or\nbinary media, OpenAI-compatible chat, streaming, tools or structured JSON,\nMCP client\u002Fagent workflows, or the deployment and lifecycle of an Inference\nEndpoint. This skill targets `huggingface_hub` 1.29.0 evidence.\n\n## Route Before Calling\n\n| Request | Route |\n|---|---|\n| Serverless Hub\u002Fprovider prediction | `InferenceClient` or `AsyncInferenceClient`; read [providers and tasks](references\u002Fproviders-and-tasks.md). |\n| Dedicated HF-managed deployment | `HfApi`\u002Froot endpoint helpers and `InferenceEndpoint`; read [workflows](references\u002Fworkflows.md). |\n| Chat with an OpenAI-shaped API | `client.chat.completions.create`, an alias of `chat_completion`. |\n| Tools, function calls, JSON mode, or schema output | Chat route plus [task types](references\u002Ftask-types.md) and provider caveats. |\n| MCP servers or a tiny tool-using agent | Install the optional `mcp` extra, then read [workflows](references\u002Fworkflows.md). |\n| Local vLLM\u002FTGI\u002FOllama\u002FLiteLLM server | Use `model`\u002F`base_url` as an OpenAI-compatible URL; this route does not install or run the server. |\n| Hub repositories, downloads, jobs, Spaces, or CLI output in general | Use the sibling sub-skill rather than this route. |\n\nDo not confuse `InferenceClient` (an HTTP prediction client for the HF router,\nproviders, deployed URLs, or compatible servers) with `InferenceEndpoints` API\nmethods (deployment configuration and lifecycle). An Inference Endpoint can\nlater be used as the client's URL.\n\n## Safe Setup And Identity\n\n- Base hosted inference needs the package and its HTTP dependencies; it does\n  **not** require a local GPU, CUDA, `torch`, or model download. Install only\n  what the requested surface needs: `pip install \"huggingface_hub\"`,\n  `pip install Pillow` to decode image outputs, `pip install numpy` for\n  embedding arrays, or `pip install \"huggingface_hub[mcp]\"` before connecting\n  to MCP servers. There is no runtime `inference` extra; the repository's\n  `testing` extra is for maintainers, not application setup.\n- Keep credentials out of prompts, request bodies, logs, notebooks, and\n  examples. Prefer a secret manager or `HF_TOKEN`\u002Fan existing `hf auth login`;\n  pass a placeholder in documentation. A Hugging Face `hf_...` key uses HF\n  routing\u002Fbilling; a provider key uses direct provider access. `bill_to` only\n  applies to an eligible HF organization and is ignored for external keys.\n- Resolve model identity before the request: a Hub model ID must support the\n  selected task, and a third-party provider route also needs a compatible\n  provider mapping; a deployed\u002Flocal URL is a direct target. With a model ID,\n  `provider=\"auto\"` selects from mapped providers (chat uses the server-side\n  auto-router). With no model, `None` or `\"auto\"` falls back to the recommended\n  `hf-inference` model for that task. A URL is direct and should not be paired\n  with a provider. Pin `model` explicitly for repeatability.\n- `model` and `base_url` are constructor aliases and mutually exclusive, as are\n  `token` and `api_key`. For chat, a URL supplied by either constructor name is\n  normalized to a `\u002Fv1\u002Fchat\u002Fcompletions` route unless it already ends in\n  `\u002Fchat\u002Fcompletions`; other tasks use the URL unchanged. The implementation\n  stores either constructor spelling identically; `base_url` is the\n  OpenAI-compatible name. With a constructor URL and a call-time `model=`, the\n  URL remains the transport target and the call-time value becomes the JSON\n  payload model.\n- Set `timeout` when a bounded request is required. `None` means no client-side\n  request deadline. Use one client per configured identity and close it,\n  especially the async client and any partially consumed stream.\n\nRead [API reference](references\u002Fapi-reference.md) for inspected signatures,\nreturn types, endpoint classes, and sync\u002Fasync parity before coding.\n\n## Task And Output Workflow\n\n1. Select a task family and a model\u002Fprovider combination from [providers and\n   tasks](references\u002Fproviders-and-tasks.md); do not assume every provider\n   supports every task.\n2. Construct the task-specific input. Text tasks take strings or batches;\n   vision\u002Faudio tasks accept bytes, binary file objects, `Path`, URL, or PIL\n   input where supported. A string is a URL or path, not raw binary content.\n3. Call the typed method. Representative contracts are `text_generation`\n   (string, detailed output, or iterable), `chat_completion` (output object or\n   stream), `feature_extraction` (`numpy.ndarray`), and `text_to_image`\n   (`PIL.Image`). [Task types](references\u002Ftask-types.md) covers generated\n   dataclasses and payload shapes without making the router a catalog.\n4. For `stream=True`, consume synchronously with `for` or asynchronously with\n   `async for` over the awaited async result. Chat deltas may contain content,\n   reasoning, tool-call fragments, finish reasons, or a usage-only final chunk;\n   do not assume every chunk has content.\n5. Record model, provider mode, task, non-secret request ID\u002Fstatus, output\n   shape, and typed exception. Never record authorization headers or raw\n   private media.\n\n`text_generation` is for a prompt. Use chat for message history so the client\nand server apply the model's chat format. `details=True` and detailed stream\nobjects are backend-dependent, especially for TGI. Provider-specific options\nbelong in `extra_body` only after checking that provider's contract.\n\n## Chat, Tools, And Structured Output\n\nUse OpenAI-shaped `messages` with valid roles and content. Function tools are\nschemas, not executable Python: validate names and JSON arguments yourself,\napply least privilege, and only execute an approved function after checking\nits arguments. `tool_choice` may be `\"auto\"`, `\"none\"`, `\"required\"`, or a\nprovider-supported named function object. Provider\u002Fmodel support is not\nuniform; see [providers and tasks](references\u002Fproviders-and-tasks.md).\n\nUse `response_format={\"type\": \"json_object\"}` for valid JSON where supported,\nor `{\"type\": \"json_schema\", \"json_schema\": {\"name\": ..., \"schema\": ...,\n\"strict\": True}}` for schema-constrained output. Keep the schema finite,\nvalid JSON Schema, and aligned with the prompt. Parse and validate the returned\nmessage content; a response-format request is not a substitute for validation.\nFor HF Inference, the implementation translates JSON schema to its supported\ngrammar form, so check the provider before relying on strict behavior.\n\nOpenAI migration requires replacing the import\u002Fclient and selecting a valid\nHF model\u002Fprovider or compatible URL; it is not a promise that every OpenAI\nparameter or provider feature is portable. `client.chat.completions.create` is\nan alias, not a separate transport.\n\n## Async And MCP\n\n`AsyncInferenceClient` has the same representative input signatures and\nreturns awaitables or `AsyncIterable` streams. Run it inside an asyncio\ncontext, `await` ordinary calls and the stream-producing call, then cancel or\nclose the consumer on early termination. Do not use synchronous iteration on an\nasync stream.\n\nMCP is experimental and optional. Importing the public class can succeed\nwithout the optional dependency because the MCP package is loaded when a\nserver connection is opened; install the `mcp` extra before using that path.\n`MCPClient` can attach `stdio`, `sse`, or streamable `http` servers, discover\nallowed tools, stream a turn, and execute a tool only through the session that\nregistered its name. `Agent` wraps a bounded MCP loop. Use placeholder\nURLs\u002Fcommands, an explicit narrow `allowed_tools` list (empty to expose none),\nisolated working directories, and explicit headers; never put real credentials\nin a sample or allow an untrusted stdio command. Use an async context manager\nand call `cleanup` on manual paths.\n\n## Endpoint Lifecycle\n\nUse `list_inference_endpoints_hardware` first to resolve valid vendor, region,\naccelerator, instance type\u002Fsize and quota. Then create with\n`create_inference_endpoint` (or the experimental catalog helper), inspect the\nreturned `InferenceEndpoint`, and wait for a healthy `running` state before\naccessing `.client`\u002F`.async_client`. `wait(timeout=..., refresh_every=...)`\nmutates the object and raises typed endpoint errors on failure or timeout.\n\nThe object aliases `fetch`, `update`, `pause`, `resume`, `scale_to_zero`, and\n`delete` to HfApi operations; root helpers are also available. Paused endpoints\nneed explicit resume; scaled-to-zero endpoints restart on request with cold\nstart. Delete is irreversible. Treat `secrets` and custom image credentials\nas write-only. For engine images, parallelism belongs in the image config;\n`container_args` are engine flags and are not equivalent. See [workflows](references\u002Fworkflows.md).\n\n## Diagnose And Verify\n\nStart with the exact signature and selected task\u002Fprovider, then inspect the\nprepared request only with a mock transport. A missing token\u002Fprovider mapping,\nunsupported task\u002Fprovider, malformed messages\u002Ftools\u002Fschema, binary MIME\u002Fpath,\nstream event, timeout\u002Frate-limit, billing, endpoint state, or custom-image\nerror should be diagnosed using [troubleshooting](references\u002Ftroubleshooting.md).\nUse typed errors and bounded recovery; do not blindly retry non-idempotent\nendpoint mutations or repeat paid inference.\n\nNo live inference, model download, deployment, or endpoint deletion is part of\nthis skill verification. Run the safe synthetic transport case instead:\n\n```bash\nPYTHONPATH=src python skills\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Fscripts\u002Fmock_chat_recovery.py\n# In an installed-package project, omit `PYTHONPATH=src`.\n```\n\nThe script asserts no real network or token use while exercising chat tools and\nJSON schema, async stream cancellation, and an explicit provider fallback.\nNative VCR\u002Fproduction tests cover individual payloads and recorded services,\nnot this full cross-provider recovery\u002Fcancellation composition; its limitation\nis documented in the script and [workflows](references\u002Fworkflows.md).\n\n## Progressive Disclosure\n\n- [api-reference.md](references\u002Fapi-reference.md) — verified constructors,\n  representative task signatures, output types, endpoint APIs, and aliases.\n- [workflows.md](references\u002Fworkflows.md) — safe mocked client flows, async\n  streaming\u002Fcancellation, MCP setup, endpoint planning, and `hf endpoints\n  --help` discovery.\n- [providers-and-tasks.md](references\u002Fproviders-and-tasks.md) — provider\u002Ftask\n  matrix, routing semantics, billing and capability caveats.\n- [task-types.md](references\u002Ftask-types.md) — generated type system and\n  practical text\u002Fchat\u002Fbinary\u002Fembedding payload shapes.\n- [troubleshooting.md](references\u002Ftroubleshooting.md) — typed failure diagnosis\n  and narrow recovery for all supported surfaces.\n- [development.md](references\u002Fdevelopment.md) — maintainer-only generated-file\n  policy; never ask runtime users to invoke source generators.\n",{"name":5,"license":14,"metadata":23,"description":7,"disable-model-invocation":25},{"disco-role":24},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","examples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":25},[35,38,41],{"tool":36,"command":37},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill inference-and-endpoints",{"tool":39,"command":40},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill inference-and-endpoints",{"tool":42,"command":43},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill inference-and-endpoints","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002FSKILL.md",[46,52,56,60,64,68,72],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fapi-reference.md","REFERENCE","参考文档",11445,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Freferences\u002Fapi-reference.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fdevelopment.md",2579,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Freferences\u002Fdevelopment.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fproviders-and-tasks.md",6265,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Freferences\u002Fproviders-and-tasks.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Ftask-types.md",7835,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Freferences\u002Ftask-types.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Ftroubleshooting.md",11070,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Freferences\u002Ftroubleshooting.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fworkflows.md",9059,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Freferences\u002Fworkflows.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fmock_chat_recovery.py","SCRIPT","脚本",8363,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fexamples\u002Fcreator\u002Frepo-to-skills\u002Fartifacts\u002Fhuggingface_hub\u002Fhuggingface-hub\u002Fsub-skills\u002Finference-and-endpoints\u002Fscripts\u002Fmock_chat_recovery.py",[79,87,94,101,108,115],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":86},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":86},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":86},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":86},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":86},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":86},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]