My Skill 1

v0.1.0

获取美国 10 年期国债利率(CNBC + Treasury.gov),写入 CSV,并生成极简日志

1· 132·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for kid0114/myskill1.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "My Skill 1" (kid0114/myskill1) from ClawHub.
Skill page: https://clawhub.ai/kid0114/myskill1
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install myskill1

ClawHub CLI

Package manager switcher

npx clawhub@latest install myskill1
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included script: it fetches US 10Y yields from CNBC and Treasury.gov and writes a CSV and a log. There are no unrelated credentials, binaries, or external services requested.
Instruction Scope
SKILL.md instructs running the shipped Python script which performs exactly the described actions. The script performs HTTP GETs only to CNBC and Treasury.gov and writes files to repo-relative paths (testdata/ and skills/.../logs), which the SKILL.md documents. Minor scope notes: the Treasury.gov parsing is brittle (hardcoded year and column index) and may not reliably return today's value; the script prints to stdout and does not read other system files or environment variables.
Install Mechanism
No install spec (instruction-only) — low risk. SKILL.md lists Python dependencies (requests, beautifulsoup4) but there is no automated install step; the script uses requests but not beautifulsoup4, so that dependency is unnecessary.
Credentials
No environment variables, credentials, or config paths requested. File writes are limited to testdata/us_treasury_10y.csv and skills/us-treasury-tracker/logs/fetch.log as documented.
Persistence & Privilege
The skill is not forced-always and does not modify other skills or system-wide settings. It creates its own log and data files only within repository-relative paths.
Assessment
This skill appears to do only what it says: fetch yields from CNBC and Treasury.gov and write a CSV and a small log. Before installing, consider: 1) ensure you are comfortable the script will write to testdata/us_treasury_10y.csv (repo-root relative) and skills/us-treasury-tracker/logs/fetch.log; back up or check permissions if needed; 2) install the declared Python dependency (requests) in a virtualenv — beautifulsoup4 is listed but not used; 3) the scraping is brittle (hardcoded year and column index) and may fail silently if the target pages change; run once manually to verify output; 4) run in a sandbox or review network policy if you are in a restricted environment. Overall there are no signs of credential exfiltration or hidden endpoints.

Like a lobster shell, security has layers — review code before you run it.

latestvk973qmz06htxd8ecss161cp1g183kbkc
132downloads
1stars
1versions
Updated 1mo ago
v0.1.0
MIT-0

US 10-Year Treasury Tracker

功能

  • 从 CNBC 获取 10 年期国债利率
  • 从 Treasury.gov 获取 10 年期国债利率
  • 写入 CSV 文件
  • 同一天重复调用时自动覆盖当天记录
  • 每次执行生成一条极简日志

使用方式

/us-treasury-tracker

fetch treasury

输出文件

  • 数据文件:testdata/us_treasury_10y.csv
  • 日志文件:skills/us-treasury-tracker/logs/fetch.log

CSV 列名

列名说明
Date日期(YYYY-MM-DD)
CNBC_10YCNBC 数据(%)
Treasury_10YTreasury.gov 数据(%)

日志内容

每次执行追加一行极简日志,格式类似:

2026-03-25 20:58:12 | overwrite | success | cnbc=4.334 treasury=4.31

其中:

  • append:当天首次写入
  • overwrite:当天已有数据,执行覆盖
  • success:两个来源都抓取成功
  • partial:部分来源成功
  • fail:两个来源都失败

依赖

  • Python 3
  • requests
  • beautifulsoup4

手动运行

cd skills/us-treasury-tracker/scripts
python3 fetch_treasury.py

Comments

Loading comments...