draft
Skill2 starsChanged 9 days agoMITView on GitHub
Save, update or read note.com drafts from Markdown (images, eyecatch, gallery photos, embeds, attachments).
- Pipes a download into a shell
26 other projects use a version of this.
Adopted by
Most recently taken up by
- Nbill27/academic-writing-skillstheir own version, first seen Nov 15, 2026
- Mharbulous/probanda-devtheir own version, first seen Nov 8, 2026
- PeterPartridge/CooperativeAICodingtheir own version, first seen Nov 8, 2026
- yuryalencar/ai-skillstheir own version, first seen Nov 1, 2026
- jigripokri/POHAtheir own version, first seen Nov 1, 2026
- danicat/speedgraphertheir own version, first seen Oct 17, 2026
Used with
Projects with it also use onboard, status and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillonboard
Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
VercelSkillsetup
Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".
Also in 4 projects that use this
SentrySkillreview
Fixture review skill.
Also in 5 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- anthropics/claude-for-legal★ 9.5ksame name
- jigripokri/POHA★ 121same name
- tance-mang/chinese-webnovel-skills★ 97same name
- danicat/speedgrapher★ 52same name
- richard-kim-79/archora-skills★ 49same name
- drafthq/draft★ 40same name
- alirezarezvani/gaios★ 37same name
- coolxeo/grok-bot-skills★ 7same name
- vercel-labs/workflow-campaign-demos★ 6same name
- iwe-org/marketing-workspace★ 5same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
If note-cli is on PATH, use it.
- Very specific: line 17
If bun is missing, ask the user to install it (curl -fsSL https://bun.sh/install | bash).
- Very specific: line 27
Check login with note-cli auth status.
- Distinctive: line 60
Write or edit the Markdown file with the user.
- Very specific: line 61
Run with --dry-run once: it checks that every referenced image exists and is supported.
- Very specific: line 62
Run draft create (or draft update with the key returned before — keep it so later edits update the same draft instead of creating …
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
note-cli:draft
Save articles to note.com as drafts through the unofficial API wrapper note-cli. Drafts are private. To make an article public (or schedule it, set a price or hashtags), continue with the note-cli:publish skill.
Running note-cli
This skill ships with the CLI. This file lives at <plugin root>/skills/<skill>/SKILL.md; the CLI is a dependency-free bundle at <plugin root>/dist/note-cli.js (requires Bun).
- If
note-cliis on PATH, use it. - Otherwise, if
<plugin root>/dist/note-cli.jsexists, runbun <plugin root>/dist/note-cli.js ...with the absolute path. - Otherwise (the skill was installed on its own, e.g. with
npx skills add), ask the user before installing the CLI globally withbun add -g github:shoot16625/note-cli, then usenote-cli. - If
bunis missing, ask the user to install it (curl -fsSL https://bun.sh/install | bash). Below,note-climeans whichever of these works.
Output is JSON on stdout. Errors are JSON on stderr ({"error": {"code", "message"}}) with exit code 1 (2 for usage errors). Codes: NOT_LOGGED_IN, AUTH_ERROR, FORBIDDEN (note refused, with its reason in message), NOT_FOUND, RATE_LIMITED, API_ERROR, USAGE.
Login (only for commands that need it)
note-cli auth status tells you whether a session exists. To log in, run note-cli auth login yourself with a command timeout of at least 300 seconds. It opens a Chrome/Edge/Chromium window on the note.com login page and waits for the user to finish logging in there. Tell the user to log in in that window. Never ask for their password. If no browser is found, pass --browser <path>, or have the user copy the Cookie request header (or just the _note_session_v5 value) from DevTools and pipe it to note-cli auth import.
Before you start
- Check login with
note-cli auth status; log in as described above ifloggedInis false. - Prepare the article as a Markdown file. Title comes from frontmatter
title:or the first# Heading(removed from the body), or--title.
Commands
note-cli draft create article.md --dry-run # preview converted HTML, images + warnings, no network
note-cli draft create article.md [--eyecatch cover.png] [--no-embed] # -> {id, key, editUrl, images, embeds, eyecatch, warnings}
note-cli draft update <key|url> article.md [--eyecatch cover.png] # overwrite title + body of an existing draft (use the key: embeds need it)
note-cli draft get <key|url> # read a draft back as text (--html for raw, --max-chars N, default 20000)
note-cli draft list --status draft # your drafts (page 1; --page N)
note-cli draft delete <id|key> --yes # drafts only (published: `note-cli delete`); ask the user before running
note-cli photo search 富士山 [--public-domain] [--limit N] [--page N] # みんなのフォトギャラリー: free cover photos (login)Markdown → note conversion
#/##→ large heading,###→ small heading,####+ → bold line (note has two heading levels).- Single newlines are kept as line breaks; blank lines separate paragraphs.
- Lists, quotes, code blocks, bold/italic/strike, links, horizontal rules work.
- Local images (
, path relative to the Markdown file) are uploaded and embedded as image blocks; the optional title becomes the caption. PNG/JPEG/GIF/WebP, ≤ 10 MB. Put each image on its own line. - Image URLs are not uploaded (they become links, with a warning). To embed one, download it and reference the local file.
- Embeds: a URL alone on its own line (a bare URL, not
[text](url)) becomes an embed, like pasting it into the editor: YouTube/Vimeo/niconico players, X posts and profiles, note articles as cards, GitHub, Spotify, Speaker Deck, Google Maps/Slides/Forms, Bluesky, Threads and more; any other page becomes a link card.--no-embedkeeps them as plain links. If note cannot fetch a URL, it stays a link andwarningssays so. - Attachments: a link to a local file alone on its own line (
[資料](files/guide.pdf)) uploads the file as a download attachment (≤ 100 MB). Relative to the Markdown file. - Obsidian syntax:
![[image.png]]/![[image.png|alt]]are images,[[Page|label]]becomes its text,==highlight==becomes bold. - Tables become code blocks, with a warning.
- Eyecatch (cover image):
--eyecatch <file>or frontmattereyecatch: cover.png. note only accepts a 1280:670 aspect ratio (e.g. 1280x670);--dry-runwarns about other sizes. If note rejects it, the draft is still saved,eyecatch.setis false, andwarningsexplains why. Fix the image and rerundraft updatewith--eyecatch. - Gallery eyecatch (the editor's 記事にあう画像を選ぶ): when the user has no cover image, run
note-cli photo search <keywords from the article>and choose bykeywordsandsourceNote.title(download a fewthumbnailUrls to look at them if you can view images).--public-domainsearches museum artworks instead. Pass the chosen photo'seyecatchvalue (stock:<id>:<url>) to--eyecatchor frontmattereyecatch:. It is center-cropped to 1280x670 and note shows thecreditunder the cover automatically. Tell the user which photo you picked and whose it is. - A line containing only
<!-- paywall -->marks where the paid part of a paid article starts (it shows as the paywall line in the editor). - Hashtags, price and magazines are set when publishing (
note-cli publish, seenote-cli:publish).
Workflow
- Write or edit the Markdown file with the user.
- Run with
--dry-runonce: it checks that every referenced image exists and is supported. Relay anywarnings. - Run
draft create(ordraft updatewith the key returned before — keep it so later edits update the same draft instead of creating duplicates). - Give the user the
editUrl. If they want it public, follownote-cli:publish.
On AUTH_ERROR the session has expired: log in again as described above. An API_ERROR with email_activation means the account has not verified its email address yet.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

