Logo von Telemetry

Telemetry

Organisation
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`.

Übersicht

Herausgeberai-driven-dev
Repositoryframework
Skill-Nametelemetry
Sterne
515
Forks
54
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von ai-driven-dev auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Telemetry in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/ai-driven-dev/framework/tree/main/cli/.claude/skills/telemetry
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Telemetry in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Telemetry automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Telemetry nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der KI-Skill 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...

Warum Telemetry in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Telemetry besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Telemetry in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/ai-driven-dev/framework/tree/main/cli/.claude/skills/telemetry ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Telemetry nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Telemetry verwenden?

So viele Sie möchten. In TypingMind können Sie Telemetry mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Telemetry kostenlos?

Ja. Der Skill wird von ai-driven-dev auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇