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-tree-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-tree-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-tree-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-tree-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-tree-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-tree-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.00148 | $0.01238 |
| Opus 5.5 | $0.00059 | $0.00495 |
| Sonnet 5.5 | $0.00030 | $0.00248 |
| Haiku 4.5 | $0.00015 | $0.00124 |
Grade A, and why
vue-tree-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 16d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vue-tree-skill
树形组件技能。节点渲染 =
base-list-item,业务只关心TreeNode数据契约 + 8 个 prop 开关。
底层依赖:vue-list-item-skill(节点渲染基座)+ vue-contextmenu-skill(右键菜单联动)
容器原则:必须用 vue-card-skill 的
<base-card>包裹。
与 vue-card-skill 的关系
base-card ← L0 容器
└─ base-tree ← L1 树形菜单(本技能)
禁止裸用 <base-tree>(违反容器原则)。
<!-- ✅ 正确 -->
<base-card title="组织架构">
<base-tree :data="orgData" @select="onSelect" @contextmenu="onCtxMenu" />
</base-card>
<!-- ❌ 错误 -->
<base-tree :data="orgData" />
8 种形态(prop 开关叠加)
| # | 形态 | prop | 默认 |
|---|---|---|---|
| 1 | 基础树 | — | ✅ 默认 |
| 2 | 复选框树 | checkbox |
❌ |
| 3 | 懒加载树 | lazy + load |
❌ |
| 4 | 可拖拽树 | draggable |
❌ |
| 5 | 右键菜单树 | @contextmenu 事件 |
— |
| 6 | 可搜索树 | v-model:search + filter-node |
❌ |
| 7 | 可编辑树 | editable |
❌ |
| 8 | 节点图标树 | TreeNode.icon |
— |
形态可叠加:<base-tree :data :checkbox :draggable :editable />
数据契约 TreeNode
interface TreeNode {
id: string // 唯一标识
label: string // 显示文本
icon?: string // 节点图标
meta?: string // 右侧次要文本(KB / 人数 / 数量)
badge?: string | number // 徽标(新人 / P0)
disabled?: boolean // 禁用
open?: boolean // 默认展开
children?: TreeNode[] // 子节点
isLeaf?: boolean // 懒加载标记
}
完整组件规格(Props / Events / Slots / 完整实现 / 反例 vs 正例)见 base-tree.md。
命名对齐矩阵(与 uniapp / list-item 一致)
| 本技能 | vue-list-item-skill | uni-app 独立树组件技能(待建设) |
|---|---|---|
base-tree |
— | base-tree |
TreeNode |
ListItem |
TreeNode |
| 节点渲染 | base-list-item |
uni-list-item |
跨技能协同
- vue-list-item-skill:每个节点 = 一个
base-list-item - vue-contextmenu-skill:右键节点弹 contextmenu,传递
TreeNode - vue-card-skill:必须 base-card 包裹
- frontend-icon-skill:节点 icon 可引用 icon 组件
What ships with it
12 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-tree.md 7.5 KB
- components/BaseTree.vue 4.8 KB
- components/BaseTreeNode.vue 6.2 KB
- components/index.ts 83 B runs code
- demo-components/base-tree/html/00-showcase.html 4.8 KB
- demo-components/base-tree/html/tree-render.js 16 KB runs code
- 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
- demo-components/shared/tree.css 2.9 KB
- package.json 247 B
- README.md 717 B
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.
- 16d ago Changed 616ac6436fda
- 1mo ago Changed f42f9c9fd4c1
- 2mo ago First seen · 107 lines · 148 tokens per session scan A 6ac411e46bf8
vue-tree-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 148 tokens to every session and 1,238 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-tree-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vue-tree-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | A | 148 | 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 |