Skip to content
Skills Library
AI & agents · Testing

prism

/prism

Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.

Repository
FAST-Evolve ↗
Licence
Apache-2.0
Last repository change
13.11.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
3
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 3 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: initial_program.py, initial_program_naive.py, scripts/evaluator.py

What it does and when to use it

Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.

Original author description

Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.

How it works

  1. Evaluator
  2. Program interface
  3. Optimization objective and guidance
Original SKILL.md headings · 55 lines, 238 words
SKILL.md preview
---
name: prism
description: Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.
---

# Prism GPU Model Placement

Assign models to 80 GB GPUs to minimize the maximum KV-cache pressure ratio
while keeping every model within memory. The evaluator uses deterministic
synthetic test cases and maximizes the resulting fitness.

## Evaluator

Use the standard attempt-local artifact contract:

```text
main_artifact_name = solution.py
artifact_ref = runs/<run_id>/tasks/<task_id>/attempts/<attempt_id>/solution.py
```

In the commands below, `<skill_dir>` is the directory containing this SKILL.md.

Run only:

```bash
python <skill_dir>/scripts/evaluator.py --run-id <run_id> --task-id <task_id> --artifact-ref <artifact_ref> --out runs/<run_id>/tasks/<task_id>/attempts/<attempt_id>/eval_result.json
```

The evaluator validates model identity, placement completeness, and GPU memory
constraints before recording the score.

## Program interface

The candidate must define:

```python
def compute_model_placement(gpu_num, models):
    ...
```

Return a mapping from GPU IDs to lists containing exactly the input model
objects. `initial_program.py` is the initial reference program; the naive
baseline is retained as `initial_program_naive.py` for comparison only.

## Optimization objective and guidance

You are an expert in model placement on GPUs. Improve the model placement
algorithm by improving the `compute_model_placement` function in the initial
program that places models on available GPUs.

The algorithm must minimize the maximum KVPR across all GPUs while ensuring
that models fit in the GPUs' memory. KVPR is KV-cache pressure for a GPU and
indicates how crowded that GPU is. For a specific GPU, compute it as:

`sum(model.req_rate / model.slo for model in models) / (GPU_MEM_SIZE - sum(model.model_size for model in models))`

The generated program should be as simple as possible and execute correctly
without errors.
Files in this package (4)
  • SKILL.md 2 KB
  • initial_program.py 2 KB
  • initial_program_naive.py 1 KB
  • scripts/evaluator.py 11 KB

Versions

RepositoryScoreLicence
This page · openJiuwen-ai/FAST-Evolve95Apache-2.0
sarvamai/skills100Apache-2.0
OutlineDriven/outline-driven-development100Apache-2.0
gooonzick/prism95MIT
lmsutools/prism-progressive-routing-indexing-skill-manager95MIT
LilMGenius/paperthin90MIT
gosuda/dalcom-skills85Apache-2.0
tonone-ai/tonone85MIT

Database snapshot: 13.11.2026 · package version e7f9729864c8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 84prism-advise
    Get CLAUDE.md recommendations from PRISM. Use when asked to audit, fix, improve, or check what is wrong with a CLAUDE.md file.
  • 84prism-analyze
    Analyze Claude Code session health using PRISM. Use when asked to check token usage, audit CLAUDE.md, understand why sessions are failing, or list projects.
  • 100setup
    Use when setting up or configuring ng-prism (@ng-prism/core) in an Angular CLI or Nx workspace - ng add, ng-prism.config.ts, the prism and prism-build targets and their options, adding an official plugin (jsdoc, box-model, figma, perf, coverage, visual-regression), theming the…
  • 100prism-story
    Run the full Prism story lifecycle directly in the host with Beads-backed phase state and role-aligned Specify, Design, Breakdown, Human, Apply, and Verify contracts. Use when the user runs $prism:story, /prism:story, /prism-story, explicitly targets a Prism story, or asks to continue one story.
  • 100prism-lifecycle
    Route Prism work to the host-native story or epic lifecycle and, when explicitly requested, advance a deterministic snapshot of all open Prism epics. Use when the user runs $prism:lifecycle, /prism:lifecycle, or /prism-lifecycle; asks to run or advance the primary host workflow;…
  • 100prism-scanner-module
    Creates or extends scanner modules in packages/ng-prism/src/builder/scanner/. Triggers on "add scanner", "new extractor", "extend scanner", "add extraction", "scanner module".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.