NanoClaw is an AI assistant that runs agents inside separate Linux containers, isolating their files and execution environments. People use it to connect agents to messaging services and run assistants with memory and scheduled jobs. The catalogue contains skills and instructions for extending or operating NanoClaw.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/nanocoai/nanoclawnpx agentmods add skills/nanocoai/nanoclaw/add-cursorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nanocoai/nanoclaw/add-cursor)<a href="https://agentmods.dev/skills/nanocoai/nanoclaw/add-cursor"><img src="https://agentmods.dev/badge/skills/nanocoai/nanoclaw/add-cursor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nanocoai/nanoclaw/add-cursor"><img src="https://agentmods.dev/badge/skills/nanocoai/nanoclaw/add-cursor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.03119 |
| Opus 5.5 | $0.00034 | $0.01248 |
| Sonnet 5.5 | $0.00017 | $0.00624 |
| Haiku 4.5 | $0.00008 | $0.00312 |
Grade A, and why
add-cursor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- add-cursor — 92% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor agent provider
Shortcut:
pnpm exec tsx setup/index.ts --step provider-auth cursorperforms this whole install (payload files, barrels, SDK pin, image rebuild, host rebuild and restart) plus auth in one command. The steps below are the same operations, for agent-driven or manual application.
NanoClaw selects each group's agent backend from container_configs.provider (default claude). This skill installs the Cursor provider: copy the payload from this skill's payload/, append one import to each of the five provider and contract barrels, pin @cursor/sdk in the agent-runner tree, rebuild, then run the auth walk-through.
The provider runs @cursor/sdk in-process inside the container (Agent.create / resume / send): native streaming, MCP tools, a local agent store (the continuation is a Cursor agentId). It integrates through the provider contracts only — a data-only host contract declares the composed AGENTS.md, the per-group .cursor-shared state volume at ~/.cursor, the two Cursor-native skill directories and the Cursor model domains; the runtime contract declares the execution stance, model mapping, memory hooks, MCP mapping, and archives each exchange into conversations/ through core's shared exchange archive.
Credentials stay in the credential gateway selected by NANOCLAW_GATEWAY_PROVIDER. The container only ever sees the placeholder CURSOR_API_KEY=cursor_placeholder_nanoclaw, which the SDK sends as a bearer header. Setup stores the key for two exact routes: api2.cursor.sh/auth/exchange_user_api_key, where the SDK swaps it for a short-lived runtime token, and api.cursor.com/v1/models, for model discovery. The runtime token stays in the SDK's memory and rides the same gateway proxy on the agent's Connect RPCs to api2.cursor.sh, which the gateway leaves untouched because the key is scoped to the exchange path. The payload ships cursor.gateway-proxy.test.ts, which proves every request of a real SDK run transits the proxy carrying nothing but the placeholder. Never put a key in chat.
The mechanical steps under Install carry nc: directive fences: an agent reads the prose and applies them, and a parser can apply them deterministically from the same document. Every directive is idempotent, so the whole skill is safe to re-run; anything a parser can't apply falls back to the prose beside it.
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- apply-fixtures.json 301 B
- payload/container/agent-runner/src/provider-contracts/cursor.ts 3.0 KB runs code
- payload/container/agent-runner/src/providers/cursor-auth.test.ts 4.5 KB runs code
- payload/container/agent-runner/src/providers/cursor-auth.ts 2.8 KB runs code
- payload/container/agent-runner/src/providers/cursor-gateway-probe.ts 4.5 KB runs code
- payload/container/agent-runner/src/providers/cursor-hook.test.ts 2.4 KB runs code
- payload/container/agent-runner/src/providers/cursor-hook.ts 2.0 KB runs code
- payload/container/agent-runner/src/providers/cursor-registration.test.ts 1.8 KB runs code
- payload/container/agent-runner/src/providers/cursor.conformance.test.ts 1.4 KB runs code
- payload/container/agent-runner/src/providers/cursor.factory.test.ts 32 KB runs code
- payload/container/agent-runner/src/providers/cursor.gateway-proxy.test.ts 27 KB runs code
- payload/container/agent-runner/src/providers/cursor.poll-loop.test.ts 8.0 KB runs code
- payload/container/agent-runner/src/providers/cursor.ts 41 KB runs code
- payload/setup/providers/cursor-registration.test.ts 777 B runs code
- payload/setup/providers/cursor.test.ts 19 KB runs code
- payload/setup/providers/cursor.ts 19 KB runs code
- payload/src/provider-contracts/cursor.ts 3.4 KB runs code
- payload/src/providers/cursor-host-contribution.test.ts 9.4 KB runs code
- payload/src/providers/cursor-registration.test.ts 706 B runs code
- payload/src/providers/cursor.ts 2.0 KB runs code
- REMOVE.md 3.9 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 19d ago Changed 7194c69955b0
- 1mo ago First seen · 176 lines · 84 tokens per session scan A 46a5fbb2d192
add-cursor is a skill published in the GitHub repository nanocoai/nanoclaw (31,187 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 3,119 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.
add-cursor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-cursornanocoai/nanoclaw | Skill | 31k | today | MIT | A | 84 | Claude Code |
| Pynchy Developmentcrypdick/pynchy | Skill | 10 | 2mo ago | MIT | A | 79 | Claude Code |
| Pynchy Plugin Authoringcrypdick/pynchy | Skill | 10 | 2mo ago | MIT | A | 64 | Claude Code |
| slack-token-extractorcrypdick/pynchy | Skill | 10 | 2mo ago | MIT | A | 34 | Claude Code, Codex |
| x-integrationcrypdick/pynchy | Skill | 10 | 2mo ago | MIT | A | 38 | Claude Code, Codex |
| python-heredoccrypdick/pynchy | Skill | 10 | 2mo ago | MIT | A | 43 | Claude Code, Codex |
| Documentation Managercrypdick/pynchy | Skill | 10 | 2mo ago | MIT | A | 68 | Claude Code |