note-article-publisher
Publish markdown articles to note.com with image upload, tags, and browser automation.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- description
- Publish markdown articles to note.com with image upload, tags, and browser automation.
02 资源文件 2
- 参考文档_meta.json474 B
- 参考文档README.md200 B
03 SKILL.md 正文
Note Article Publisher
Publish articles to note.com from markdown files via browser automation.
Use when publishing to note.com, managing drafts, or automating content pipeline.
Triggers: "publish to note", "note.com article", "create note draft", "note記事"
Requirements
- Node.js 18+
- Playwright with Chromium (
npx playwright install chromium) - note.com account credentials
- No external API keys needed
Instructions
-
Prepare markdown with frontmatter:
--- title: 記事タイトル tags: [AI, テクノロジー] cover: ./cover.png --- # 見出し 本文テキスト... ## セクション - リスト項目  -
Run the pipeline:
cd {skill_dir} npm install # Create draft from markdown node dist/cli.js draft --input ./article.md --title "記事タイトル" # Preview draft node dist/cli.js preview --draft-id <id> # Publish node dist/cli.js publish --draft-id <id> --tags "AI,テクノロジー" # Full pipeline (markdown → published) node dist/cli.js pipeline \ --input ./article.md \ --title "AIエージェントの作り方" \ --tags "AI,プログラミング,自動化" \ --cover-image ./cover.png -
Pipeline flow:
Markdown → Parse & Format → Upload images → Create draft → Review → Publish
Configuration
Set credentials via environment variables:
# Option A: Session cookie (preferred — safer)
export NOTE_SESSION="your_session_cookie"
# Option B: Login credentials (less safe)
export NOTE_EMAIL="your@email.com"
export NOTE_PASSWORD="your_password"
Security Considerations
- ⚠️ Prefer
NOTE_SESSIONover email/password — session cookies are safer than plaintext passwords. - Store credentials in
~/.openclaw/secrets.envwithchmod 600. - Never commit credentials to git — add
.envto.gitignore. - Playwright navigation must stay on
https://note.com/*— reject external redirects. - Never log or display credential values in output.
- Session cookies expire — rotate periodically.
- Clear Playwright browser data after use on shared systems.
Edge Cases
- Session expired: Re-login or refresh
NOTE_SESSIONcookie. - Image upload fails: Check file size (note.com has limits), try compressing first.
- Draft preview differs from publish: note.com may reformat some HTML. Preview before publishing.
- Rate limiting: Don't publish many articles in rapid succession.
- Playwright not installed: Run
npx playwright install chromiumfirst. - Headless mode issues: Some note.com pages may need
--headedmode for debugging.
Troubleshooting
- Login fails: Clear browser data and try fresh session.
- Missing dependencies: Run
npm installin skill directory. - Chromium not found: Run
npx playwright install chromium.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.