Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

image-mining

БесплатноБез исполняемых скриптовНе проверен

I mine pixels for atoms. Reality is just compressed resources.

majiayu000от majiayu000★ 31 звезда на GitHub

Об этом скилле

Image Mining

"I mine pixels for atoms. Reality is just compressed resources."

"Every image is a lode. Every pixel, potential ore."

Image Mining extends the Kitchen Counter's DECOMPOSE action to images.

Your camera isn't just a recorder — it's a PICKAXE FOR VISUAL REALITY.


📑 Index

Quick Start

Operation Modes

Extensibility

Protocols

Reference


The Core Insight

📷 Camera Shot  →  🖼️ Image  →  ⛏️ MINE  →  💎 Resources

Just like the Kitchen Counter breaks down:

  • sandwich → bread + cheese + lettuce
  • lamp → brass + glass + wick + oil
  • water → hydrogen + oxygen

Images can be broken down into:

  • ore_vein.png → iron-ore × 12 + stone × 8
  • forest.png → wood × 5 + leaves × 20 + seeds × 3
  • treasure_pile.png → gold × 100 + gems × 15
  • sunset.png → orange_hue × 1 + warmth × 1 + nostalgia × 1

Preferred Mode: Native LLM Vision

"The LLM IS the context assembler. Don't script what it does naturally."

When mining images, prefer native LLM vision (Cursor/Claude reading images directly):

┌─────────────────────────────────────────────────────────────────┐
│                    NATIVE MODE (PREFERRED)                       │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Cursor/Claude already has:                                     │
│    ✓ The room YAML (spatial context)                           │
│    ✓ Character files (who might appear)                        │
│    ✓ Previous mining passes (what's been noticed)              │
│    ✓ The prompt.yml (what was intended)                        │
│    ✓ The whole codebase (cultural references)                  │
│                                                                 │
│  Just READ the image. The context is already there.            │
│  No bash commands. No sister scripts. Just LOOK.               │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Why Native Beats Remote API

Aspect Native (Cursor/Claude) Remote API (mine.py)
Context Already loaded Must be assembled
Prior mining Visible in chat Passed via stdin
Room context Just read the file Python parses YAML
Synthesis LLM does it naturally Script concatenates
Iteration Conversational Re-run command

When to Use Remote API

Use mine.py or remote API calls when:

  • Multi-perspective mining — different models see different things!
  • Batch processing — mining 100 images overnight
  • CI/CD — automated pipelines with no LLM orchestrator
  • Rate limiting — your LLM can't do vision but can call one that does

Multi-perspective is the killer use case: Claude sees narrative, GPT-4V sees objects, Gemini sees spatial relationships. Layer them all for rich interpretation.

Even then, have the orchestrating LLM assemble the context:

┌─────────────────────────────────────────────────────────────────┐
│                REMOTE API WITH LLM ASSEMBLY                      │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  1. LLM reads context files (room, characters, prior mining)   │
│  2. LLM synthesizes: "What to look for in this image"          │
│  3. LLM calls remote vision API with image + synthesized prompt│
│  4. LLM post-processes response into YAML Jazz                 │
│                                                                 │
│  The SMART WORK happens in the orchestrating LLM.              │
│  Remote API just does vision with good instructions.           │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Native Mode Workflow

# DON'T do this:
python mine.py image.png --context room.yml --characters chars/ --prior mined.yml

# DO this (in Cursor/Claude):
# 1. Read the image
# 2. Read room.yml, character files, prior -mined.yml
# 3. Look at the image with all that context
# 4. Write YAML Ja
Полный SKILL.md на GitHub

Установить image-mining в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
write_file

Вложенные файлы

metadata.json

FAQ

Что делает скилл image-mining?

I mine pixels for atoms. Reality is just compressed resources.

Как установить скилл image-mining?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл image-mining запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить image-mining с