← 返回 Skills 市场
bytesagain3

Blog

作者 bytesagain3 · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ 安全检测通过
439
总下载
0
收藏
3
当前安装
6
版本数
在 OpenClaw 中安装
/install blog
功能描述
Manage blog posts with drafts, scheduling, and SEO optimization. Use when creating articles, optimizing metadata, or scheduling publication dates.
使用说明 (SKILL.md)

Blog

A content creation toolkit for drafting, editing, optimizing, scheduling, and managing blog content workflows — all from the command line with timestamped local logging.

Commands

Command Description
blog draft \x3Cinput> Log a draft idea or snippet. Without args, shows recent drafts
blog edit \x3Cinput> Record an editing pass or revision note. Without args, shows recent edits
blog optimize \x3Cinput> Log SEO or content optimization notes. Without args, shows recent optimizations
blog schedule \x3Cinput> Record a publication schedule entry. Without args, shows recent schedules
blog hashtags \x3Cinput> Log hashtag sets for social promotion. Without args, shows recent hashtag entries
blog hooks \x3Cinput> Record attention hooks or opening lines. Without args, shows recent hooks
blog cta \x3Cinput> Log call-to-action ideas. Without args, shows recent CTAs
blog rewrite \x3Cinput> Record a rewrite or major revision. Without args, shows recent rewrites
blog translate \x3Cinput> Log a translation task or result. Without args, shows recent translations
blog tone \x3Cinput> Record tone/voice notes for a piece. Without args, shows recent tone entries
blog headline \x3Cinput> Log headline options and A/B test ideas. Without args, shows recent headlines
blog outline \x3Cinput> Record a post outline or structure. Without args, shows recent outlines
blog stats Show summary statistics across all entry types
blog search \x3Cterm> Search across all log entries for a keyword
blog recent Show the 20 most recent activity entries
blog status Health check — version, data dir, entry count, disk usage, last activity
blog export \x3Cfmt> Export all data in json, csv, or txt format
blog help Show all available commands
blog version Print version (v2.0.0)

Each content command (draft, edit, optimize, etc.) works the same way:

  • With arguments: saves the entry with a timestamp to its dedicated .log file and records it in activity history
  • Without arguments: displays the 20 most recent entries from that command's log

Data Storage

All data is stored locally in plain-text log files:

~/.local/share/blog/
├── draft.log           # Draft ideas and snippets
├── edit.log            # Editing notes and revisions
├── optimize.log        # SEO / content optimization records
├── schedule.log        # Publication schedule entries
├── hashtags.log        # Hashtag sets for social media
├── hooks.log           # Attention hooks / opening lines
├── cta.log             # Call-to-action ideas
├── rewrite.log         # Major revision records
├── translate.log       # Translation tasks and results
├── tone.log            # Tone / voice notes
├── headline.log        # Headline options and A/B ideas
├── outline.log         # Post outlines and structures
└── history.log         # Unified activity log with timestamps

Each entry is stored as YYYY-MM-DD HH:MM|\x3Cvalue> for easy parsing and export.

Requirements

  • Bash 4.0+ (uses set -euo pipefail)
  • Standard UNIX utilities: date, wc, du, grep, head, tail, cat
  • No external dependencies or API keys required
  • Works offline — all data stays on your machine

When to Use

  1. Blog content pipeline — Track a post from draft → outline → edit → optimize → schedule in one place with timestamps, so you always know where each piece stands
  2. SEO workflow — Log optimization notes, headline variants, and hashtag sets for each post, then search or export them later for analysis
  3. Editorial calendar — Use schedule to record publication dates and recent to see upcoming deadlines at a glance
  4. Multi-language content — Track translations with translate, tone adjustments with tone, and rewrites with rewrite to manage localized content
  5. Social media prep — Build a library of hooks, CTAs, and hashtag sets that you can search and reuse across posts

Examples

Full blog post workflow

# Start with a draft idea
blog draft "10 productivity hacks for remote developers — listicle format"

# Create the outline
blog outline "Intro (hook) → 10 tips with examples → CTA → conclusion"

# Write headline options
blog headline "Option A: 10 Hacks That Actually Work | Option B: Remote Dev Productivity Guide"

# Log editing notes
blog edit "tightened intro paragraph, added code examples to tips 3 and 7"

# Optimize for SEO
blog optimize "target keyword: remote developer productivity, density 1.2%, meta desc added"

# Schedule publication
blog schedule "publish 2024-04-15 09:00 UTC — cross-post to Dev.to and Medium"

Social media preparation

# Create hashtag sets
blog hashtags "#remotework #developer #productivity #coding #devtips"

# Write hooks for social posts
blog hooks "Most devs waste 2 hours daily on context switching. Here's how to fix it."

# Add a CTA
blog cta "Download our free remote work checklist — link in bio"

# Set the tone
blog tone "conversational, slightly informal, use second person (you/your)"

Review and export

# Search for entries about a topic
blog search "productivity"

# View recent activity
blog recent

# Check stats across all categories
blog stats

# Export everything as JSON for backup
blog export json

# Quick health check
blog status

Rewrite and translate

# Log a major rewrite
blog rewrite "complete overhaul of intro section — new angle focusing on data"

# Track a translation
blog translate "EN → ES: productivity article translated, 1800 words, reviewed by Maria"

Output

All commands print confirmation to stdout. Data is persisted in ~/.local/share/blog/. Use blog stats for an overview, blog search \x3Cterm> to find specific entries, or blog export \x3Cfmt> to extract all data as JSON, CSV, or plain text.


Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears to be a simple, local CLI logger. Before installing, review the included script (scripts/script.sh) yourself and consider: (1) it stores all entries as plain-text under ~/.local/share/blog (no encryption), so avoid logging secrets; (2) the exported JSON/csv routines do not appear to escape special characters robustly—large or quote-heavy entries could produce malformed exports; (3) minor metadata mismatches (version/timestamp format) are non-security issues but worth noting. If you’re comfortable with a plain-text local journal for blog content, this skill is coherent and low-risk. If you need encrypted storage or network syncing, this skill does not provide that and would require extension.
功能分析
Type: OpenClaw Skill Name: blog Version: 2.0.1 The 'blog' skill is a straightforward local content management toolkit implemented as a Bash script. It manages text-based logs for drafts, SEO notes, and schedules within a dedicated directory (~/.local/share/blog/). The code in scripts/script.sh is transparent, lacks network access, and contains no indicators of data exfiltration, persistence, or malicious execution.
能力评估
Purpose & Capability
Name/description (drafts, scheduling, SEO notes) match the code: a single Bash script that records entries into per-topic .log files and a history.log in ~/.local/share/blog. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md explains only local logging and CLI usage, which the script implements. Minor inconsistencies: SKILL.md/version metadata lists v2.0.1 while the script prints v2.0.0; history.log timestamps use a different format than the per-entry YYYY-MM-DD HH:MM described in docs. These are implementation mismatches, not scope creep.
Install Mechanism
No install spec — instruction-only plus an included shell script. No downloads, external installers, or archive extraction. Risk is low because the only code is the shipped script.
Credentials
No required environment variables or credentials. The script only uses HOME to build a data directory and relies on standard UNIX utilities. Requested access is proportionate to a local logging tool.
Persistence & Privilege
Skill is not always-enabled and does not modify other skills or global agent settings. It creates files under the user's home data directory only, which is expected for this functionality.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install blog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /blog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
SKILL.md aligned with script.sh, description fixed
v1.0.4
old template -> domain-specific v2.0.0
v1.0.3
old template -> domain-specific v2.0.0
v1.0.2
Quality upgrade
v1.0.1
Quality upgrade: custom functionality
v1.0.0
Initial release
元数据
Slug blog
版本 2.0.1
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 6
常见问题

Blog 是什么?

Manage blog posts with drafts, scheduling, and SEO optimization. Use when creating articles, optimizing metadata, or scheduling publication dates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 439 次。

如何安装 Blog?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install blog」即可一键安装,无需额外配置。

Blog 是免费的吗?

是的,Blog 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Blog 支持哪些平台?

Blog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Blog?

由 bytesagain3(@bytesagain3)开发并维护,当前版本 v2.0.1。

💬 留言讨论