Agent skill

NEAR Intents Swap Integration

by internet-court in internet-court/internet-court-skill

Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling.

Custom licenceAuto-check passedBackend & APIs

Install NEAR Intents Swap Integration

skills CLI
$ npx skills add internet-court/internet-court-skill --skill near-intents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install internet-court/internet-court-skill near-intents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vendored/near/near-intents .claude/skills/near-intents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
near-intents
GitHub stars
6.6k
Used in
1 other repo
Token cost
~939 tokens
SKILL.md length
286 words
Files
19 (incl. references)
Skills in repo
80
Repo updated
First seen
Licence
Custom licence

At a glance

Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling.

  • Works in 4 steps: Use assetId from /v0/tokens - never… → dry: true = preview only, dry: false =… → Poll status until terminal: SUCCESS,… → …
  • Building a swap widget that moves tokens between chains
  • SKILL.md covers Quick Start - Pick Your Path, Integration Flow, Rule Categories and Critical Knowledge, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

You request a quote, the API hands back a deposit address, you send the deposit transaction, and the swapped token arrives automatically. The documented flow runs from the token list through a dry-run quote and a real quote to deposit submission and status checks. A dry quote only previews, while a real one returns a deposit address that stays valid for about 10 minutes.

Rule files cover the API calls (quote, tokens, status, deposit submit, ANY_INPUT withdrawals), deposits on EVM chains, Solana, NEAR, TON, Stellar and Tron, React hooks, a minimal React swap widget built with wagmi, a Node.js server example, intents balances and passive deposits. Asset ids must come from the tokens endpoint rather than being built by hand, and status polling continues until SUCCESS, FAILED, REFUNDED or INCOMPLETE_DEPOSIT.

When your agent uses it

  • Building a swap widget that moves tokens between chains
  • Adding a bridge interface to a React app
  • Writing a Node.js script for server-side cross-chain swaps
  • Handling deposits on EVM chains, Solana, NEAR, TON, Stellar or Tron

Example prompts

  • “Create a React swap widget that quotes ETH on Base to USDC on Solana through NEAR Intents.”
  • “Write a Node.js script that requests a quote, sends the deposit and polls until the swap finishes.”
  • “Show how our swap UI should handle a REFUNDED status.”

Requirements

  • Network access to the NEAR Intents 1Click API

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Use assetId from /v0/tokens - never construct manually
  2. dry: true = preview only, dry: false = get deposit address (valid ~10 min)
  3. Poll status until terminal: SUCCESS, FAILED, REFUNDED, INCOMPLETE_DEPOSIT
  4. Chain-to-chain is default - depositType and recipientType default to chain endpoints

What it can do on your machine

Read from SKILL.md and the folder at commit fa89195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.near-intents.org
    • partners.near-intents.org
    • 1click.chaindefuser.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

NEAR Intents Swap Integration loads about 939 tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 286 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~939
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 286 words (~939 tokens).

“Cross-chain token swaps via 1Click REST API. Get a quote, API provides deposit addresses, you build the deposit transaction and receive the resulting token automatically.”

— opening of SKILL.md by internet-court, Custom licence
name
near-intents

Read the full SKILL.md on GitHub

Files

SKILL.md and 18 other files (references) in vendored/near/near-intents of internet-court/internet-court-skill.

  • SKILL.md
  • LICENSE
  • references/concepts.md
  • rules/api-any-input-withdrawals.md
  • rules/api-deposit-submit.md
  • rules/api-quote.md
  • rules/api-status.md
  • rules/api-tokens.md
  • rules/deposit-evm.md
  • rules/deposit-near.md
  • rules/deposit-solana.md
  • rules/deposit-stellar.md
  • rules/deposit-ton.md
  • rules/deposit-tron.md
  • rules/intents-balance.md
  • rules/passive-deposit.md
  • rules/react-hooks.md
  • rules/react-swap-widget.md
  • rules/server-example.md

Open the folder on GitHubat commit fa89195

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in internet-court/internet-court-skill, which our catalogue first saw on October 7, 2026.

Compare with similar skills

NEAR Intents Swap Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

NEAR Intents Swap Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
NEAR Intents Swap Integration this skillinternet-court/internet-court-skill6.6k1 repos~939Automated safety check: PassCustom licence
Solana Develophanto/EloPhanto106—~1.4kAutomated safety check: PassMIT
Solana Devaiskillstore/marketplace433—~2.4kAutomated safety check: PassMIT
Helius Phantomsendaifun/skills1301 repos~4.7kAutomated safety check: NotesMIT
Solana Devsolana-foundation/solana-dev-skill573—~3.8kAutomated safety check: PassMIT
Alchemy Agentic Gatewaymoonpay/skills113—~2.1kAutomated safety check: NotesMIT

Similar skills

  • Solana Dev

    elophanto/EloPhanto

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", or "deploy…

    106 GitHub stars~1.4k tokensUpdated 10 days ago
    Backend & APIsAuto-check passed
  • Solana Dev

    aiskillstore/marketplace

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "deploy to…

    433 GitHub stars~2.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Helius Phantom

    sendaifun/skills

    Build frontend Solana applications with Phantom Connect SDK and Helius infrastructure.

    130 GitHub starsUsed in 1 repo~4.7k tokens
    MobileAuto-check: notes
  • Solana Dev

    solana-foundation/solana-dev-skill

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "fuzz my…

    573 GitHub stars~3.8k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • A skill your agent uses when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.

    113 GitHub stars~2.1k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Bridge Tokens

    circlefin/skills

    Build browser or server token bridging across chains with Circle App Kit or standalone Bridge Kit.

    155 GitHub stars~4.5k tokensUpdated 2 days ago
    Backend & APIsAuto-check: notes

More from internet-court/internet-court-skill

All 80 skills in this repo
  • Kleros IPFS Upload

    internet-court/internet-court-skill

    Uploads one Kleros-related file per paid request to IPFS through the Kleros x402 gateway for 0.01 USDC on Base, returning a CID that Kleros contracts can reference.

    6.6k GitHub stars~4.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • 0G Compute Network Guide

    internet-court/internet-court-skill

    Guides building on the 0G Compute Network, a decentralized GPU marketplace for AI inference and fine-tuning, with SDK patterns and CLI commands.

    6.6k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • PNP Prediction Markets on Solana

    internet-court/internet-court-skill

    Creates, trades and settles permissionless prediction markets on Solana with any SPL token as collateral, including social-media and custom-oracle markets.

    6.6k GitHub stars~7.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • BNB Chain MCP Server

    internet-court/internet-court-skill

    Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

    6.6k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • GenLayer ERC-7710 Connector

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract decision about an agent's performance becomes an ERC-7710 revocation or policy change, through a relayer or bridge and an EVM controller.

    6.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • GenLayer Agent Supervision Adapter

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract should supervise an AI agent, with review rubrics, evidence schemas and continue, warn, constrain or revoke decisions.

    6.6k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Questions about NEAR Intents Swap Integration

What does NEAR Intents Swap Integration do?

Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling. You request a quote, the API hands back a deposit address, you send the deposit transaction, and the swapped token arrives automatically. The documented flow runs from the token list through a dry-run quote and a real quote to deposit submission and status checks.

When should I use NEAR Intents Swap Integration?

NEAR Intents Swap Integration fits situations like: building a swap widget that moves tokens between chains; adding a bridge interface to a React app; writing a Node.js script for server-side cross-chain swaps; handling deposits on EVM chains, Solana, NEAR, TON, Stellar or Tron.

How do I install NEAR Intents Swap Integration in Claude Code?

Run `npx skills add internet-court/internet-court-skill --skill near-intents -a claude-code`. Or copy the skill folder (vendored/near/near-intents in internet-court/internet-court-skill) into .claude/skills/near-intents in your project. Claude Code loads it when a task matches its description.

How do I install NEAR Intents Swap Integration in Codex?

Run `npx skills add internet-court/internet-court-skill --skill near-intents -a codex`. Or copy the skill folder (vendored/near/near-intents in internet-court/internet-court-skill) into .agents/skills/near-intents in your project. Codex loads it when a task matches its description.

Can I use NEAR Intents Swap Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add internet-court/internet-court-skill --skill near-intents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/near-intents, .gemini/skills/near-intents, .github/skills/near-intents and .opencode/skills/near-intents in your project.

What does NEAR Intents Swap Integration need to run?

SKILL.md names no scripts, command-line tools or credentials: NEAR Intents Swap Integration is instructions for the agent only. Our summary lists: Network access to the NEAR Intents 1Click API.

Does NEAR Intents Swap Integration access the network?

SKILL.md names 3 domains. As links in the text: docs.near-intents.org, partners.near-intents.org and 1click.chaindefuser.com. This is read from the text; nothing was executed.

Is NEAR Intents Swap Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does NEAR Intents Swap Integration use?

NEAR Intents Swap Integration has a licence file (from the LICENSE file in the skill folder) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does NEAR Intents Swap Integration use?

About 939 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 548 tokens, read only when the agent opens those files.

What are the alternatives to NEAR Intents Swap Integration?

Skills that share tags, products or a category with NEAR Intents Swap Integration: Solana Dev (elophanto/EloPhanto, 106 stars), Solana Dev (aiskillstore/marketplace, 433 stars), Helius Phantom (sendaifun/skills, 130 stars) and Solana Dev (solana-foundation/solana-dev-skill, 573 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains NEAR Intents Swap Integration?

internet-court (a GitHub organization) maintains it in internet-court/internet-court-skill, which has 6,551 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on August 19, 2026.

Source: internet-court/internet-court-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.