Skip to content
Back to skills

Hatena Md

ASecurity

Extract content from Hatena Blog article URLs and convert to Markdown format with frontmatter. Preserves images as absolute URLs and removes sidebars, headers, footers, and ads.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 9, 2026
content-marketingbashnode

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill hatena-md --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hatena Md?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hatena Md
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-hatena-md/badge)](https://www.skillsdirectory.com/skills/majiayu000-hatena-md)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "hatena-blog-markdown-extractor"
description: "Extract content from Hatena Blog article URLs and convert to Markdown format with frontmatter. Preserves images as absolute URLs and removes sidebars, headers, footers, and ads."
---

# Hatena Blog Markdown Extractor

はてなブログの記事URLからコンテンツをMarkdown形式で抽出するスキルです。

## 機能

- はてなブログの記事URLから本文を抽出
- HTML → Markdown変換
- 画像URLをフルパス(絶対パス)で保持
- サイドバー、ヘッダー、フッター、広告などの不要な要素を自動除去
- フロントマター付きMarkdownファイルを生成

## 使用方法

```bash
# 単一のURLから抽出
/hatena-md <記事URL>

# カスタム出力ディレクトリを指定
/hatena-md <記事URL> <出力ディレクトリ>
```

## 例

```bash
# デフォルトの出力先 (./hatena-posts/) に保存
/hatena-md https://www.simple-web-system.work/entry/2024/10/17/223212

# カスタム出力先に保存
/hatena-md https://www.simple-web-system.work/entry/2024/10/17/223212 ./my-posts
```

## 出力形式

抽出されたMarkdownファイルには以下のフロントマターが付きます:

```markdown
---
title: "記事タイトル"
url: https://www.simple-web-system.work/entry/2024/10/17/223212
extracted: 2025-10-27T09:46:00.000Z
---

記事本文...
```

## 出力先

- デフォルト: `./hatena-posts/`
- ファイル名: 記事タイトル.md (特殊文字は除去・置換されます)

## 注意事項

- Node.jsプロジェクトとしてセットアップされている必要があります
- 実行前に `npm install` と `npm run build` を実行してください

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.