/rust-daily
Generate Rust daily/weekly/monthly news report
> /plugin marketplace add zhanghandong/rust-skills > /plugin install rust-skills@rust-skills
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/rust-daily
Context preview
What this command does when you run it.
Generate Rust daily/weekly/monthly news report
Command definition
rust-daily.mddescription: Generate Rust daily/weekly/monthly news report
argument-hint: [day|week|month] [--category ecosystem|official|foundation] [--save [path]]
Rust Daily Report
Generate a summarized report of Rust news from multiple sources.
Arguments: $ARGUMENTS
- `time_range` (optional): `day` | `week` | `month` (default: `week`)
- `--category` (optional): `ecosystem` | `official` | `foundation` | `all` (default: `all`)
- `--save` (optional): Save report to file. If path not specified, saves to `~/Documents/reports/rust-daily/`
---
Sources
| Category | Sources | |----------|---------| | **Ecosystem** | Reddit r/rust, This Week in Rust | | **Official** | Rust Blog, Inside Rust Blog | | **Foundation** | Rust Foundation News, Blog, Events |
---
Instructions
1. Parse Arguments
/rust-daily → week, all categories, display only
/rust-daily day → last 24 hours, all
/rust-daily week → last 7 days, all
/rust-daily month → last 30 days, all
/rust-daily --category ecosystem → week, ecosystem only
/rust-daily day --category official → day, official only
/rust-daily --save → save to ~/Documents/reports/rust-daily/{date}-rust-{time_range}.md
/rust-daily --save /path/to/dir → save to specified directory
/rust-daily day --save → day report, save to default location2. Check Cache
Check if recent cache exists:
cache_dir=~/.claude/cache/rust-daily/
cache_file=${cache_dir}/report-{date}-{time_range}-{category}.json
# If cache exists and < 4 hours old, use cached data3. Fetch Content
**YOU MUST USE THE BASH TOOL TO RUN agent-browser COMMANDS.**
Do NOT assume agent-browser is unavailable. It IS installed at `/opt/homebrew/bin/agent-browser`.
┌─────────────────────────────────────────────────────────┐
│ FOR EACH SOURCE: │
│ │
│ 1. USE BASH TOOL to run: agent-browser open/get/close │
│ ↓ (only if Bash returns error) │
│ 2. USE WebFetch tool as fallback │
│ │
│ ⚠️ YOU MUST ACTUALLY RUN THE BASH COMMANDS │
│ ⚠️ DO NOT ASSUME agent-browser is unavailable │
└─────────────────────────────────────────────────────────┘
Step 3a: Reddit (Bash + agent-browser REQUIRED)
**Use the Bash tool to execute these commands:**
Bash("agent-browser open 'https://www.reddit.com/r/rust/top/?t=day'")
Bash("agent-browser get text '[data-testid=\"post-container\"]' --limit 15")
Bash("agent-browser close")Reddit requires JavaScript. WebFetch will fail. Only mark unavailable if Bash command fails.
Step 3b: This Week in Rust (Bash first)
**Use the Bash tool:**
Bash("agent-browser open 'https://this-week-in-rust.org/'")
Bash("agent-browser get text '.post-content'")
Bash("agent-browser close")If Bash fails → Use WebFetch tool
Step 3c: Rust Blog (Bash first)
**Use the Bash tool:**
Bash("agent-browser open 'https://blog.rust-lang.org/'")
Bash("agent-browser get text '.post-list'")
Bash("agent-browser close")If Bash fails → Use WebFetch tool
Step 3d: Foundation News (Bash first)
**Use the Bash tool:**
Bash("agent-browser open 'https://foundation.rust-lang.org/news/'")
Bash("agent-browser get text '.news-list'")
Bash("agent-browser close")If Bash fails → Use WebFetch tool
Step 3e: FORBIDDEN
- ❌ **Assuming agent-browser unavailable without trying** - YOU MUST RUN BASH COMMANDS
- ❌ **WebSearch** - Never use for fetching news
- ❌ **WebFetch for Reddit** - Will always fail
4. Format Output
**CRITICAL: Every item MUST include:** 1. ✅ Real source link (not fabricated) 2. ✅ Key takeaway summary (1-2 sentences) 3. ✅ Engagement metrics (upvotes, comments) 4. ✅ Publication date/time
Display the report in markdown format:
# 🦀 Rust {Time_Range} Report
**Period:** {start_date} - {end_date} | **Generated:** {now}
**Sources:** {count} items from {source_count} sources
---
## 📊 Quick Stats
| Metric | Value |
|--------|-------|
| Total Posts | {count} |
| Hot Discussions (>50 comments) | {hot_count} |
| Official Announcements | {official_count} |
| Top Topic | {top_topic} |
---
## 🌐 Ecosystem Highlights
### Reddit r/rust
#### 1. {Post Title}
- **Link:** https://reddit.com/r/rust/comments/{id}
- **Score:** {upvotes} ⬆️ | **Comments:** {comments} 💬 | **Posted:** {time_ago}
- **Author:** u/{username}
- **Key Takeaway:** {1-2 sentence summary of why this matters}
- **Tags:** `{tag1}` `{tag2}`
#### 2. {Post Title}
- **Link:** {real_url}
- **Score:** {upvotes} ⬆️ | **Comments:** {comments} 💬 | **Posted:** {time_ago}
- **Key Takeaway:** {summary}
{... more posts}
### This Week in Rust #{issue_number}
- **Link:** https://this-week-in-rust.org/blog/{date}/this-week-in-rust-{number}/
- **Published:** {date}
**Crate of the Week:** [{crate_name}]({crates.io_link})
> {why it was selected}
**Notable Updates:**
| Item | Summary | Link |
|------|---------|------|
| {title} | {key_takeaway} | [→]({url}) |
---
## 📢 Official Announcements
### Rust Blog
#### {Post Title}
- **Link:** https://blog.rust-lang.org/{path}
- **Published:** {date}
- **Key Takeaway:** {what this means for Rust developers}
- **Action Required:** {yes/no - what users should do}
### Inside Rust Blog
#### {Post Title}
- **Link:** https://blog.rust-lang.org/inside-rust/{path}
- **Published:** {date}
- **Key Takeaway:** {summary}
- **Relevant Teams:** {compiler, lang, libs, etc.}
---
## 🏛️ Rust Foundation
### News & Announcements
#### {Title}
- **Link:** https://foundation.rust-lang.org/news/{path}
- **Published:** {date}
- **Key Takeaway:** {impact on Rust ecosystem}
### Upcoming Events
| Date | Event | Location | Link | Why Attend |
|------|-------|----------|------|------------|
| {date} | {name} | {location} | [Register]({url}) | {brief reason} |
---Read more
description: Generate Rust daily/weekly/monthly news report argument-hint: [day|week|month] [--category ecosystem|official|foundation] [--save [path]]
Rust Daily Report
Generate a summarized report of Rust news from multiple sources.
Arguments: $ARGUMENTS
- `time_range` (optional): `day` | `week` | `month` (default: `week`)
- `--category` (optional): `ecosystem` | `official` | `foundation` | `all` (default: `all`)
- `--save` (optional): Save report to file. If path not specified, saves to `~/Documents/reports/rust-daily/`
---
Sources
| Category | Sources | |----------|---------| | **Ecosystem** | Reddit r/rust, This Week in Rust | | **Official** | Rust Blog, Inside Rust Blog | | **Foundation** | Rust Foundation News, Blog, Events |
---
Instructions
1. Parse Arguments
/rust-daily → week, all categories, display only
/rust-daily day → last 24 hours, all
/rust-daily week → last 7 days, all
/rust-daily month → last 30 days, all
/rust-daily --category ecosystem → week, ecosystem only
/rust-daily day --category official → day, official only
/rust-daily --save → save to ~/Documents/reports/rust-daily/{date}-rust-{time_range}.md
/rust-daily --save /path/to/dir → save to specified directory
/rust-daily day --save → day report, save to default location2. Check Cache
Check if recent cache exists:
cache_dir=~/.claude/cache/rust-daily/
cache_file=${cache_dir}/report-{date}-{time_range}-{category}.json
# If cache exists and < 4 hours old, use cached data3. Fetch Content
**YOU MUST USE THE BASH TOOL TO RUN agent-browser COMMANDS.**
Do NOT assume agent-browser is unavailable. It IS installed at `/opt/homebrew/bin/agent-browser`.
┌─────────────────────────────────────────────────────────┐ │ FOR EACH SOURCE: │ │ │ │ 1. USE BASH TOOL to run: agent-browser open/get/close │ │ ↓ (only if Bash returns error) │ │ 2. USE WebFetch tool as fallback │ │ │ │ ⚠️ YOU MUST ACTUALLY RUN THE BASH COMMANDS │ │ ⚠️ DO NOT ASSUME agent-browser is unavailable │ └─────────────────────────────────────────────────────────┘
Step 3a: Reddit (Bash + agent-browser REQUIRED)
**Use the Bash tool to execute these commands:**
Bash("agent-browser open 'https://www.reddit.com/r/rust/top/?t=day'")
Bash("agent-browser get text '[data-testid=\"post-container\"]' --limit 15")
Bash("agent-browser close")Reddit requires JavaScript. WebFetch will fail. Only mark unavailable if Bash command fails.
Step 3b: This Week in Rust (Bash first)
**Use the Bash tool:**
Bash("agent-browser open 'https://this-week-in-rust.org/'")
Bash("agent-browser get text '.post-content'")
Bash("agent-browser close")If Bash fails → Use WebFetch tool
Step 3c: Rust Blog (Bash first)
**Use the Bash tool:**
Bash("agent-browser open 'https://blog.rust-lang.org/'")
Bash("agent-browser get text '.post-list'")
Bash("agent-browser close")If Bash fails → Use WebFetch tool
Step 3d: Foundation News (Bash first)
**Use the Bash tool:**
Bash("agent-browser open 'https://foundation.rust-lang.org/news/'")
Bash("agent-browser get text '.news-list'")
Bash("agent-browser close")If Bash fails → Use WebFetch tool
Step 3e: FORBIDDEN
- ❌ **Assuming agent-browser unavailable without trying** - YOU MUST RUN BASH COMMANDS
- ❌ **WebSearch** - Never use for fetching news
- ❌ **WebFetch for Reddit** - Will always fail
4. Format Output
**CRITICAL: Every item MUST include:** 1. ✅ Real source link (not fabricated) 2. ✅ Key takeaway summary (1-2 sentences) 3. ✅ Engagement metrics (upvotes, comments) 4. ✅ Publication date/time
Display the report in markdown format:
# 🦀 Rust {Time_Range} Report
**Period:** {start_date} - {end_date} | **Generated:** {now}
**Sources:** {count} items from {source_count} sources
---
## 📊 Quick Stats
| Metric | Value |
|--------|-------|
| Total Posts | {count} |
| Hot Discussions (>50 comments) | {hot_count} |
| Official Announcements | {official_count} |
| Top Topic | {top_topic} |
---
## 🌐 Ecosystem Highlights
### Reddit r/rust
#### 1. {Post Title}
- **Link:** https://reddit.com/r/rust/comments/{id}
- **Score:** {upvotes} ⬆️ | **Comments:** {comments} 💬 | **Posted:** {time_ago}
- **Author:** u/{username}
- **Key Takeaway:** {1-2 sentence summary of why this matters}
- **Tags:** `{tag1}` `{tag2}`
#### 2. {Post Title}
- **Link:** {real_url}
- **Score:** {upvotes} ⬆️ | **Comments:** {comments} 💬 | **Posted:** {time_ago}
- **Key Takeaway:** {summary}
{... more posts}
### This Week in Rust #{issue_number}
- **Link:** https://this-week-in-rust.org/blog/{date}/this-week-in-rust-{number}/
- **Published:** {date}
**Crate of the Week:** [{crate_name}]({crates.io_link})
> {why it was selected}
**Notable Updates:**
| Item | Summary | Link |
|------|---------|------|
| {title} | {key_takeaway} | [→]({url}) |
---
## 📢 Official Announcements
### Rust Blog
#### {Post Title}
- **Link:** https://blog.rust-lang.org/{path}
- **Published:** {date}
- **Key Takeaway:** {what this means for Rust developers}
- **Action Required:** {yes/no - what users should do}
### Inside Rust Blog
#### {Post Title}
- **Link:** https://blog.rust-lang.org/inside-rust/{path}
- **Published:** {date}
- **Key Takeaway:** {summary}
- **Relevant Teams:** {compiler, lang, libs, etc.}
---
## 🏛️ Rust Foundation
### News & Announcements
#### {Title}
- **Link:** https://foundation.rust-lang.org/news/{path}
- **Published:** {date}
- **Key Takeaway:** {impact on Rust ecosystem}
### Upcoming Events
| Date | Event | Location | Link | Why Attend |
|------|-------|----------|------|------------|
| {date} | {name} | {location} | [Register]({url}) | {brief reason} |
---AI-powered Rust development assistant with meta-cognition framework
Other commands on rust-skills.
- /achievement
View coding achievements, stats, and progress
Open command - /ai-daily
Generate AI daily/weekly news report from Reddit communities
Open command - /audit
Heavy-weight security and safety audit using os-checker tools.
Open command - /cache-clean
Clean Rust docs cache
Open command - /cache-status
Show Rust docs cache status
Open command - /clean-crate-skills
Remove local dynamic crate skills
Open command

