en un clic
github-pages-publisher
// Automatically publish articles to GitHub Pages with Jekyll support. Handles git add/commit/push, README updates, and category indexing.
// Automatically publish articles to GitHub Pages with Jekyll support. Handles git add/commit/push, README updates, and category indexing.
监控 claude-relay-service 的 API Key 使用情况和费用统计。支持查询总使用量、今日用量、费用估算等。
通过 Reddit OAuth2 API 搜索和阅读 Reddit 帖子、评论和子版块内容。当用户要求搜索 Reddit 讨论、浏览子版块帖子、阅读 Reddit 帖子内容和评论、了解 Reddit 社区对某个话题的看法时使用此 skill。支持按时间范围和排序方式筛选,支持读取完整帖子正文和嵌套评论树。
End-to-end Xiaohongshu operations: positioning, topic research, content production, publish execution, and post-incident recovery. Reusable across verticals; includes reusable templates and one concrete “陪你看剧” case preset.
Execute force buy orders on Freqtrade bot via REST API. Supports manual entry for specific trading pairs with configurable leverage and stake amount. Use when user wants to manually buy a cryptocurrency through their running Freqtrade bot, especially for short-term trades or when the strategy hasn't triggered an entry yet.
| name | github-pages-publisher |
| description | Automatically publish articles to GitHub Pages with Jekyll support. Handles git add/commit/push, README updates, and category indexing. |
自动将整理的文章推送到 GitHub Pages,支持 Jekyll 主题、分类索引和 README 自动更新。
git add + commit + push# 在 workspace 根目录运行
python3 {baseDir}/scripts/init_github_pages.py \
--repo https://github.com/username/repo.git \
--categories "ai,crypto,tech,twitter"
# 在你的 Agent 代码中使用
import subprocess
import json
# 定义文章
article = {
"title": "文章标题",
"category": "ai",
"tags": ["AI", "Agent"],
"content": "# Markdown 内容",
"permalink": "ai/article-slug/" # 可选,自动生成
}
# 调用发布脚本
subprocess.run([
"python3", "{baseDir}/scripts/publish_article.py",
"--title", article["title"],
"--category", article["category"],
"--tags", json.dumps(article["tags"]),
"--content", article["content"]
])
python3 {baseDir}/scripts/update_index.py
编辑 {baseDir}/config/settings.yaml:
github:
repo_url: "https://github.com/username/repo.git"
branch: "master"
articles:
base_path: "articles"
categories:
- ai
- crypto
- tech
- twitter
jekyll:
theme: "minima"
layout: "post"
permalink:
auto_generate: true # 自动生成英文 permalink
fallback: "pinyin" # 拼音或 "hash"
生成的文章自动包含 Jekyll front matter:
---
layout: post
title: "文章标题"
date: 2026-02-18
categories: ai
tags: [AI, Agent]
permalink: /ai/article-slug/
---
# 文章内容...
workspace/
├── articles/
│ ├── ai/
│ ├── crypto/
│ ├── tech/
│ └── twitter/
├── _config.yml # Jekyll 配置
├── index.md # 首页
├── README.md # GitHub 首页
└── .git/ # Git 仓库
#!/usr/bin/env python3
"""示例:自动整理推特并发布到 GitHub Pages"""
import subprocess
import json
from datetime import datetime
# 1. 获取内容(示例:整理推特)
tweets = [
{"author": "@xxx", "content": "推文内容", "url": "https://x.com/..."}
]
# 2. 生成文章
content = f"""# Twitter 精选 - {datetime.now().strftime('%Y-%m-%d')}
"""
for t in tweets:
content += f"- **{t['author']}**: {t['content']}\n"
# 3. 发布
subprocess.run([
"python3", "skills/github-pages-publisher/scripts/publish_article.py",
"--title", f"Twitter 精选 - {datetime.now().strftime('%Y-%m-%d')}",
"--category", "twitter",
"--tags", json.dumps(["Twitter", "AI"]),
"--content", content
], check=True)
print("✅ 已发布到 GitHub Pages!")
MIT