# Agent trace kit: install

You are an AI coding agent. The person who sent you here wants to install this kit. Follow the steps below in order. Talk to them in their language.

## What this kit is

- Three skills, plain markdown files. No hooks, no scripts, no MCP servers, no telemetry.
- madsalt.tech counts how many times these files are downloaded, as daily totals with nothing about you.
- `add-trace-ids`: finds every hand-off between agents in the code, reports how the run id passes today, and proposes the smallest change that gives each run one trace id.
- `event-schema`: the fields of one message event, and how each maps to OpenTelemetry GenAI attributes.
- `dashboard-checklist`: a read-only list of what a multi-agent dashboard must show, and which items your code can already feed.

Nothing is written before the person says yes. Writes are limited to: the optional clone of the repository (Step 1), the three skill files (Step 2), and later the code edits that add-trace-ids proposes and the TRACE-EVENTS.md file that event-schema proposes, each only after its own yes.

## Step 1. Find the agent code

Look for the code in the current folder: a `package.json`, a `pyproject.toml`, a `requirements.txt`, a `src/` folder, an `agents/` folder.

If the code is not on disk, ask the person for the repository URL. After a repository URL arrives, ask for a yes to clone it, then clone the repository yourself into the current folder. The person types no git commands. If the clone fails, show the error and ask for the URL again.

If no code is available at all, `event-schema` and `dashboard-checklist` still work without it. `add-trace-ids` needs the code.

## Step 2. Show what will be written

Show this table and wait for an explicit yes. Do not write anything before it (the clone in Step 1 has its own yes).

| Skill                 | Claude                                        | Codex                                         |
| --------------------- | --------------------------------------------- | --------------------------------------------- |
| `add-trace-ids`       | `.claude/skills/add-trace-ids/SKILL.md`       | `.agents/skills/add-trace-ids/SKILL.md`       |
| `event-schema`        | `.claude/skills/event-schema/SKILL.md`        | `.agents/skills/event-schema/SKILL.md`        |
| `dashboard-checklist` | `.claude/skills/dashboard-checklist/SKILL.md` | `.agents/skills/dashboard-checklist/SKILL.md` |

Use the Claude column when you are Claude, the Codex column when you are Codex. If a file already exists at one of these paths, show the difference and ask before replacing it; never overwrite it silently. These three files are all this install writes itself. Later, `add-trace-ids` may propose code edits and `event-schema` may propose a TRACE-EVENTS.md, each written only after its own yes.

## Step 3. Fetch the skills

After the yes, fetch each skill from the same base URL as this file. This file is at `https://madsalt.tech/kits/agent-trace-kit/install.md`, so the base is `https://madsalt.tech/kits/agent-trace-kit/`:

- `https://madsalt.tech/kits/agent-trace-kit/skills/add-trace-ids/SKILL.md`
- `https://madsalt.tech/kits/agent-trace-kit/skills/event-schema/SKILL.md`
- `https://madsalt.tech/kits/agent-trace-kit/skills/dashboard-checklist/SKILL.md`

If any fetch fails, stop. Say which one failed. Write nothing, not even the ones that worked.

## Step 4. Run `add-trace-ids`

Write all three files to the paths from Step 2, then run the `add-trace-ids` skill now.

The source and license are at `https://madsalt.tech/kits/agent-trace-kit/LICENSE` (MIT). A zip for Claude plugin installs is at `https://madsalt.tech/kits/agent-trace-kit.zip`.

---

More complex idea? Free consultation: write to me at https://madsalt.tech/#contact.
