Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/instantly-migration-deep-dive

@0d57af8
Run it yourself

Plan and execute a governed Instantly API v1-to-v2 migration with endpoint and key inventory. Use when replacing deprecated v1 calls and incompatible keys before cutover. Trigger with "migrate Instantly v1 to v2", "inventory deprecated Instantly endpoints", or "plan an Instantly API cutover".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/instantly-migration-deep-dive

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈81 tokens for metadata: the name and description. ≈948 when used: this file. ≈688 more on demand in 1 file.

Description uses 4.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈325 characters, or 4.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Instantly API v1-to-v2 Cutover

Overview

Move a production integration from deprecated API v1 to incompatible API v2 without silent behavior drift. Record assumptions, evidence, approval state, and rollback ownership so another operator can reproduce the result.

Prerequisites

  • The target repository, Instantly workspace, environment, and accountable owner
  • Current security, privacy, compliance, capacity, and change-control requirements
  • An approved API v2 key only when a bounded live verification is necessary

Tool Discipline

Use Read, Glob, and Grep to inspect code, configuration, and evidence. Use WebFetch only for current first-party Instantly documentation and package metadata. Use Write or Edit only when implementation was requested and exact target files are known; never write credentials, lead data, email content, or unrestricted environment output.

Current Contract

  • API v1 was deprecated on January 19, 2026; new integrations use API v2.
  • API v2 needs a new scoped bearer key and is not compatible with v1 keys.
  • Methods, paths, field naming, pagination, and several asynchronous operations changed.

Authentication

Use an API v2 key as Authorization: Bearer <key> against https://api.instantly.ai/api/v2. Grant only the endpoint-specific scopes needed, inject the key from an approved server-side secret manager, and never print, persist, commit, or place it in a URL. Treat key creation, rotation, revocation, member changes, workspace delegation, and production access as owner-approved actions.

Instructions

  1. Inventory every v1 endpoint, key, consumer, schedule, owner, and failure policy.
  2. Map each call to the official migration table and required v2 scope.
  3. Build v2 request/response contract tests for methods, snake_case fields, cursors, and background jobs.
  4. Issue separate v2 keys and dual-read only where privacy and consistency controls allow it.
  5. Canary one workflow, compare outcomes, then cut over consumers in bounded phases.
  6. Retire v1 credentials only after rollback expiry and verified v2 stability.

Approval Boundaries

Do not create, rotate, reveal, or revoke keys; invite or remove members; delegate across workspaces; connect sending accounts; create or activate campaigns; import or delete leads; change suppression or retention; register, patch, resume, or delete webhooks; alter plans or paid capacity; transmit diagnostics; or perform another production mutation without explicit approval from the accountable owner. Keep diagnosis read-only unless implementation was requested.

Output

Return the workspace-safe scope, files and contracts inspected, exact API v2 routes and required scopes, evidence collected, validation result, sensitive fields redacted, remaining risk, accountable owner, approval state, and rollback or next action.

Error Handling

Condition Response
401 Stop and verify that the bearer key exists, is current, and was not revoked.
403 Stop and compare the operation with its exact required scope; do not broaden to all:all by default.
429 Coordinate the workspace-wide budget, honor endpoint overrides, and bound retries.
Schema or tenant mismatch Fail closed, preserve redacted evidence, and do not retry a mutation.

Examples

Use a compact handoff that makes scope, mutation authority, and evidence reviewable.

Input:

phase=plan; calls=37; cutover=false

Expected handoff:

mapped=37/37; tests=prepared; canary=awaiting-owner

Resources

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a structured framework for migrating API integrations from Instantly v1 to v2. It emphasizes security best practices, including secret management, least-privilege scoping, and mandatory owner approval for sensitive actions.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Network Edits files
Modelinherit
argument-hint
[inventory-path] [phase]
version
1.13.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 6 allowed tools
ReadGlobGrepWebFetchWriteEdit
Other metadata
tags
[
  "saas",
  "instantly",
  "migration-deep-dive"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; live verification requires network access and an approved Instantly workspace and API v2 key

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/instantly-migration-deep-dive