Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问clear审计通过

pokemon-data-fetcher口袋妖怪数据获取器

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

774

周安装

31

GitHub Stars

公开资料未说明

下载量

250
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pokemon-data-fetcher(口袋妖怪数据获取器)
来源仓库:https://github.com/kehwar/experiments
仓库路径:skills/pokemon-data-fetcher
安装命令:
npx skills add https://github.com/kehwar/experiments --skill pokemon-data-fetcher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/kehwar/experiments --skill pokemon-data-fetcher

简介

用于辅助数据整理和表格处理。pokemon-data-fetcher 属于待分类类 Skill,可作为该场景下的辅助能力补充。

  • 适合清洗字段、汇总数据或发现异常。
  • 使用时需确认数据来源和时间范围。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 涉及敏感数据时应先确认脱敏边界。
  • 安装前建议确认权限范围和维护状态。

SKILL.md

Pokemon Data Fetcher

Overview

This skill provides a Python script to fetch Pokemon data from the PokeAPI and organize it into JSON files. The script retrieves all Pokemon names, sorts them by generation, and saves the results in a structured format.

Quick Start

Fetch all Pokemon data organized by generation:

cd pokemon-data-fetcher/scripts
python3 fetch_pokemon.py

This will create JSON files in the current directory containing Pokemon data organized by generation.

Features

1. Fetch All Pokemon

The script fetches all Pokemon from the PokeAPI and organizes them by their generation:

  • Generation I (Kanto region)
  • Generation II (Johto region)
  • Generation III (Hoenn region)
  • Generation IV (Sinnoh region)
  • Generation V (Unova region)
  • Generation VI (Kalos region)
  • Generation VII (Alola region)
  • Generation VIII (Galar region)
  • Generation IX (Paldea region)

2. Sort by Generation

Pokemon are automatically sorted alphabetically within each generation for easy reference.

3. JSON Output

Results are saved in JSON format for easy parsing and integration with other tools:

  • pokemon_by_generation.json - All Pokemon organized by generation
  • Clean, readable JSON formatting

Installation

  1. Ensure Python 3.6+ is installed
  2. No external dependencies required - uses Python standard library only

The script uses built-in modules: urllib, json, sys, time

Usage

Basic Usage

Navigate to the scripts directory and run:

cd pokemon-data-fetcher/scripts
python3 fetch_pokemon.py

Script Output

The script will:

  1. Connect to PokeAPI
  2. Fetch all Pokemon species
  3. Organize them by generation
  4. Sort alphabetically within each generation
  5. Save to pokemon_by_generation.json

Output Format

{
  "generation-i": [
    "bulbasaur",
    "charmander",
    "squirtle",
    ...
  ],
  "generation-ii": [
    "chikorita",
    "cyndaquil",
    "totodile",
    ...
  ],
  ...
}

Examples

Example 1: Fetch Pokemon Data

cd pokemon-data-fetcher/scripts
python3 fetch_pokemon.py

Output:

Fetching Pokemon data from PokeAPI...
Fetched 1025 Pokemon species
Organizing by generation...
Results saved to pokemon_by_generation.json

Example 2: Use the Data

import json

# Load the generated data
with open('pokemon_by_generation.json', 'r') as f:
    data = json.load(f)

# Get all Generation I Pokemon
gen1_pokemon = data['generation-i']
print(f"Generation I has {len(gen1_pokemon)} Pokemon")
print(f"First Pokemon: {gen1_pokemon[0]}")

Script Details

fetch_pokemon.py

The main script that handles all Pokemon data fetching:

Functions:

  • fetch_all_pokemon() - Retrieves all Pokemon species from the API
  • organize_by_generation() - Groups Pokemon by their generation
  • save_to_json() - Writes results to a JSON file

API Endpoints Used:

  • https://pokeapi.co/api/v2/pokemon-species/?limit=10000 - Get all Pokemon species
  • https://pokeapi.co/api/v2/generation/{id} - Get generation details

Troubleshooting

Issue: Connection Error

Symptoms: Script fails with connection error

Solution: Check your internet connection and verify PokeAPI is accessible:

curl https://pokeapi.co/api/v2/pokemon-species/1

Prevention: The script includes retry logic for temporary network issues

Issue: Missing Dependencies

Symptoms: Script runs successfully without additional installation

Note: This script uses only Python standard library modules (urllib.request, json, sys, time), so no external dependencies need to be installed.

Issue: Permission Denied

Symptoms: Cannot write output file

Solution: Ensure you have write permissions in the current directory:

chmod +w .

Best Practices

  • Run the script periodically to get updated Pokemon data
  • Store the JSON output in version control to track changes
  • Use the data as a reference for Pokemon-related applications
  • Consider caching the results to avoid repeated API calls

API Information

This skill uses the PokeAPI, a free and open Pokemon API that provides comprehensive Pokemon data.

API Features:

  • No authentication required
  • Rate limiting: Fair use policy (no strict limits for reasonable use)
  • Data includes: Pokemon species, abilities, types, moves, and more
  • Well-documented and actively maintained

API Limits:

  • Please be respectful of the free service
  • Implement caching when making frequent requests
  • The script is designed to minimize API calls

Reference

See Also

  • For detailed Pokemon data analysis, extend the script with additional API endpoints
  • Consider using the data for Pokemon team builders, Pokedex apps, or educational tools

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

26.87%
按下载量换算67

Claude Code

23.66%
按下载量换算59

windsurf

19.3%
按下载量换算48

trae

12.83%
按下载量换算32

OpenCode

8.13%
按下载量换算20

Cursor

3.87%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills