What is the Event Description Generator skill?
Event Description Generator is a science skill by amplitude for Claude Code, Cursor, Codex and other AI coding agents. 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.
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.
When to use it
Use when auditing missing event descriptions at scale without doing per-event analysis directly in this skill.
What the SKILL.md covers
- Workflow
- Execution Rules
- Prerequisites
- Phase 1: Resolve Project
- 1.1 If projectId is provided
- 1.2 If project name is provided
- 1.3 If project name is not provided
- Phase 2: Build Cursor Plan
- Phase 3: Initialize Run Directory
- Phase 4: Spawn Worker Subagents
- Author
- amplitude
- Pack
- amplitude/mcp-marketplace (30 skills)
- Category
- Science, #145 of 227
- Alyn Score
- 59 / 99
- Files
- 4, includes scripts, includes references
- License
- MIT
- Last updated
- 5 days ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Event Description Generator compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Event Description Generator · amplitude | 59 | 48 | 5 days ago |
| Prompt Generator · huangserva | 32 | 1.5k | 7 months ago |
| Math Modeling · XiaoMaColtAI | 59 | 2k | 2 days ago |
| Model Code And Result Generator · yushui2022 | 50 | 465 | 32 days ago |
Install Event Description Generator
Pick your agent. Every command is ready to paste.
npx alyn-cli add event-description-generatorDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add amplitude/mcp-marketplace --skill event-description-generatorOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads event-description-generator when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the event-description-generator skill”. In Codex, type $event-description-generator.
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
- Resolve project input (
projectIdor project name) - Create a run ID with short git SHA (
<projectId>-<sha>) - Create run directories under
runs/ - Determine cursor plan (
cursorStart,maxEvents, chunk size) - Spawn
event-descriptions-workersubagents for cursor chunks - Collect worker summaries + output paths
- Compress the run into a single CSV
- 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_metadatafrom 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:0maxEvents:400eventsPerWorker:50maxParallelWorkers:4
For maxEvents:
- Compute total chunks as
ceil(maxEvents / eventsPerWorker). - Process at most
maxEventsevents starting atcursorStart. - For the final chunk, pass a reduced
eventsPerWorkerif needed to avoid exceedingmaxEvents.
For each chunk:
- Worker input cursor = current cursor
- Next planned cursor = current cursor +
eventsPerWorker
Phase 3: Initialize Run Directory
Before launching workers:
- Get the short git SHA by running
git rev-parse --short HEADin the workspace root. - Create
runId = <projectId>-<sha>. - 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)cursorrunIdeventsPerWorker(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:
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:
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:100maxParallelWriters: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:
python3 .agents/skills/event-description-generator/scripts/writer-plan.py <csvPath>
The script outputs JSON with all the information needed to spawn writers:
{
"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)csvPathlineStartlineEnd
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 writtenskippedRows: rows filtered due to missing fieldssuccess: true/falseerrors: any tool errors
8.5 Write report
Return a concise summary:
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
Tips for Event Description Generator
- • Start a fresh session after installing so your agent picks up the new skill.
- • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
- • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Event Description Generator
What does the Event Description Generator 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.
How do I install Event Description Generator?
Run "npx alyn-cli add event-description-generator" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Event Description Generator work in Cursor and Codex?
Yes. Event Description Generator uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Event Description Generator skill?
Use when auditing missing event descriptions at scale without doing per-event analysis directly in this skill.
What is inside the Event Description Generator skill?
The SKILL.md covers Workflow, Execution Rules, Prerequisites, Phase 1: Resolve Project, 1.1 If projectId is provided, 1.2 If project name is provided, and the skill folder has 4 files including scripts.
What is a good alternative to Event Description Generator?
Prompt Generator by huangserva is the highest-ranked similar skill from another creator, with an Alyn Score of 32 compared to 59 for Event Description Generator.
Is Event Description Generator free?
Event Description Generator is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Event Description Generator?
Event Description Generator is published by amplitude in the amplitude/mcp-marketplace repository, together with 29 other skills.

