publish
Skill2 starsChanged 9 days agoMITView on GitHub
Publish, schedule, unpublish or delete note.com articles; hashtags, price, paywall, magazines.
- Pipes a download into a shell
64 other projects use a version of this.
Adopted by
Most recently taken up by
- foster-systems/shelftheir own version, first seen Nov 15, 2026
- carlos2219/web-kittheir own version, first seen Nov 15, 2026
- markmhendrickson/neotomatheir own version, first seen Nov 15, 2026
- jskswamy/skillstheir own version, first seen Nov 8, 2026
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tooltheir own version, first seen Nov 8, 2026
- Mharbulous/probanda-devtheir own version, first seen Nov 8, 2026
Used with
Projects with it also use create, render and 10 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.
MicrosoftSkillcreate
Also in 4 projects that use this
suxrobGMSkillrender
Generate raster images (PNG, JPEG, WebP) from natural language prompts using Python rendering engines. Covers graphics, charts, layouts, and procedural art. Not for SVG output.
Also in 3 projects that use this
JaimeGBASkillingest
Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base
Also in 6 projects that use this
genomewalkerSkillexplore
RLM-style recursive memory exploration - dynamically navigate the memory graph
Also in 4 projects that use this
GoogleSkilltranslate
Translates a common phrase into one or more languages.
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 14 projects that use this
Other versions64 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 64
- code-yeongyu/oh-my-opencode★ 71ksame name
- code-yeongyu/oh-my-openagent★ 71ksame name
- garrytan/gbrain★ 32ksame name
- TencentCloud/Octop★ 12ksame name
- harbor-framework/harbor★ 6.9ksame name
- laude-institute/harbor★ 6.9ksame name
- Q00/ouroboros★ 6.3ksame name
- paean-ai/deeptide★ 1.1ksame name
- ZimoLiao/scholaraio★ 585same name
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tool★ 432same name
54 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
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 53 edited versions we read keep these.
0
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 72
Make sure the draft is final (note-cli draft get <key>) or have the Markdown file ready.
- Very specific: line 73
Run publish ... --dry-run with the intended options and show the user the summary (title, hashtags, price, free/paid split, schedule).
- Very specific: line 74
After the user confirms, run the same command with --yes instead of --dry-run.
“Common” is measured: kept by at least 6 in 10 of the 53 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:publish
Publish and manage articles on note.com through the unofficial API wrapper note-cli. Publishing is public and visible to followers: always confirm the title, hashtags, price and timing with the user before running a command with --yes.
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.
How publishing works
note requires reCAPTCHA v3 to publish, which only a real browser can pass. note-cli publish therefore opens a Chrome/Edge/Chromium window with a throwaway profile, copies the saved session into it, runs note's own publish request inside the page, and closes the window (about 10–30 seconds). Run it with a command timeout of at least 180 seconds. The user does not need to do anything in the window. If no browser is found, pass --browser <path>.
The article must already exist as a draft (create one with note-cli draft create, see note-cli:draft). Passing a Markdown file to publish saves it to the draft first, so edits and publishing happen in one step.
Commands
note-cli publish <key|url> --dry-run [options] # show what would be sent: title, hashtags, price, free/paid lengths; no browser
note-cli publish <key|url> [file.md] --yes [options] # -> {published: true, url, ...}
--hashtag <tag> # repeatable or comma-separated: --hashtag AI --hashtag ClaudeCode,生成AI
--price <yen> # 0 (free, default) or 100–50000; paid articles need a paywall (see below)
--refund # allow refunds on a paid article
--magazine <key> # add to your magazine on publish (repeatable)
--membership <v> # membership-only article: `all` (every member), plan keys (repeatable), or `none` to remove it
--hide-from-profile # keep it off your profile's article list (still reachable by URL, search and magazines)
--toc # show a table of contents
--disable-comments # turn comments off (may need note premium)
--no-notify # do not send the subscriber notification
--schedule <time> # scheduled post, e.g. 2026-12-01T09:00+09:00 (needs note premium)
--eyecatch <image> # with a file: set the cover image (1280:670, or a `photo search` stock:... value)
--no-embed # with a file: keep bare URLs as links instead of embeds
note-cli reserved # your scheduled articles
note-cli unpublish <key|url> --yes # back to draft (also cancels a scheduled post)
note-cli delete <key|url> --yes # delete for good (published ones are unpublished first)
note-cli magazines [--note <key>] # your magazines; with --note, whether the article is in each
note-cli magazine add <magazineKey> <noteKey>
note-cli magazine remove <magazineKey> <noteKey>Running publish on an already published article re-publishes it with the current draft content and the given settings (pass the hashtags again; they are replaced).
Hashtags cannot contain spaces or dots: note silently drops all of an article's hashtags when one is invalid, so note-cli rejects them up front.
Membership articles
--membership all publishes the article for every member of the user's membership; --membership <planKey> limits it to specific plans (note-cli membership plans lists keys). An unknown plan key fails with the list of valid ones. --membership none takes an article out of the membership; do that before trying to unpublish a membership article.
Paid articles
Put a line containing only <!-- paywall --> in the Markdown where the paid part starts, then publish with --price. Everything above the line is free to read. --dry-run reports freeLength and paidLength so you can check the split. Without --price the marker is ignored and the whole article is free.
Paid articles, articles that ever sold, and articles in paid or membership magazines cannot be unpublished or deleted. note answers FORBIDDEN with that reason. Tell the user before publishing a paid article.
Workflow
- Make sure the draft is final (
note-cli draft get <key>) or have the Markdown file ready. - Run
publish ... --dry-runwith the intended options and show the user the summary (title, hashtags, price, free/paid split, schedule). - After the user confirms, run the same command with
--yesinstead of--dry-run. - Give the user the returned
url.
Errors
CONFIRMATION_REQUIRED:--yeswas missing. Confirm with the user, then add it.FORBIDDENon--schedule: the account has no note premium, so scheduled posting is unavailable. Offer to publish now instead.FORBIDDENonunpublish/delete: the article is paid, sold, or in a paid/membership magazine. It can only be edited, not removed.PUBLISH_FAILED: note rejected the request;messageanddetailcarry note's reason.detail.challengeslists the verification note asked for. If it contains something other thanreCAPTCHAv3, the account may need to publish once from the editor.AUTH_ERROR: the session has expired; log in again (note-cli auth login).
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.

