cursor

cursor is a skill for Claude Code, Codex from phuongduyphan/cc-tmux-agents. It costs 37 tokens per session (1,502 once invoked), scanned A, original, MIT.

A bridge that hands a coding task to Cursor Agent, a separate coding assistant, running in a terminal session managed by tmux. Tmux keeps the session running so it can be checked or guided later.

In plain words
What is it for?
Use it to start Cursor Agent on a coding task, send additional guidance, capture its recent terminal output, wait until it becomes idle, or interrupt it.
Why use it?
It lets another coding assistant work in the background while you remain in control. You can send follow-up instructions, inspect its output, wait for completion, or stop it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code; reads ~/.codex paths.

Good fit Use it to start Cursor Agent on a coding task, send additional guidance, capture its recent terminal output, wait until it becomes idle, or interrupt it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuongduyphan/cc-tmux-agents/cursor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add phuongduyphan/cc-tmux-agents --skill cursor
Clone the repo
git clone --depth 1 https://github.com/phuongduyphan/cc-tmux-agents

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/cursor/github.svg)](https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/cursor)
Your own site
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/cursor"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/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.

agentmods 80×15 button for cursor

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/cursor"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/cursor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,502 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.00037 $0.01502
Opus 5.5 $0.00015 $0.00601
Sonnet 5.5 $0.00007 $0.00300
Haiku 4.5 $0.00004 $0.00150

Measured 2mo ago against content hash a2d397e021d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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.

agents-skills/cursor/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

$cursor — delegate to Cursor Agent CLI

Spawns Cursor Agent's TUI in a detached tmux session so Codex can offload work to it. The user stays in the loop: they ask Codex when to check progress, what guidance to send, and when to stop.

Primitive

All operations go through a single dispatcher:

~/.agents/skills/cursor/bin/cursor-agent [--session <name>] <verb> [args]

Verbs:

  • start [task...] — create session (default codex-cursor), launch agent --force, type the task and press Enter. Returns immediately (non-blocking).
  • send <message> — type message + Enter. For follow-up guidance. Does not interrupt current generation; Cursor Agent queues the input.
  • keys <name> — send a raw tmux key (Escape, C-c, Enter, etc.). Used for interrupts.
  • capture [lines] — print last N ANSI-stripped rendered lines (default 500). Read-only, non-destructive.
  • wait [stable] [timeout] — block until the agent goes idle, then exit. Run it in the foreground to block until the sub-agent finishes (the mode for Codex and other CLI orchestrators; see "Wait for completion" below). stable = secs the working indicator must stay gone before declaring idle (default 6); timeout = overall cap in secs (default 1800).
  • stop — kill-session. Destroys the tmux session.
  • list — list active codex-cursor* sessions.

How to respond to the user

User says Do
$cursor <task> / "delegate to cursor" start <task>, then run wait in the foreground (blocks this turn until cursor is idle); on return, capture + report.
$cursor <task> + "tell me when it's done" / "notify me" Same as $cursor <task>; foreground wait is already the default.
"check cursor" / "progress" / "what's cursor doing" / "ask cursor for progress" capture. Show the relevant tail, add a one-line diagnosis (running / idle / error / prompt). Do not send ESC.
"interrupt cursor" / "esc cursor" keys Escape → capture.
"tell cursor: X" / "send cursor: X" send X.
"kill cursor" / "stop cursor" stop.

Read the full file on GitHub · 84 lines

Files

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.

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. 2mo ago First seen · 84 lines · 37 tokens per session scan A a2d397e021d5

Subscribe to this mod's changes

cursor is a skill published in the GitHub repository phuongduyphan/cc-tmux-agents (9 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 1,502 once invoked, about $0.0001 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-08-31.

Related

cursor compared with skills from other repositories

cursor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorphuongduyphan/cc-tmux-agentsSkill93mo agoMITA37Claude Code, Codex
release-announcementpaperclipai/paperclipSkill114ktodayMITA42Claude Code, Codex
agent-release-swarmruvnet/rufloSkill82kyesterdayMITA19Claude Code
index-refreshpaperclipai/paperclipSkill114ktodayMITA43Claude Code, Codex
agent-v3-performance-engineerruvnet/rufloSkill82kyesterdayMITA25Claude Code
agent-workflow-automationruvnet/rufloSkill82kyesterdayMITA21Claude Code
agent-pagerank-analyzerruvnet/rufloSkill82kyesterdayMITA24Claude Code