Trader Memory Core
tradermonty/claude-trading-skills
Track investment theses across their lifecycle — from screening idea to closed position with postmortem.
Register a model service in the managed family — a local model server container the daemon starts/stops on demand, or a remote upstream model API (https).
$ npx skills add JimLiu/science-skills --skill managed-model-endpoints -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install JimLiu/science-skills managed-model-endpoints --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/JimLiu/science-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/managed-model-endpoints .claude/skills/managed-model-endpoints && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "managed-model-endpoints" agent skill from https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpoints into .claude/skills/managed-model-endpoints/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "managed-model-endpoints", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpointsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add JimLiu/science-skills --skill managed-model-endpoints -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install JimLiu/science-skills managed-model-endpoints --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/science-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/managed-model-endpoints .agents/skills/managed-model-endpoints && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "managed-model-endpoints" agent skill from https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpoints into .agents/skills/managed-model-endpoints/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "managed-model-endpoints", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JimLiu/science-skills --skill managed-model-endpoints -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install JimLiu/science-skills managed-model-endpoints --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/science-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/managed-model-endpoints .cursor/skills/managed-model-endpoints && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "managed-model-endpoints" agent skill from https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpoints into .cursor/skills/managed-model-endpoints/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "managed-model-endpoints", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/JimLiu/science-skills.git --path skills/managed-model-endpoints--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add JimLiu/science-skills --skill managed-model-endpoints -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install JimLiu/science-skills managed-model-endpoints --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/science-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/managed-model-endpoints .gemini/skills/managed-model-endpoints && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "managed-model-endpoints" agent skill from https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpoints into .gemini/skills/managed-model-endpoints/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "managed-model-endpoints", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install JimLiu/science-skills managed-model-endpointsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add JimLiu/science-skills --skill managed-model-endpoints -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/JimLiu/science-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/managed-model-endpoints .github/skills/managed-model-endpoints && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "managed-model-endpoints" agent skill from https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpoints into .github/skills/managed-model-endpoints/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "managed-model-endpoints", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JimLiu/science-skills --skill managed-model-endpoints -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install JimLiu/science-skills managed-model-endpoints --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/science-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/managed-model-endpoints .opencode/skills/managed-model-endpoints && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "managed-model-endpoints" agent skill from https://github.com/JimLiu/science-skills/tree/main/skills/managed-model-endpoints into .opencode/skills/managed-model-endpoints/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "managed-model-endpoints", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
managed-model-endpointsRegister a model service in the managed family — a local model server container the daemon starts/stops on demand, or a remote upstream model API (https).
Managed Model Endpoints is an agent skill from JimLiu/science-skills. Register a model service in the managed family — a local model server container the daemon starts/stops on demand, or a remote upstream model API (https). Read the runbook, allocate a port (local only), compose idempotent start/stop scripts (local only), register once. Load when the user wants a model service available for inference, or when listcompute shows managed endpoints.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Runbooks and postmortems. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit fb309c3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dockerFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
NVIDIA_API_KEYINFER_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Managed Model Endpoints loads about 2.7k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 1,012 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from JimLiu/science-skills at commit fb309c3, republished under its Apache-2.0 licence (© JimLiu). 1,012 words, ~2,660 tokens.
.claude/skills/managed-model-endpoints/SKILL.md (or your agent's skills folder).A managed model endpoint is a model service the daemon owns: you
register it once, then every compute_provider cell against it just
works — the daemon swaps the resident model off the device (one model at a
time, via the resident's own approved stop), runs your approved start
script, waits for the readiness route, then runs your cell, streaming its
lifecycle progress into the cell as it goes. You never run the container
runtime yourself, never poll readiness in cells, and never see the
credential value. Two verbs: register() (asks the user once) and ordinary
inference cells.
Container specifics — image, registry login, internal port, cache mount target, readiness route — come from the model's own runbook skill; this skill is the translation contract.
Calling a registered endpoint — use the using-model-endpoint skill
(this skill is the REGISTRATION contract; that one documents the call
side in full).
The ONLY dispatch form is the compute_provider tool with the endpoint's
registered name (list_compute shows them):
compute_provider(provider="boltz2-service", code="""
import requests
r = requests.post(BASE_URL + "/v1/infer", json=payload)
""")The daemon brings the model up on demand (a first cold start downloads
image + weights — minutes; let it run) and preloads BASE_URL into the
cell — both as a Python variable (use it directly, as above) and as
os.environ["BASE_URL"] (plus INFER_API_KEY for remote endpoints). Endpoints are
not kernel environments: environment="boltz2-service" on a plain
python cell fails — plain cells get no BASE_URL.
The user connects the family under Customize → Compute → Model
endpoints (the setup flow saves the family credential first —
connect-without-key is not a state) and picks ONE mode: Local
(container registrations) or URL/remote (https against the configured
host). Until connected, free_port()/register() raise a precise error —
relay it; in the wrong mode they refuse with a teaching error naming the
setting (existing endpoints of the unarmed leg keep dispatching — only NEW
registrations refuse). Disconnecting is a full teardown: every active
local service is stopped via its approved stop script and every
registration (local AND hosted) is removed; caches stay on disk; a failing
stop keeps that one row, FAILED. The "Local machine GPU" toggle never
gates registration — it governs cell GPU access only; the approval card is
the per-registration gate.
Credential contract (platform rule): every registration passes
credential="NVIDIA_API_KEY" — the daemon rejects any other name. Locally
the value feeds the start script's registry login and never enters your
kernel env; for remote endpoints it authenticates the upstream and is
delivered only into the inference cell's env (as INFER_API_KEY), never
the repl kernel.
port = host.model_endpoints.free_port() # local only; random 20000-29999
host.model_endpoints.register(
name="boltz2-service", # <model>-service -- descriptive, never the
# bare model name (collides/ambiguous)
url=f"http://127.0.0.1:{port}", # LITERAL 127.0.0.1 -- `localhost` rejected
credential="NVIDIA_API_KEY", # the family credential NAME, never a value
skill="<model-runbook-skill>",
start=START_SCRIPT, # composed below
stop="docker stop boltz2-service",# exit 0 ONLY once actually stopped
live="/v1/health/ready", # readiness ROUTE (200 = model answers;
# "up but loading" must read not-ready)
)Name endpoints <model>-service (e.g. diffdock-service) — unambiguous in
provider lists; never just the bare model name. Name the CONTAINER after
the endpoint too (the template above does): the UI then follows the
service's own logs live while it starts.
register() always cards the user (scripts verbatim, port, service dir,
credential name). One exception: a byte-identical re-registration is
silent — same bytes are approved forever; any byte change re-cards. The
registration stays inspectable under Customize → Compute. Re-registering to
fix scripts: reuse the existing url — never call free_port() again
(the port is the endpoint's stable mutex).
Pass url="https://<upstream>" and omit start/stop/live — no
port, no scripts, no readiness. Requires URL/remote mode (the setup
radio; in Local mode https registrations refuse). The url's HOST must
equal the configured upstream host exactly — you pick the path leaf,
never the authority. After approval,
cells are plain HTTP clients of BASE_URL authenticating with
$INFER_API_KEY. list_compute labels every row
location: "local" | "remote".
The daemon hands scripts three things in their process environment
(never argv, never sudo): HOST_PORT (the registered port), SERVICE_DIR
(this endpoint's persistent directory — put the model cache here), and the
credential value under its own name. Nothing else is inherited — ambient
tokens are not visible; the ONLY secret a script sees is its registered
credential.
The start script must be idempotent (cold create / warm start / crash re-entry), with the port-mismatch guard — the runtime freezes port mappings at container creation, so a container created under an OLD port must be recreated or readiness can never pass:
mkdir -p "$SERVICE_DIR/cache"
# docker login persists auth in $DOCKER_CONFIG/config.json; scope it to the
# service dir so the credential dies with the service (never ~/.docker).
export DOCKER_CONFIG="$SERVICE_DIR/.docker"
create_service() {
docker run -d --name boltz2-service \
--restart unless-stopped \
-p 127.0.0.1:${HOST_PORT}:8000 --gpus all \
-e NVIDIA_API_KEY \
-v "$SERVICE_DIR/cache:<cache target from the runbook>" \
<image from the runbook>
}
if docker inspect boltz2-service >/dev/null 2>&1 && \
[ "$(docker inspect -f '{{(index (index .HostConfig.PortBindings "8000/tcp") 0).HostPort}}' boltz2-service)" != "$HOST_PORT" ]; then
docker rm -f boltz2-service # stale port mapping -- recreate below
fi
if docker inspect boltz2-service >/dev/null 2>&1; then
docker start boltz2-service # warm wake -- no credential, no chown needed
else
echo "$NVIDIA_API_KEY" | docker login <registry> --username '<user>' --password-stdin
docker pull <image from the runbook>
# Cache must be writable by the CONTAINER's user, whose uid the image
# defines (container uid != host uid). chown needs root the script doesn't
# have; a throwaway root container does it -- and the chmod, which the
# host user can no longer do once the dir is chowned away -- without sudo.
CUID="$(docker inspect --format '{{.Config.User}}' <image from the runbook> 2>/dev/null | cut -d: -f1)"
case "$CUID" in ''|root) CUID=0;; *[!0-9]*) CUID=1000;; esac # named user -> default 1000; runbook may override
if [ "$CUID" != "0" ]; then
docker run --rm -v "$SERVICE_DIR/cache:/c" alpine sh -c "chown -R $CUID:$CUID /c && chmod 700 /c"
else
chmod 700 "$SERVICE_DIR/cache" 2>/dev/null || true
fi
create_service
fi
# RUNTIME-binding guard (one retry): after a port-conflict crash the engine
# can start the container yet silently skip port programming -- the CONFIG
# still matches $HOST_PORT (so the guard above cannot catch it) but
# `docker port` prints nothing and the model serves to nobody. Recreate.
if [ -z "$(docker port boltz2-service 2>/dev/null)" ]; then
docker rm -f boltz2-service
create_service
fiTranslation rules:
-- and -> in
comments.export DOCKER_CONFIG="$SERVICE_DIR/.docker" before any docker login — login persists the credential in config.json, and scoping it
to the service dir means Remove honestly reclaims it (never ~/.docker,
which outlives stop/Remove/Disable).-p 127.0.0.1:${HOST_PORT}:<internal> — loopback-only publish; the
internal port comes from the runbook.export OTHER_NAME="$NVIDIA_API_KEY" (never argv, never a file).-e NAME bare (argv is world-readable); the key rides the login
stdin pipe only.-d, no --rm — managed containers are stopped, never removed:
stop parks them with weights loaded; --rm throws the cache away.$SERVICE_DIR, owned by the container's uid: the
runbook states it when it matters; otherwise derive it post-pull with
docker inspect --format '{{.Config.User}}' <image> (empty or root
⇒ runs as root, no chown needed; a NAMED user can't be resolved
without running the image — default 1000). Getting it wrong is the
cache-empty symptom: the container can't write the mount, weights leak
into the writable layer and die on recreate (or the image crash-loops
on Permission denied). Never 777 — world-writable cache on a
multi-user host. The mount TARGET comes from the runbook.A failed start/stop flips the endpoint FAILED (transcript on the endpoint panel — never echoed into cell errors; ask the user to read it there) and your cell errors with the daemon's one-line cause. FAILED is sticky: further cells fail fast until the user presses Stop or you re-register (byte-identical re-register also clears it). If a stop is stuck (exit 0 but the port never frees), removal is refused while the port is bound — recover out-of-band; the daemon absorbs the freed port on its next probe. A first-ever cold start downloads image + weights — minutes, once; the cell streams the phase lines live and the endpoint detail view streams the full script output, so let it run.
© JimLiu, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/managed-model-endpoints of JimLiu/science-skills.
Open the folder on GitHubat commit fb309c3
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in JimLiu/science-skills, which our catalogue first saw on October 7, 2026.
Managed Model Endpoints next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Managed Model Endpoints this skillJimLiu/science-skills | 227 | 2 repos | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Trader Memory Coretradermonty/claude-trading-skills | 3k | 3 repos | ~4.3k | Automated safety check: Pass | MIT | |
| OpenRig Upgrade Proceduremvschwarz/openrig | 5.9k | 1 repos | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Author Migrationnrwl/nx | 29k | — | ~12k | Automated safety check: Notes | MIT | |
| Write Notes Like Deepseekczm15053/write-notes-like-deepseek | 484 | — | ~2k | Automated safety check: Pass | None | |
| GreptimeDB Release RunbookGreptimeTeam/greptimedb | 6.7k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 |
tradermonty/claude-trading-skills
Track investment theses across their lifecycle — from screening idea to closed position with postmortem.
mvschwarz/openrig
Walks an agent through upgrading the OpenRig CLI and daemon one observed step at a time, keeping live seats alive and reconciling managed plugin files.
nrwl/nx
Author or scope a first-party Nx migration. An agent skill from nrwl/nx.
czm15053/write-notes-like-deepseek
A skill your agent uses when a change is non-trivial by DSH standards (behavior, architecture, cross-file contracts, process/tooling, testing strategy, or on-disk/wire/config formats), when choosing…
GreptimeTeam/greptimedb
Runbook for publishing a GreptimeDB version: pick the release branch, verify the Cargo version, then tag, create the GitHub release and open the docs note PR.
henryqin1997/statem
A skill your agent uses when a long coding or research task should be managed with statem state-machine runbooks, including creating specs, starting or resuming runs, checking current state…
JimLiu/science-skills
Biohub ESMFold2 / ESMFold2-Fast all-atom co-folding (Candido et al.
JimLiu/science-skills
Set up a compute environment on a remote provider so Claude Science jobs can run there.
JimLiu/science-skills
Predict genome-wide functional tracks (RNA-seq, CAGE, DNase, ChIP) from DNA sequence with Borzoi.
JimLiu/science-skills
Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model.
JimLiu/science-skills
Embed proteins with Meta AI's ESM-2 (fair-esm package). An agent skill from JimLiu/science-skills.
JimLiu/science-skills
Structure prediction using OpenFold3, an open-weights PyTorch reproduction of AlphaFold3 from the AlQuraishi Lab.
Categories
Register a model service in the managed family — a local model server container the daemon starts/stops on demand, or a remote upstream model API (https). Managed Model Endpoints is an agent skill from JimLiu/science-skills. Register a model service in the managed family — a local model server container the daemon starts/stops on demand, or a remote upstream model API (https).
Managed Model Endpoints fits situations like: wants a model service available for inference; listcompute shows managed endpoints.
Run `npx skills add JimLiu/science-skills --skill managed-model-endpoints -a claude-code`. Or copy the skill folder (skills/managed-model-endpoints in JimLiu/science-skills) into .claude/skills/managed-model-endpoints in your project. Claude Code loads it when a task matches its description.
Run `npx skills add JimLiu/science-skills --skill managed-model-endpoints -a codex`. Or copy the skill folder (skills/managed-model-endpoints in JimLiu/science-skills) into .agents/skills/managed-model-endpoints in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JimLiu/science-skills --skill managed-model-endpoints -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/managed-model-endpoints, .gemini/skills/managed-model-endpoints, .github/skills/managed-model-endpoints and .opencode/skills/managed-model-endpoints in your project.
Going by SKILL.md and its folder, Managed Model Endpoints needs the command-line tools its instructions call (docker) and credentials named NVIDIA_API_KEY and INFER_API_KEY. Our summary lists: Python 3; Docker; A credential in INFER_API_KEY; A credential in NVIDIA_API_KEY.
SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Managed Model Endpoints is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Managed Model Endpoints: Trader Memory Core (tradermonty/claude-trading-skills, 3k stars), OpenRig Upgrade Procedure (mvschwarz/openrig, 5.9k stars), Author Migration (nrwl/nx, 29k stars) and Write Notes Like Deepseek (czm15053/write-notes-like-deepseek, 484 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
JimLiu (a GitHub user) maintains it in JimLiu/science-skills, which has 227 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on July 1, 2026.
Source: JimLiu/science-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.