Huggingface infer

From KeyArgo/custodian-kernel · View interactive version

Huggingface infer is an AI agent skill from the GitHub repository KeyArgo/custodian-kernel. Run inference on a HuggingFace model via the Inference API

How to use this skill

Skill file

Huggingface Infer

Run inference on a HuggingFace model via the Inference API

Authority band

This tool runs under L1 authority in the Custodian kernel. Trivial autonomous spend or free side-effect — no human approval required.

Inputs

| Parameter | Type | Required | Description |

|-----------|------|----------|-------------|

| (see execute.py for full schema) | | | |

Configuration

Set the required environment variables before use. Until configured, custodian tools run huggingface-infer returns a stub response indicating which variables are needed.

Usage

custodian tools run huggingface-infer --param value

Custodian governance

Every call to this tool passes through the Custodian kernel authority check

before executing. The kernel verifies the current authority band, checks

spending caps where applicable, logs the action to the OCSF audit trail,

and escalates to a human operator if the action exceeds the declared band.

Adding this tool to any Hermes agent session requires no code changes —

declare custodian-band: L1 in the SKILL.md frontmatter and the kernel

wraps it automatically.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.