blog-preview

blog-preview is a command for Claude Code from shdsjh123-cpu/claude-code-blog-builder. It costs 25 tokens per session (280 once invoked), scanned A, original, MIT.

A browser-based publishing assistant for a blog post folder. It previews the content and provides buttons for copying titles, tags, descriptions, and body sections, plus image downloads and a checklist.

In plain words
What is it for?
Use it with an output folder to preview an article, copy formatted or plain text, download its images, and follow the publishing checklist.
Why use it?
It keeps the steps for moving a finished article into a publishing editor together. This reduces manual searching through files and helps confirm that key publishing tasks are complete.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/preview.js --folder "output/...".

Good fit Use it with an output folder to preview an article, copy formatted or plain text, download its images, and follow the publishing checklist.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/shdsjh123-cpu/claude-code-blog-builder
agentmods
npx agentmods add commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blog-preview

README.md
[![agentmods](https://agentmods.dev/badge/commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview/github.svg)](https://agentmods.dev/commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview)
Your own site
<a href="https://agentmods.dev/commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview"><img src="https://agentmods.dev/badge/commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for blog-preview

Your own site · 80×15
<a href="https://agentmods.dev/commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview"><img src="https://agentmods.dev/badge/commands/shdsjh123-cpu/claude-code-blog-builder/blog-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 280 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00280
Opus 5 $0.00013 $0.00140
Sonnet 5 $0.00005 $0.00056
Haiku 4.5 $0.00003 $0.00028

Measured 9d ago against content hash c8a1009a21bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

blog-preview scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/blog-preview.md · 25 lines

What it actually says

"$ARGUMENTS" 폴더의 글에 대해 발행 어시스턴트를 엽니다.

  1. 폴더 경로 추정:

    • 2026-04-09_상세페이지비용 같은 폴더명만 줬다면 output/$ARGUMENTS
    • 전체 경로면 그대로 사용
  2. preview.js 실행:

    node scripts/preview.js --folder "output/..."
    
  3. 자동으로 브라우저가 열리며 다음 기능 제공:

    • 제목·태그·메타설명 복사 버튼
    • 본문 섹션별 "서식 포함 복사" / "텍스트만 복사" 두 모드
    • 이미지 4장 개별/일괄 다운로드
    • 발행 체크리스트 (10개 항목)
  4. 사용자에게 안내: "브라우저가 열렸습니다. 위에서부터 차례로 복사해서 스마트에디터에 붙여넣으시면 됩니다. 표는 복사가 안 되니 스마트에디터에서 직접 만드세요."

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 25 lines · 25 tokens per session scan A c8a1009a21bc

Subscribe to this mod's changes

blog-preview is a command published in the GitHub repository shdsjh123-cpu/claude-code-blog-builder (22 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 280 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.