From chore-skills
ウェザーニュースYouTubeチャンネルのコミュニティ投稿から今日のLiVEラインナップを取得し、タイムテーブル形式で表示する。
How this skill is triggered — by the user, by Claude, or both
Slash command
/chore-skills:weathernews-timetablegeneral-purposeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
ウェザーニュースYouTubeチャンネルのコミュニティ投稿(https://www.youtube.com/@weathernews/posts)から今日のLiVEラインナップを取得し、タイムテーブルとして整形して表示してください。
ウェザーニュースYouTubeチャンネルのコミュニティ投稿(https://www.youtube.com/@weathernews/posts)から今日のLiVEラインナップを取得し、タイムテーブルとして整形して表示してください。
以下のBashコマンドを実行してください:
python3 << 'PYEOF'
import urllib.request, re, sys
from datetime import datetime
url = 'https://www.youtube.com/@weathernews/posts'
req = urllib.request.Request(url, headers={
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'Accept-Language': 'ja,en-US;q=0.9,en;q=0.8'
})
with urllib.request.urlopen(req) as resp:
html = resp.read().decode('utf-8', errors='replace')
texts = re.findall(r'"text":"([^"]+)"', html)
today = datetime.now()
date_str = f'{today.month}月{today.day}日'
# 今日のラインナップを探す
start = next((i for i, t in enumerate(texts) if 'ラインナップ' in t and date_str in t), -1)
# 見つからなければ直近のラインナップを使う
if start < 0:
start = next((i for i, t in enumerate(texts) if 'ラインナップ' in t), -1)
if start < 0:
print('ERROR: ラインナップが見つかりませんでした')
sys.exit(1)
seen = False
for t in texts[start:start + 80]:
if seen and 'ラインナップ' in t:
break
seen = True
out = t.replace('\\n', '\n')
if out.strip():
print(out)
PYEOF
取得したデータをもとに、以下のフォーマットで整形して出力してください。
mm月dd日(曜日) ウェザーニュースLiVE タイムテーブル
| 時間 | 番組 | キャスター | リンク |
|---|---|---|---|
| 05:00〜 | モーニング | キャスター名 | 視聴 |
| 08:00〜 | サンシャイン | キャスター名 | 視聴 |
| 11:00〜 | コーヒータイム | キャスター名 | 視聴 |
| 14:00〜 | アフタヌーン | キャスター名 | 視聴 |
| 17:00〜 | イブニング | キャスター名 | 視聴 |
| 20:00〜 | ムーン | キャスター名 | 視聴 |
特別番組がある場合は末尾に追記してください。
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub yuta-ron/chore-skills --plugin chore-skills