AgentSkillsCN

uni-utilities

通过 uni CLI 使用各类实用工具。当用户希望查询天气、获取股票行情、进行货币兑换、生成二维码,或缩短网址时,可使用此功能。 提供的服务包括:天气、股票、货币、二维码、短链接。

SKILL.md
--- frontmatter
name: uni-utilities
description: |
  Utility tools via uni CLI. Use when user wants weather, stock prices, currency conversion, QR codes, or URL shortening.
  Services: weather, stocks, currency, qrcode, shorturl.
allowed-tools: Bash(uni:*), Bash(~/.local/bin/uni:*)

Utilities (uni)

No API keys needed. Fast responses.

Weather

bash
uni weather London                      # Current weather
uni weather "New York, US"              # With country
uni weather Tokyo --forecast 3          # 3-day forecast
uni weather London --units fahrenheit   # Fahrenheit
uni weather 40.7128,-74.0060            # Coordinates

Stocks (Yahoo Finance)

bash
uni stocks aapl                         # Apple stock
uni stocks tsla                         # Tesla
uni stocks btc-usd                      # Bitcoin
uni stocks eth-usd                      # Ethereum
uni stocks info aapl                    # Detailed info
uni stocks history aapl                 # 1 month history
uni stocks history btc-usd -p 1w        # 1 week
uni stocks history tsla -p 1y           # 1 year
uni stocks list                         # Top stocks
uni stocks list crypto                  # Top crypto
uni stocks list indices                 # Major indices

Currency

bash
uni currency 100 usd to eur             # Convert
uni currency 5000 jpy to usd
uni currency 1000 eur to usd gbp jpy    # Multiple
uni currency --list                     # All currencies

QR Code

bash
uni qrcode "https://example.com"        # Terminal display
uni qrcode "Hello" --terminal           # ASCII art
uni qrcode "https://..." --output qr.png  # Save file
uni qrcode --wifi "Network:password"    # WiFi QR
uni qrcode "text" --size 512            # Custom size

URL Shortener

bash
uni shorturl "https://very-long-url.com/path"
uni shorturl "https://is.gd/xxx" --expand  # Expand
uni short "https://example.com"         # Alias