Borrowing it
Nothing to install: this file belongs to verivus-oss/llm-cli-gateway. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/verivus-oss/llm-cli-gateway/main/.agents/skills/provider-cursor/SKILL.mdgit clone --depth 1 https://github.com/verivus-oss/llm-cli-gatewayWrote 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/verivus-oss/llm-cli-gateway/provider-cursor)<a href="https://agentmods.dev/skills/verivus-oss/llm-cli-gateway/provider-cursor"><img src="https://agentmods.dev/badge/skills/verivus-oss/llm-cli-gateway/provider-cursor.svg" alt="Measured on agentmods" 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.00072 | $0.01534 |
| Opus 5 | $0.00036 | $0.00767 |
| Sonnet 5 | $0.00014 | $0.00307 |
| Haiku 4.5 | $0.00007 | $0.00153 |
Grade A, and why
provider-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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Provider: Cursor Agent CLI
Keep the gateway's Cursor (cursor-agent) integration aligned with the upstream
CLI. This skill does not define argv or environment behaviour. The single
mechanical source of truth is UPSTREAM_CLI_CONTRACTS.cursor in
src/upstream-contracts.ts, enforced by validateUpstreamCliArgs and
validateUpstreamCliEnv. Do not re-encode flags, execution modes, ACP rules,
or session rules here or in TOML.
Identity
| Field | Value |
|---|---|
| CliType | cursor |
| Executable | cursor-agent |
| Distribution | Cursor Agent vendor distribution |
| CLI docs | https://cursor.com/cli |
| ACP docs | https://cursor.com/docs/cli/acp |
| Parameter reference | https://cursor.com/docs/cli/reference/parameters |
| Watch categories | flags, subcommands, session-resume, execution-modes, acp-entrypoint |
These values mirror UPSTREAM_CLI_CONTRACTS.cursor.upstreamMetadata and
docs/upstream/provider-sources.dag.toml ([providers.cursor]). The TypeScript
metadata is authoritative; the TOML is scanner input only.
Gateway use
- Discover the live gateway surface before relying on Cursor-specific controls:
For a cached read-only resource, useprovider_tool_capabilities({cli:"cursor"})provider-tools://cursor. - Use
cursor_requestfor normal work andcursor_request_asyncfor long-running work. Sync calls may auto-defer; pollllm_job_statusand fetch withllm_job_resultwhen that happens. - Omit
modelunless the caller explicitly requests one. Use only controls reported byprovider_tool_capabilities, especially execution mode, sandbox, workspace, and session controls. Cursor must useapprovalStrategy:"legacy": it rejectsmcp_managedbefore launch because ambient MCP configuration cannot be isolated, andapprovalPolicyhas no effect. - Keep provider-owned MCP configuration separate from gateway metadata. Do not assume every Cursor CLI control is safe to expose through a request.
- Cursor accepts flat
promptonly, notpromptParts.workingDirselects the child process cwd ontransport:"cli", as it does for every other provider. It is CLI-only:transport:"acp"rejects it inrejectUnsupportedCursorAcpParamsalongsideaddDir, because the ACP route resolves its own scope and would otherwise discard it silently. Itsworkspacefield is separate and selects a local target directory, registered alias, or provider-native.code-workspacefile. A directory/alias establishes child cwd; a workspace file remains a native argument and is not misused asspawn.cwd. Because both inputs can name a cwd,resolveCursorWorkingDirrejects an absolute workspace path that disagrees withworkingDirinstead of ranking them; identical values are admitted. Verify the target before reviewing concurrent repositories. An unregistered relative value remains a provider-native saved-workspace name and is passed through verbatim, never resolved against the gateway process cwd. Use an absolute path when selecting an unregistered local directory as child cwd. - Use a real resumable Cursor chat only when the response reports it as
resumable. Gateway bookkeeping IDs are not automatically valid Cursor chat
IDs. Continuation remains provider-native under legacy. A cwd-scoped
resumeLatestneeds a stable selected target. - Native ACP is capability-gated. It rejects
approvalStrategy:"mcp_managed"and anyapprovalPolicy, as does the Cursor CLI gateway path. Probecursor-agent acp --helpwhen validating the installed entrypoint. - An unscoped CLI child uses a fresh neutral temporary cwd, not the gateway
repository. Cursor's argv-bound prompt rejects oversized UTF-8 input as
non-retryable
input_too_large; the gateway never truncates it. All other caller-controlled argv values are admitted in their final encoded form before spawn. Embedded NUL bytes return non-retryableinvalid_inputwithout exposing the rejected value.
What ships with it
1 file 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.
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.
- 3d ago Changed d10fadaa699c
- 7d ago First seen · 127 lines · 72 tokens per session scan A f20ddeccf331
provider-cursor is a skill published in the GitHub repository verivus-oss/llm-cli-gateway (15 stars, last pushed 3d ago), licensed MIT. It adds 72 tokens to every session and 1,534 once invoked, about $0.0004 per session on Opus 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-08-30.
Other skills, from other repositories
provider-integration
Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and documents the provider script interface. Covers creating provider shell scripts, setting API keys, and validating connectivity. Triggers on "add provider", "new AI agent", "provider not working", "API…
architect
System design, tradeoffs, and complex technical decisions.
plan-reviewer
Validate that a work plan is executable before work starts.
security-analyst
Threat-model and find vulnerabilities, with practical remediation.
researcher
Research external libraries, APIs, and best practices, with evidence.
debugger
Rank root-cause hypotheses and propose the smallest safe fix.