antv-g6-graph

antv-g6-graph is a skill for Claude Code, Codex from antvis/chart-visualization-skills. It costs 200 tokens per session (2,083 once invoked), scanned A, original, MIT.

A graph-visualization skill for AntV G6 v5, a JavaScript library for showing relationships between connected items. It covers network, tree, topology, flow, and other node-and-edge diagrams.

In plain words
What is it for?
Use it to create, customize, or troubleshoot G6 v5 relationship diagrams and other interactive graph visualizations.
Why use it?
It helps developers configure nodes, connections, layouts, dragging, and zooming without having to learn the G6 setup from scratch.

Skill for Claude CodeCodex

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

Good fit Use it to create, customize, or troubleshoot G6 v5 relationship diagrams and other interactive graph visualizations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/antvis/chart-visualization-skills/antv-g6-graph
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 antvis/chart-visualization-skills --skill antv-g6-graph
Clone the repo
git clone --depth 1 https://github.com/antvis/chart-visualization-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin antv-g6-graph — /plugin install antv-g6-graph after adding the marketplace above.

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 antv-g6-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/antvis/chart-visualization-skills/antv-g6-graph/github.svg)](https://agentmods.dev/skills/antvis/chart-visualization-skills/antv-g6-graph)
Your own site
<a href="https://agentmods.dev/skills/antvis/chart-visualization-skills/antv-g6-graph"><img src="https://agentmods.dev/badge/skills/antvis/chart-visualization-skills/antv-g6-graph/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 antv-g6-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/antvis/chart-visualization-skills/antv-g6-graph"><img src="https://agentmods.dev/badge/skills/antvis/chart-visualization-skills/antv-g6-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Output Handling · line 57
    Model output is used without validation or sanitization. Unvalidated output injected into downstream contexts (SQL, shell, HTML) enables injection attacks and arbitrary code execution.
    Fix: Validate and sanitize all model output before using it in downstream contexts. Use parameterized queries for SQL, shell quoting for commands, and HTML encoding for web output.
How audits are shown
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.00200 $0.02083
Opus 5.5 $0.00080 $0.00833
Sonnet 5.5 $0.00040 $0.00417
Haiku 4.5 $0.00020 $0.00208

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

Security

Grade A, and why

antv-g6-graph scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
skills/antv-g6-graph/SKILL.md · 187 lines

How it starts

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

G6 v5 Graph Visualization

Overview

G6 v5 is AntV's graph visualization engine for network diagrams, tree graphs, and relationship visualizations. It uses a declarative configuration style where new Graph({...}) defines all nodes, edges, layouts, behaviors, and plugins in one constructor call.

import { Graph } from '@antv/g6';

const graph = new Graph({
  container: 'container',
  data: {
    nodes: [{ id: 'node-1', style: { labelText: 'Node 1' } }],
    edges: [{ source: 'node-1', target: 'node-2' }],
  },
  layout: { type: 'force' },
  behaviors: ['drag-canvas', 'zoom-canvas', 'drag-element'],
});

await graph.render();

CDN Usage

<script src="https://unpkg.com/@antv/g6@5/dist/g6.min.js"></script>
<script>
  const graph = new G6.Graph({
    container: 'container',
    data: {
      nodes: [{ id: 'node-1', style: { labelText: 'Node 1' } }],
      edges: [{ source: 'node-1', target: 'node-2' }],
    },
    layout: { type: 'force' },
    behaviors: ['drag-canvas', 'zoom-canvas', 'drag-element'],
  });
  graph.render();
</script>

Content Retrieval Service

When using AntV G6 for data visualization, if you need to understand the concepts, usage, API, examples, and other aspects of G6 v5, you can use the provided context retrieval service. When using the skill, content is retrieved via an antv HTTP API server using GET requests.

  • Host: https://sive.antv.antgroup.com
  • Endpoint: /api/v1/context/retrieve
  • Method: GET
  • Parameters: query, library, topK, content, maxTokens

Retrieve skills by query (hybrid search = FTS + vector + RRF fusion). Constraints docs are indexed as regular skill documents and will appear in search results naturally.

Parameter Type Required Description
query string ✅ Search keywords, e.g. force layout node
library string ✅ Library name: g2, g6, x6
topK number Number of results to return (default: 5)
content boolean Return full reference doc markdown (default: true)
maxTokens number Max tokens per result (default: unlimited)

Read the full file on GitHub · 187 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. 2mo ago Changed · -1 lines 5318ecfb2798
  2. 3mo ago First seen · 188 lines · 200 tokens per session scan A 8c2ad7b30a84

Subscribe to this mod's changes

antv-g6-graph is a skill published in the GitHub repository antvis/chart-visualization-skills (545 stars, last pushed 2mo ago), licensed MIT. It adds 200 tokens to every session and 2,083 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

antv-g6-graph compared with skills from other repositories

antv-g6-graph next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
antv-g6-graphantvis/chart-visualization-skillsSkill5452mo agoMITA200Claude Code, Codex
skill-guideVV1NN/skill-guideSkill57mo agoMITA109Claude Code, Codex
obsidian-baseskepano/obsidian-skillsSkill55k4d agoMITA63Claude Code
opencli-usagejackwener/OpenCLISkill31k23d agoApache-2.0A31Claude Code
officecli-word-formiOfficeAI/OfficeCLISkill34k10d agoApache-2.0C224Claude Code, Codex
mnemonmnemon-dev/mnemonSkill7527d agoApache-2.0A25Claude Code, Codex
mnemonmnemon-dev/mnemonSkill7527d agoApache-2.0A30Claude Code, Codex