← 返回 Skills 市场
Google Blogger
作者
Saiteja mothukuri
· GitHub ↗
· v1.0.0
289
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gblog
功能描述
Blogger API CLI for managing blog posts. Post, edit, delete, list, and monitor Blogger blogs. Use when the user wants to: (1) publish blog posts to Blogger,...
使用说明 (SKILL.md)
\r \r
gblog - Blogger CLI\r
\r Manage Blogger blogs via command line. Supports posting, editing, listing, and monitoring.\r \r
Quick Start\r
\r
# Authenticate with Google\r
gblog auth\r
\r
# List your blogs\r
gblog list-blogs\r
\r
# List posts from a blog\r
gblog list-posts --blog-id YOUR_BLOG_ID\r
\r
# Create a new post\r
gblog post --blog-id YOUR_BLOG_ID --title "My Post" --content ./post.html\r
\r
# Edit a post\r
gblog edit --blog-id YOUR_BLOG_ID --post-id POST_ID --content ./updated.html\r
\r
# Delete a post\r
gblog delete --blog-id YOUR_BLOG_ID --post-id POST_ID\r
```\r
\r
## Setup\r
\r
### 1. Google Cloud Console Setup\r
\r
1. Go to [Google Cloud Console](https://console.cloud.google.com/)\r
2. Create a project or select existing\r
3. Enable **Blogger API v3**\r
4. Go to **APIs & Services → Credentials**\r
5. Create **OAuth 2.0 Client ID** (Desktop application type)\r
6. Add redirect URIs:\r
- `http://localhost:8085/oauth2callback`\r
- `http://localhost:8080/oauth2callback`\r
7. Download credentials JSON\r
\r
### 2. Local Setup\r
\r
```bash\r
# Create config directory\r
mkdir -p ~/.config/gblog\r
\r
# Save credentials\r
cp ~/Downloads/client_secret_*.json ~/.config/gblog/credentials.json\r
\r
# Run authentication\r
gblog auth\r
```\r
\r
### 3. Authentication\r
\r
The first time you run `gblog auth`, it will:\r
1. Open a browser for Google OAuth\r
2. Request permissions for Blogger\r
3. Save refresh token to `~/.config/gblog/token.json`\r
\r
## Commands\r
\r
### Authentication\r
```bash\r
gblog auth # Authenticate with Google\r
gblog auth --status # Check auth status\r
gblog auth --logout # Clear saved tokens\r
```\r
\r
### Blog Management\r
```bash\r
gblog list-blogs # List all your blogs\r
gblog get-blog --id BLOG_ID # Get blog details\r
```\r
\r
### Post Management\r
```bash\r
# List posts\r
gblog list-posts --blog-id BLOG_ID\r
\r
# Create post\r
gblog post \\r
--blog-id BLOG_ID \\r
--title "Post Title" \\r
--content ./content.html \\r
--labels "AI, Tutorial" \\r
--draft\r
\r
# Edit post\r
gblog edit \\r
--blog-id BLOG_ID \\r
--post-id POST_ID \\r
--title "Updated Title" \\r
--content ./updated.html\r
\r
# Delete post\r
gblog delete --blog-id BLOG_ID --post-id POST_ID\r
\r
# Get post\r
gblog get-post --blog-id BLOG_ID --post-id POST_ID\r
```\r
\r
### Monitoring\r
```bash\r
# Monitor new posts (poll every 5 minutes)\r
gblog monitor --blog-id BLOG_ID --interval 300\r
\r
# Get post statistics\r
gblog stats --blog-id BLOG_ID\r
```\r
\r
## HTML Content Format\r
\r
Posts support full HTML. Example structure:\r
\r
```html\r
\x3Cdiv style="font-family: Arial, sans-serif; line-height: 1.8;">\r
\x3Ch1 style="color: #27ae60;">Post Title\x3C/h1>\r
\r
\x3Cp>Your content here...\x3C/p>\r
\r
\x3Cdiv style="background: #f5f5f5; padding: 20px; border-radius: 8px;">\r
\x3Ch3>Call to Action\x3C/h3>\r
\x3Ca href="...">Subscribe\x3C/a>\r
\x3C/div>\r
\x3C/div>\r
```\r
\r
## Configuration Files\r
\r
| File | Purpose |\r
|------|---------|\r
| `~/.config/gblog/credentials.json` | OAuth client credentials |\r
| `~/.config/gblog/token.json` | Saved access/refresh tokens |\r
| `~/.config/gblog/config.json` | User preferences |\r
\r
## Environment Variables\r
\r
```bash\r
export GBLOG_CREDENTIALS_PATH=/path/to/credentials.json\r
export GBLOG_TOKEN_PATH=/path/to/token.json\r
export GBLOG_DEFAULT_BLOG_ID=your-blog-id\r
```\r
\r
## Error Handling\r
\r
Common errors and solutions:\r
\r
| Error | Solution |\r
|-------|----------|\r
| `invalid_grant` | Run `gblog auth` again |\r
| `insufficient_permissions` | Check Blogger API is enabled |\r
| `blog not found` | Verify blog ID is correct |\r
| `rate limit exceeded` | Wait 60 seconds and retry |\r
\r
## API Reference\r
\r
Uses Blogger API v3:\r
- Base URL: `https://www.googleapis.com/blogger/v3`\r
- Documentation: https://developers.google.com/blogger/docs/3.0/reference\r
\r
## Scripts\r
\r
- `scripts/gblog.py` - Main CLI script\r
- `scripts/auth.py` - OAuth authentication\r
- `scripts/blogger_api.py` - API wrapper\r
\r
---\r
*Powered by Google Blogger API v3*\r
安全使用建议
This skill appears to do what it says: manage Blogger via Google OAuth and local HTML/metadata. Before installing or running it, review these points: (1) OAuth: you must create/download Google OAuth client credentials and the tool will save access/refresh tokens to ~/.config/gblog/token.json — treat that file as sensitive. (2) Local files: bulk/auto-publish scripts read and may update files under ~/.openclaw/workspace/... (posts.json and HTML files) and can modify posts.json if you use the --update-json option — back up those files beforehand. (3) Inspect scripts: the repository is bundled with Python scripts; if you don't trust the source, review them (notably gblog.py implements auth and API calls). (4) Least privilege: create an OAuth client with appropriate scopes and use it only for the blog/account you intend to manage. (5) Minor documentation mismatch: SKILL.md/README mention scripts like auth.py/blogger_api.py while the provided main script is gblog.py (functionality is present but filenames differ) — this is likely benign but worth noting. If you want stronger assurance, run the scripts in a sandboxed environment or inspect the files line-by-line before running authentication or publish commands.
功能分析
Type: OpenClaw Skill
Name: gblog
Version: 1.0.0
The gblog skill bundle is a legitimate and comprehensive Blogger API management suite. It provides a CLI for Google OAuth authentication, post lifecycle management (create, edit, delete, list), and blog monitoring. The bundle includes several utility scripts for generating blog content from YouTube transcripts and bulk-publishing HTML files. While the scripts contain hardcoded paths and content specific to a 'TechRex' workspace (e.g., in scripts/gblog-bulk-post.py and scripts/create-all-full-posts.py), the logic is transparent and follows standard practices for API interaction and OAuth token management. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (Blogger CLI) align with the code and SKILL.md: the scripts call the Blogger API, implement OAuth flows, list/edit/post/delete posts, and include bulk-publish/monitoring tools. The included scripts operate on local HTML and posts.json files (used for bulk publishing), which is reasonable for a tool that publishes local content to Blogger.
Instruction Scope
Runtime instructions ask the user to place Google OAuth credentials at ~/.config/gblog/credentials.json and run `gblog auth`; the scripts will read/write ~/.config/gblog/token.json and a monitor state file, and several helper scripts read/write files under ~/.openclaw/workspace/... (posts.json, html files). This file I/O is consistent with bulk-publish and generation features but means the skill will access and modify local blog content/metadata — users should expect that.
Install Mechanism
No install spec is provided (instruction-only skill with bundled Python scripts). No external arbitrary downloads or extract-from-URL installs were detected. There are optional Python dependencies (README suggests pip install youtube-transcript-api) but nothing in the manifest indicates hidden installers or remote code fetches.
Credentials
The skill does not request unrelated environment credentials. It optionally uses environment variables (GBLOG_CREDENTIALS_PATH, GBLOG_TOKEN_PATH, GBLOG_DEFAULT_BLOG_ID) for convenience; the primary authentication is via Google OAuth stored in local credential/token JSON files. No AWS/other service secrets are requested.
Persistence & Privilege
The skill does persist tokens and state under ~/.config/gblog (token.json, monitor_state.json) which is expected for an OAuth CLI. always:false and no other elevated privileges are requested; the skill does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gblog - 安装完成后,直接呼叫该 Skill 的名称或使用
/gblog触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gblog – a CLI tool for managing Blogger blogs.
- Publish, edit, delete, list, and search blog posts from the command line
- Schedule posts and monitor blog activity
- OAuth authentication with Google, storing credentials and tokens securely
- Supports HTML content for posts
- Provides blog and post statistics monitoring
- Comprehensive CLI commands for full blog and post management
元数据
常见问题
Google Blogger 是什么?
Blogger API CLI for managing blog posts. Post, edit, delete, list, and monitor Blogger blogs. Use when the user wants to: (1) publish blog posts to Blogger,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 289 次。
如何安装 Google Blogger?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gblog」即可一键安装,无需额外配置。
Google Blogger 是免费的吗?
是的,Google Blogger 完全免费(开源免费),可自由下载、安装和使用。
Google Blogger 支持哪些平台?
Google Blogger 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Google Blogger?
由 Saiteja mothukuri(@saiteja007-mv)开发并维护,当前版本 v1.0.0。
推荐 Skills