agentleFS
addit-digitaladdit-digital/addit-harness/skills/telemetry-export/SKILL.md

telemetry-export

Skill4 starsChanged 2 months agoMITView on GitHub

Build a summary page (data.json + an offline report.html) from the local addit-harness telemetry log, and optionally publish aggregated KPIs as a private Artifact on claude.ai. Run only when the user asks for it; it needs the telemetry_local option turned on earlier.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the exporter, forwarding any --days N the user gave, then print both output paths it prints (data.json and report.html, in one …

    line 14
  2. Very specific:

    If the log folder does not exist or is empty, the report says so ("n/a" everywhere).

    line 21
  3. Distinctive:

    Ask exactly, and wait for the answer:

    line 25
  4. Distinctive:

    Only after an explicit "yes" in this invocation:

    line 29
  5. Very specific:

    If the Artifact tool is unavailable (API-key login, Bedrock, Vertex, zero-data-retention), print the local path of artifact.html and stop.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Telemetry export

Turns the local, metadata-only log (written only while telemetry_local is on) into a summary on this machine. Nothing leaves the machine unless the user says yes in step 2.

  1. Run the exporter, forwarding any --days N the user gave, then print both output paths it prints (data.json and report.html, in one export/<timestamp>/ folder under the log):

    python3 "${CLAUDE_PLUGIN_ROOT}/skills/telemetry-export/scripts/export.py" --root "${CLAUDE_PLUGIN_DATA}/telemetry"

    If the log folder does not exist or is empty, the report says so ("n/a" everywhere); tell the user to turn on telemetry_local in /config and use the plugin for a while. Tell them report.html opens offline in any browser.

  2. Ask exactly, and wait for the answer:

    Publish the aggregated KPIs (no per-session rows, ids or hashes) as a private Artifact on claude.ai? This uploads them to Anthropic's hosted service under your account. yes/no

  3. Only after an explicit "yes" in this invocation:
    • Load artifact-design as the Artifact tool requires, then run the same command with --artifact --out <the export/<timestamp> folder from step 1>. It writes artifact.html there.
    • Publish that file unmodified with the Artifact tool, icon: "chart".
    • If the Artifact tool is unavailable (API-key login, Bedrock, Vertex, zero-data-retention), print the local path of artifact.html and stop. Never use any other upload route.

A "yes" applies to this invocation only; never treat it as standing consent. On "no" or no answer, stop after step 1.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.