Token导航 LogoToken导航

Agent Skill · 研究检索

apideck-migration(顶层迁移)

apideck-migration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

apideck-migration 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 64,698。

总安装 294周安装 12GitHub Stars 2下载 94核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:apideck-migration(顶层迁移)
来源仓库:https://github.com/apideck-libraries/api-skills
仓库路径:skills/apideck-migration
安装命令:
npx skills add https://github.com/apideck-libraries/api-skills --skill apideck-migration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/apideck-libraries/api-skills --skill apideck-migration

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

协助将原有直连第三方 API 迁移至 Apideck 统一层。可将多个独立集成合并为单一 Apideck 接入点。支持 200+ 连接器但需验证操作覆盖范围。对不支持字段可使用 pass_through 透传原始数据。迁移过程应保持业务逻辑透明无感知中断。

apideck-migration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/apideck-migration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/apideck-libraries/api-skills --skill apideck-m…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

apideck-migration 怎么安装?

在终端执行 npx skills add https://github.com/apideck-libraries/api-skills --skill apideck-migration。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

apideck-migration 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

apideck-migration 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

apideck-migration 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

apideck-migration 用的人多吗?

公开数据是累计安装 294 次,近一周安装 12 次,下载 94 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

apideck-migration 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
apideck-migration

顶层迁移 · 本页

2942接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Apideck Migration Guide Skill

Overview

This skill helps migrate existing direct third-party API integrations (Salesforce, HubSpot, QuickBooks, Xero, etc.) to Apideck's unified API layer. The benefit is replacing N separate integrations with a single Apideck integration that supports 200+ connectors.

IMPORTANT RULES

  • ALWAYS check connector coverage before migrating. Not all operations may be supported through the unified API.
  • ALWAYS preserve existing data flows and business logic. Migration should be transparent to end-users.
  • USE pass_through for connector-specific fields that don't map to the unified model.
  • USE custom field mapping in Vault for recurring connector-specific fields.
  • NEVER delete the existing integration code until the Apideck migration is verified in production.
  • RECOMMEND a phased migration: start with read operations, then writes, then webhooks.

Migration Strategy

Phase 1: Assessment

  1. Inventory existing integrations — List all third-party APIs currently in use
  2. Map operations — For each integration, list the CRUD operations and fields used
  3. Check coverage — Verify each operation is supported via the Apideck Connector API
  4. Identify gaps — Note operations that need pass_through or Proxy API
  5. Plan consumer mapping — Decide how your users/tenants map to Apideck consumer IDs

Phase 2: Connection Setup

  1. Create Apideck account — Get API key and App ID from the dashboard
  2. Enable connectors — Enable the connectors you need in the Apideck dashboard
  3. Integrate Vault — Add Vault JS to your frontend for user-managed connections
  4. Create consumers — Map your existing users to Apideck consumer IDs
  5. Authorize connections — Have users re-authorize via Vault (OAuth is handled automatically)

Phase 3: Read Migration (Low Risk)

Replace read operations first since they're non-destructive:

// BEFORE: Direct Salesforce API
const contacts = await salesforce.sobjects.Contact.find({
  Email: "john@example.com",
});

// AFTER: Apideck Unified API
const { data } = await apideck.crm.contacts.list({
  serviceId: "salesforce",
  filter: { email: "john@example.com" },
});

Phase 4: Write Migration

Replace create/update/delete operations:

// BEFORE: Direct HubSpot API
const contact = await hubspot.crm.contacts.basicApi.create({
  properties: {
    firstname: "John",
    lastname: "Doe",
    email: "john@example.com",
    company: "Acme Corp",
  },
});

// AFTER: Apideck Unified API
const { data } = await apideck.crm.contacts.create({
  serviceId: "hubspot",
  contact: {
    first_name: "John",
    last_name: "Doe",
    emails: [{ email: "john@example.com", type: "primary" }],
    company_name: "Acme Corp",
  },
});

Phase 5: Webhook Migration

Replace direct webhook handlers with Apideck's unified webhooks:

// BEFORE: Salesforce-specific webhook handler
app.post("/webhooks/salesforce", (req, res) => {
  const event = req.body;
  if (event.type === "ContactChangeEvent") {
    handleContactChange(event);
  }
});

// AFTER: Apideck unified webhook handler
app.post("/webhooks/apideck", (req, res) => {
  const signature = req.headers["x-apideck-signature"];
  if (!verifySignature(req.body, signature, secret)) {
    return res.status(401).send("Invalid signature");
  }

  const { event_type, entity_id, service_id } = req.body.payload;
  // Works for ALL connectors, not just Salesforce
  if (event_type === "crm.contact.updated") {
    handleContactChange(entity_id, service_id);
  }
  res.status(200).send("OK");
});

Common Migration Patterns

CRM: Salesforce to Apideck

Salesforce APIApideck Unified API
sobjects.Contact.create()crm.contacts.create({serviceId: "salesforce"})
sobjects.Account.find()crm.companies.list({serviceId: "salesforce"})
sobjects.Opportunity.update()crm.opportunities.update({serviceId: "salesforce"})
sobjects.Lead.create()crm.leads.create({serviceId: "salesforce"})
sobjects.Task.create()crm.activities.create({serviceId: "salesforce"})
Custom fields via custom_sf_field__cpass_through: [{service_id: "salesforce", extend_object: {custom_sf_field__c: "value"}}]

CRM: HubSpot to Apideck

HubSpot APIApideck Unified API
crm.contacts.basicApi.create()crm.contacts.create({serviceId: "hubspot"})
crm.companies.basicApi.getAll()crm.companies.list({serviceId: "hubspot"})
crm.deals.basicApi.create()crm.opportunities.create({serviceId: "hubspot"})
crm.contacts.searchApi.doSearch()crm.contacts.list({serviceId: "hubspot", filter: {...}})

Accounting: QuickBooks to Apideck

QuickBooks APIApideck Unified API
Invoice.create()accounting.invoices.create({serviceId: "quickbooks"})
Customer.findAll()accounting.customers.list({serviceId: "quickbooks"})
Bill.create()accounting.bills.create({serviceId: "quickbooks"})
Payment.create()accounting.payments.create({serviceId: "quickbooks"})
JournalEntry.create()accounting.journalEntries.create({serviceId: "quickbooks"})
CompanyInfo.get()accounting.companyInfo.get({serviceId: "quickbooks"})

Accounting: Xero to Apideck

Xero APIApideck Unified API
xero.accountingApi.createInvoices()accounting.invoices.create({serviceId: "xero"})
xero.accountingApi.getContacts()accounting.customers.list({serviceId: "xero"})
xero.accountingApi.createBankTransactions()accounting.payments.create({serviceId: "xero"})
xero.accountingApi.getReportBalanceSheet()accounting.balanceSheet.get({serviceId: "xero"})

HRIS: BambooHR to Apideck

BambooHR APIApideck Unified API
GET /employees/directoryhris.employees.list({serviceId: "bamboohr"})
POST /employeeshris.employees.create({serviceId: "bamboohr"})
GET /employees/{id}hris.employees.get({serviceId: "bamboohr", id})
PUT /employees/{id}/time_off/requesthris.timeOffRequests.create({serviceId: "bamboohr"})

File Storage: Google Drive to Apideck

Google Drive APIApideck Unified API
drive.files.list()fileStorage.files.list({serviceId: "google-drive"})
drive.files.create()fileStorage.files.create({serviceId: "google-drive"})
drive.files.get()fileStorage.files.get({serviceId: "google-drive"})
drive.files.export()fileStorage.files.download({serviceId: "google-drive"})
drive.permissions.create()fileStorage.sharedLinks.create({serviceId: "google-drive"})

Handling Connector-Specific Fields

Option 1: Pass-Through (inline)

For one-off connector-specific fields in request bodies:

const { data } = await apideck.crm.contacts.create({
  serviceId: "salesforce",
  contact: {
    first_name: "John",
    last_name: "Doe",
    pass_through: [
      {
        service_id: "salesforce",
        operation_id: "contactsAdd",
        extend_object: {
          RecordTypeId: "012000000000001",
          Custom_Score__c: 85,
        },
      },
    ],
  },
});

Option 2: Custom Field Mapping (reusable)

For fields that are used repeatedly, configure custom mapping in Vault so they appear as part of the unified model:

// Set up custom mapping via Vault API
await apideck.vault.customMappings.update({
  unifiedApi: "crm",
  serviceId: "salesforce",
  id: "mapping_123",
  customMapping: {
    value: "$.Custom_Score__c",
  },
});

// Now the field appears in custom_fields on every response
const { data } = await apideck.crm.contacts.get({
  id: "contact_123",
  serviceId: "salesforce",
});
// data.custom_fields includes { id: "mapping_123", value: 85 }

Option 3: Proxy API (full control)

For operations not supported by the unified API, use the Proxy to make direct downstream calls while still using Apideck's managed authentication:

const response = await fetch("https://unify.apideck.com/proxy", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${apiKey}`,
    "x-apideck-app-id": appId,
    "x-apideck-consumer-id": consumerId,
    "x-apideck-service-id": "salesforce",
    "x-apideck-downstream-url": "/services/data/v59.0/sobjects/CustomObject__c",
    "x-apideck-downstream-method": "GET",
    "Content-Type": "application/json",
  },
});

Testing the Migration

  1. Run both integrations in parallel — Shadow mode: make Apideck calls alongside existing calls and compare responses
  2. Use raw mode — Add raw=true to Apideck calls to compare with the original API response
  3. Contract test with Portman — Generate tests from OpenAPI specs and run against your staging environment
  4. Test with the API Explorer — Use the Apideck API Explorer to verify endpoints interactively
  5. Gradual rollout — Migrate one connector at a time, starting with the lowest-traffic integration

Post-Migration Benefits

Once migrated to Apideck:

  • Add new connectors instantly — Enable a new connector in the dashboard, no code changes needed
  • User self-service — End-users manage their own connections via Vault
  • Unified webhooks — One handler for all connectors instead of N separate handlers
  • Unified error handling — One error format instead of learning each API's error structure
  • Automatic maintenance — Apideck handles API version changes, deprecations, and auth token refresh

平台分布

Codex

34.82%
按下载量换算33

Claude

29.17%
按下载量换算27

Cursor

19.06%
按下载量换算18

Gemini CLI

10.24%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills