Logotipo de Telemetry

Telemetry

Organización
ai-driven-dev
telemetry

Owns what a session cost and who it was for, under src/contexts/telemetry/ — reading a tool's own local files, attributing a figure to a person, a task, a flow or a step, and the sink that keeps records per machine. Use when adding a reader for another tool's transcript format, changing how a figure is attributed or reported, touching the sink or the identity store, or wiring a telemetry port. Do NOT use for what a tool declares about being measured — that is `kernel/measurement.ts`, read via the `tools` skill. Do NOT use for installing or removing the hook that writes the run journal into a project — that record belongs to `framework`.

Descripción general

Editorai-driven-dev
Repositorioframework
Nombre de la habilidadtelemetry
Estrellas
515
Forks
54
Archivos incluidos
Solo instrucciones
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.

  • 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 ai-driven-dev en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Telemetry 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/ai-driven-dev/framework/tree/main/cli/.claude/skills/telemetry
  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/ai-driven-dev/framework.git /tmp/framework
mkdir -p .claude/skills
cp -r /tmp/framework/cli/.claude/skills/telemetry .claude/skills/telemetry
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Telemetry 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 Telemetry 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 Telemetry 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á.

Telemetry

telemetry answers two questions about work already done: what did it cost, and whose was it. It never causes the work and never installs anything on a project's behalf. Everything it reads already exists on disk because a tool wrote it, so the whole context is a set of readers, a set of attribution rules, and one sink.

Where the sink and the run journal live, what the report renders, and what each tool declares about being measured are in aidd_docs/memory/telemetry.md. Read that for the facts; this page says where new code goes and what it must not do.

What goes in

ConceptLocation
A rendered answer's shapedomain/cost-report.ts, domain/cost-report-envelope.ts
How a figure is tied to somethingdomain/step-attribution.ts, domain/task-attribution.ts, domain/flow-attribution.ts
Reading one tool's own file formatdomain/formats/ (one module per tool's transcript or export)
A stored record and what happens to it over timedomain/telemetry-sink-record.ts, domain/telemetry-sink-retention.ts
Who a session was for, and how strongly that is knowndomain/person-resolution.ts, domain/ports/person-identity-reader.ts, domain/ports/person-identity-store.ts
Something telemetry needs from outside itselfdomain/ports/ — declared here, satisfied at the composition root
The concrete reader behind one of those portsinfrastructure/
One question the aidd telemetry command asksapplication/

How

  • A tool declares, telemetry reads. What a route was measured to supply, and where a tool's transcripts live, are declared in kernel/measurement.ts and filled in per tool under contexts/tools/domain/profiles/<tool>/. Every field there is required on purpose: a default would be a capability nobody measured, quietly asserted for a tool nobody looked at. Never add a branch on a tool id inside this context.
  • What telemetry needs from another context, it declares as its own port. installed-plugins-reader.ts and ignore-entries.ts are the pattern: telemetry states the question, runtime/wiring/telemetry.ts hands it an answer, and no context reaches into telemetry in return.
  • A figure with no established denomination is not an amount. A zero whose denomination was never established, a credit and a premium request are each their own thing; conflating them is how a report lies without ever being wrong about a number.
  • An interval derived from the run journal is this CLI's inference, not the tool's statement. Keep the two distinguishable in whatever you add — toolStatedStep exists for exactly that.
  • Follow the use-case and port/adapter rules in .claude/rules/00-architecture/.

Public surface

tests/architecture/context-boundary.arch.test.ts holds the list (PUBLIC_MODULES.telemetry): the use cases the telemetry command drives, the shapes a rendered answer is made of, the commit-trailer format the git adapter writes, and the two ports a caller wires a concrete adapter into (domain/ports/telemetry-sink.ts, domain/ports/version-control.ts). Nothing else, and no adapter. Rendering happens in presentation/display/, never here.

How it's tested

  • tests/contexts/telemetry/ mirrors src/contexts/telemetry/ — a format reader and an attribution rule are unit-tier; an adapter against a real temp filesystem is integration-tier.
  • A reader for a new tool's format needs a fixture captured from that tool's real output. A format module tested only against a fixture this repository wrote proves the parser, not the format. See the test skill before touching a golden snapshot.

Preguntas frecuentes

¿Qué hace la habilidad de IA Telemetry?

Owns what a session cost and who it was for, under src/contexts/telemetry/ — reading a tool's own local files, attributing a figure to a person, a task, a flow or a step, and the sink that keeps records per machine. Use when adding a reader for another tool's transcript format, changing how a figure is attributed or reported, touching the sink or the identity store, or wiring a telemetry port. Do NOT use for what a tool declares about being measured — that is `kernel/measurement.ts`, read via the `tools` skill. Do NOT use for installing or removing the hook that writes the run journal into...

¿Por qué usar Telemetry en TypingMind?

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

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/ai-driven-dev/framework/tree/main/cli/.claude/skills/telemetry. 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 Telemetry?

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 Telemetry?

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

Sí. ai-driven-dev 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 👇