vikiboss/60s-skills/data-query

Claude Code and agent skill by vikiboss/60s-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

查询各类数据信息,包括汇率、农历、历史事件、百科、油价、金价和化学元素。Use when users need exchange rates, lunar calendar, historical events, encyclopedia, commodity prices, or chemical element information.

Install

npx vskill@latest install vikiboss/60s-skills/data-query

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
python
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
python
# 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
python
# 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
python
# 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
python
# 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
python
# 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
python
# 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
python
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
python
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
python
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: "美元兑人民币汇率是多少?"
python
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: "今天农历是几月几号?"
python
lunar = requests.get('https://60s.viki.moe/v2/lunar').json()
print(f"🏮 今天是农历 {lunar['lunar_date']}")
print(f"🐲 生肖:{lunar['zodiac']}")
User: "查询一下氢元素的信息"
python
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

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
22
Repository forks
1
7-day trend score
16

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vikiboss/60s-skills/data-query/badge)](https://verified-skill.com/skills/vikiboss/60s-skills/data-query)

Something wrong with this skill or its page? Tell us.