Logotipo de Consistency Audit

Consistency Audit

Organización
bis-med-it
consistency-audit

On-demand framework self-audit. Checks the three layers (skills ↔ lib ↔ dictionary) for drift, internal inconsistency, and doc-vs-practice mismatch. Use when the user asks to "audit the framework", "check for consistency / drift", "is the workflow consistent", "go through the end-to-end process", before a release or promotion, or after a batch of edits to skills, lib, or the dictionary. This is NOT a stage of the 7-stage research loop; it is a maintenance pass run occasionally, on demand, by a framework developer.

Descripción general

Editorbis-med-it
Repositoriomarco-BIS
Nombre de la habilidadconsistency-audit
Estrellas
28
Forks
6
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
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 bis-med-it en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Consistency Audit 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/bis-med-it/marco-BIS/tree/main/skills/consistency-audit
  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/bis-med-it/marco-BIS.git /tmp/marco-BIS
mkdir -p .claude/skills
cp -r /tmp/marco-BIS/skills/consistency-audit .claude/skills/consistency-audit
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Consistency Audit 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 Consistency Audit 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 Consistency Audit 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á.

Consistency audit

The framework's three layers (the skills/ workflow + knowledge, the scripts/lib/ implementation, and the skills/model-dictionary/ specs) must not silently drift out of agreement.

There are two layers of defence, and you run both:

LayerWhereCadenceCatches
Mechanicaltests/test_doc_consistency.pyevery test run (automated)YAML parse breaks, index↔entries drift, stale module/entry counts, invalid verified.status, broken skill→file links, dangling lib.* references, replication folders missing core files
Semanticthis skillon demandstage-numbering coherence, propose/confirm choreography, doc-vs-practice, orphaned/overlapping skills, terminology drift (the judgement calls a regex can't make)

The mechanical layer is necessary but not sufficient: a green test suite with an incoherent workflow is still broken. Run the semantic pass too.

When to run

  • The user asks to audit / check the framework, or to "go through the end-to-end process".
  • Before promoting work to canonical, or before a release.
  • After a batch of edits to skills, lib, or the dictionary, especially a paper rebuild. Rebuilds can silently break dependent tests and docs.

Procedure

Step 1: Mechanical checks (fast, deterministic)

python -m pytest tests/test_doc_consistency.py -q

Every failure is a concrete drift with a file:line. Fix or report each. If during the audit you find a new class of drift that is mechanically checkable (a count, a reference, a parse, a path), encode it as a new test here so it can never regress. That is how the mechanical layer grows.

Step 2: Semantic audit (judgement)

A regex can't read meaning. By reading the skills, check:

  1. Stage-numbering coherence. The orchestrator is the source of truth: Stages 0a (knowledge-base initialisation) and 0b (intake & triage) fold into the Stage-1 log entry; Stage 1 = mode-specific entry flow, 2 = specification, 3 = data, 4 = estimation, 5 = sensibility, 6 = results, 7 = disposition. Every sub-skill that names a stage must match.
  2. Propose → confirm choreography. Every decision-point skill must propose a specific choice with rationale and wait for confirmation, never blank-ask (design principle 3). Flag any skill that merely describes.
  3. Doc-vs-practice. Spot-check that what the skills / CLAUDE.md claim matches what the code does: output paths, default hyperparameters, file locations, method availability.
  4. Orphaned / overlapping skills. Is every skill in the orchestrator's invocation table reachable from a stage (or clearly marked optional/on request)? Do two skills run the same check without a stated division of labour?
  5. Terminology / vocabulary. The same concept uses the same name across skills, e.g. the three verified.status levels (draft | checked_against_paper | signed_off), the mode labels (A/B/C).
  6. Source-priority agreement. Every statement of the knowledge-source cascade uses the one canonical order, user > model dictionary > knowledge base > parametric > data-driven, with economic logic checked at every level, defined once in specification/SKILL.md.

Step 3: Live execute smoke (prove the path, not just the prose)

Run one fast verified replication end-to-end and confirm it still passes its paper targets:

python scripts/replications/blanchard_quah_1989/replicate.py

Expect a 6/6 paper-target comparison table and output files under the script's co-located outputs/. A clean mechanical + semantic audit with a broken execute path is still a broken framework.

Step 4: Report & fix (propose, confirm)

Compile a prioritized findings list (P1 misleads the agent or user · P2 real friction or latent contradiction · P3 polish), each item with a file:line and a one-line fix. Per design principle 3, propose the fixes and wait for the user's confirmation before editing; then re-run Steps 1–3 to green. Record the audit (date, findings, dispositions) in your own notes, and update CONVENTIONS.md or docstrings where a finding changes behaviour.

Adding new invariants

When the audit surfaces a new class of drift, decide where it belongs:

  • Mechanically checkable (counts, references, parse-ability, paths, schema) → add a test to tests/test_doc_consistency.py. Prefer this: it runs continuously and can't be forgotten.
  • Judgement-only (semantics, choreography, design coherence) → add a bullet to Step 2 above so the next on-demand audit covers it.

Preguntas frecuentes

¿Qué hace la habilidad de IA Consistency Audit?

On-demand framework self-audit. Checks the three layers (skills ↔ lib ↔ dictionary) for drift, internal inconsistency, and doc-vs-practice mismatch. Use when the user asks to "audit the framework", "check for consistency / drift", "is the workflow consistent", "go through the end-to-end process", before a release or promotion, or after a batch of edits to skills, lib, or the dictionary. This is NOT a stage of the 7-stage research loop; it is a maintenance pass run occasionally, on demand, by a framework developer.

¿Por qué usar Consistency Audit en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Consistency Audit 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 Consistency Audit en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/bis-med-it/marco-BIS/tree/main/skills/consistency-audit. 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 Consistency Audit?

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 Consistency Audit?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Consistency Audit 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 Consistency Audit?

Sí. bis-med-it la ha publicado en GitHub bajo la licencia Apache-2.0. 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 👇