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.
npx skills add OPPO-Mente-Lab/X-OmniClaw --skill clipboard-to-shortcutgit clone --depth 1 https://github.com/OPPO-Mente-Lab/X-OmniClawWrote 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/oppo-mente-lab/x-omniclaw/clipboard-to-shortcut)<a href="https://agentmods.dev/skills/oppo-mente-lab/x-omniclaw/clipboard-to-shortcut"><img src="https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/clipboard-to-shortcut/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/oppo-mente-lab/x-omniclaw/clipboard-to-shortcut"><img src="https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/clipboard-to-shortcut.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00157 | $0.04909 |
| Opus 5 | $0.00078 | $0.02455 |
| Sonnet 5 | $0.00031 | $0.00982 |
| Haiku 4.5 | $0.00016 | $0.00491 |
Grade A, and why
clipboard-to-shortcut 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 12d 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 — 494 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clipboard to Shortcut Skill
从手机剪切板读取 App 跳转链接,自动生成一个独立的快捷指令 SKILL.md,用户以后只需说出该 Skill 名称即可一键直达对应 App 页面。
🚫 绝对禁止(违反必崩溃)
禁止使用 exec / shell 执行以下任何命令,100% 报 SecurityException 崩溃:
# ❌ 全部禁止 — 没有例外 am start -a android.intent.action.VIEW -d "https://..." # ← 最常见错误! am start -n com.taobao.taobao/... content query --uri content://clipboard/clipboard service call clipboard 2 adb shell ... input tap / input swipe / input text已知崩溃日志(如果你看到类似报错,说明你用错了工具):
java.lang.SecurityException: Permission Denial: package=com.android.shell does not belong to uid=...
✅ 读取剪切板唯一正确方式:
device(action = "clipboard")✅ 跳转 App 唯一正确方式(必须带 package_name 防止跳浏览器):
device(action = "open", uri = "https://...", package_name = "com.taobao.taobao")⛔ 绝对不能用 exec 调
am start作为替代或回退方案。失败时应告知用户,而非换成 shell。
🎯 When to Use
✅ "把剪切板的链接做成 skill 淘宝好物" ✅ "帮我用剪切板内容创建一个skill叫抖音搞笑视频" ✅ "把复制的链接保存为快捷跳转 skill" ✅ "制作一个skill,下次可以一键打开这个页面" ✅ "帮我把这个链接做成一键直达的skill XX"
📋 Workflow
0) 前置检查
检查 Device status:
Accessibility: ✅ connected→ 继续。Accessibility: ❌ not connected→ 停止,回复用户:
设备当前未连接无障碍服务(Accessibility 未连接),暂时无法读取剪切板。
请先在 X-OmniClaw 中重新连接设备无障碍服务后重试。
1) 获取 Skill 名称
从用户 query 中提取 Skill 名称。用户通常会说"做成 skill XX"或"创建 skill 叫 XX"。
- 若用户未提供名称,根据链接对应的 App 和内容自动生成一个简短中文名称,例如
淘宝板鞋、抖音搞笑视频。 - 名称规范:直接使用中文名称,不超过 20 个字。文件夹名与 name 保持一致(均为中文)。禁止转换为拼音或英文。
2) 读取剪切板并提取 URL
val clipboardText = device(action = "clipboard")
val urlRegex = Regex("""https?://[^\s\u4e00-\u9fff\u3000-\u303f\uff00-\uffef]+""")
var url = urlRegex.find(clipboardText)?.value
?.trimEnd(',', '。', '、', '"', '"', ')', ')', ']', '】', '>', '》', '¥', ' ')
?: throw Exception("剪切板中未找到有效链接")
3) 识别 App 类型并获取 package_name
根据 URL 特征识别 App,同时确定 package_name。跳转时必须传 package_name,否则链接会被浏览器拦截。
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.
- 12d ago First seen · 494 lines · 157 tokens per session scan A e2be0056ee4f
clipboard-to-shortcut is a skill published in the GitHub repository OPPO-Mente-Lab/X-OmniClaw (261 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 157 tokens to every session and 4,909 once invoked, about $0.0008 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
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. Use when: (1) monitoring Claude/Codex sessions running in tmux, (2) sending input to interactive terminal applications, (3) scraping output from long-running processes inside tmux, (4) navigating tmux panes/windows…
agent-initialization
Initialize an Agent's settings from a user requirement by writing AGENTS.md, setting identity metadata, and installing only needed Skills.
automation
Create and manage scheduled and price-triggered automations.
co-mail-and-drive
Read and send mail from the user's own Gmail or Outlook account, safely stage Gmail draft attachments, send from the agent's own address, manage Outlook contacts and the Outlook calendar, and work with Google Drive files — with co gmail, co outlook, co email, and co gdrive. Use when the user asks about their inbox, an…
cron
Use when the user asks to schedule recurring tasks, one-off reminders, timers, or cron-style jobs through the OpenSquilla cron tool.
meta-scheduled-morning-digest
Compose a morning digest combining local weather, news for the user's interest topic, a structured summary, and a memory note.