el-tree-v2

el-tree-v2 is a skill for Claude Code, Codex from jiaiyan/element-plus-skills. It costs 39 tokens per session (1,464 once invoked), scanned A, original, MIT.

A virtualised tree component for displaying large nested datasets while rendering only the visible parts. A tree is a list of expandable parent and child items.

In plain words
What is it for?
Use it for large file browsers, nested data views, and selectable tree structures that need virtual scrolling.
Why use it?
It helps large folder-like or hierarchical views stay usable when showing many nodes at once.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for large file browsers, nested data views, and selectable tree structures that need virtual scrolling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiaiyan/element-plus-skills/el-tree-v2
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.

Any agent
npx skills add jiaiyan/element-plus-skills --skill el-tree-v2
Clone the repo
git clone --depth 1 https://github.com/jiaiyan/element-plus-skills

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 el-tree-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiaiyan/element-plus-skills/el-tree-v2/github.svg)](https://agentmods.dev/skills/jiaiyan/element-plus-skills/el-tree-v2)
Your own site
<a href="https://agentmods.dev/skills/jiaiyan/element-plus-skills/el-tree-v2"><img src="https://agentmods.dev/badge/skills/jiaiyan/element-plus-skills/el-tree-v2/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.

agentmods 80×15 button for el-tree-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiaiyan/element-plus-skills/el-tree-v2"><img src="https://agentmods.dev/badge/skills/jiaiyan/element-plus-skills/el-tree-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00039 $0.01464
Opus 5.5 $0.00016 $0.00586
Sonnet 5.5 $0.00008 $0.00293
Haiku 4.5 $0.00004 $0.00146

Measured 1mo ago against content hash 433bb0fe4b70, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

el-tree-v2 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 1mo 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.

components/el-tree-v2/SKILL.md · 199 lines

How it starts

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

Virtualized Tree (TreeV2) Component

TreeV2 provides a virtualized tree for rendering large hierarchical datasets efficiently.

When to Use

  • Large tree structures (1000+ nodes)
  • Performance-critical tree views
  • Virtual scrolling needed
  • File system browsers

Basic Usage

<template>
  <el-tree-v2 :data="data" :props="defaultProps" :height="200" />
</template>

<script setup>
const defaultProps = {
  value: 'id',
  label: 'label',
  children: 'children'
}

const data = [
  {
    id: '1',
    label: 'Level 1',
    children: [
      { id: '1-1', label: 'Level 1-1' }
    ]
  }
]
</script>

Selectable

<template>
  <el-tree-v2
    :data="data"
    :props="defaultProps"
    :height="200"
    show-checkbox
  />
</template>

Default State

<template>
  <el-tree-v2
    :data="data"
    :props="defaultProps"
    :height="200"
    :default-expanded-keys="['1']"
    :default-checked-keys="['1-1']"
    show-checkbox
  />
</template>

Custom Node Content

<template>
  <el-tree-v2 :data="data" :props="defaultProps" :height="200">
    <template #default="{ node, data }">
      <span>{{ node.label }} - Custom</span>
    </template>
  </el-tree-v2>
</template>

Filtering

<template>
  <el-input v-model="filterText" placeholder="Filter" />
  <el-tree-v2
    ref="treeRef"
    :data="data"
    :props="defaultProps"
    :height="200"
    :filter-method="filterMethod"
  />
</template>

<script setup>
import { ref, watch } from 'vue'

const filterText = ref('')
const treeRef = ref()

const filterMethod = (query, data, node) => {
  if (!query) return true
  return data.label.includes(query)
}

watch(filterText, (val) => {
  treeRef.value.filter(val)
})
</script>

API Reference

TreeV2 Attributes

Name Description Type Default
data Tree data Array<{[key: string]: any}> —
empty-text Text when data is empty string —
props Configuration options object —
highlight-current Highlight current node boolean false
expand-on-click-node Expand on node click boolean true
check-on-click-node Check on node click boolean false
check-on-click-leaf Check on leaf node click boolean true
default-expanded-keys Initially expanded keys string[] | number[] —
show-checkbox Show checkboxes boolean false
check-strictly Parent-child independent boolean false
default-checked-keys Initially checked keys string[] | number[] —
current-node-key Current node key string | number —
filter-method Filter method (query, data, node) => boolean —
indent Indentation (px) number 16
icon Custom icon string | Component —
item-size Node height number 26
scrollbar-always-on Always show scrollbar boolean false
height Tree height number 200

Read the full file on GitHub · 199 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. 1mo ago First seen · 199 lines · 39 tokens per session scan A 433bb0fe4b70

Subscribe to this mod's changes

el-tree-v2 is a skill published in the GitHub repository jiaiyan/element-plus-skills (30 stars, last pushed 7mo ago), licensed MIT. It adds 39 tokens to every session and 1,464 once invoked, about $0.0002 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-03.

Related

Other skills, from other repositories