Token导航 LogoToken导航

Agent Skill · 开发

knot-prototype-transactions(结原型交易)

knot-prototype-transactions 用于补充开发相关能力,适合在 Local Agent 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

knot-prototype-transactions 是开发类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为接触敏感数据;许可证信息还不明确,暂无第三方扫描结果,按安装量在开发类的 21,746 个 Skill 里排第 20,462。

总安装 220周安装 9下载 71核验 2026-05-01
开发接触敏感数据unknown未标认证来源可访问许可证需确认审计未展示Local Agent

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:knot-prototype-transactions(结原型交易)
来源仓库:https://docs.knotapi.com
仓库路径:knot-prototype-transactions
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

knot-prototype-transactions 用于补充开发相关能力。适合在 Local Agent 中让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

适用宿主包括 Local Agent,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:knot-prototype-transactions

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 knot-prototype-transactions。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

knot-prototype-transactions 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 knot-prototype-transactions。

knot-prototype-transactions 支持哪些 AI 工具?

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

knot-prototype-transactions 需要什么权限?

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

knot-prototype-transactions 是免费的吗?

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

knot-prototype-transactions 用的人多吗?

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

knot-prototype-transactions 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
knot-prototype-transactions

结原型交易 · 本页

220—接触敏感数据未明确未收录

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

SKILL.md 原文

Prototype with Transaction Data

Generate sample SKU-level transaction data from Knot's development API and use it immediately for prototyping — building UIs, exploring data shapes, or mocking up features. No SDK integration, no webhook setup, no production credentials. Just data.

API Reference

POST /development/accounts/link

Base URL: https://development.knotapi.com

Request body:

{
  "external_user_id": "string (required) — your unique identifier for the user",
  "merchant_id": "integer (required) — unique identifier for the merchant (use 19 for DoorDash)",
  "transactions": {
    "new": "boolean (required) — whether to generate new sample transactions",
    "updated": "boolean (optional, default false) — whether to also update some generated transactions. Requires new: true"
  }
}

Response (200):

{ "message": "Success" }

Errors: 401 with INVALID_API_KEYS means wrong credentials or using production keys against the development URL.

POST /transactions/sync

Base URL: https://development.knotapi.com

Request body:

{
  "merchant_id": "integer (required)",
  "external_user_id": "string (required)",
  "cursor": "string or null — null on first call, then pass next_cursor from previous response",
  "limit": "integer (optional, min 1, max 100, default 5)"
}

Response (200):

{
  "merchant": { "id": 19, "name": "DoorDash" },
  "transactions": [ ...array of transaction objects... ],
  "next_cursor": "string or null — null when no more pages remain",
  "limit": 100
}

Workflow

Step 1: Get Development API Keys

First, check whether the user already has a saved API key from a previous session. Look for a .env file in the working directory (or a parent) containing KNOT_DEV_API_KEY. If found, use it and skip to Step 2.

If no saved key exists, the user needs their development credentials from the Knot Dashboard. Walk them through it:

  1. Go to https://dashboard.knotapi.com/developers/keys
  2. Make sure the Development environment is selected (not Production)
  3. Copy the Client ID (click the copy button)
  4. Click View on the Secret to reveal it, then copy it

Ask the user to provide both values. Once they do, construct the API key:

API Key = base64("CLIENT_ID:SECRET")

Use base64 encoding (e.g., run echo -n "CLIENT_ID:SECRET" | base64 in the terminal) and set the resulting string as the Authorization: Basic <key> header for all subsequent API calls.

Save the key for future sessions: After constructing the base64-encoded API key, save it so the user doesn't need to retrieve their credentials again. Add it to a .env file in the working directory:

KNOT_DEV_API_KEY=<base64-encoded key>

If a .env file already exists, append the line. If .gitignore exists and doesn't already cover .env, add it. Mention to the user that this key is saved locally so they won't need to provide it again next time.

Important: These are development-only credentials. They only work against https://development.knotapi.com. Never use production credentials with this skill.

Step 2: Generate Sample Transactions

Ask the user which merchant(s) they want to generate transaction data for. Present this list:

  • Walmart
  • Amazon
  • DoorDash
  • Uber Eats
  • Instacart
  • Target
  • Costco
  • Gopuff
  • Shop Pay

The user can pick one or multiple. For each selected merchant, call the development account link endpoint. No SDK or webhook setup is required — this endpoint simulates a full merchant account link and transaction generation server-side.

POST https://development.knotapi.com/development/accounts/link
Authorization: Basic <base64(client_id:secret)>
Content-Type: application/json

{
  "external_user_id": "prototype-user-1",
  "merchant_id": <merchant_id>,
  "transactions": {
    "new": true,
    "updated": false
  }
}

This generates ~205 sample transactions per merchant. The external_user_id can be any string — use something descriptive for the prototype session. Use the same external_user_id across merchants if the prototype involves a single user with multiple merchant accounts.

If running this multiple times, use a different external_user_id each time (e.g., prototype-user-2, prototype-user-3) to avoid conflicts with previously generated data.

Merchant ID reference:

MerchantID
Walmart45
Amazon44
DoorDash19
Uber Eats36
Instacart40
Target12
Costco165
Gopuff41
Shop Pay2125

Step 3: Retrieve Transactions

Poll the sync endpoint directly after the link call. No webhook is needed — just query for the data.

For each merchant the user selected, call POST /transactions/sync in a loop with a high limit to pull all generated transactions:

for each merchant_id:
  cursor = null

  loop:
    POST https://development.knotapi.com/transactions/sync
    Authorization: Basic <base64(client_id:secret)>
    Content-Type: application/json

    {
      "merchant_id": <merchant_id>,
      "external_user_id": "prototype-user-1",
      "cursor": cursor,
      "limit": 100
    }

    -> collect response.transactions (along with response.merchant for context)
    -> cursor = response.next_cursor
    -> break if cursor is null

With limit: 100 and ~205 sample transactions per merchant, each merchant takes about 3 pages. Collect all transactions into a single array (or group by merchant, depending on the prototype).

If the response returns 0 transactions, the data may not be ready yet. Retry the request. Development transaction generation typically completes within a few seconds.

Step 4: Use the Data

Once transactions are retrieved, ask the user how they want to use the data:

Option A: Prototype in this session

Keep the transaction data in memory and start building immediately. Use real field values from the retrieved data to make the prototype feel realistic.

Option B: Export to a Markdown file

Save the transaction data to a structured .md file that can be referenced later or shared with others. Write the file with this structure:

# Knot Transaction Data — Prototype

Generated: {date}
Merchant: {merchant_name} (ID: {merchant_id})
External User ID: {external_user_id}
Transaction Count: {count}

## Summary

- Total transactions: {count}
- Date range: {earliest_date} to {latest_date}
- Order statuses: {list of unique statuses with counts}
- Total spend: {sum of price.total values}

## Transactions

### {transaction.id}

- **Date:** {datetime}
- **Status:** {order_status}
- **Total:** {price.total} {price.currency}
- **Products:**
  - {product.name} (qty: {quantity}) — {product.price.total}
  - ...
- **Payment:** {payment_methods[0].type} ending {last_four}
- **Order URL:** {url}

...repeated for each transaction...

Save the file in the user's working directory (e.g., knot-transactions-prototype.md). This file can then be used as context for future prototyping sessions.

Transaction Object Reference

Each transaction returned by /transactions/sync has this shape:

Top-level fields

FieldTypeNullableDescription
idstring (UUID)NoUnique transaction identifier
external_idstringYesMerchant-provided order identifier
datetimestring (ISO 8601)NoTransaction timestamp in UTC
order_statusenumNoORDERED, BILLED, SHIPPED, DELIVERED, PICKED_UP, COMPLETED, REFUNDED, CANCELLED, FAILED, RETURNED, UNRECOGNIZED
urlstringYesDirect link to order in merchant account
priceobjectNo{sub_total, total, currency, adjustments[]}
productsarrayNoSKU-level items (see below)
payment_methodsarrayNoPayment methods used (see below)
shippingobjectYesDelivery details (see below). Null for digital/in-store orders.

The merchant object ({id, name}) is in the sync response wrapper, not inside each transaction.

shipping

Nullable at the top level. Contains a single location field (also nullable).

shipping.location
FieldTypeNullableDescription
first_namestringYesRecipient's first name
last_namestringYesRecipient's last name
addressobjectYesDelivery address (see below)
shipping.location.address
FieldTypeNullableDescription
line1stringYesFirst line of the address
line2stringYesSecond line of the address
citystringYesCity
regionstringYesState/region (ISO 3166-2 code, e.g. "CA")
postal_codestringYesPostal code
countrystringNoCountry (ISO 3166-1 alpha-2 code, e.g. "US")

products[]

FieldTypeNullableDescription
external_idstringYesMerchant-provided product identifier
namestringNoProduct name
descriptionstringYesAdditional product details
urlstringYesLink to product page
image_urlstringYesLink to product image
quantityintegerYesNumber of units
eligibilityarray of stringsNoSpecial spending categories (e.g. "FSA/HSA")
priceobjectYes{sub_total, total, unit_price} — all nullable strings
sellerobjectYesSeller info for marketplace products (see below). Null when the merchant is also the seller. Never an empty object.

products[].seller

FieldTypeNullableDescription
namestringYesName of the seller offering the product
urlstringYesURL of the seller's page within the merchant's marketplace

payment_methods[]

FieldTypeNullableDescription
typeenumNoCARD, APPLE_PAY, GOOGLE_PAY, PAYPAL, CASH_APP, VENMO, AFFIRM, KLARNA, GIFT_CARD, CASH, BANK_ACCOUNT, LOYALTY_POINTS, UNRECOGNIZED
brandstringYesCard network or store card name
last_fourstringYesLast four digits
transaction_amountstringYesAmount charged to this method

price.adjustments[]

Each adjustment: type (enum: DISCOUNT, TAX, TIP, FEE, REFUND, UNRECOGNIZED), label (nullable string), amount (string — positive increases total, negative decreases).

Rules

  • Development only. This skill uses https://development.knotapi.com exclusively. Never use production credentials or the production base URL.
  • New user ID each run. Reusing the same external_user_id across multiple link calls can produce unexpected results. Increment or randomize the ID.
  • Retry on empty results. If /transactions/sync returns 0 transactions, the data isn't ready yet. Retry the request.
  • Paginate fully. Even in development, transactions come in pages. Loop until next_cursor is null.
  • No webhooks. This prototyping flow skips webhook setup entirely. The sync endpoint returns data regardless of whether a webhook was received.
  • Use the merchant ID table. Always look up the merchant ID from the reference table in Step 2. Do not guess or hardcode IDs.

平台分布

Local Agent

78.55%
按下载量换算56

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills