Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

data-query数据查询

Agent Skill

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

总安装

1,035

周安装

44

GitHub Stars

32

下载量

363
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vikiboss/60s-skills --skill data-query

简介

用于数据整理、表格分析和指标计算,支持 CSV/Excel 处理。

  • 可清洗字段、汇总数据并生成统计口径说明。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 涉及敏感数据时应先确认脱敏边界和执行权限。
  • data-query 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Data Query Skill

Query various data and information including exchange rates, calendar, history, encyclopedia, and prices.

Available Queries

  1. Exchange Rates - Currency conversion rates
  2. Lunar Calendar - Chinese lunar calendar conversion
  3. Today in History - Historical events
  4. Encyclopedia (Baike) - Search Chinese encyclopedia
  5. Fuel Prices - Gasoline/diesel prices in China
  6. Gold Prices - Current gold prices
  7. Chemical Elements - Element information

API Endpoints

Query TypeEndpointMethod
Exchange Rate/v2/exchange-rateGET
Lunar Calendar/v2/lunarGET
History/v2/today-in-historyGET
Encyclopedia/v2/baikeGET
Fuel Price/v2/fuel-priceGET
Gold Price/v2/gold-priceGET
Chemical/v2/chemicalGET

Quick Examples

Exchange Rates

import requests

# Get exchange rate
params = {'from': 'USD', 'to': 'CNY'}
response = requests.get('https://60s.viki.moe/v2/exchange-rate', params=params)
rate = response.json()

print(f"💱 1 {rate['from']} = {rate['rate']} {rate['to']}")
print(f"更新时间:{rate['update_time']}")

Lunar Calendar

# Get today's lunar date
response = requests.get('https://60s.viki.moe/v2/lunar')
lunar = response.json()

print(f"📅 公历:{lunar['solar_date']}")
print(f"🏮 农历:{lunar['lunar_date']}")
print(f"🐲 生肖:{lunar['zodiac']}")
print(f"🌾 节气:{lunar['solar_term']}")

# Specific date
params = {'date': '2024-01-15'}
response = requests.get('https://60s.viki.moe/v2/lunar', params=params)

Today in History

# Get today's historical events
response = requests.get('https://60s.viki.moe/v2/today-in-history')
history = response.json()

print(f"📜 历史上的今天 ({history['date']})")
for event in history['events'][:5]:
    print(f"{event['year']}年:{event['title']}")

# Specific date
params = {'month': 1, 'day': 15}
response = requests.get('https://60s.viki.moe/v2/today-in-history', params=params)

Encyclopedia Search

# Search encyclopedia
params = {'keyword': 'Python编程'}
response = requests.get('https://60s.viki.moe/v2/baike', params=params)
result = response.json()

print(f"📖 {result['title']}")
print(f"📝 {result['summary']}")
print(f"🔗 {result['url']}")

Fuel Prices

# Get fuel prices
params = {'province': '北京'}
response = requests.get('https://60s.viki.moe/v2/fuel-price', params=params)
prices = response.json()

print(f"⛽ {prices['province']} 油价")
print(f"92号汽油:{prices['92号汽油']} 元/升")
print(f"95号汽油:{prices['95号汽油']} 元/升")
print(f"98号汽油:{prices['98号汽油']} 元/升")
print(f"0号柴油:{prices['0号柴油']} 元/升")

Gold Prices

# Get current gold prices
response = requests.get('https://60s.viki.moe/v2/gold-price')
gold = response.json()

print(f"💰 黄金价格")
print(f"国际金价:{gold['国际金价']} 美元/盎司")
print(f"国内金价:{gold['国内金价']} 元/克")
print(f"更新时间:{gold['update_time']}")

Chemical Elements

# Search chemical element
params = {'query': 'H'}  # Can be symbol, name, or atomic number
response = requests.get('https://60s.viki.moe/v2/chemical', params=params)
element = response.json()

print(f"⚛️ {element['name']} ({element['symbol']})")
print(f"原子序数:{element['atomic_number']}")
print(f"原子量:{element['atomic_mass']}")
print(f"元素类别:{element['category']}")

Use Cases

Currency Converter Bot

def convert_currency(amount, from_currency, to_currency):
    params = {'from': from_currency, 'to': to_currency}
    response = requests.get('https://60s.viki.moe/v2/exchange-rate', params=params)
    rate = response.json()

    converted = amount * float(rate['rate'])
    return f"{amount} {from_currency} = {converted:.2f} {to_currency}"

# Usage
print(convert_currency(100, 'USD', 'CNY'))  # 100 USD = 725.50 CNY

Historical Event Reminder

def get_today_history():
    response = requests.get('https://60s.viki.moe/v2/today-in-history')
    history = response.json()

    message = f"📜 历史上的今天 ({history['date']})\n\n"
    for event in history['events'][:3]:
        message += f"· {event['year']}年:{event['title']}\n"

    return message

Lunar Calendar Widget

def get_lunar_info():
    response = requests.get('https://60s.viki.moe/v2/lunar')
    lunar = response.json()

    return f"""
📅 今日日历

公历:{lunar['solar_date']} {lunar['weekday']}
农历:{lunar['lunar_date']}
生肖:{lunar['zodiac']}
节气:{lunar['solar_term'] or '无'}
    """

Example Interactions

User: "美元兑人民币汇率是多少?"

params = {'from': 'USD', 'to': 'CNY'}
response = requests.get('https://60s.viki.moe/v2/exchange-rate', params=params)
rate = response.json()
print(f"💱 1 美元 = {rate['rate']} 人民币")

User: "今天农历是几月几号?"

lunar = requests.get('https://60s.viki.moe/v2/lunar').json()
print(f"🏮 今天是农历 {lunar['lunar_date']}")
print(f"🐲 生肖:{lunar['zodiac']}")

User: "查询一下氢元素的信息"

params = {'query': '氢'}
element = requests.get('https://60s.viki.moe/v2/chemical', params=params).json()
print(f"⚛️ {element['name']} (H)")
print(f"原子序数:{element['atomic_number']}")
print(f"元素类别:{element['category']}")

Related Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.49%
按下载量换算118

Claude

30.8%
按下载量换算112

Cursor

17.74%
按下载量换算64

Gemini CLI

9.58%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills