Agent skill

NEAR AI Cloud Private Inference

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

Shows how to call NEAR AI Cloud through an OpenAI-compatible API and verify that inference ran in a TEE, using attestation checks and signed chat responses.

Custom licenceAuto-check passedAI & LLM Engineering

Install NEAR AI Cloud Private Inference

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

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

GitHub CLI
$ gh skill install internet-court/internet-court-skill near-ai-cloud --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-ai-cloud .claude/skills/near-ai-cloud && 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-ai-cloud
GitHub stars
6.6k
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
291 words
Files
4 (incl. references)
Skills in repo
80
Repo updated
First seen
Licence
Custom licence

At a glance

Shows how to call NEAR AI Cloud through an OpenAI-compatible API and verify that inference ran in a TEE, using attestation checks and signed chat responses.

  • Integrating NEAR AI Cloud as an OpenAI-compatible chat endpoint
  • SKILL.md covers Quick Start, How It Works, Verification Flow and API Endpoints, plus 3 more sections
  • Reaches cloud-api.near.ai
  • Verifying model or gateway attestation with NVIDIA NRAS and Intel TDX

What it does

NEAR AI Cloud runs inference inside Intel TDX confidential VMs with NVIDIA TEE GPUs, and TLS ends inside the enclave rather than at a load balancer. Because the API is OpenAI-compatible, you point an existing OpenAI SDK at https://cloud-api.near.ai/v1, and the skill gives Python and JavaScript starting points.

The verification flow starts with a random nonce, requests a model attestation (a signing address, an NVIDIA payload and an Intel quote), checks the GPU evidence with NVIDIA NRAS, and then binds the attested signing address to the signature on each chat response. Endpoints cover chat completions, model lists, model and gateway attestation reports and chat signatures. Signing keys use ecdsa or ed25519. Two reference files cover model verification and private versus anonymised modes.

When your agent uses it

  • Integrating NEAR AI Cloud as an OpenAI-compatible chat endpoint
  • Verifying model or gateway attestation with NVIDIA NRAS and Intel TDX
  • Checking chat message signatures after a completion
  • Adding end-to-end encrypted chat on top of the API

Example prompts

  • “Point my existing OpenAI client at NEAR AI Cloud and run a chat completion.”
  • “Write a script that fetches model attestation and verifies the GPU payload with NVIDIA NRAS.”
  • “Verify the signature for the chat id from my last response against the attested signing address.”

Requirements

  • An OpenAI SDK for Python or JavaScript
  • Network access to cloud-api.near.ai

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 (its code samples are python and javascript).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • cloud-api.near.ai

    Also links to:

    • github.com
    • cloud.near.ai
    • docs.near.ai
    • docs.api.nvidia.com
    • proof.t16z.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 AI Cloud Private Inference loads about 1.3k tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 291 words of instructions outside code blocks.

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

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 291 words (~1,250 tokens).

“Verifiable private AI inference through Trusted Execution Environments (TEEs). All inference runs inside Intel TDX confidential VMs with NVIDIA TEE GPUs — your data stays encrypted and isolated from infrastructure providers, model providers, and NEAR itself.”

— opening of SKILL.md by internet-court, Custom licence
name
near-ai-cloud
metadata.author
near
metadata.version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in vendored/near/near-ai-cloud of internet-court/internet-court-skill.

  • SKILL.md
  • LICENSE
  • references/model-verification.md
  • references/private-vs-anonymised.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 AI Cloud Private Inference 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 AI Cloud Private Inference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
NEAR AI Cloud Private Inference this skillinternet-court/internet-court-skill6.6k1 repos~1.3kAutomated safety check: PassCustom licence
ModLens Image Vision Bridgeliustack/modlens4.2k—~1.3kAutomated safety check: NotesMIT
9Router AI Gateway Setupdecolua/9router31k—~744Automated safety check: PassMIT
Mem0 Provider for Vercel AI SDKmem0ai/mem067k—~2.3kAutomated safety check: PassApache-2.0
9Router Chat Completionsdecolua/9router31k—~635Automated safety check: PassMIT
Claude APIKocoro-lab/Kocoro4147 repos~4.5kAutomated safety check: PassApache-2.0

Similar skills

  • Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.

    4.2k GitHub stars~1.3k tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check: notes
  • Sets up access to the 9Router AI gateway, an OpenAI-compatible REST endpoint for chat, images, speech, embeddings, web search and web fetch, and indexes its capability skills.

    31k GitHub stars~744 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Adds persistent memory to Vercel AI SDK apps with the Mem0 provider, using a wrapped model or standalone retrieve and store utilities.

    67k GitHub stars~2.3k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Sends chat and code-generation requests through a 9Router gateway using OpenAI or Anthropic message formats, with streaming and auto-fallback combos.

    31k GitHub stars~635 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Claude API

    Kocoro-lab/Kocoro

    Build apps with the Claude API or Anthropic SDK. An agent skill from Kocoro-lab/Kocoro.

    414 GitHub starsUsed in 7 repos~4.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Embeddings via 9Router

    decolua/9router

    Generates vector embeddings through the 9Router /v1/embeddings endpoint, using models from providers such as OpenAI, Gemini, Mistral and Voyage for RAG and semantic search.

    31k GitHub stars~604 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed

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 AI Cloud Private Inference

What does NEAR AI Cloud Private Inference do?

Shows how to call NEAR AI Cloud through an OpenAI-compatible API and verify that inference ran in a TEE, using attestation checks and signed chat responses. NEAR AI Cloud runs inference inside Intel TDX confidential VMs with NVIDIA TEE GPUs, and TLS ends inside the enclave rather than at a load balancer.ai/v1, and the skill gives Python and JavaScript starting points.

When should I use NEAR AI Cloud Private Inference?

NEAR AI Cloud Private Inference fits situations like: integrating NEAR AI Cloud as an OpenAI-compatible chat endpoint; verifying model or gateway attestation with NVIDIA NRAS and Intel TDX; checking chat message signatures after a completion; adding end-to-end encrypted chat on top of the API.

How do I install NEAR AI Cloud Private Inference in Claude Code?

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

How do I install NEAR AI Cloud Private Inference in Codex?

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

Can I use NEAR AI Cloud Private Inference 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-ai-cloud -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-ai-cloud, .gemini/skills/near-ai-cloud, .github/skills/near-ai-cloud and .opencode/skills/near-ai-cloud in your project.

What does NEAR AI Cloud Private Inference need to run?

SKILL.md names no scripts, command-line tools or credentials: NEAR AI Cloud Private Inference is instructions for the agent only. Our summary lists: An OpenAI SDK for Python or JavaScript; Network access to cloud-api.near.ai.

Does NEAR AI Cloud Private Inference access the network?

SKILL.md names 6 domains. In commands or code: cloud-api.near.ai; the agent is likely to contact it when it follows the instructions. As links in the text: github.com, cloud.near.ai, docs.near.ai, docs.api.nvidia.com and proof.t16z.com. This is read from the text; nothing was executed.

Is NEAR AI Cloud Private Inference 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 AI Cloud Private Inference use?

NEAR AI Cloud Private Inference 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 AI Cloud Private Inference use?

About 1.3k tokens (SKILL.md is roughly 5k 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 3.9k tokens, read only when the agent opens those files.

What are the alternatives to NEAR AI Cloud Private Inference?

Skills that share tags, products or a category with NEAR AI Cloud Private Inference: ModLens Image Vision Bridge (liustack/modlens, 4.2k stars), 9Router AI Gateway Setup (decolua/9router, 31k stars), Mem0 Provider for Vercel AI SDK (mem0ai/mem0, 67k stars) and 9Router Chat Completions (decolua/9router, 31k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains NEAR AI Cloud Private Inference?

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.