mozilla/firefox-aidev-plugins/trainhop-adv-target
Claude Code and agent skill by mozilla/firefox-aidev-plugins
- community
Checking that the SKILL.md file is still in the repository.
End-to-end New Tab train-hop targeting for the Experimenter repo. From a single trainhop version string, files the GitHub targeting issue, branches, adds the NimbusTargetingConfig entry, lints, and stages a drafted commit. Use for "newtab trainhop targeting" requests.
Install
npx vskill@latest install mozilla/firefox-aidev-plugins/trainhop-adv-targetSKILL.md
New Tab Train-hop Targeting
Run the whole recurring train-hop targeting task end-to-end. The only required input is the trainhop version string; everything else is derived.
Input
- Version string, format
major.minor.YYYYMMDD.buildid, e.g.153.4.20260610.40323.
If not given, ask for it.
- Fx major for the "includes users of" line — defaults to
151; override only if told.
Steps
1. Ask for the version
If the user didn't supply the trainhop version, ask for it. That is the only input needed.
2. Derive values
From major.minor.YYYYMMDD.buildid:
- Python var:
FX_<major>_<minor>_TRAINHOP(drop_<minor>only if minor is0/first of
that major — check what's already in constants.py)
name:New Tab Fx<major> <Mon>-<DD> Trainhop(month abbrev from YYYYMMDD, e.g.Jun-10)slug:newtab-<major>-<MMDD>-trainhop(e.g.newtab-153-0610-trainhop)targeting:newtabAddonVersion|versionCompare('<version>') >= 0
3. File the GitHub issue
The Jira sync footer is auto-added — leave it out. gh issue create prints the new issue URL; capture the issue number from it for the next steps.
4. Create the branch
e.g. 15938-train-hop-153.4.20260610.40323.
5. Add the target
Append the new config immediately after the most recent FX_..._TRAINHOP entry in experimenter/experimenter/targeting/constants.py, copying its exact shape:
Confirm the latest entry first: grep -n "TRAINHOP = NimbusTargetingConfig" experimenter/experimenter/targeting/constants.py | tail. This is the only source file that changes.
6. Run ruff
From the experimenter/ directory. Pull the ruff version the repo pins rather than hardcoding it:
7. Stage changes and draft the commit message
Print this message — do NOT commit unless asked:
Reference examples
PRs #15676, #15786, #15842 — each is a single ~14-line addition to constants.py.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/newtab/skills/trainhop-adv-target/SKILL.md
Popularity
- Repository stars
- 12
- Repository forks
- 16
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mozilla/firefox-aidev-plugins/trainhop-adv-target)