Logo Kleros Ipfs Upload

Kleros Ipfs Upload

Tổ chứcPhổ biến
internet-court
kleros-ipfs-upload

Tải lên một tệp thuộc hệ sinh thái Kleros cho mỗi yêu cầu trả phí lên IPFS qua cổng Kleros x402 với giá $0.01 USDC trên Base mainnet. Dùng cho bằng chứng tranh chấp, MetaEvidence JSON, chính sách tòa án/tranh chấp/arbitrator, metadata mục Curate, lời giải trình của juror hoặc bất kỳ artifact nào mà hợp đồng hoặc subgraph Kleros tham chiếu bằng CID. Kích hoạt khi yêu cầu đề cập đến Kleros, tòa án, arbitrator, tranh chấp, juror, Curate, Proof of Humanity, bằng chứng, meta-evidence, lời giải trình, nêu đích danh cổng hoặc kỹ năng này, hoặc yêu cầu kiểm thử hay xác thực chúng. KHÔNG dùng cho yêu cầu IPFS/CID thông thường khi không có ngữ cảnh Kleros; hãy đề xuất dịch vụ ghim nội dung đa dụng. Mỗi yêu cầu chỉ chấp nhận đúng một tệp: các tệp có nội dung khác nhau cần được tải lên riêng và có tính phí riêng, còn các tệp giống hệt nhau nên dùng chung một CID.

Tổng quan

Nhà phát hànhinternet-court
Kho mãinternet-court-skill
Tên kỹ năngkleros-ipfs-upload
Sao
5.8K
Bản fork
106
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được internet-court công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Kleros Ipfs Upload trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/internet-court/internet-court-skill/tree/main/vendored/kleros/kleros-ipfs-upload
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/internet-court/internet-court-skill.git /tmp/internet-court-skill
mkdir -p .claude/skills
cp -r /tmp/internet-court-skill/vendored/kleros/kleros-ipfs-upload .claude/skills/kleros-ipfs-upload
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Kleros Ipfs Upload trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Kleros Ipfs Upload ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Kleros Ipfs Upload với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Kleros IPFS Upload (x402)

Upload Kleros-ecosystem files to IPFS via https://kleros-ipfs-gateway.fly.dev/upload-to-ipfs, an x402-protected gateway that charges $0.01 USDC per upload on Base mainnet. The returned IPFS CID is content-addressable and dereferenceable through any IPFS gateway, and indexed by Kleros's Graph Node for subgraph discoverability.

The gateway is a thin reverse-proxy in front of a Filebase-backed pinning service operated by Kleros. Every upload is pinned to Filebase indefinitely as long as Kleros runs the gateway — a reasonable assumption for artifacts the Kleros ecosystem itself depends on (the team has a strong incentive to keep this live), but not a substitute for a general-purpose pinning provider if the content is unrelated to Kleros.

When to use this skill

Trigger this skill when the user is uploading Kleros-ecosystem content:

  • Dispute evidence attachments — screenshots, documents, contracts, transcripts.
  • Meta-evidence JSON — the policy/spec referenced by a court or arbitrator smart contract at dispute creation.
  • Court / dispute / arbitrator policies — JSON describing rules, fees, juror counts, appeal mechanics.
  • Kleros Curate item metadata — JSON for items submitted to a Curate list (e.g. tokens, badges).
  • Juror / arbitrator justifications — rulings, dissents, deliberation rationale.
  • Any artifact whose CID will end up in a Kleros smart contract event, transaction, or subgraph.
  • The user explicitly names this gateway (kleros-ipfs-gateway.fly.dev etc.) or this skill.
  • The user is asking the agent to test, validate, or sanity-check this gateway or this skill itself (e.g. "smoke-test the Kleros IPFS gateway" / "verify pay-and-upload works"). A deliberate end-to-end test is a legitimate trigger even if no Kleros artifact is being uploaded for real use.

When NOT to use this skill

  • Generic "store this file on IPFS" / "get me a CID for X" requests with no Kleros relevance. Use Pinata, web3.storage, Filebase directly, or any other general pinning provider. This gateway charges per upload — that's wasteful if the user only needs a CID and doesn't benefit from Kleros's pinning durability or subgraph integration.
  • Anything resembling personal cloud storage, NFT metadata for non-Kleros projects, software releases, large media archives, or backup data.
  • Content explicitly bound to a non-Kleros ecosystem (e.g. another DAO's snapshot, another marketplace's metadata) — even if the format happens to look like a Kleros artifact.

You are free to upload whatever the user wants (they're paying), but absent a Kleros connection there's no reason to prefer this skill over a general-purpose alternative.

Quickstart

Two paths depending on what your agent already has:

  • If you already have x402 tooling (an x402 skill / SDK / a model that knows x402-fetch): skip the bundled scripts and inline the snippet further down — the gateway is a plain POST /upload-to-ipfs behind a standard x402 paywall, nothing Kleros-specific in the payment flow.
  • Otherwise, run the bundled scripts/pay-and-upload.ts end-to-end — it exists so x402-unaware agents don't have to rediscover the flow:
bash
cd path/to/this-skill/scripts
npm install
EVM_PRIVATE_KEY=0xYourPayerKey npx tsx pay-and-upload.ts /path/to/file.json

npm install creates a package-lock.json and a node_modules/ in the scripts dir — both are fine to leave in place or delete after use; not committed to the skill on purpose so dep versions stay fresh.

On success the script prints every CID reported by the gateway, one per line (so you can capture the normal single CID with $(npx tsx pay-and-upload.ts ...)). The array-shaped response is legacy API structure, not batch-upload support. On failure the script exits non-zero and logs the gateway's error body to stderr.

Defaults: OPERATION=evidence, GATEWAY_URL=https://kleros-ipfs-gateway.fly.dev. Override OPERATION with an env var; see the "Request shape" section for valid values.

One file per paid upload; reuse identical files

Each paid request must contain exactly one multipart part named file. Never append multiple file parts or batch different files into one request. If two files have different content, make two separate paid uploads — one request and one payment per file. This applies even when the files belong to the same Curate or dispute workflow.

IPFS CIDs are content-addressed. If the same byte-for-byte file is needed in multiple places, upload it once and reuse the returned CID everywhere. Do not make a second paid upload for the same policy PDF, logo image, evidence display interface, or other identical file just because multiple Kleros artifacts reference it.

For multi-artifact jobs, keep a small artifact map before submitting transactions:

  • policy.pdf -> /ipfs/<CID>
  • logo.png -> /ipfs/<CID>
  • registrationMetaEvidence.json -> /ipfs/<CID>
  • clearingMetaEvidence.json -> /ipfs/<CID>
  • evidenceDisplayInterface -> /ipfs/<CID>/index.html

When a shared policy, logo, or evidence display interface is referenced by both registration and clearing MetaEvidence JSON, put the same CID in both JSON files. Reuse CIDs only for exact same files. If a file changes by even one byte, make a separate paid upload for each distinct file and label each CID clearly. Registration and clearing MetaEvidence JSON are therefore separate uploads whenever their JSON bytes differ, even when both reference the same reusable policy, logo, or evidence display interface CIDs.

If you're writing your own client inside an existing Node project, the core is small enough to inline:

ts
import { wrapFetchWithPayment, createSigner } from "x402-fetch";

const operation = process.env.OPERATION ?? "evidence";

const signer = await createSigner("base", privateKey);
const fetchWithPay = wrapFetchWithPayment(fetch, signer);

const form = new FormData();
form.append("file", new Blob([bytes]), "evidence.json");

const url = `https://kleros-ipfs-gateway.fly.dev/upload-to-ipfs` +
  `?operation=${encodeURIComponent(operation)}`;
const res = await fetchWithPay(url, { method: "POST", body: form });
const { cids } = await res.json();
if (!Array.isArray(cids) || cids.length === 0) throw new Error("Gateway returned no CID");
const cid = cids[0];

x402-fetch handles the 402 Payment Required challenge, signs an EIP-3009 transferWithAuthorization over USDC, and retries the request with the X-PAYMENT header. The caller sees a normal 200 response containing the result for that one uploaded file.

Pre-flight (free, no key needed)

Before any paid call, verify the gateway is healthy with three free curls. None of these spend USDC; they're idempotent and safe to run as often as you like.

bash
# 1. Liveness
curl -sS https://kleros-ipfs-gateway.fly.dev/health
# expect: ok

# 2. Live config (price, network, payee, USDC contract)
curl -sS https://kleros-ipfs-gateway.fly.dev/.well-known/x402 | jq .
# or the spec-canonical equivalent: /discovery/resources

# 3. Unpaid 402 challenge — confirms x402 enforcement is on and shows the live payment terms
curl -sS -X POST https://kleros-ipfs-gateway.fly.dev/upload-to-ipfs?operation=evidence \
  -F file=@/path/to/anyfile.txt | jq .
# expect: {"error":"X-PAYMENT header is required", "accepts":[...], "x402Version":1}

If all three return as expected, you can proceed to the paid call with confidence. If any fail, surface the error to the user before burning a key on a paid attempt.

Network

This skill targets Base mainnet only. Every paid upload costs real USDC, settled on-chain via the Coinbase CDP x402 facilitator. The payer wallet must hold USDC on Base; native USDC contract: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.

The payer does not need ETH for gas. The facilitator sponsors gas on Base when paying via EIP-3009.

Bootstrapping a payer wallet

If the user doesn't already have a Base wallet ready:

  1. Generate a key — any EVM-compatible keypair works. Run this to print a fresh one:

    bash
    node -e "import('viem/accounts').then(m => console.log(m.generatePrivateKey()))"
  2. Fund it — send USDC on Base to the derived address. Any centralised exchange that supports Base withdrawals works.

  3. Store the key in EVM_PRIVATE_KEY.

Using a Coinbase CDP server account (hosted agents)

Hosted agents (OpenClaw, server-side workers, anything running with Coinbase CDP credentials) don't need an exported private key. CDP server accounts implement signTypedData() directly, which is exactly what x402-fetch.wrapFetchWithPayment needs to sign the EIP-3009 USDC authorization — so the CDP account object is passed straight to the SDK with no adapter code.

A bundled runner ships at scripts/pay-and-upload-cdp.ts for agents that prefer a ready-made entrypoint — agents already using wrapFetchWithPayment with a CDP account can skip it and inline the snippet further down:

bash
cd path/to/this-skill/scripts
npm install
CDP_API_KEY_ID=... \
CDP_API_KEY_SECRET=... \
CDP_WALLET_SECRET=... \
CDP_ACCOUNT_NAME=blaise-main \
  npx tsx pay-and-upload-cdp.ts /path/to/file.json

Output is the same as pay-and-upload.ts (the CID on stdout, diagnostics on stderr). The script also prints the payer address and Base mainnet USDC balance to stderr before posting, so you'll spot an underfunded wallet immediately.

If you'd rather not pass four env vars on the command line, point CDP_CREDS_PATH at a .env-style file containing CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_SECRET, and CDP_ACCOUNT_NAME (or their un-prefixed API_KEY_ID / API_KEY_SECRET / WALLET_SECRET / ACCOUNT_NAME variants — the script accepts either).

For your own client code, the integration is one extra import and two extra lines vs. the raw-key path:

ts
import { CdpClient } from "@coinbase/cdp-sdk";
import { wrapFetchWithPayment } from "x402-fetch";

const cdp = new CdpClient({ apiKeyId, apiKeySecret, walletSecret });
const account = await cdp.evm.getAccount({ name: "blaise-main" });
const fetchWithPay = wrapFetchWithPayment(fetch, account);
// ... build FormData and POST as in Quickstart

The CDP account is passed where the docs would otherwise show an EVM signer — no other change is needed.

Request shape

The endpoint is POST /upload-to-ipfs with:

  • Query string:

    • operation (required, string) — a free-form tag describing what kind of artifact is being uploaded. The upstream Netlify function accepts any string; the conventional values in the Kleros ecosystem are:

      ValueUse case
      evidenceDispute evidence — screenshots, documents, binaries. Use this for anything that doesn't fit another category.
      meta-evidenceMeta-evidence JSON referenced by a court / arbitrator / dispute smart contract (rules, party agreements, policies).
      justificationJuror / arbitrator justification payloads.
      any other stringAccepted as-is. Use sparingly — the conventions above keep ecosystem tooling consistent.
  • Body: multipart/form-data with exactly one part named file. Never append a second file part. Upload every distinct file in its own paid request; reuse the first CID instead of reuploading identical bytes.

  • Headers: X-PAYMENT is added automatically by the x402-fetch wrapper. Do not hand-craft it.

  • Size limit: the gateway caps the total request body at 4 MiB (4,194,304 bytes) and replies 413 Payload Too Large for anything bigger. The check runs before the x402 paywall, so an oversize attempt does not spend USDC. Multipart framing adds a small overhead on top of raw file bytes — if a single file is near the limit, expect a 413; shrink or compress it, or split it into distinct files and upload each through a separate paid request. Sanity-check sizes locally before posting:

    bash
    test "$(stat -f%z /path/to/file)" -le 4194304 || echo "too big for the Kleros gateway"

Response shape

On success the gateway returns 200 with JSON:

json
{
  "message": "File has been stored successfully",
  "cids": ["/ipfs/QmXXX..."],
  "urls": ["https://cdn.kleros.link/ipfs/QmXXX..."],
  "inconsistentCids": []
}
  • Prefer urls[0] — the gateway pre-builds a ready-to-use HTTP URL using the canonical Kleros IPFS gateway (https://cdn.kleros.link). Just give that to the user.

  • cids[0] is the protocol form, prefixed with /ipfs/ (e.g. /ipfs/QmXXX...). Keep it if you need to embed the CID in a smart-contract call or an ipfs:// URI; ignore it if you only need a clickable URL.

  • If you ever need to build a URL yourself (older response without urls, or pointing at a different gateway):

    You wantHow to build it (where cid = cids[0], e.g. /ipfs/QmXXX...)
    Kleros HTTP gateway URL"https://cdn.kleros.link" + cid (or just use urls[0])
    ipfs:// URI"ipfs://" + cid.replace(/^\/ipfs\//, "") → ipfs://QmXXX...
    Bare hash onlycid.replace(/^\/ipfs\//, "") → QmXXX...

    Do not write https://cdn.kleros.link/ipfs/${cid} — that produces a double-slash path because cid already starts with /ipfs/. Use urls[0] instead and avoid the trap entirely.

  • The response schema uses arrays for legacy compatibility, but that shape is not permission to batch files. A normal one-file request returns one cids[0] and, in current responses, one urls[0]. Require at least one CID. If the gateway returns extra entries, surface them as unexpected; if an older response omits urls, build the HTTP URL from cids[0] as shown above.

  • inconsistentCids is [] in the happy path. If non-empty, Filebase and the Graph index produced different hashes for the same file — surface this to the user as a warning; the cids[] value still resolves but the data integrity guarantee is weaker.

Errors

StatusMeaningWhat to do
200Success. Require cids[0]; use urls[0] when present or derive the URL from the CID.Surface extra entries as unexpected; they do not imply batch support.
400Missing operation query param.Add ?operation=evidence (or another tag).
402Payment challenge.Should never reach user code — x402-fetch handles it transparently. If it bubbles up, the wrapper wasn't applied.
413Request body exceeds 4 MiB. No USDC spent — the check runs before the paywall.Shrink or compress it, or split it and upload each resulting file separately.
5xxTransient upstream issue (Filebase, Graph Node, or the gateway itself).Retry once after a short delay. Don't hammer.
Facilitator error during 402 → 200 retryCDP rate-limit, signing failure, insufficient USDC.Inspect the wrapper's thrown error; check wallet balance and key correctness.

Live discovery

The gateway publishes its current config at two equivalent endpoints (same handler, identical body):

  • GET https://kleros-ipfs-gateway.fly.dev/.well-known/x402
  • GET https://kleros-ipfs-gateway.fly.dev/discovery/resources

Hit either to verify the live price, network, payee, and USDC contract. The body conforms to the x402 ListDiscoveryResourcesResponse schema.

Smoke test (paid)

When asked to test, validate, or sanity-check the gateway end-to-end (a legitimate trigger — see the description's exception clause), follow this recipe. Costs $0.01 USDC on Base mainnet; the only "free" path is the pre-flight curls above.

  1. Create a tiny payload file:

    bash
    echo "kleros gateway smoke test $(date -u +%Y-%m-%dT%H:%M:%SZ)" > hello-world.txt
  2. Run the upload using whichever script matches your wallet (raw key or CDP server account):

    bash
    # Raw key path:
    EVM_PRIVATE_KEY=0x… npx tsx pay-and-upload.ts hello-world.txt
    
    # OR CDP server account path:
    CDP_API_KEY_ID=… CDP_API_KEY_SECRET=… CDP_WALLET_SECRET=… \
      CDP_ACCOUNT_NAME=… npx tsx pay-and-upload-cdp.ts hello-world.txt
  3. Capture the CID line printed on stdout (something like /ipfs/QmAbc...), and read the url=… line printed on stderr — that's the ready-to-use Kleros HTTP gateway URL.

  4. Verify the file is actually pinned and retrievable by GETting that URL:

    bash
    curl -sS https://cdn.kleros.link/ipfs/QmAbc...   # paste the bare CID
    # expect: the bytes of hello-world.txt

Green on all four steps = the gateway, the payment path, the IPFS pin, and the Kleros CDN are all healthy end-to-end. Report success to the user; do not loop on extra paid uploads "just to be sure" — one round-trip is sufficient evidence.

Examples

Example 1 — agent uploads dispute evidence:

User: "I have a screenshot at /tmp/exhibit-a.png that I want to attach to a Kleros dispute. Pin it to IPFS for me."

Steps:

  1. Confirm the file exists.
  2. Run the bundled script: EVM_PRIVATE_KEY=0x… npx tsx pay-and-upload.ts /tmp/exhibit-a.png.
  3. The script prints the CID on stdout (e.g. /ipfs/QmXXX...) and the pre-built URL on stderr as url=https://cdn.kleros.link/ipfs/QmXXX.... Hand that URL to the user — it's the canonical Kleros HTTP gateway. See "Response shape" if you need to build URLs from raw cids (when the urls[] field isn't present).

Example 2 — agent pins meta-evidence JSON:

User: "Pin this JSON file to IPFS using meta-evidence as the operation: ./case-42.json"

Steps:

  1. OPERATION=meta-evidence EVM_PRIVATE_KEY=0x… npx tsx pay-and-upload.ts ./case-42.json.
  2. Surface the CID — the user likely needs it for a smart-contract call that references meta-evidence by hash.

Example 3 — agent sanity-checks the gateway before relying on it:

User: "Is the Kleros IPFS gateway working right now? I'd like to verify before relying on it for an upload."

Steps:

  1. Run the three free pre-flight checks from the "Pre-flight" section (health, discovery, unpaid 402). None spend USDC.
  2. If all three return as expected, report the gateway as healthy and proceed. If any fail, surface the specific error so the user can decide whether to retry or escalate.

Bundled

Both scripts are optional. They exist so agents without x402 tooling can pay and upload without rediscovering x402-fetch from scratch. If your agent already speaks x402, ignore them and call the gateway directly.

  • scripts/pay-and-upload.ts — reference single-file Node implementation. Adapt to your project context, or run standalone.
  • scripts/package.json — declares the two deps (x402-fetch, tsx). No lockfile and no tsconfig (tsx runs TS natively).

If you're integrating into an existing Node project, you can ignore the bundled package.json and just npm i x402-fetch in your own project.

Feedback

Something broken or confusing in this skill? Report it: fetch feedback/SKILL.md — helps maintainers fix what agents silently trip over.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Kleros Ipfs Upload làm được gì?

Tải lên một tệp thuộc hệ sinh thái Kleros cho mỗi yêu cầu trả phí lên IPFS qua cổng Kleros x402 với giá $0.01 USDC trên Base mainnet. Dùng cho bằng chứng tranh chấp, MetaEvidence JSON, chính sách tòa án/tranh chấp/arbitrator, metadata mục Curate, lời giải trình của juror hoặc bất kỳ artifact nào mà hợp đồng hoặc subgraph Kleros tham chiếu bằng CID. Kích hoạt khi yêu cầu đề cập đến Kleros, tòa án, arbitrator, tranh chấp, juror, Curate, Proof of Humanity, bằng chứng, meta-evidence, lời giải trình, nêu đích danh cổng hoặc kỹ năng này, hoặc yêu cầu kiểm thử hay xác thực chúng. KHÔNG dùng cho yê...

Vì sao nên dùng Kleros Ipfs Upload trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Kleros Ipfs Upload là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Kleros Ipfs Upload trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/internet-court/internet-court-skill/tree/main/vendored/kleros/kleros-ipfs-upload. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Kleros Ipfs Upload?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Kleros Ipfs Upload với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Kleros Ipfs Upload với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Kleros Ipfs Upload có miễn phí không?

Kỹ năng này được internet-court phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇