track-mentions — Claude Code command: purpose and install
track-mentions finds fresh web references to the Claude Code Ultimate Guide and updates its tracker. Use it when you need a repeatable mention audit.
CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22
.claude/commands/track-mentions.mdWhat track-mentions does
The command searches third-party pages and social posts for references to the Claude Code Ultimate Guide. It reads docs/media-mentions/mentions.yaml, compares discovered URLs with the existing set, and ignores the guide’s own site and repository. Results can come from articles, Reddit, X, LinkedIn, videos, podcasts, GitHub, or directories.
The main search uses mcp__perplexity__perplexity_deep_research. If that search refuses or returns nothing, the workflow switches to WebSearch and checks candidate pages with WebFetch. New entries receive a platform category, status, and sequential ID; the command then refreshes the YAML metadata and the stats table in docs/media-mentions/README.md.
--dry-run reports findings without editing files. --add-all writes every new result automatically; the normal mode asks for confirmation item by item and creates a Git commit. The main workflow requires access to mcp__perplexity__perplexity_deep_research.
What it helps with
- discover new guide mentions across the web
- remove URLs already present in the tracker
- classify references by source platform
- refresh the YAML tracker and README stats
- commit the updated media-mention files
Example prompts for the agent
- Run
/track-mentionsand review the new references before adding them. - Use
/track-mentions --dry-runto inspect results without changingdocs/media-mentions/mentions.yaml. - Run
/track-mentions --add-allto add every discovered mention.
How to install track-mentions
Manually: put the files in place
.claude/commands/track-mentions.mdCall it with /track-mentions. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/track-mentions.mdCall it with /prompts:track-mentions. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/track-mentions.prompt.mdManually: put the files in place
.gemini/commands/track-mentions.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about track-mentions
How do I install track-mentions in Claude Code?
Save the command as .claude/commands/track-mentions.md.
What does track-mentions do?
It finds third-party references to the Claude Code Ultimate Guide, compares their URLs with docs/media-mentions/mentions.yaml, adds new entries, and refreshes related files.
What is the difference between --dry-run and --add-all?
--dry-run only reports new references. --add-all adds every result without asking for approval for each item.