gpu-vector

gpu-vector is a skill for Claude Code from iowarp/clio-kit. It costs 126 tokens per session (1,488 once invoked), scanned A, original, BSD-3-Clause.

A programming interface for using one logical array whose pages may live in GPU memory, system memory, local storage, or other nodes. GPU kernels fetch and update those pages through the provided access operations.

In plain words
What is it for?
It is for writing, porting, optimizing, and debugging GPU kernels that use CLIO's paged vector.
Why use it?
It lets large arrays exceed the memory of one GPU, while the page cache manages which data is currently available. It also documents the waiting and relaunch behavior needed by kernels.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the clio-core-skills plugin — 12 skills shipped together

Good fit It is for writing, porting, optimizing, and debugging GPU kernels that use CLIO's paged vector.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iowarp/clio-kit/gpu-vector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iowarp/clio-kit --skill gpu-vector
Clone the repo
git clone --depth 1 https://github.com/iowarp/clio-kit

Made for: Claude Code.

Or install clio-core-skills, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gpu-vector

README.md
[![agentmods](https://agentmods.dev/badge/skills/iowarp/clio-kit/gpu-vector/github.svg)](https://agentmods.dev/skills/iowarp/clio-kit/gpu-vector)
Your own site
<a href="https://agentmods.dev/skills/iowarp/clio-kit/gpu-vector"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/gpu-vector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gpu-vector

Your own site · 80×15
<a href="https://agentmods.dev/skills/iowarp/clio-kit/gpu-vector"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/gpu-vector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.01488
Opus 5.5 $0.00050 $0.00595
Sonnet 5.5 $0.00025 $0.00298
Haiku 4.5 $0.00013 $0.00149

Measured 7d ago against content hash 9b76d5855084, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gpu-vector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clio-core-skills/skills/gpu-vector/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Programming the gpu_vector paged vector

A gv::Vector<T> is one logical array whose pages live in CLIO's tiered store (GPU memory, host DRAM, NVMe, object stores, parallel filesystems, across nodes) and are cached on each GPU in a shared, set-associative page cache. Kernels read and write it through block-collective coroutine verbs: a block that has to wait for data exits the kernel and the host relaunches it when the data lands.

Source paths in these files are relative to the root of the iowarp/clio-core repository.

This skill is general. It describes the API, rules that hold for any access pattern, and measured costs. It deliberately contains no worked implementations: design your kernel from the workload in front of you.

Files in this skill -- read in this order

file read when
API.md before writing any code. The contract, from the headers. Where a comment in the tree disagrees, the code wins.
DESIGN.md before choosing a data layout or decomposition. The rules that decide whether a kernel is 1x or 10x its baseline.
COSTS.md before optimizing, choosing page/cache sizes, or adding a tier policy.
PITFALLS.md before running anything, and whenever a result looks too good, too bad, or hangs. Also: validation and debugging.
ORGANIZER.md only when designing a tier-placement policy (data organizer, phase hints, prefetch).

The mental model in eight lines

  1. Fetch names the element ranges a block is about to touch, pins those pages, and brings them in. It is the only verb that moves data in.
  2. HoldPage never faults. It resolves an offset to a pointer into a pinned, resident frame, and the result never crosses a page (run() elements).
  3. UnpinRange gives the pin back. Every fetched page needs exactly one.
  4. Flush writes back exactly the byte ranges you name. Nothing is ever written back for you: eviction does no I/O, so an unpinned unflushed page can silently lose its writes.
  5. A fault costs ~110 us of round trip for ~6 us of copy. Batching and not faulting are the levers, not bandwidth.
  6. Every wait is a kernel exit plus relaunch (~1.3-1.6 ms per round). Keep waits out of heavy kernels.
  7. Paging code is expensive in registers (hold path ~+120 regs). Keep coroutine bodies thin; put compute in noinline plain functions over raw pointers.
  8. Distributed coherence is by generation: a consumer demands the generation it needs on a peer's page; the generation is the barrier.

Read the full file on GitHub · 69 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 69 lines · 126 tokens per session scan A 9b76d5855084

Subscribe to this mod's changes

gpu-vector is a skill published in the GitHub repository iowarp/clio-kit (35 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 126 tokens to every session and 1,488 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

gpu-vector compared with skills from other repositories

gpu-vector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gpu-vectoriowarp/clio-kitSkill35yesterdayBSD-3-ClauseA126Claude Code
vllm-rocm-pr-reviewshen-shanshan/vllm-dev-skillsSkill362d agoApache-2.0A0Claude Code, Codex
hardware-infoKatagiri-Hoshino-Lab/VibeCodeHPCSkill441mo agoMITA27Claude Code, Codex
hercules-wireless-embedded0xMihirK/hercules-mcpSkill623d agoMITA39Claude Code
firmware-pentestxAmirHamza77/ReverseOps-SkillSkill53mo agoMITA167Claude Code, Codex
ot-icsxAmirHamza77/ReverseOps-SkillSkill53mo agoMITA33Claude Code, Codex
hardware-securityxAmirHamza77/ReverseOps-SkillSkill53mo agoMITA33Claude Code, Codex