uplika/uplika-plugin / skills/naver-drafts
naver-drafts
VerifiedList Naver Blog drafts and publish one as-is, or rewrite a published post at the same URL. 임시저장 글.
Naver drafts
Naver Blog drafts (임시저장 글) and edits to published posts. There are three different jobs here; find out which one the person means before calling anything:
| The person wants | Tool | What happens |
|---|---|---|
| A draft in Naver's draft box published exactly as it is there | publish_naver_draft | The extension opens that draft in Naver's editor and presses publish, so edits made by hand in Naver are kept |
Uplika's own copy of a draft it saved with options.naver_blog.draftOnly published instead | update_post | Uplika's text goes out as a new post with its own URL, and the old draft leaves the box |
| A post that is already published changed | update_post | The post is rewritten in place, at the same URL |
Before anything
- Call
bridge_status. The Uplika extension in the person's Chrome reads the draft box, reads posts written in Naver's editor and writes the posts. Ifstateis notonline, relayuserMessageword for word. With a terminal on the same computer, show thewakecommand for their system and run it only if they say yes; without one, ask them to open Chrome. Listing drafts and reading a post need it online, so wait until the person says Chrome is open. - If any call answers
workspace_required, show the workspaces it lists, ask which one, and passworkspaceIdfrom then on.
Publish a draft as it is
- Call
list_naver_drafts(passaccountIdto limit it to one blog). Each draft has itslogNo, its title and when it was last saved, newest first. Drafts saved through Uplika and drafts the person saved by hand in Naver both appear. - Show the drafts (title and when each was last saved) and let the person pick one. The list does not show a draft's category, tags or visibility, so do not claim to know them:
- A draft saved through Uplika with
options.naver_blog.draftOnlykeeps the category and visibility that post asked for if the person's Uplika extension was 0.7.54 or newer when it was saved, and its tags from 0.7.52. With an older extension, or when the post asked for none, it has the blog's default category and visibility and that post's result warning said what was left off; ask for them and pass them, reading the categories fromlist_accounts(naverBlog.categories). Anything you do not pass stays as the draft has it. Passtagsonly to change them: a list you pass replaces the draft's tags. - A draft saved by hand keeps whatever Naver stored with it, which Uplika cannot see. Ask whether to leave those as they are or to set the category, tags or visibility explicitly.
- A draft left behind by a failed publish is not the finished post. If an earlier failure said "A half-finished Naver draft may have been left", do not publish that draft: send the original post again with
retry_postand ask the person to delete the draft in Naver.
- A draft saved through Uplika with
- Publish only after the person approves. Call
publish_naver_draftwith thelogNo, plustitle,categoryId(orcategoryby name),tagsoropenTypeonly for what they want changed, andwait: true. Do not send content: the text is whatever is in Naver. - If the response carries
bridge, the post is queued: relaybridge.userMessageand do not say it was published. If it carriesnote, pass it on to the person: it warns when the draft has no body text, which is what a failed publish leaves. Otherwise callget_postfor the status and the permalink. A draft that Uplika made turns into the same post record instead of a second one.
Publish Uplika's copy instead
A post Uplika saved with options.naver_blog.draftOnly has a Naver target whose externalId starts with draft:. If the person wants Uplika's version of the text rather than what is in Naver now, call update_post on that post with its content (changed or not) after they approve. Pass the Naver options again in full (options.naver_blog.title, options.naver_blog.categoryId or options.naver_blog.category, options.naver_blog.tags, options.naver_blog.openType, and options.naver_blog.form or options.naver_blog.layout), without draftOnly: options you pass replace the stored ones, and a draft has no category. It goes out as a new post and, with a current extension, the old draft is removed from the box. This is not an edit of a published post, so it gets a new URL.
Rewrite a published post
update_post rewrites a published Naver post in place: same URL, same post number.
- Take the post's link (or its Uplika id) from the person.
- Write the new version, show the person what will change (old lines and new lines), and send only after they approve.
- Call
update_postwith the link or id, the newcontentandwait: true. Editing a live post is asynchronous: if the wait runs out, read the result withget_post.- Written in Naver's editor: the first call answers
naver_source_requiredwith the post's currentsourceand itssourceVersion. Make the edit on that source. Blocks already in the post (photos, videos, cards, tables, styled text) are@keep(...)lines, kept exactly as they are: keep a line to keep that block, delete it to remove the block. You cannot edit inside one; to change an existing table's cells, delete its@keepline and write the table again in GFM at the same place. New blocks, a new table included, go anywhere in the usual grammar. Send the edited source ascontenttogether withsourceVersion. If it answersnaver_source_requiredagain, the post changed on Naver after you read it: start over from the newsource. - Published through Uplika: fields you leave out keep their current value. Options you pass replace the post's whole options, so either leave them out or pass every Naver setting again.
- Photos: the
media:references in the new body are the post's photo list. A photo the new body no longer places is removed from the post. PassmediaIdsonly for photos to add at the end without placing them.
- Written in Naver's editor: the first call answers
- If the Naver editor shows a missing-image error on a post Uplika published, rewriting it with
update_postfixes it at the same URL.
When something fails
bridge_offline: the extension is not connected, so nothing was listed or read. Relay the message (faq:naver-extension-offline) and try again once Chrome is open.extension_outdated: the extension in that Chrome is too old for this job. The response says the installed and required versions, and Uplika asks that Chrome to update at the same moment. Relay it withfaq:extension-not-updatingand try again after the person says it updated.naver_form_required: the response listsforms(id, name, when). Show them and let the person pick (options.naver_blog.form), or setoptions.naver_blog.layouttoas-isto keep the body exactly as written.naver_category_requiredornaver_category_unknown: show the categories fromlist_accountsand let the person pick.- A draft publish that failed with "Naver closed the publish window without opening a new post": sending the same draft again from here is unlikely to help. The person opens that draft in Naver and publishes it there, or you send the original post again (after they approve) and they delete the half-finished draft.
naver_rate_limited: Naver capped how much this ID publishes. Do not call again beforeretryAfterSeconds; the draft is already in Naver.naver_keep_unknown: a@keepid that is not in the post's current source. Use the ids from the source.naver_media_over_limit: the body places more photos or videos than Naver takes (the limit is inlist_platforms). Nothing changed;droppedIdssays what to take out.post_not_editable: Uplika cannot rewrite this post. The message says why and what to do: relay it. When Naver would not open the post for editing, the person changes it on Naver Blog directly.account_disconnected: hand over to thetroubleshootskill.- Anything else: call
get_helpwith the error code and pass its answer and link on.
Tools
bridge_status: whether the extension in the person's Chrome is onlinelist_naver_drafts: the drafts in the blog's draft boxlist_accounts: the blog's categories, for drafts saved without one or with an older extensionpublish_naver_draft: publish a draft exactly as it is in Naver (after approval)update_post: rewrite a published post at the same URL, or publish Uplika's copy of a draft (after approval)retry_post: send the original post again when a failed publish left a half-finished draft (after approval)get_post: status and permalink after publishing or editinglist_platforms: Naver's media limitsget_help: the answer for an error code
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |