Skip to content
Back to skills

Visual Prompt Wrapper

ASecurity

Apply and audit universal visual prompts for frozen source-model adaptation experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
ai-agentspythongit

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Visual Prompt Wrapper?

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

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

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_wrapper
description: Apply and audit universal visual prompts for frozen source-model adaptation experiments.
---

# Visual Prompt Wrapper

Use this skill when reproducing or adapting visual prompting/model reprogramming methods that keep a source model fixed and learn only an input prompt. Do not use it for methods that fine-tune source-model weights.

## Inputs
- Target examples as numeric feature vectors or tensors.
- A universal prompt vector/pattern, optionally with a binary mask.
- A frozen source model callable or serialized linear-source specification.

## Outputs
- Prompted inputs.
- Source logits or predictions.
- An audit record with fingerprints before and after inference.

## Workflow
1. Verify that the prompt shape matches the embedded source input shape.
2. If a mask is supplied, apply prompt values only where the mask is nonzero.
3. Run the source model and record logits/top-1 labels.
4. Compare source-model fingerprints before and after the call; source parameters must not change.
5. Pass logits/predictions to a label-mapping or ILM-VP optimizer skill.

## Validation
Run `python tests/test_visual_prompt_wrapper.py` or validate the skill tree with `validate_skill_tree.py --run-tests`.

## Limitations
This deterministic helper uses vector/tiny tensor abstractions for tests. Full image resizing and GPU model execution belong in the recovery harness.

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…