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.5 | $0.00063 | $0.01964 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (267 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 157 tokens to every session and 4,909 once invoked, about $0.0006 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-30.
clipboard-to-shortcut compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clipboard-to-shortcutOPPO-Mente-Lab/X-OmniClaw | Skill | 267 | 6mo ago | Apache-2.0 | A | 157 | Claude Code, Codex |
| migratelangchain-ai/open-swe | Skill | 11k | today | MIT | A | 72 | Claude Code, Codex |
| tmuxopensquilla/opensquilla | Skill | 7.2k | 5d ago | Apache-2.0 | A | 113 | Claude Code, Codex |
| computer-usePrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 109 | Claude Code, Codex |
| agent-initializationPrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 79 | Claude Code, Codex |
| storagePrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 81 | Claude Code, Codex |
| computer-historyMemTensor/memmy-agent | Skill | 2.4k | today | MIT | A | 42 | Claude Code, Codex |