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 <input> |
Log a draft idea or snippet. Without args, shows recent drafts |
blog edit <input> |
Record an editing pass or revision note. Without args, shows recent edits |
blog optimize <input> |
Log SEO or content optimization notes. Without args, shows recent optimizations |
blog schedule <input> |
Record a publication schedule entry. Without args, shows recent schedules |
blog hashtags <input> |
Log hashtag sets for social promotion. Without args, shows recent hashtag entries |
blog hooks <input> |
Record attention hooks or opening lines. Without args, shows recent hooks |
blog cta <input> |
Log call-to-action ideas. Without args, shows recent CTAs |
blog rewrite <input> |
Record a rewrite or major revision. Without args, shows recent rewrites |
blog translate <input> |
Log a translation task or result. Without args, shows recent translations |
blog tone <input> |
Record tone/voice notes for a piece. Without args, shows recent tone entries |
blog headline <input> |
Log headline options and A/B test ideas. Without args, shows recent headlines |
blog outline <input> |
Record a post outline or structure. Without args, shows recent outlines |
blog stats |
Show summary statistics across all entry types |
blog search <term> |
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 <fmt> |
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|<value> 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
- Runs without internet — all data stays on your machine
When to Use
- 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
- SEO workflow — Log optimization notes, headline variants, and hashtag sets for each post, then search or export them later for analysis
- Editorial calendar — Use
schedule to record publication dates and recent to see upcoming deadlines at a glance
- Multi-language content — Track translations with
translate, tone adjustments with tone, and rewrites with rewrite to manage localized content
- 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 <term> to find specific entries, or blog export <fmt> to extract all data as JSON, CSV, or plain text.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---2name: blog3version: "2.0.1"4author: BytesAgain5homepage: https://bytesagain.com6source: https://github.com/bytesagain/ai-skills7license: MIT-08tags: [blog, tool, utility]9description: "Manage blog posts with drafts, scheduling, and SEO optimization. Use when creating articles, optimizing metadata, or scheduling publication dates."10metadata:11 source: https://skillmd.com/skills/bytesagain/blog12---1314# Blog1516A content creation toolkit for drafting, editing, optimizing, scheduling, and managing blog content workflows — all from the command line with timestamped local logging.1718## Commands1920| Command | Description |21|---------|-------------|22| `blog draft <input>` | Log a draft idea or snippet. Without args, shows recent drafts |23| `blog edit <input>` | Record an editing pass or revision note. Without args, shows recent edits |24| `blog optimize <input>` | Log SEO or content optimization notes. Without args, shows recent optimizations |25| `blog schedule <input>` | Record a publication schedule entry. Without args, shows recent schedules |26| `blog hashtags <input>` | Log hashtag sets for social promotion. Without args, shows recent hashtag entries |27| `blog hooks <input>` | Record attention hooks or opening lines. Without args, shows recent hooks |28| `blog cta <input>` | Log call-to-action ideas. Without args, shows recent CTAs |29| `blog rewrite <input>` | Record a rewrite or major revision. Without args, shows recent rewrites |30| `blog translate <input>` | Log a translation task or result. Without args, shows recent translations |31| `blog tone <input>` | Record tone/voice notes for a piece. Without args, shows recent tone entries |32| `blog headline <input>` | Log headline options and A/B test ideas. Without args, shows recent headlines |33| `blog outline <input>` | Record a post outline or structure. Without args, shows recent outlines |34| `blog stats` | Show summary statistics across all entry types |35| `blog search <term>` | Search across all log entries for a keyword |36| `blog recent` | Show the 20 most recent activity entries |37| `blog status` | Health check — version, data dir, entry count, disk usage, last activity |38| `blog export <fmt>` | Export all data in json, csv, or txt format |39| `blog help` | Show all available commands |40| `blog version` | Print version (v2.0.0) |4142Each content command (draft, edit, optimize, etc.) works the same way:43- **With arguments**: saves the entry with a timestamp to its dedicated `.log` file and records it in activity history44- **Without arguments**: displays the 20 most recent entries from that command's log4546## Data Storage4748All data is stored locally in plain-text log files:4950```51~/.local/share/blog/52├── draft.log # Draft ideas and snippets53├── edit.log # Editing notes and revisions54├── optimize.log # SEO / content optimization records55├── schedule.log # Publication schedule entries56├── hashtags.log # Hashtag sets for social media57├── hooks.log # Attention hooks / opening lines58├── cta.log # Call-to-action ideas59├── rewrite.log # Major revision records60├── translate.log # Translation tasks and results61├── tone.log # Tone / voice notes62├── headline.log # Headline options and A/B ideas63├── outline.log # Post outlines and structures64└── history.log # Unified activity log with timestamps65```6667Each entry is stored as `YYYY-MM-DD HH:MM|<value>` for easy parsing and export.6869## Requirements7071- **Bash** 4.0+ (uses `set -euo pipefail`)72- Standard UNIX utilities: `date`, `wc`, `du`, `grep`, `head`, `tail`, `cat`73- No external dependencies or API keys required74- Runs without internet — all data stays on your machine7576## When to Use77781. **Blog content pipeline** — Track a post from draft → outline → edit → optimize → schedule in one place with timestamps, so you always know where each piece stands792. **SEO workflow** — Log optimization notes, headline variants, and hashtag sets for each post, then search or export them later for analysis803. **Editorial calendar** — Use `schedule` to record publication dates and `recent` to see upcoming deadlines at a glance814. **Multi-language content** — Track translations with `translate`, tone adjustments with `tone`, and rewrites with `rewrite` to manage localized content825. **Social media prep** — Build a library of hooks, CTAs, and hashtag sets that you can search and reuse across posts8384## Examples8586### Full blog post workflow8788```bash89# Start with a draft idea90blog draft "10 productivity hacks for remote developers — listicle format"9192# Create the outline93blog outline "Intro (hook) → 10 tips with examples → CTA → conclusion"9495# Write headline options96blog headline "Option A: 10 Hacks That Actually Work | Option B: Remote Dev Productivity Guide"9798# Log editing notes99blog edit "tightened intro paragraph, added code examples to tips 3 and 7"100101# Optimize for SEO102blog optimize "target keyword: remote developer productivity, density 1.2%, meta desc added"103104# Schedule publication105blog schedule "publish 2024-04-15 09:00 UTC — cross-post to Dev.to and Medium"106```107108### Social media preparation109110```bash111# Create hashtag sets112blog hashtags "#remotework #developer #productivity #coding #devtips"113114# Write hooks for social posts115blog hooks "Most devs waste 2 hours daily on context switching. Here's how to fix it."116117# Add a CTA118blog cta "Download our free remote work checklist — link in bio"119120# Set the tone121blog tone "conversational, slightly informal, use second person (you/your)"122```123124### Review and export125126```bash127# Search for entries about a topic128blog search "productivity"129130# View recent activity131blog recent132133# Check stats across all categories134blog stats135136# Export everything as JSON for backup137blog export json138139# Quick health check140blog status141```142143### Rewrite and translate144145```bash146# Log a major rewrite147blog rewrite "complete overhaul of intro section — new angle focusing on data"148149# Track a translation150blog translate "EN → ES: productivity article translated, 1800 words, reviewed by Maria"151```152153## Output154155All commands print confirmation to stdout. Data is persisted in `~/.local/share/blog/`. Use `blog stats` for an overview, `blog search <term>` to find specific entries, or `blog export <fmt>` to extract all data as JSON, CSV, or plain text.156157---158159*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*