transbigdata-visualize

transbigdata-visualize is a skill for Claude Code from ni1o1/claude-skill-transbigdata. It costs 51 tokens per session (1,550 once invoked), scanned A, original, MIT.

A Python guide for visualising transport and movement data with maps and charts. TransBigData is a Python library for analysing and displaying locations, routes, and origin-to-destination flows.

In plain words
What is it for?
Use it to create point maps, heat maps, animated routes, origin-to-destination flow maps, time-and-place activity views, and static maps with Matplotlib.
Why use it?
It provides examples for turning raw traffic data into visual patterns that are easier to inspect than tables of coordinates and times.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the transbigdata plugin — 9 skills shipped together

Good fit Use it to create point maps, heat maps, animated routes, origin-to-destination flow maps, time-and-place activity views, and static maps with Matplotlib.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ni1o1/claude-skill-transbigdata/transbigdata-visualize
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 ni1o1/claude-skill-transbigdata --skill transbigdata-visualize
Clone the repo
git clone --depth 1 https://github.com/ni1o1/claude-skill-transbigdata

Made for: Claude Code.

Or install transbigdata, the plugin that ships this one along with the rest of its 9 skills.

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 transbigdata-visualize

README.md
[![agentmods](https://agentmods.dev/badge/skills/ni1o1/claude-skill-transbigdata/transbigdata-visualize.svg)](https://agentmods.dev/skills/ni1o1/claude-skill-transbigdata/transbigdata-visualize)
Your own site
<a href="https://agentmods.dev/skills/ni1o1/claude-skill-transbigdata/transbigdata-visualize"><img src="https://agentmods.dev/badge/skills/ni1o1/claude-skill-transbigdata/transbigdata-visualize.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,550 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.00051 $0.01550
Opus 5 $0.00026 $0.00775
Sonnet 5 $0.00010 $0.00310
Haiku 4.5 $0.00005 $0.00155

Measured 7d ago against content hash e697f424ace7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

transbigdata-visualize 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 7d 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.

skills/transbigdata-visualize/SKILL.md · 202 lines

How it starts

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

TransBigData 可视化指南

安装

pip install transbigdata keplergl matplotlib geopandas

Kepler 交互式可视化

需要安装 KeplerGl: pip install keplergl

1. 点分布可视化 - visualization_data()

import transbigdata as tbd

map = tbd.visualization_data(
    data,
    col=['Lng', 'Lat'],       # 或 ['Lng', 'Lat', 'count'] 带权重
    accuracy=500,              # 聚合精度
    height=500,                # 地图高度
    maptype='point'            # 'point' 或 'heatmap'
)
# 在 Jupyter 中显示
map

2. 轨迹可视化 - visualization_trip()

map = tbd.visualization_trip(
    trajdata,
    col=['Lng', 'Lat', 'VehicleNum', 'Time'],
    height=500
)

3. OD 可视化 - visualization_od()

map = tbd.visualization_od(
    oddata,
    col=['slon', 'slat', 'elon', 'elat'],  # 或加 'count'
    accuracy=500,        # OD 聚合精度
    mincount=0           # 最小流量阈值
)

Matplotlib 静态可视化

4. 加载底图 - plot_map()

import matplotlib.pyplot as plt
import transbigdata as tbd

# 设置 Mapbox token(可选,获取更好的底图)
# tbd.set_mapboxtoken('your_token')
# tbd.set_imgsavepath('./map_cache/')  # 缓存路径

bounds = [113.6, 22.4, 114.8, 22.9]  # 深圳范围

fig, ax = plt.subplots(1, 1, figsize=(12, 10))
tbd.plot_map(plt, bounds, zoom=12, style=4)

# style 选项: 0-12 或自定义 URL

底图样式:

  • 0-6: 不同风格的街道图
  • 7-12: 卫星图/混合图

5. 添加指北针和比例尺 - plotscale()

tbd.plotscale(
    ax,
    bounds=bounds,
    textsize=10,
    compasssize=1,
    accuracy=2000,      # 比例尺长度(米)
    rect=[0.06, 0.03]   # 位置
)

活动分析可视化

6. 活动时空图 - plot_activity()

绘制个体活动的时空分布。

tbd.plot_activity(
    stay_data,
    col=['stime', 'etime', 'group'],  # 开始时间、结束时间、分组
    figsize=(10, 5)
)

7. 置信椭圆 - ellipse_params() & ellipse_plot()

分析活动空间分布。

# 计算 95% 置信椭圆参数
ellip_params = tbd.ellipse_params(
    data,
    col=['lon', 'lat'],
    confidence=95,
    epsg=None  # 可选投影坐标系
)
# 返回: [中心坐标, 长轴, 短轴, 旋转角, 面积, 扁率]

# 绑定绘制椭圆
tbd.ellipse_plot(ellip_params, ax, edgecolor='red', facecolor='none')

Read the full file on GitHub · 202 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. 7d ago First seen · 202 lines · 51 tokens per session scan A e697f424ace7

Subscribe to this mod's changes

transbigdata-visualize is a skill published in the GitHub repository ni1o1/claude-skill-transbigdata (4 stars, last pushed 7mo ago), licensed MIT. It adds 51 tokens to every session and 1,550 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens