Quickstarts by surface
Publish with an AI agent
Install the Cli Blog skill, inspect drafts, create a post, and wait for approval.
Use this quickstart when an agent should prepare content while a person controls publication.
Add the skill
Add the Cli Blog skill to your agent or project:
npx skills add https://github.com/cli-blog/cli-blog-skill --skill cli-blogReview it on skills.sh, or inspect the source and other installation options in the GitHub repository. Then ask your agent to read the skill before choosing a tool:
Use the Cli Blog skill for this task. Explain which tool you will use and keep every new post as a draft until I approve publication.Inspect existing drafts
Ask the agent to read before it writes:
List the current en-US draft posts. Return each title, slug, version, author, category, and last update time. Do not change anything.Create a reviewable post
Give the agent approved source material and a concrete result:
Create an en-US draft from the approved release notes. Reuse the existing Product category and Maya Chen author. Add SEO fields and return the post ID, slug, version, unresolved claims, and preview request. Do not publish.Approve the exact version
After reviewing the draft, approve a specific ID and version:
Publish post post_id at version 3. Stop if the stored version changed, then verify the published post through the public delivery API.Continue with the complete Build with AI Agents workflow and agent skill guide.