note.comの下書き記事にハッシュタグを設定し公開するスキル
note.comの下書き記事に対して、ブラウザ自動化でハッシュタグの設定や記事の公開を行います。
日本語:
English:
実行する前に、以下の情報をAskUserQuestionで確認してください。 ユーザーが既にコマンドやメッセージで明示している項目はスキップしてOKです。
確認項目:
n1a2b3c4d5e6)例: AskUserQuestion
question: "公開設定を確認します"
options:
- header: "対象記事"
- "URLを指定する"
- "記事キーを指定する"
- header: "ハッシュタグ"
- "タグを手動入力"
- "MDファイルのフロントマターから取得"
- "タグなし"
- header: "公開"
- "記事を公開する"
- "下書きのまま(タグ設定のみ)"
ハッシュタグ設定 + 公開:
cd "$SKILL_DIR" && node scripts/note-publish.mjs <article> --tags "AI,プログラミング" --publish
ハッシュタグ設定のみ(下書き維持):
cd "$SKILL_DIR" && node scripts/note-publish.mjs <article> --tags "AI,プログラミング"
MDファイルからタグ読取:
cd "$SKILL_DIR" && node scripts/note-publish.mjs <article> --md <path/to/article.md> --publish
| 引数 | 説明 |
|------|------|
| <article> | 記事URLまたは記事キー(必須) |
| --tags <csv> | カンマ区切りのハッシュタグ |
| --md <path> | MDファイルパス(フロントマターからタグ読取) |
| --publish | 記事を公開する(未指定時は下書き保存) |
| --yes | 確認プロンプトをスキップ |
| --help | ヘルプを表示 |
--tags と --md の両方が指定された場合、--tags が優先されます。
✓ ハッシュタグを設定し、記事を公開しました
URL: https://note.com/username/n/n1a2b3c4d5e6
タグ: #AI, #プログラミング
ステータス: published
✗ 操作に失敗しました
エラー: ハッシュタグ入力欄が見つかりません。note.comのUI変更の可能性があります
対処: note.comのWebUIから手動で操作してください
<article> に渡せますnote.comのUI変更によりスキルが動作しなくなった場合、以下のコマンドでセレクタの有効性を検証できます:
cd "$SKILL_DIR" && node scripts/inspect-editor.mjs <articleKey> --check
inspect-editor.mjs --check でセレクタの有効性を確認し、lib/selectors.mjs を更新してください.env の認証情報を確認してくださいnpx playwright install --with-deps chromium を実行してくださいGoogle Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Use when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Manage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
Manage Trello boards, lists, and cards via the Trello REST API.
Category:productivity