Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/mixpanel/ai-plugins/manage-tagsgit clone --depth 1 https://github.com/mixpanel/ai-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/mixpanel/ai-plugins/manage-tags)<a href="https://agentmods.dev/commands/mixpanel/ai-plugins/manage-tags"><img src="https://agentmods.dev/badge/commands/mixpanel/ai-plugins/manage-tags.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00661 |
| Opus 5 | $0.00000 | $0.00331 |
| Sonnet 5 | $0.00000 | $0.00132 |
| Haiku 4.5 | $0.00000 | $0.00066 |
Grade A, and why
manage-tags scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command — Manage Tags
Session reads:
event_list,event_details_cacheSession writes:event_details_cache,existing_tags
Rename or delete existing Lexicon tags. Execute silently.
Phase 1 — Fetch Existing Tags
Build existing_tags and show the user the current tag list with event counts.
Ensure the required Session reads are loaded; load any that aren't.
Build existing_tags: unique tag names from event_details_cache, each with event count.
If zero tags → output ℹ️ No tags found in this project. → return to Execution loop.
Display:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TAGS — [Project Name] ([N] tags)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# │ Tag Name │ Events
───┼───────────────────┼────────
1 │ Commerce │ 12
2 │ Navigation │ 8
...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
(a) Rename a tag (b) Delete a tag (c) Done
Phase 2 — Rename
Rename a tag, with a merge fallback when the new name already exists.
User picks tag by number or name, provides new name.
Confirm: Rename "[old]" → "[new]" across [N] events?
Atomic rename (preferred): rename the tag at the project level. The change propagates to every event automatically.
Merge fallback: if a tag with the new name already exists, the atomic rename will error. In that case: for each event with the old tag, replace [old] with [new] in its tag array (preserving every other tag the event had). Then delete the now-unused old tag from the project.
Update event_details_cache and existing_tags to reflect the renamed/merged tag.
Phase 3 — Delete
Delete a tag from the project.
User picks tag by number, name, or range ("1-3").
Confirm: Delete tag "[name]"? This removes it from [N] events.
Delete the tag at the project level. The change propagates to every event automatically.
Update event_details_cache — remove the deleted tag from every event's tags array. Update existing_tags.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 93 lines · 0 tokens per session scan A 713ec3fa6a0a
manage-tags is a command published in the GitHub repository mixpanel/ai-plugins (15 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 661 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.