transbigdata-getdata

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

A Python guide for obtaining public-transport and geographic data. It can retrieve bus routes, stops, administrative boundaries, and public-transport reach areas in China.

In plain words
What is it for?
Use it to fetch Chinese bus or subway route data, obtain administrative boundaries, and calculate public-transport isochrones, meaning areas reachable from a starting point.
Why use it?
It saves you from collecting and formatting some route and boundary data manually, though certain functions require map-service credentials.

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 fetch Chinese bus or subway route data, obtain administrative boundaries, and calculate public-transport isochrones, meaning areas reachable from a starting point.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ni1o1/claude-skill-transbigdata/transbigdata-getdata
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-getdata
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-getdata

README.md
[![agentmods](https://agentmods.dev/badge/skills/ni1o1/claude-skill-transbigdata/transbigdata-getdata.svg)](https://agentmods.dev/skills/ni1o1/claude-skill-transbigdata/transbigdata-getdata)
Your own site
<a href="https://agentmods.dev/skills/ni1o1/claude-skill-transbigdata/transbigdata-getdata"><img src="https://agentmods.dev/badge/skills/ni1o1/claude-skill-transbigdata/transbigdata-getdata.svg" alt="Measured on agentmods" 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,752 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.01752
Opus 5 $0.00019 $0.00876
Sonnet 5 $0.00008 $0.00350
Haiku 4.5 $0.00004 $0.00175

Measured 8d ago against content hash 437520de3a6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

transbigdata-getdata 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 8d 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-getdata/SKILL.md · 239 lines

How it starts

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

TransBigData 数据获取指南

安装

pip install transbigdata

API 密钥配置

部分功能需要地图 API 密钥:

import transbigdata as tbd

# 高德地图(用于获取行政区划、等时圈等)
# 在高德开放平台注册获取

# Mapbox(用于底图和等时圈)
tbd.set_mapboxtoken('your_mapbox_token')

核心函数

1. 获取公交数据 - getbusdata()

获取中国城市的公交线路和站点数据。

# 获取深圳 M433 路公交数据
line, stop = tbd.getbusdata(
    city='深圳',
    keywords=['M433'],
    accurate=True,       # 精确匹配
    timeout=20
)
# line: 线路 GeoDataFrame (WGS84)
# stop: 站点 GeoDataFrame (WGS84)

获取多条线路:

line, stop = tbd.getbusdata(
    city='深圳',
    keywords=['M433', '1', '2', '地铁1号线'],
    accurate=False  # 模糊匹配
)

2. 获取行政区划 - getadmin()

获取中国行政区划边界数据。

# 获取深圳市边界
admin, districts = tbd.getadmin(
    keyword='深圳',
    ak='your_amap_key',          # 高德 API Key
    jscode='your_jscode',        # 高德安全密钥(可选)
    subdistricts=True,           # 是否获取下级区划
    timeout=20
)
# admin: 行政区边界 GeoDataFrame (WGS84)
# districts: 下级区划信息 DataFrame

按行政代码获取:

admin, districts = tbd.getadmin(
    keyword='440300',  # 深圳市行政代码
    ak='your_amap_key'
)

3. 高德等时圈 - get_isochrone_amap()

获取指定点的公交可达范围。

isochrone = tbd.get_isochrone_amap(
    lon=114.05,           # 起点经度 (WGS84)
    lat=22.55,            # 起点纬度 (WGS84)
    reachtime=30,         # 可达时间(分钟)
    ak='your_amap_key',
    mode=2,               # 0=公交, 1=地铁, 2=公交+地铁
    timeout=20
)
# 返回 GeoDataFrame

4. Mapbox 等时圈 - get_isochrone_mapbox()

使用 Mapbox 获取等时圈(支持驾车/步行/骑行)。

# 先设置 token
tbd.set_mapboxtoken('your_mapbox_token')

isochrone = tbd.get_isochrone_mapbox(
    lon=114.05,
    lat=22.55,
    reachtime=15,                      # 分钟
    mode='driving',                    # 'driving', 'walking', 'cycling'
    timeout=20
)

完整示例

示例 1: 获取并可视化公交线路

import matplotlib.pyplot as plt
import transbigdata as tbd

# 获取深圳地铁1号线数据
line, stop = tbd.getbusdata(
    city='深圳',
    keywords=['地铁1号线'],
    accurate=True
)

# 可视化
fig, ax = plt.subplots(figsize=(12, 8))
bounds = line.total_bounds
bounds = [bounds[0]-0.05, bounds[1]-0.05, bounds[2]+0.05, bounds[3]+0.05]
tbd.plot_map(plt, bounds, zoom=12, style=4)
line.plot(ax=ax, color='blue', linewidth=3, label='线路')
stop.plot(ax=ax, color='red', markersize=50, label='站点')
plt.legend()
plt.title('深圳地铁1号线')
plt.show()

Read the full file on GitHub · 239 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. 8d ago First seen · 239 lines · 39 tokens per session scan A 437520de3a6a

Subscribe to this mod's changes

transbigdata-getdata is a skill published in the GitHub repository ni1o1/claude-skill-transbigdata (4 stars, last pushed 7mo ago), licensed MIT. It adds 39 tokens to every session and 1,752 once invoked, about $0.0002 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

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens