AGENT SKILL

post

暂无简介

License 许可
MIT
最近更新
2026-11-14
Stars
★ 202
Forks
70

03 SKILL.md 正文

Post

Paths: ${CLAUDE_SKILL_DIR} means the folder containing this SKILL.md, and ${CLAUDE_PLUGIN_ROOT} the plugin folder two levels above it.

Every question to the user goes in the question box: call the AskUserQuestion tool (2-4 options, the recommended one first). Only in an agent without that tool, ask numbered questions in text.

P="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/post.py". On Windows, use py wherever these commands say python3.

1. Accounts

python3 "$P" accounts
  • Exit 2 (no key): posting is not set up. Open the home window on Settings (python3 "${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/home.py" serve, then the Settings page) and say in one line: "Make a Zernio account (the link is on the Auto-post card in Settings), connect your apps there, then paste its API key on that card." Never ask for the key in the chat. Run accounts again when they say it is done.
  • No accounts: the Auto-post card in Settings has a Connect button per app. Each press adds one account, so pressing TikTok twice adds two TikToks. In a terminal only: python3 "$P" connect tiktok prints the sign-in link to open.
  • An account marked "active": false is signed out: its Sign in again button on the Auto-post card in Settings fixes it.

2. What to post

  • The video: the approved render (edits/<name>/render.mp4, a clip's render, or a file the user names).
  • Accounts: one AskUserQuestion with multiSelect: true, one option per account, labelled @username (Platform). With more than 4 accounts, ask per platform. Never guess between two accounts on one platform. If the user already named them ("all of them", "just my TikTok"), use that and skip the question.
  • Caption: write it from the video's own words (edits/<name>/captions.json or words.json): the hook line, one short line on what it shows, no hashtag wall. YouTube also needs a title (100 characters at most).
  • When: now, unless the user gave a time. A time needs their time zone (--tz America/Chicago).

3. Confirm, then send

Show the caption, title, accounts and time in one AskUserQuestion: Post it / Change the caption / Not now. TikTok requires the user to have seen the post before it goes out, so never send without this yes.

python3 "$P" send edits/<name>/render.mp4 --to <id>,<id> --caption "..." [--title "..."] [--at 2026-10-20T09:00 --tz America/Chicago] [--trial]

--trial posts an Instagram Trial Reel (only when the user asks for one). send uploads, posts, and waits until every account is published or failed. A retry with the same video, accounts and caption never posts twice.

4. Hand back

One line per account: platform, @username, and the live link (or the time it is scheduled for). A failed account: say its error in plain words and offer to retry just that one (send with only its id). Exit 1 is Zernio refusing: give its message as it is.

04 同仓库更多 Skills

nextwork-projects
nextwork-projects/ai-video-editor-cooked

creator-teardown

Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the ai-editor plugin edits from (on its own it can write an edit plan as a table and .srt). Use when the user wants to analyse, break down or study a creator ("analyse @handle", "tear down @handle", "teardown of @handle", "break down this creator", "what makes this creator's videos work"), pastes TikTok, YouTube or Instagram links and asks what the pattern is, or asks to set up creator-teardown. Not for editing the user's own video like a creator when ai-editor is installed (its start skill), not for researching a topic, and not for cutting raw footage.

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

update

Updates cooked. to its newest version. Works out how it was installed and does the right thing for each. The official plugin from the marketplace gets the plugin update commands for ai-editor and creator-teardown. A fork the user owns (the power-user route, where they change the editor's own code) gets its new versions pulled from nextwork-projects/ai-video-editor-cooked and merged with their changes kept, after a backup branch, then the fast self-checks, with a rollback if they fail. A plain clone gets the fork route in three steps. Use when the user says "update the editor", "get the latest version", "sync my fork", "pull the new version", or asks how to stay up to date after changing the editor's code. Not for changing a style or a setting (that is taste or the home page), and not for maintainers turning feedback into fixes (that is improve).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

trial-reels

Makes Instagram Trial Reels of a reel the user already made or posted. A trial reel is a re-cut of the same take, never the posted file again. Names the video's type first (story, list or pitch), because that decides what may change, then makes 2-4 versions that each look like a different video at a glance (their own hook, start point, opening, overlays, caption look and sound), every element inside the Reels safe zone, all in the user's own style. Each version goes on the review page as a trial, and only the ones the user names are posted as Trial Reels through post.py, spread over the day. Use when the user says "trial reels", "make trial reels of this", "a few more versions of this reel", "post the trial reels", "test other hooks on this", presses Make on the review page's Trial reels tab, or `wait` prints TRIALS. Not the main edit of a new video (start, cut, style-edit), not clips from a long video (clips).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

taste

Remembers how the user likes their videos edited, so they never give the same correction twice. Saves every correction or preference about an edit (the cut, captions, visuals, sound, layout) into ~/.ai-video-editor/taste.md as a plain rule, and into taste.json when it maps to a setting the scripts read (pause length, fillers, caption size, words per caption, zooms, sound, layout), deduplicated, scoped to every video or just this one, and counted when applied; one that would help everyone goes to the maintainers. Every other cooked. skill reads both before it starts. Use whenever the user reacts to an edit ("too slow", "captions are too small", "fewer zooms", "I hate the whoosh", "that's perfect, keep it like that"), and when they ask "what do you know about my taste", "show my settings", "forget that rule" or "are you learning". Also learns how they cut from a raw take and their posted version ("I already edit by hand", "learn from my edit"). Not for a finished video's notes as a batch (skill-improver).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

style-edit

Turns an approved cut into the finished video in a creator's measured style. Takes cut.mp4 from the cut skill plus a style.json (from start or creator-teardown), plans captions and zooms to match the creator, adds visuals timed to the spoken word (the user's own images, real screenshots, posts and logos of what is named, the line marked on the real page; no type cards, stock icons or emoji), shows the stills on the review page for approval, then renders 9:16 or 16:9 with Remotion on the laptop, Modal, GitHub Actions or the user's AWS Lambda, and can export the edit to Final Cut, Premiere, Resolve or CapCut. Use when a cut already exists and the user says "style it", "now add the style", "add captions and zooms", "add my images to the video", "render the edit", "change the captions", "export to Final Cut" or "send it to Premiere". Not for a raw take or a first request to edit a video like a creator (that is start), not for cutting mistakes out (cut), and not for measuring a creator (creator-teardown).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

start

The front door of cooked. Takes the user's video and a few multiple-choice answers (platform, creators to copy and what to take from each, audience, brand kit, own photos, names, what to avoid, captions, sound), saves them once to a profile, then runs the whole edit in order (setup if a tool is missing, creator-teardown for a new creator, cut, style-edit) so the user only drops a video, answers, approves the cut and approves the stills. Use when the user says "edit my video", "edit this like @creator", "make my video look like @creator", "make this look like <creator>'s videos", "I want my videos edited", "start", "new video", drops a video file or pastes any link (video, Drive or Dropbox share, creator profile, website, podcast) with no other instruction, or asks how to use the editor. Not for one step named on its own (only cutting is cut, only analysing a creator is creator-teardown, a correction is taste, styling an existing cut is style-edit).

★ 202