visual-memory

Embed photos, voice samples, and video templates as base64 data URIs in a skill directory.

1|1|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/fabioc-aloha/AIRS_Data_Analysis --skill visual-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visual-memory
Source: https://github.com/fabioc-aloha/AIRS_Data_Analysis/tree/main/.github/skills/visual-memory
Command: npx skills add https://github.com/fabioc-aloha/AIRS_Data_Analysis --skill visual-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the issue of skills breaking due to missing or moved external reference files by embedding media directly within the skill itself, ensuring consistent operation across all environments.

Core Features & Use Cases

  • Self-Sufficient Skills: Skills become portable and reliable, working anywhere without external dependencies.
  • Embedded Media: Photos, voice samples, and video style templates are stored as base64 data URIs or referenced within the skill's directory.
  • Use Case: Generate consistent AI portraits by embedding reference photos directly into the skill, ensuring the AI always generates images of the same person regardless of where the skill is run.

Quick Start

Prepare reference photos by resizing them to 512px longest edge at 85% JPEG quality and converting them to base64 data URIs for embedding.

Frequently Asked Questions about visual-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I embed images as base64 data URIs for portable media generation?

To embed images as base64 data URIs, you resize reference photos to a 512px longest edge at 85% JPEG quality, then convert them into base64 strings for structured JSON memory storage. This ensures portable, self-sufficient media generation.

Why do my AI character generation skills break when external reference files are moved?

AI character generation skills break because they rely on external file paths that change. Embedding media directly within the skill's directory as base64 data URIs eliminates external dependencies, ensuring consistent operation across all environments.

Can I use embedded voice samples for voice cloning without external dependencies?

Yes, you can embed voice samples as internal references within a skill's directory. By converting audio media into base64 data URIs or structured JSON memory, voice cloning becomes self-sufficient and works without external dependencies.

What is the best way to maintain consistent video style application across different environments?

The best way to maintain consistent video style application is embedding video style templates directly within the skill's directory. By storing templates as base64 data URIs or internal references, the skill becomes portable and operates reliably anywhere.

Does embedding media as base64 require image optimization before conversion?

Yes, embedding media requires image optimization before base64 conversion. You must prepare reference photos by resizing them to a 512px longest edge at 85% JPEG quality to ensure efficient storage and structured JSON memory generation.

What are the limitations of using base64 data URIs for embedded media in skills?

The limitation of using base64 data URIs for embedded media is file size inflation, requiring strict image optimization like resizing to 512px at 85% JPEG quality. This approach is best for small reference files rather than large video templates.