Skip to content
Back to skills

Clip Pair Protocol

ASecurity

Build and validate CLIP-style image-text pair records and prompt templates for bounded recovery experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
ai-agentspython

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Clip Pair Protocol?

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

Security grade badge for Clip Pair Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-clip-pair-protocol/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-clip-pair-protocol)

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

SKILL.md
---
name: clip_pair_protocol
description: Build and validate CLIP-style image-text pair records and prompt templates for bounded recovery experiments.
---

# CLIP Pair Protocol

Use this skill when a recovery or evaluation task needs a compact representation of CLIP-style natural-language supervision. Do not use it to read the original CLIP repository during recovery.

## Inputs
- Class names as non-empty strings.
- Prompt templates containing `{}` placeholders.
- Pair records with `id`, `class_name`, `image_embedding`, and `text_embedding` fields.

## Outputs
- Validated pair records with consistent embedding dimensions.
- Rendered prompt strings for each class.
- JSON-serializable diagnostics describing rejected fields.

## Workflow
1. Validate that every class name and template is non-empty.
2. Render class prompts by substituting each class name into each template.
3. Validate pair records and ensure image/text embeddings are numeric vectors with matching dimensions.
4. Preserve provenance fields separately from labels so downstream classifiers do not invent supervision.

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

## Limitations
This skill defines protocol and prompt construction only. It does not encode images or text with a pretrained CLIP model.

## Refinement Note
Refinement note: mismatched image/text embedding dimensions must fail fast and must not be padded or truncated.

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…