Logotipo de Old Adventure Game Draw

Old Adventure Game Draw

Comunidad
scpedicini
old-adventure-game-draw

Dibuja escenas de juegos de aventuras retro al estilo de Sierra / King's-Quest (AGI, 160×168, EGA de 16 colores) como instrucciones vectoriales de dibujo en PicScript, conviértelas a PNG y añádelas al visor kq-styles. Úsala si te piden dibujar, pintar, diseñar o recrear una escena, un fondo, una pantalla o una habitación de un antiguo juego de aventuras, incluidas variantes de día, noche y atardecer; también para escribir o depurar archivos PicScript (.pic). Si el usuario proporciona una imagen para recrear o un boceto de distribución, un boceto híbrido (palabras más pinceladas de color) o una distribución ASCII (palabras colocadas donde deben ir los elementos), usa old-adventure-game-from-image en su lugar.

Descripción general

Editorscpedicini
Repositorioagi-stylist
Nombre de la habilidadold-adventure-game-draw
Estrellas
35
Forks
0
Archivos incluidos
86
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 86

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por scpedicini en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Old Adventure Game Draw en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/scpedicini/agi-stylist/tree/main/skills/old-adventure-game-draw
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scpedicini/agi-stylist.git /tmp/agi-stylist
mkdir -p .claude/skills
cp -r /tmp/agi-stylist/skills/old-adventure-game-draw .claude/skills/old-adventure-game-draw
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Old Adventure Game Draw en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Old Adventure Game Draw automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Old Adventure Game Draw no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Old Adventure Game draw

You write PicScript: a small, Logo-flavoured drawing language that compiles to the same kind of instructions Sierra's AGI engine used to paint King's Quest I screens (colour, lines, flood fills, brush plots). Scenes are text files. The app replays them stroke by stroke in the browser, and a CLI renders them to PNG so you can look at your own work.

Paths starting with references/ or examples/ are inside this skill's folder (skills/old-adventure-game-draw/). All other paths and commands are relative to the project root (the directory with package.json).

Read first (once per task)

  1. references/picscript.md: the language, the canvas (160×168, pixels twice as wide as tall) and the one rule that matters: fill only fills white pixels.
  2. references/style-guide.md: how KQ1 screens are composed and coloured, including the stage (up the screen is further away: sizes and ground paths shrink towards the horizon).
  3. references/stdlib.md: ready-made functions (horizon, sky, hills, ground, tree, pine, bush, rock, pond, river, path, cloud, fence, stonewall, flowers, fruit, sparkle, night()…). Each has a thumbnail PNG you can Read. There are also seed sheets (tree-seeds.png, rock-seeds.png, …) for choosing shapes.

Worked examples: examples/*.pic in this skill are small and focused:

  • minimal
  • outline-then-fill
  • turtle-tree
  • day-night-cottage
  • feature-object (a glowing golden apple)

scenes/handmade/lakeside.pic is a full recreation of a KQ1 screen.

Workflow

  1. Plan the scene as layers, back to front: sky → distant hills → far treeline → ground → far objects → near objects → small details → lighting (variants) → frame().
    • Decide the horizon row (KQ1 median: sky to ~row 14, hills to ~25, grass below ~30). horizon(y) paints that whole standard backdrop in one call with no gaps.
    • Decide where the big framing element goes and keep the walkable middle open.
    • Size things by depth: groundscale(base_y, horizon); paths, roads and rivers on the ground with trail(...), stands of trees with forest(...).
    • List the variants the user asked for (e.g. variants day, night).
  2. Write scenes/custom/<slug>.pic (kebab-case slug). Start with scene "<Title>" and variants …. Use stdlib functions for standard motifs. Write your own fns for anything specific to the request (a golden apple, a signpost, a well). Use polygon / rect / ellipse / shape() for shapes painted over other things. Use line for thin details in a contrasting partner colour.
  3. Render every variant and look at them:
    bash
    pnpm render scenes/custom/<slug>.pic --variant all --scale 3
    This writes out/<slug>-<variant>.png. Open each PNG with the Read tool and check it against the request and the style guide:
    • Is every requested element present and recognisable at this resolution?
    • Any white specks or bands (unpainted canvas)? Any leaked fills?
    • Do the colours follow KQ1 conventions? Are outlines visible against their background?
    • Does each variant read correctly (night is dark, lights stand out, …)? Add --steps 6 to see the painting order if layering looks wrong. Small details are hard to judge at full size, so zoom in with pnpm render <scene> --crop x1,y1,x2,y2 --scale 8.
  4. Lint:
    bash
    pnpm lint:pic scenes/custom/<slug>.pic
    Fix every error and warning. A fill that floods more than 40% of the picture is flagged as a possible leak. If a big background fill is intended, end its line with # lint: ok. Notes about never-painted canvas usually mean a gap: extend a band or add a backdrop rect.
  5. Iterate on steps 2-4 until it looks right. Usually 2-4 rounds. Small details (fruit, windows, flowers) are only a pixel or two, so make important ones at least 2×2.
  6. Report: the file path, the variants, the PNGs in out/, and the viewer link. Any .pic under scenes/ appears in the viewer automatically, at http://localhost:5250/#/scene/custom/<slug>?variant=<name>. The link only works while pnpm dev is running; say so instead of starting a server if you were asked not to. Mention anything you approximated.

Rules of thumb

  • Paint back to front. Solid shapes (rect, polygon, ellipse, stdlib) cover anything below them. fill only works on a white canvas, so use it for big areas painted first or in outline-then-fill sections.
  • The 2:1 pixel aspect: round things need rx ≈ ry / 2.
  • Use seed: arguments to get a different but repeatable shape for each tree or rock. Pick seeds from the seed sheets rather than guessing.
  • Make things that must be noticed (a golden apple, a key, a door) bigger than their neighbours, outline them in black, and give them a highlight pixel. examples/feature-object.pic shows how.
  • stars paint over anything, so keep their bottom above the mountain peaks.
  • Put variant-specific drawing after the shared scene. Call night() / dusk() (or your own remap) before drawing the moon, stars, lit windows and anything that should glow, so those keep their colours. night() darkens every colour at once (see its entry in stdlib.md).
  • Things may run off the picture: shape, polygon, outline and stroke are clipped at the edge. line bends off-picture points onto the edge and warns, so use stroke for lines that leave the picture.
  • Finish with frame(), the black 1-pixel border every KQ1 screen has.
  • Keep it bold and simple. Ten strong shapes beat a hundred specks.

Working from someone else's picture or layout

If the user gives you an image to recreate (a photo, painting, illustration, screenshot, or a tile from a sheet of game backgrounds), use the sibling skill ../old-adventure-game-from-image/SKILL.md. It reframes the image, grids it for measuring, and explains how to translate colours and simplify detail by eye. Don't convert it automatically.

The same skill handles layout sketches: an image or an ASCII box of words placed where things go (SUN top right, TREE1 bottom left), usually with a description of each, and hybrids that add rough coloured brushstrokes for areas and paths. Its sketch mode turns the layout into measured picture positions (exact ones for ASCII) and checks the result with an overlay.

Matching a KQ1 reference screen

To match a reference image (e.g. one of reference/kq1/*.png), add # @reference kq1/rRR-cCC to the scene header. Then:

  • pnpm render <scene> --compare --confusion prints the % match and the biggest "wanted X, got Y" mismatches.
  • pnpm regions kq1/rRR-cCC lists the major colour regions as polygons.
  • pnpm regions kq1/rRR-cCC --lines black extracts line art as polylines.

Troubleshooting

symptomcause / fix
fill did nothingseed pixel was already painted. Use polygon/rect, or fill before painting over
everything turned one coloura fill leaked through a gap in its outline. Close it, or use polygon
a parenthesised value can't contain ','write calls as tree(80, 120) or tree 80, 120, not tree (80, 120)
line 10 -5 drew the wrong thinga spaced minus starts a new argument. Write 10 - 5 or use commas
'variant' is built invariants are chosen at render time. Use if variant == "night" { … }
a detail disappearedit's the same colour as its background, or a later layer covered it

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

y 26 más.

Preguntas frecuentes

¿Qué hace la habilidad de IA Old Adventure Game Draw?

Dibuja escenas de juegos de aventuras retro al estilo de Sierra / King's-Quest (AGI, 160×168, EGA de 16 colores) como instrucciones vectoriales de dibujo en PicScript, conviértelas a PNG y añádelas al visor kq-styles. Úsala si te piden dibujar, pintar, diseñar o recrear una escena, un fondo, una pantalla o una habitación de un antiguo juego de aventuras, incluidas variantes de día, noche y atardecer; también para escribir o depurar archivos PicScript (.pic). Si el usuario proporciona una imagen para recrear o un boceto de distribución, un boceto híbrido (palabras más pinceladas de color) o...

¿Por qué usar Old Adventure Game Draw en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Old Adventure Game Draw está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Old Adventure Game Draw en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/scpedicini/agi-stylist/tree/main/skills/old-adventure-game-draw. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Old Adventure Game Draw?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Old Adventure Game Draw?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Old Adventure Game Draw con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Old Adventure Game Draw?

Sí. scpedicini la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇