Event Description Generator logo

Event Description Generator

Organization
amplitude
event-description-generator

Orchestrate event description audits by delegating chunk work to the event-descriptions-worker subagent. Resolve a project name to projectId via get_context when needed, then spawn worker subagents over cursors for a bounded run window and write outputs into run-scoped directories. Use when auditing missing event descriptions at scale without doing per-event analysis directly in this skill.

Overview

Publisheramplitude
Repositorymcp-marketplace
Skill nameevent-description-generator
Stars
47
Forks
12
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by amplitude on GitHub. Read the source before you install it.

Installation

Install the Event Description Generator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude-experimental/skills/event-description-generator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git /tmp/mcp-marketplace
mkdir -p .claude/skills
cp -r /tmp/mcp-marketplace/plugins/amplitude-experimental/skills/event-description-generator .claude/skills/event-description-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Event Description Generator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Event Description Generator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Event Description Generator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Event Description Generator

Run this skill as an orchestrator only. Do not perform per-event filtering, repo search, or description-writing logic in this skill body. Delegate chunk processing to the event-descriptions-worker subagent.

Workflow

  1. Resolve project input (projectId or project name)
  2. Create a run ID with short git SHA (<projectId>-<sha>)
  3. Create run directories under runs/
  4. Determine cursor plan (cursorStart, maxEvents, chunk size)
  5. Spawn event-descriptions-worker subagents for cursor chunks
  6. Collect worker summaries + output paths
  7. Compress the run into a single CSV
  8. Report concise progress and next cursor

Execution Rules

  • Keep this skill as a dispatcher; the worker does the heavy lifting.
  • Do not call set_event_metadata from this skill.
  • Do not manually re-implement worker filtering/search logic here.
  • Preserve user control over scope (project, cursor range, chunk size, parallelism).

Prerequisites

The user must provide either:

  • projectId, or
  • project name to resolve.

If neither is provided, stop and ask.

Phase 1: Resolve Project

1.1 If projectId is provided

Use it directly.

1.2 If project name is provided

Call get_context and resolve the name to a single projectId.

  • If exactly one clear match exists, continue with that ID.
  • If multiple matches exist, ask the user to choose.
  • Do not choose an ambiguous match on behalf of the user.

1.3 If project name is not provided

Prompt the user to input the project name or ID and halt.

Phase 2: Build Cursor Plan

Default values unless the user specifies otherwise:

  • cursorStart: 0
  • maxEvents: 400
  • eventsPerWorker: 50
  • maxParallelWorkers: 4

For maxEvents:

  • Compute total chunks as ceil(maxEvents / eventsPerWorker).
  • Process at most maxEvents events starting at cursorStart.
  • For the final chunk, pass a reduced eventsPerWorker if needed to avoid exceeding maxEvents.

For each chunk:

  • Worker input cursor = current cursor
  • Next planned cursor = current cursor + eventsPerWorker

Phase 3: Initialize Run Directory

Before launching workers:

  1. Get the short git SHA by running git rev-parse --short HEAD in the workspace root.
  2. Create runId = <projectId>-<sha>.
  3. Ensure these directories exist:
    • .agents/skills/event-description-generator/runs/
    • .agents/skills/event-description-generator/runs/<runId>/

Phase 4: Spawn Worker Subagents

For each planned cursor, invoke event-descriptions-worker with:

  • projectId (resolved)
  • cursor
  • runId
  • eventsPerWorker (optional per-worker chunk size; pass when not default)

Worker output file convention:

  • .agents/skills/event-description-generator/runs/<runId>/event-descriptions-<cursor>.csv

4.1 Parallelization guidance

  • If user asks for one cursor, run one worker.
  • If user asks for multiple cursors/range, run workers in parallel up to maxParallelWorkers.
  • For large ranges, run in waves (bounded concurrency), then continue until limit reached.

Phase 5: Collect Worker Results

From each worker response, capture:

  • events fetched
  • events written
  • output CSV path
  • next cursor
  • any errors

Phase 6: Compress Run

After all workers have completed, run the compress script to merge all chunk CSVs into a single file, keeping only rows with a suggested_description:

bash
python3 .agents/skills/event-description-generator/scripts/compress-run.py <runId>

Capture the script's stdout to include compression stats in the report. If the script fails, note the error but do not block the report.

Phase 7: User-Facing Report

Return a short summary:

text
Event description generator dispatch complete for project {projectId}
- Run ID: {runId}
- Workers run: {n}
- Total fetched: {sum_fetched}
- Total written: {sum_written}
- Compressed output: .agents/skills/event-description-generator/runs/{runId}/{runId}-{YYYY-MM-DD}.csv
  - Rows with descriptions: {compress_written}
  - Rows filtered (no description): {compress_filtered}
- Next cursor to continue: {max_next_cursor_or_last_next_cursor}
- Errors: {none_or_list}

If the user never specified writing the descriptions, ask if they would like to write the suggested descriptions to Amplitude.

Phase 8: Write Descriptions to Amplitude

IMPORTANT: Only execute this phase when the user has explicitly asked to write descriptions.

Fixed constants (not configurable):

  • eventsPerWriter: 100
  • maxParallelWriters: 4

8.1 Locate the compressed CSV

Use the compressed output path reported in Phase 7:

.agents/skills/event-description-generator/runs/<runId>/<runId>-<YYYY-MM-DD>.csv

If the file does not exist (e.g. the user is resuming a previous run), ask the user to provide the path and halt.

8.2 Build writer plan

Run the writer-plan script to count data rows and compute chunks in one step:

bash
python3 .agents/skills/event-description-generator/scripts/writer-plan.py <csvPath>

The script outputs JSON with all the information needed to spawn writers:

json
{
  "csvPath": "...",
  "totalDataRows": 137,
  "eventsPerWriter": 50,
  "totalChunks": 3,
  "chunks": [
    { "index": 0, "lineStart": 1, "lineEnd": 50 },
    { "index": 1, "lineStart": 51, "lineEnd": 100 },
    { "index": 2, "lineStart": 101, "lineEnd": 137 }
  ]
}

Parse the JSON output and use the chunks array to drive step 8.4.

8.3 Spawn writer subagents

For each planned chunk, invoke event-descriptions-writer with:

  • projectId (resolved in Phase 1)
  • csvPath
  • lineStart
  • lineEnd

Run workers in parallel up to maxParallelWriters. For large files, process in waves (bounded concurrency) until all chunks are complete.

8.4 Collect writer results

From each worker response, capture:

  • written: events successfully written
  • skippedRows: rows filtered due to missing fields
  • success: true/false
  • errors: any tool errors

8.5 Write report

Return a concise summary:

text
Description write complete for project {projectId}
- Source: {csvPath}
- Total data rows: {totalDataRows}
- Writers run: {totalChunks}
- Total written: {sum_written}
- Total skipped: {sum_skipped}
- Errors: {none_or_list}

Common Invocation Patterns

Single chunk

  • Inputs: projectId=123, cursor=500
  • Run ID generated once for this invocation
  • Action: spawn one worker
  • Output: one CSV + next cursor

Multi-chunk wave

  • Inputs: projectId=123, cursorStart=0, maxEvents=100, eventsPerWorker=20
  • Planned cursors: 0, 20, 40, 60, 80
  • Action: spawn workers with bounded parallelism
  • Output: five CSVs under one run directory, continuation cursor 100

References

  • Audit worker definition: .cursor/agents/event-descriptions-worker.md
  • Writer worker definition: .cursor/agents/event-descriptions-writer.md
  • Compress script: .agents/skills/event-description-generator/scripts/compress-run.py
  • Legacy search heuristics (if needed for worker evolution): search-playbook.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Event Description Generator AI skill do?

Orchestrate event description audits by delegating chunk work to the event-descriptions-worker subagent. Resolve a project name to projectId via get_context when needed, then spawn worker subagents over cursors for a bounded run window and write outputs into run-scoped directories. Use when auditing missing event descriptions at scale without doing per-event analysis directly in this skill.

Why use Event Description Generator on TypingMind?

Because you install it once and use it with any model. Event Description Generator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Event Description Generator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude-experimental/skills/event-description-generator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Event Description Generator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Event Description Generator?

As many as you like. As long as a model supports skills, you can use Event Description Generator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Event Description Generator AI skill free?

Yes. It is published on GitHub by amplitude under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇