cursor-skill

cursor-skill is a skill for Claude Code, Codex from WangYuecheng1106/Magic-Mouse. It costs 0 tokens per session (3,511 once invoked), scanned C, original, MIT.

A computer-use skill for controlling a desktop through Magic Mouse, a desktop pet that provides screen interaction. It can inspect screenshots, plan actions, click, type, switch applications, and verify results.

In plain words
What is it for?
Use it to operate other desktop apps, fill in forms, take screenshots, paste text, handle pop-ups, automate screen workflows, or control the computer with Magic Mouse.
Why use it?
It lets the agent carry out tasks in graphical applications when the work is outside Cursor or cannot be completed through code alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

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.

agentmods
npx agentmods add skills/wangyuecheng1106/magic-mouse/cursor-skill
Any agent
npx skills add WangYuecheng1106/Magic-Mouse --skill cursor-skill
Clone the repo
git clone --depth 1 https://github.com/WangYuecheng1106/Magic-Mouse

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-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangyuecheng1106/magic-mouse/cursor-skill.svg)](https://agentmods.dev/skills/wangyuecheng1106/magic-mouse/cursor-skill)
Your own site
<a href="https://agentmods.dev/skills/wangyuecheng1106/magic-mouse/cursor-skill"><img src="https://agentmods.dev/badge/skills/wangyuecheng1106/magic-mouse/cursor-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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.00000 $0.03511
Opus 5 $0.00000 $0.01755
Sonnet 5 $0.00000 $0.00702
Haiku 4.5 $0.00000 $0.00351

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

Security

Grade C, and why

cursor-skill scanned grade C with 1 finding 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 5d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (hooks/magic-mouse-state.mjs, server/src/auth.ts, server/src/client.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- NEVER call `mm_shell_run` with destructive commands (`rm -rf`, `format`,
packages/cursor-skill/SKILL.md · 356 lines

How it starts

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



name: magic-skill description: >- Operate the user's computer through Magic Mouse — a desktop pet that is the physical body for AI-driven screen interaction. Take screenshots, reason about what you see, click/type, and verify results — a full computer-use loop enhanced with Agent-Computer Interface (ACI), hierarchical planning, and dual-memory experience learning (Agent-S + Codex Computer Use hybrid). Use when the user asks to perform actions OUTSIDE Cursor (control other desktop apps, fill forms, grab screenshots, paste content, automate desktop workflows, close popups/ads), or when the user mentions Magic Mouse, desktop pet, virtual mouse, "桌宠", "让 Cursor 操作我的电脑", or "用魔法鼠标".

Magic Skill — Computer Use via Magic Mouse (CursorDeskPet)

You are CursorDeskPet, an AI desktop pet with full Computer Use ability: observe the screen, understand interfaces, manipulate mouse and keyboard, launch/switch/close apps — all through the Magic Mouse runtime on the user's desktop.

Your service target is Cursor (and indirectly the user). You translate natural-language tasks into safe, explainable, undoable GUI action sequences, helping Cursor achieve Codex-level desktop automation.

Magic Mouse must be running (check with mm_status first).

Design heritage (dual-project hybrid)

Capability Source How it lands in Magic Skill
Pixel-level mouse & keyboard ops open-codex-computer-use Screenshot + element positioning + click / type / hotkey
App takeover (@App naming) open-codex-computer-use launch / switch_window primitives + app allowlist
Safety confirmation mechanism open-codex-computer-use ask_user + destructive-op intercept
Hierarchical task planning Agent-S Task → subtask → atomic action decomposition
Agent-Computer Interface (ACI) Agent-S Structured action primitives + UI tree element_id
Narrative + episodic memory Agent-S Task-template memory + step-level experience memory
Self-evaluation & continuous learning Agent-S Post-subtask reflection → memory update

Read the full file on GitHub · 356 lines

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. 5d ago First seen · 356 lines · 0 tokens per session scan C 9a2319fad17d

Subscribe to this mod's changes

cursor-skill is a skill published in the GitHub repository WangYuecheng1106/Magic-Mouse (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,511 tokens. A static security scan graded it C with 1 finding (recursive force delete). 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

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

calesthio/OpenMontage · 53 tokens

website-to-video

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→…

calesthio/OpenMontage · 154 tokens

qa/e2e-playwright

Playwright E2E 测试完整方法论,涵盖项目初始化、Page Object Model、认证复用、API Mock、视觉回归、多浏览器测试、CI 集成和调试技巧.

echoVic/boss-skill · 50 tokens

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions…

tech-leads-club/agent-skills · 95 tokens

chrome-devtools

Browser debugging, performance profiling, and automation via Chrome DevTools MCP. Use when user says "debug this page", "take a screenshot", "check network requests", "profile performance", "inspect console errors", or "analyze page load". Do NOT use for full E2E test suites (use playwright-skill) or non-browser…

tech-leads-club/agent-skills · 74 tokens

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a…

jihe520/social-push · 108 tokens