Using model endpoint
Skill BioTender-max/awesome-bio-agent-skills/skills/claude-science/using-model-endpoint
A curated collection of AI agent skills for biomedical research, covering genomics, proteomics, single-cell analysis, clinical AI, and protein design.
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill using-model-endpointAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Call a registered model endpoint over its native HTTP API from the endpoint's scoped inference kernel (BASE_URL preloaded). Load once a task needs predictions from a registered model endpoint.
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.7 KB, as published. Nobody here has run it
You are a pure HTTP client of BASE_URL. Each registered model endpoint
gets its own inference kernel — a Python REPL whose network egress is scoped
to exactly that endpoint — reached via
compute_provider({'provider': '<slug>', 'code': '…'}) (<slug> from
list_compute, without the infer: prefix).
BASE_URLis preloaded (as a Python variable AND asos.environ["BASE_URL"]) — build request URLs from it, never hardcode hosts/ports. Call the model's native API withhttpx(preinstalled) orrequests; request shapes live in the provider's own runbook skill (the registration'sskillName).- Hosted endpoints: send
Authorization: Bearer $INFER_API_KEY(always the canonical env name when a credential is delivered; the credential's own name is usually aliased too). Local endpoints need no auth header. - Requests ride the sandbox HTTP proxy (
HTTP_PROXY/HTTPS_PROXYare set) — don't disable it (e.g.trust_env=False) or the endpoint is unreachable. - No job lifecycle here (no submit/harvest) — direct request/response only.
Managed endpoints (entries with managed: true / a location field in
list_compute): their lifecycle — daemon-owned start/stop, registration,
free_port()/register() — lives in the
managed-model-endpoints skill. Cells against them are still just
HTTP calls to BASE_URL; the daemon brings the model up on demand (a cold
start streams its progress into your cell and can take minutes).