nearai-verify
БесплатноБез исполняемых скриптовНе проверенCheck whether this agent is talking to a NEAR AI Cloud TEE endpoint or to an ordinary one, and cryptographically attest that endpoint. Reports which models…
от eduv09921 установка в других каталогахОб этом скилле
NEAR AI — endpoint verification
Answers the type of question: are my prompts going somewhere private?
Background: what NEAR AI Cloud is
NEAR AI Cloud serves models from inside hardware TEEs (Intel TDX + NVIDIA confidential computing). Inside a TEE, the host, the GPU operator, and NEAR itself cannot read prompts or responses. It speaks the OpenAI API, so any client can use it by changing a base URL.
Two paths, and they are not equally private:
- Gateway —
https://cloud-api.near.ai/v1. The supported path, and the one NEAR recommends for verification. The Gateway is itself an attested TEE. TEE-hosted models keep their guarantees; external models (openai/*,anthropic/*,google/*, and anything routed to OpenRouter) are proxied upstream and get no TEE guarantee at all. - Direct completions —
https://{slug}.completions.near.ai/v1. Straight to one model's enclave. Experimental upstream: signatures are stored per instance, so lookups can return404until retried.
So "using NEAR" does not mean "private". The model matters as much as the host.
A model's name is not evidence: check GET https://cloud-api.near.ai/v1/model/{id}
(URL-encoded). Only metadata.providerType: "vllm" with
metadata.attestationSupported: true is a NEAR TEE model.
Install and update
Install the skill:
clawhub install nearai-verify
Levels 1 and 2 use the scripts bundled with this skill. Level 3 additionally requires the NEAR AI Verify OpenClaw plugin:
openclaw plugins install clawhub:nearai-verify-openclaw-plugin
openclaw gateway restart
openclaw plugins inspect nearai-verify --runtime
The ClawHub package is named nearai-verify-openclaw-plugin; its OpenClaw
runtime/config id is nearai-verify. A message saying those names differ is
expected.
To update an existing installation:
clawhub update nearai-verify
openclaw plugins install --force clawhub:nearai-verify-openclaw-plugin
openclaw gateway restart
The plugin reads NEAR_AI_API_KEY through the configured nearai provider. A
completion is eligible for Level 3 only when its model uses an
openai-completions route with base URL https://cloud-api.near.ai/v1. Other
nearai routes (such as direct endpoints) are recorded as skipped in the calling
session, never proven; non-NEAR providers are not recorded at all.
The plugin's agent tools must be allowed for the agent, for example
agents.entries.<id>.tools.alsoAllow: ["nearai-verify"]. Without that, the
agent cannot call nearai_verify.
The three levels
Never claim a higher level than was actually reached. Always name the level in your answer.
Level 1 — CLAIMED
Proves nothing. Reads local config and gateway logs to say which endpoint is in use. Catches misconfiguration and silent failover; a hostile endpoint would still look fine.
- Needs:
python3(stdlib only). Always available. - Run:
python3 {baseDir}/check.py·python3 {baseDir}/check.py --served
Level 2 — ATTESTED
Proves the endpoint is genuine TEE hardware, right now. Fetches a fresh attestation report and validates it. Says nothing about any individual message.
Needs:
Tool Enables If missing python3stdlibresponse nonce echo always available cryptographyTLS key-binding check that one check is skipped dcap-qvlIntel TDX quote verification and signer/nonce binding those checks are skipped network to api.trustedservices.intel.comIntel quote collateral quote check is skipped network to nras.attestation.nvidia.comNVIDIA GPU attestation GPU check is skipped The GPU check needs no extra package — only network. It runs even when
dcap-qvlis absent.Check reachability:
python3 {baseDir}/attest.py --doctorRun:
python3 {baseDir}/attest.py
The endpoint itself needs no API key and attestation is free — it never counts against usage. Run it as often as you like.
Level 3 — PROVEN
Proves this specific message was signed inside that TEE. Requires the
nearai-verify-openclaw-plugin; the skill alone cannot reach Level 3. The
plugin sends Gateway completions through the NEAR AI Inference SDK. Before a
request leaves the machine, the SDK verifies Gateway and model attestation
(Intel TDX, NVIDIA GPU) and refuses to send if they fail. It then encrypts the
prompt, tools, and history to the attested model (E2EE) and, by default, wraps
the exchange in Oblivious HTTP. After each stream, the plugin verifies the
response signature against the exact request and response bytes. Verification
runs outside the model and never trusts the model's claim about where it ran.
Who signed the response decides the evidence level:
provider_tee— the attested model TEE signed it: PROVEN.gateway— only the attested Gateway signed it: ATTESTED. It proves the Gateway relayed those bytes, not that the model TEE produced
Установить nearai-verify в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл nearai-verify?
Check whether this agent is talking to a NEAR AI Cloud TEE endpoint or to an ordinary one, and cryptographically attest that endpoint. Reports which models the chain uses, which ones actually served recent turns, warns when a fallback sends prompts outside the enclave, verifies the Intel TDX quote, and uses the nearai-verify OpenClaw plugin for message-level proof. Trigger when asked "am I private", "is this a TEE", "prove it", "verify your latest response", "which model answered that", or before handling sensitive data.
Как установить скилл nearai-verify?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nearai-verify запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic