Agent skill

rust-daily

CRITICAL: Use for Rust news and daily/weekly/monthly reports. Triggers on: rust news, rust daily, rust weekly, TWIR, rust blog, Rust 日报, Rust 周报, Rust 新闻, Rust 动态

Stars 941
Forks 87

Install this agent skill to your Project

npx add-skill https://github.com/actionbook/rust-skills/tree/main/skills/rust-daily

SKILL.md

Rust Daily Report

Version: 2.1.0 | Last Updated: 2025-01-27

Fetch Rust community updates, filtered by time range.

Data Sources

Category Sources
Ecosystem Reddit r/rust, This Week in Rust
Official blog.rust-lang.org, Inside Rust
Foundation rustfoundation.org (news, blog, events)

Parameters

  • time_range: day | week | month (default: week)
  • category: all | ecosystem | official | foundation

Execution Mode Detection

CRITICAL: Check agent file availability first to determine execution mode.

Try to read: ../../agents/rust-daily-reporter.md


Agent Mode (Plugin Install)

When ../../agents/rust-daily-reporter.md exists:

Workflow

1. Read: ../../agents/rust-daily-reporter.md
2. Task(subagent_type: "general-purpose", run_in_background: false, prompt: <agent content>)
3. Wait for result
4. Format and present to user

Inline Mode (Skills-only Install)

When agent file is NOT available, execute each source directly:

1. Reddit r/rust

bash
# Using agent-browser CLI
agent-browser open "https://www.reddit.com/r/rust/hot/"
agent-browser get text ".Post" --limit 10
agent-browser close

Or with WebFetch fallback:

WebFetch("https://www.reddit.com/r/rust/hot/", "Extract top 10 posts with scores and titles")

Parse output into:

Score Title Link

2. This Week in Rust

bash
# Check actionbook first
mcp__actionbook__search_actions("this week in rust")
mcp__actionbook__get_action_by_id(<action_id>)

# Then fetch
agent-browser open "https://this-week-in-rust.org/"
agent-browser get text "<selector_from_actionbook>"
agent-browser close

Parse output into:

  • Issue #{number} ({date}): highlights

3. Rust Blog (Official)

bash
agent-browser open "https://blog.rust-lang.org/"
agent-browser get text "article" --limit 5
agent-browser close

Or with WebFetch fallback:

WebFetch("https://blog.rust-lang.org/", "Extract latest 5 blog posts with dates and titles")

Parse output into:

Date Title Summary

4. Inside Rust

bash
agent-browser open "https://blog.rust-lang.org/inside-rust/"
agent-browser get text "article" --limit 3
agent-browser close

Or with WebFetch fallback:

WebFetch("https://blog.rust-lang.org/inside-rust/", "Extract latest 3 posts with dates and titles")

5. Rust Foundation

bash
# News
agent-browser open "https://rustfoundation.org/media/category/news/"
agent-browser get text "article" --limit 3
agent-browser close

# Blog
agent-browser open "https://rustfoundation.org/media/category/blog/"
agent-browser get text "article" --limit 3
agent-browser close

# Events
agent-browser open "https://rustfoundation.org/events/"
agent-browser get text "article" --limit 3
agent-browser close

Time Filtering

After fetching all sources, filter by time range:

Range Filter
day Last 24 hours
week Last 7 days
month Last 30 days

Combining Results

After fetching all sources, combine into the output format below.


Tool Chain Priority

Both modes use the same tool chain order:

  1. actionbook MCP - Check for cached/pre-fetched content first

    mcp__actionbook__search_actions("rust news {date}")
    mcp__actionbook__search_actions("this week in rust")
    mcp__actionbook__search_actions("rust blog")
    
  2. agent-browser CLI - For dynamic web content

    bash
    agent-browser open "<url>"
    agent-browser get text "<selector>"
    agent-browser close
    
  3. WebFetch - Fallback if agent-browser unavailable

Source Primary Tool Fallback
Reddit agent-browser WebFetch
TWIR actionbook → agent-browser WebFetch
Rust Blog actionbook → WebFetch -
Foundation actionbook → WebFetch -

DO NOT use:

  • Chrome MCP directly
  • WebSearch for fetching news pages

Output Format

markdown
# Rust {Weekly|Daily|Monthly} Report

**Time Range:** {start} - {end}

## Ecosystem

### Reddit r/rust
| Score | Title | Link |
|-------|-------|------|
| {score} | {title} | [link]({url}) |

### This Week in Rust
- Issue #{number} ({date}): highlights

## Official
| Date | Title | Summary |
|------|-------|---------|
| {date} | {title} | {summary} |

## Foundation
| Date | Title | Summary |
|------|-------|---------|
| {date} | {title} | {summary} |

Validation

  • Each source should have at least 1 result, otherwise mark "No updates"
  • On fetch failure, retry with alternative tool
  • Report reason if all tools fail for a source

Error Handling

Error Cause Solution
Agent file not found Skills-only install Use inline mode
agent-browser unavailable CLI not installed Use WebFetch
Site timeout Network issues Retry once, then skip source
Empty results Selector mismatch Report and use fallback

Expand your agent's capabilities with these related and highly-rated skills.

actionbook/rust-skills

meta-cognition-parallel

EXPERIMENTAL: Three-layer parallel meta-cognition analysis. Triggers on: /meta-parallel, 三层分析, parallel analysis, 并行元认知

941 87
Explore
actionbook/rust-skills

domain-cloud-native

Use when building cloud-native apps. Keywords: kubernetes, k8s, docker, container, grpc, tonic, microservice, service mesh, observability, tracing, metrics, health check, cloud, deployment, 云原生, 微服务, 容器

941 87
Explore
actionbook/rust-skills

m07-concurrency

CRITICAL: Use for concurrency/async. Triggers: E0277 Send Sync, cannot be sent between threads, thread, spawn, channel, mpsc, Mutex, RwLock, Atomic, async, await, Future, tokio, deadlock, race condition, 并发, 线程, 异步, 死锁

941 87
Explore
actionbook/rust-skills

unsafe-checker

CRITICAL: Use for unsafe Rust code review and FFI. Triggers on: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, MaybeUninit, NonNull, SAFETY comment, soundness, undefined behavior, UB, safe wrapper, memory layout, bindgen, cbindgen, CString, CStr, 安全抽象, 裸指针, 外部函数接口, 内存布局, 不安全代码, FFI 绑定, 未定义行为

941 87
Explore
actionbook/rust-skills

rust-refactor-helper

Safe Rust refactoring with LSP analysis. Triggers on: /refactor, rename symbol, move function, extract, 重构, 重命名, 提取函数, 安全重构

941 87
Explore
actionbook/rust-skills

rust-skill-creator

Use when creating skills for Rust crates or std library documentation. Keywords: create rust skill, create crate skill, create std skill, 创建 rust skill, 创建 crate skill, 创建 std skill, 动态 rust skill, 动态 crate skill, skill for tokio, skill for serde, skill for axum, generate rust skill, rust 技能, crate 技能, 从文档创建skill, from docs create skill

941 87
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results