jimliu/science-skills · Archived

using-model-endpoint

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.

First seen Jul 2, 2026

Installation

$ npx skills add jimliu/science-skills --skill using-model-endpoint

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from jimliu/science-skills · top by installs.

npx skills add jimliu/science-skills

Browse all from jimliu/science-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 225
License Apache-2.0
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseApache-2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,754 B
  • docs SUMMARY.md 220 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

You are a pure HTTP client of BASEURL. Each registered model endpoint gets its own inference kernel — a Python REPL whose network egress is scoped to exactly that endpoint — reached via computeprovider({'provider': '<slug>', 'code': '…'}) (<slug> from list_compute, without the infer: prefix).

  • BASE_URL is preloaded (as a Python variable AND as

os.environ["BASE_URL"]) — build request URLs from it, never hardcode hosts/ports. Call the model's native API with httpx (preinstalled) or requests; request shapes live in the provider's own runbook skill (the registration's skillName).

  • Hosted endpoints: send Authorization: Bearer $INFERAPIKEY (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 (HTTPPROXY/HTTPSPROXY are 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 listcompute): their lifecycle — daemon-owned start/stop, registration, freeport()/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).