Skip to content

donaldfilimon/abi / .agents/skills/abi-superpower-gpu

abi-superpower-gpu

Verified

GPU and Metal backend superpower. Reports backend status, vector ops, hardware capabilities.

FileKindSize
SKILL.mdskill md1.3 KB
---
name: abi-superpower-gpu
description: GPU and Metal backend superpower. Reports backend status, vector ops, hardware capabilities.
superpower:
  command: "execute"
  parameters:
    - name: "action"
      type: "string"
      enum: ["status", "ops", "hardware"]
      description: "GPU action"
    - name: "backend"
      type: "string"
      description: "GPU backend: metal, cuda, vulkan"
---

# ABI Superpower: GPU

Exposes GPU hardware and acceleration capabilities as a superpower.

## Actions

### status
Report GPU backend selection and fallback state:
```
abi wdbx gpu info
```

### ops
Vector operations are a library surface, not a standalone CLI action. Validate
their native/fallback parity with `./tools/cargo.sh test -p abi-gpu`.

### hardware
System hardware report:
```
abi backends
```

## Implementation

Maps to:
- `crates/abi-gpu/src/lib.rs` - backend reporting, vector operations, and CPU fallback
- `crates/abi-gpu/src/metal_kernels.rs` - optional macOS Metal DOT kernel

## Build and runtime boundary

`abi-gpu` is a normal Rust workspace crate; there is no `feat-gpu` switch. Its
default `metal-kernels` Cargo feature links the Metal DOT path on supported
macOS builds. CUDA and Vulkan are capability reports only. Use `abi backends`
or `abi wdbx gpu info`; `accelerated=false` means deterministic CPU fallback.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall