Skip to content
Back to skills

Visual Instruction Data Builder

ASecurity

Build LLaVA-style visual instruction records from captions and boxes for mechanism-faithful recovery experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 9, 2026
researchpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Visual Instruction Data Builder?

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

Security grade badge for Visual Instruction Data Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-visual-instruction-data-builder/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-visual-instruction-data-builder)

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

SKILL.md
---
name: visual_instruction_data_builder
description: Build LLaVA-style visual instruction records from captions and boxes for mechanism-faithful recovery experiments.
---

# Visual Instruction Data Builder

Use this skill when a task needs to convert symbolic image evidence into a multimodal instruction-following record in the style of Visual Instruction Tuning. Do not use it to hallucinate image content; every generated field must be grounded in supplied captions or boxes.

## Inputs
- `image_id`: stable identifier for the image or proxy image.
- `captions`: one or more natural-language captions.
- `boxes`: object records with `label` and normalized `bbox` coordinates.
- `response_type`: one of `conversation`, `detail`, or `reasoning`.
- Optional `question` and `answer` strings.

## Outputs
A JSON-compatible record with `human_prompt`, `assistant_answer`, `symbolic_context`, `response_type`, `is_resource_derived`, and `resource_files` when available.

## Workflow
1. Validate that captions and boxes are non-empty.
2. Summarize captions and object labels as the symbolic visual context that a language-only teacher could read.
3. Create a response-type-specific user instruction while keeping the assistant answer in a separate field.
4. Attach provenance so recovery can prove the item was derived from allowed evidence.

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

## Limitations
This skill does not call GPT-4 or inspect pixels. It creates deterministic proxy records that preserve the paper's caption/box-to-instruction mechanism.

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…