Skip to content
Back to skills

Visual Prompt Scaling

ASecurity

Build AutoVP frame-shaped visual prompt masks and apply bounded universal prompts to resized images.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill visual_prompt_scaling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Visual Prompt Scaling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Visual Prompt Scaling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-visual-prompt-scaling/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-visual-prompt-scaling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: visual_prompt_scaling
description: Build AutoVP frame-shaped visual prompt masks and apply bounded universal prompts to resized images.
---
# Visual Prompt Scaling
Use this skill when implementing AutoVP-style input scaling and frame prompts. Do not use it for patch-token prompt tuning or model-internal prompts.

## Inputs
Source image size, target image size, channel count, image array, and prompt parameters.

## Outputs
Prompt width `p`, binary frame mask, centered image canvas, and prompted image.

## Workflow
Compute `p=(source_size-target_size)//2`; build a frame mask; center the image; apply a sigmoid-bounded prompt only where mask is one. Reject target sizes larger than the source input. Record odd padding decisions.

## Validation
Run `python tests/test_visual_prompt_scaling.py` or the Distiller skill-tree validator with tests.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…