agentsource-v1-v2-upgrade skill packages the whole v1 → v2 contract — endpoint moves, renamed and removed fields, filter changes, async-job semantics, events, and webhooks — as an executable playbook: the agent audits your codebase with a bundled scanner, applies the smallest complete migration, updates your tests, and reports anything that needs human review.
Download
⬇ Download agentsource-v1-v2-upgrade.zip (12 KB) The ZIP contains the skill definition, the migration-rules reference, and a residual-v1 scanner:Install
Extract the ZIP into the skill directory your coding agent uses:<skill-directory>/agentsource-v1-v2-upgrade/SKILL.md. OpenCode discovers skills in both locations.
Commit the extracted directory if the whole team should have the skill, and restart your coding agent if the skill directory didn’t exist when the current session started.
Register it in your project instructions
Add an entry under the skills section of your agent instructions file (create a short## Agent Skills section if there isn’t one):
Run the migration
Invoke it directly in Claude Code:What it does
- Audits first — runs the bundled
scan_v1.pyto inventory v1 endpoints, fields, filters, pagination, and event names across code, tests, fixtures, and docs. - Applies the full contract —
/v1→/v2paths,/bulk_enrichremoval, thecontact_informationrename and its removedemailsfield,has_contact_details, consolidated autocomplete,executive_joined_company, webhook binding, and the rest of What’s new. - Preserves behavior — keeps sync
/enrichsemantics unless your code already orchestrates async work, and implements polling, failure, and input-limit handling whenever it chooses/job. - Verifies — updates tests to assert the new paths, bodies, and fields, re-runs the scanner, and lists any remaining manual-review items with file and line references.
Related
Migration guide
The same contract in human-readable form — endpoint mapping, breaking changes, deprecation timeline
What's new in v2
Every change the skill applies, with the reasoning behind it