cursor-companion-contract

cursor-companion-contract is a skill for Claude Code from felipeinf/cursor-for-claude. It costs 21 tokens per session (211 once invoked), scanned A, original, MIT.

A set of rules for sending tasks from a Cursor coding-agent subagent to a companion process.

In plain words
What is it for?
Use it inside the specified Cursor subagent to start, continue, or resume companion task runs with the supported options.
Why use it?
It defines exactly how tasks are forwarded and prevents the subagent from inspecting files, checking results, or managing jobs itself.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cursor plugin — 2 skills, 5 commands, 1 agent shipped together

Good fit Use it inside the specified Cursor subagent to start, continue, or resume companion task runs with the supported options.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add felipeinf/cursor-for-claude
Claude Code
/plugin install cursor

Made for: Claude Code.

Or install cursor, the plugin that ships this one along with the rest of its 2 skills, 5 commands, 1 agent.

Wrote 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.

agentmods badge for cursor-companion-contract

README.md
[![agentmods](https://agentmods.dev/badge/skills/felipeinf/cursor-for-claude/cursor-companion-contract/github.svg)](https://agentmods.dev/skills/felipeinf/cursor-for-claude/cursor-companion-contract)
Your own site
<a href="https://agentmods.dev/skills/felipeinf/cursor-for-claude/cursor-companion-contract"><img src="https://agentmods.dev/badge/skills/felipeinf/cursor-for-claude/cursor-companion-contract/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.

agentmods 80×15 button for cursor-companion-contract

Your own site · 80×15
<a href="https://agentmods.dev/skills/felipeinf/cursor-for-claude/cursor-companion-contract"><img src="https://agentmods.dev/badge/skills/felipeinf/cursor-for-claude/cursor-companion-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00211
Opus 5 $0.00010 $0.00105
Sonnet 5 $0.00004 $0.00042
Haiku 4.5 $0.00002 $0.00021

Measured 10d ago against content hash c9779ed1affd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

cursor-companion-contract 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 10d 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.

plugins/cursor/skills/cursor-companion-contract/SKILL.md · 25 lines

What it actually says

Cursor companion contract

Use this skill only inside the cursor:cursor-agent subagent.

Primary helper:

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/cursor-companion.mjs" task "<raw arguments>"

Rules:

  • Invoke the companion with one Bash call and return stdout unchanged.
  • Never read files, inspect repository state, grep, monitor, poll, fetch results, or cancel jobs.
  • Do not call setup, status, result, or cancel.
  • Map --continue to task --continue.
  • Map --resume <id> to task --resume <id>.
  • Map --fresh to a fresh task call without resume flags.
  • Pass --read-only only when the user requested read-only behavior.
  • Preserve the user's task text apart from routing flags.
Changes

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.

  1. 10d ago First seen · 25 lines · 21 tokens per session scan A c9779ed1affd

Subscribe to this mod's changes

cursor-companion-contract is a skill published in the GitHub repository felipeinf/cursor-for-claude (7 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 211 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens