Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jiushiwon/wg-skillsnpx agentmods add skills/jiushiwon/wg-skills/vue-contextmenu-skillWrote 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/jiushiwon/wg-skills/vue-contextmenu-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-contextmenu-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-contextmenu-skill/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/jiushiwon/wg-skills/vue-contextmenu-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-contextmenu-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00141 | $0.01239 |
| Opus 5.5 | $0.00056 | $0.00496 |
| Sonnet 5.5 | $0.00028 | $0.00248 |
| Haiku 4.5 | $0.00014 | $0.00124 |
Grade A, and why
vue-contextmenu-skill 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vue-contextmenu-skill
右键菜单组件技能。菜单项渲染 =
base-list-item,业务只关心MenuOption[]数据契约 + 4 个 prop 开关。
底层依赖:vue-list-item-skill(菜单项渲染基座)
容器原则:菜单弹层使用 Teleport 到 body,宿主容器使用 vue-card-skill 的
<base-card>。
与 vue-card-skill 的关系
base-card ← L0 容器(宿主)
└─ 业务组件 ← 触发 contextmenu
↳ base-contextmenu ← L1 右键弹层(本技能,Teleport 到 body)
└─ base-list-item ← 菜单项渲染(依赖)
8 种形态(options / prop 叠加)
| # | 形态 | 启用方式 |
|---|---|---|
| 1 | 基础菜单 | options 数组 |
| 2 | 嵌套子菜单 | option.children |
| 3 | 图标菜单 | option.icon |
| 4 | 分割线菜单 | option.divider: true |
| 5 | 动态条件菜单 | option.show |
| 6 | 左键点击触发 | trigger="click" |
| 7 | 键盘导航 | 内置(↑↓ Enter Esc) |
| 8 | 边缘检测 | 内置 adjustPosition |
数据契约 MenuOption
interface MenuOption {
id: string // 唯一标识
label?: string // 显示文本
icon?: string // 图标
shortcut?: string // 快捷键(Ctrl+C)
command?: string | number // 业务命令(select 回调参数)
disabled?: boolean // 禁用
danger?: boolean // 危险项(红色)
divider?: boolean // 是否为分割线
show?: boolean // 条件渲染
children?: MenuOption[] // 子菜单
}
完整组件规格(Props / Events / Slots / 完整实现 / 反例 vs 正例)见 base-contextmenu.md。
命名对齐矩阵(与 vue-list-item 一致)
| ContextMenu 槽位 | list-item 槽位 |
|---|---|
option.icon |
[icon] |
option.label |
[label] |
option.shortcut |
[shortcut] |
option.divider |
[divider] |
option.children |
递归 base-list-item |
跨技能协同
- vue-list-item-skill:菜单项 =
base-list-item(复用 variant) - vue-tree-skill:
<base-tree>的@contextmenu事件触发本组件 - vue-table-skill:表格行右键菜单
- vue-card-skill:宿主容器必须 base-card 包裹
与 vue-tree-skill 联动示例
<template>
<base-card title="文件树">
<base-tree :data="files" @contextmenu="onRightClick" />
<base-contextmenu
v-model:visible="ctx.visible"
:x="ctx.x" :y="ctx.y"
:options="fileMenuOptions"
@select="onCommand"
/>
</base-card>
</template>
What ships with it
11 files 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.
- base-contextmenu.md 8.1 KB
- demo-components/base-contextmenu/html/00-showcase.html 6.6 KB
- demo-components/base-contextmenu/html/ctx-render.js 28 KB runs code
- demo-components/shared/contextmenu.css 2.8 KB
- demo-components/shared/demo.css 1.6 KB
- demo-components/shared/list-item.css 3.2 KB
- demo-components/shared/tokens.css 1.1 KB
- README.md 789 B
- references/accessibility.md 5.2 KB
- references/api.md 6.6 KB
- references/best-practices.md 10 KB
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.
- 2mo ago First seen · 113 lines · 141 tokens per session scan A d7803cdb973a
vue-contextmenu-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 141 tokens to every session and 1,239 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-09-15.
vue-contextmenu-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vue-contextmenu-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 141 | Claude Code, Codex |
| shadcn-sveltevercel-labs/json-render | Skill | 20k | 7d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| add-localizationmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 69 | Claude Code |
| moai-domain-uiuxmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 49 | Claude Code |
| moai-domain-frontendmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 54 | Claude Code |
| vue-router-best-practicesvuejs-ai/skills | Skill | 3.4k | 1mo ago | MIT | A | 25 | Claude Code, Codex |
| weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-vite | Skill | 529 | today | MIT | A | 107 | Codex |