Logotipo de Working From Reference Documents

Working From Reference Documents

Comunidad
lukapiskorec
working-from-reference-documents

Use when an experiment is grounded in a construction manual, design guide, or standard (typically a summarized md document with a source PDF behind it) and the model must stay traceable to it.

Descripción general

Editorlukapiskorec
Repositoriocraftbot
Nombre de la habilidadworking-from-reference-documents
Estrellas
191
Forks
29
Archivos incluidos
Solo instrucciones
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.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

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

Instalación

Instala la habilidad de IA Working From Reference Documents 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/lukapiskorec/craftbot/tree/main/skills/working-from-reference-documents
  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/lukapiskorec/craftbot.git /tmp/craftbot
mkdir -p .claude/skills
cp -r /tmp/craftbot/skills/working-from-reference-documents .claude/skills/working-from-reference-documents
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Working From Reference Documents 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 Working From Reference Documents 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 Working From Reference Documents 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á.

Working from reference documents

Overview

Fidelity to a reference is an auditable property, not a feeling. Every number in the model should trace back to a clause in the source, and every departure should be written down with its reason. Successful runs converge on the same two-phase shape: build from the extracted rules first, then diff the finished-looking model against the source's figures and photographs.

The mapping table comes first

Before any geometry, write a table with one row per rule taken from the reference:

| Source (section / figure / page) | Rule taken | Value and code symbol in the model |

Every constant in the script traces forward to a rule; every clause with no row is visibly unimplemented. Where the source gives a range (say, exterior walls 140-200 mm), the row records which end was picked and why. This turns "did we follow the reference" into a table read instead of a judgement call.

Rules for taking numbers

  • A dimension is meaningless without its datum. Establish which face or centreline a number is measured to before building on it, and cross-check headline dimensions against a second sheet. A footprint read as the platform edge can turn out to be the wall line on a larger platform, and the misread propagates into posts, trusses and the whole plan.
  • Distinguish primitive values from derived ones. Member sizes, spacings and angles copy over; counts, rises and spans must be recomputed once your overall dimensions differ (keep the source's stair going, but recompute the riser count and height for your own floor level, and check the result still fits the space available).
  • Pick parameters at stated thresholds, not mid-range. A threshold carries a justification the source itself supplies: the widest board still in the two-nail class is a defensible width; a round number from the middle of a range is not.
  • Trust drawings and schedules over body text when the source contradicts itself. Manuals carry internal contradictions (a floor board 30 mm in one chapter and 22 mm in the table and drawings); the drawings and quantity schedules are usually the reliable layer.

When the reference and the brief disagree

The brief overrides the reference, once, explicitly, in writing. If the brief says raised on stilts and the manual's kitchen wing sits on a ground slab, the wing goes, and the refusal is recorded with its reason. Leave a legible stub (a blind wall) where the omitted part would attach. Silent omission reads as an error; a recorded override reads as a decision.

When the reference runs out

  • A silent reference still owes you a detail. Diagrammatic sources draw arrangement, not connection. A handbook that draws slabs meeting a core without drawing the bearing still needs ledgers under the slab edges in the model. Gaps in a reference mark the places that demand inference, not the places that need no geometry.
  • Extend the source's own rules by analogy, snap to real material sizes, and label the extension as yours. A rule stated for main-roof hips ("about 50 mm deeper") can be applied to dormer valleys the source never sizes; if the arithmetic gives a size that is not a dressed lumber size, take the next real one. Record the extension as an application of the rule, never as directly sourced.
  • Do not adopt a feature whose detail the source does not draw. A layout whose members would stand over nothing, needing a cantilever detail the source never shows, produces geometry that looks right and is structurally nonsense. Prefer the version you can detail.
  • When geometry forbids the textbook detail, use the reference's own listed alternative before inventing one, and verify the alternative's own limits (where collar ties are impossible around dormers, the source's struts may work, but a strut chasing a rising member can never make its minimum angle; flag such members as needing engineering instead of faking it).

The two-phase workflow

  1. Phase 1: build from the tables. Extract sizes, spacings and grid rules; get a complete, numerically clean model standing. Layout and proportion only become legible once there is something to diff against.
  2. Phase 2: diff against the source's images. Re-read the figures and photographs one by one against your renders, as a table: in the figure | in the model | change made (or "kept", with reason). This pass finds what the first reading skipped: struts, strongbacks, doubled end joists and nailing strips can all arrive after the model already scores zero overlaps, and a cover photograph can drive changes the text never implied.

The summary loses the figures. Text extraction preserves tables well and assembly relationships badly; whatever was drawn rather than tabulated is missing from the summarized md document. A model built through several versions from the summary alone can need substantive rework once the original PDF spreads are opened. Standing order: before declaring done, go back to the original document's figures.

The deviation ledger

Keep three running lists, and repeat them in the rationale's scope section:

  1. Deviations from the source, each with its cause (brief override, geometric conflict, tooling limit) and the rejected alternative named.
  2. Considered and not changed, with reasons. This stops the next iteration from re-litigating settled questions.
  3. Not verified: what the source specifies that the model never checked.

Where the references live

The summaries and the PDFs behind them are in manuals/ at the repo root, catalogued in manuals/INDEX.md (title, summary filename, download link, description, table of contents). The PDFs are gitignored; each summary's header says where to download its PDF and under what filename to save it. Reading, selection and download are described in the running-craftbot-experiment skill.

Summarizing a new reference

When producing a new summarized md document from a PDF, put it in manuals/, give it the header block the existing summaries use (original PDF filename and download link, source, scope, most useful for), and add an entry to manuals/INDEX.md. Use this structure: a scope note naming what is and is not included (so nobody hallucinates absent span tables), a flat quick-reference table of parameter/value pairs, the prose with figure labels transcribed, a figure index, and a closing step-by-step summary for procedural modelling. A summary that ends in an ordered build sequence and begins with a parameter table can be used without rereading the prose.

Provenance

Distilled from the Fable design rationale documents of experiments 04, 08, 09, 11 and 13 in the CraftBot repo (https://github.com/lukapiskorec/craftbot), and from these summarized reference documents: Construction Manual of Prefabricated Timber House (FRIM/ITTO Technical Information Handbook No. 5, 1996), The Segal Method (The Architects' Journal special issue, 5 November 1986, by Jon Broome), How to CLT: architectural guidelines for early stages (Arkemi, Stockholm, 2nd ed. 2024), and Canadian Wood-Frame House Construction (CMHC), chapters 11 and 12.

Preguntas frecuentes

¿Qué hace la habilidad de IA Working From Reference Documents?

Use when an experiment is grounded in a construction manual, design guide, or standard (typically a summarized md document with a source PDF behind it) and the model must stay traceable to it.

¿Por qué usar Working From Reference Documents en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Working From Reference Documents 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 Working From Reference Documents en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/lukapiskorec/craftbot/tree/main/skills/working-from-reference-documents. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Working From Reference Documents?

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 Working From Reference Documents?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Working From Reference Documents 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 Working From Reference Documents?

lukapiskorec la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. 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 👇