360 Secure SkillHub
360 安全技能中心

Lingxi · Daily Ops Automation

面向 GitHub 项目的日常运维自动化 Skill:按触发命令或 cron 计划执行 Star、评论、Trending 主题监控、服务健康检查、Markdown 日报生成与多平台社媒发布;需配置 GitHub token、gh CLI 及 OpenClaw 环境。

nima54851
nima54851
热度 8.37
最近更新 2026-07-02 09:42:55
分类:自动化依赖:第三方 API / 读写文件应用场景:自动化脚本 / 工作流 / 社交媒体 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lingxi-daily-ops
Metadata
name
lingxi-daily-ops
category
automation
description
Complete daily operations automation for GitHub projects — automated GitHub interactions (star, comment, PR review), daily report generation, trending watch, and multi-platform social publishing. Reduces manual effort to near zero.
version
1

lingxi-daily-ops

Automate your daily GitHub and social media operations with a systematic, schedulable workflow.

What It Automates

Operation Frequency Description
GitHub Star Daily Star relevant trending projects
GitHub Comment Daily Meaningful comment on target repos
Daily Report Daily Generate operations summary
Trending Watch Daily Monitor specified topics for new projects
Health Check Hourly Verify services and endpoints

Usage

Trigger Commands

"Run daily ops"        → Full daily workflow
"GitHub star run"      → Only GitHub starring
"Generate daily report"→ Only report generation
"Health check"         → Only service health check
"Trending watch"       → Only topic monitoring

Daily Workflow Sequence

1. Health Check (08:30)
   → Check GitHub API status
   → Verify all webhook endpoints
   → Check ZeroGPU status

2. GitHub Trending Watch (08:35)
   → Fetch trending for watched languages
   → Compare with yesterday's snapshot
   → Flag new entries in watched topics

3. GitHub Interactions (08:40)
   → Star relevant new projects (auto filter by topics)
   → Post comments on configured repos
   → Update issue trackers

4. Report Generation (08:50)
   → Compile operations log
   → Generate markdown report
   → Upload via GitHub API fallback (if push blocked)

5. Social Publish (09:00)
   → Format digest for target platforms
   → Post to configured channels

Configuration

Create ~/.openclaw/daily-ops-config.json:

{
  "github_token": "ghp_xxx",
  "watch_topics": ["ai", "open-source", "developer-tools"],
  "watch_languages": ["python", "typescript", "rust"],
  "target_repos": ["owner/repo1", "owner/repo2"],
  "star_threshold": 100,
  "comment_templates": {
    "default": "Great project! 🚀 Auto-starred by lingxi daily-ops."
  },
  "report_channel": "~/daily-ops/reports/",
  "health_check_targets": [
    "https://github.com",
    "https://api.github.com",
    "https://platform.zerogpu.ai"
  ]
}

Comment Quality Rules

DO:

  • Acknowledge specific features you genuinely find useful
  • Ask a real question about the project
  • Point to related resources that might help

DON'T:

  • Generic "Great project!" spam
  • Duplicate existing comments
  • Comments on repos with explicitly anti-bot policies

Report Template

# Daily Ops Report — YYYY-MM-DD

## GitHub Activity
- Stars given: N
- Comments posted: N
- New projects discovered: N

## Health Status
- GitHub API: ✅
- ZeroGPU: ✅
- Webhooks: ✅

## Trending Watch
New entries in watched topics:
- [project-name](url) — [brief description]

## Tomorrow's Focus
- [ ] Priority task 1
- [ ] Priority task 2

Cron Schedule

0 9 * * *  → Full daily workflow (9:00 AM)
*/30 * * * * → Health check (every 30 min)

Installation

clawhub install lingxi-daily-ops

Requirements

  • gh CLI authenticated with appropriate scopes
  • GitHub token with: repo, read:user, public_repo
  • OpenClaw with github skill installed