Skip to content
Back to skills

003 Name Skill 4a225bcb

ASecurity

Use the Postiz CLI to publish posts (create, schedule, upload images) to any configured integrations.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolsshellbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 003-name-skill_4a225bcb --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 003 Name Skill 4a225bcb?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 003 Name Skill 4a225bcb
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-003-name-skill-4a225bcb/badge)](https://www.skillsdirectory.com/skills/tools-only-003-name-skill-4a225bcb)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: postiz
description: Use the Postiz CLI to publish posts (create, schedule, upload images) to any configured integrations.
---

# Postiz (generic)

This skill documents how to use the Postiz CLI to manage social media posts.

It should NOT contain user-specific channel IDs, default publication rules, or language policy.

## Postiz CLI

The `postiz` binary must be available in your PATH.

Auth (required):
- `POSTIZ_API_KEY`
- `POSTIZ_BASE_URL`

### Core Workflow

Creating a post follows a one or two-step process depending on whether images are included.

#### 1. List Integrations
Find the IDs for the channels you want to post to.
```bash
postiz channels --pretty
```

#### 2. Upload Images (Optional)
If your post needs images, upload them first to get a public URL. You can repeat this for multiple images.
```bash
postiz upload-file --file-path /path/to/image.jpg --pretty
```
**Capture the `file.path`** from the JSON response. This is the URL you'll use in the next step.

#### 3. Create a Post
Create a single post or a thread.

**Draft (safe default):**
If `--status` is omitted, the post is created as draft by default.
```bash
postiz posts create --content "Your post text" --integrations <id> --pretty
```

**Single post:**
```bash
postiz posts create --content "Your post text" --integrations <id> --status now --pretty
```

**Scheduled post with image:**
```bash
postiz posts create \
  --content "Your post text" \
  --integrations <id> \
  --status scheduled \
  --scheduled-date "YYYY-MM-DDTHH:mm:ss+01:00" \
  --images "https://public-url-from-upload.png" \
  --pretty
```

**Thread / Multiple posts:**
Add multiple `--content` flags. They will be posted in order as a thread.
```bash
postiz posts create \
  --content "First tweet" \
  --content "Second tweet" \
  --integrations <id> \
  --pretty
```

### Important Formatting Note
To avoid line break issues (like literal `\n`), pass multi-line content directly to the CLI or use a subshell to read from a file:
```bash
postiz posts create --content "$(cat post.txt)" --integrations <id> --pretty
```

## Useful Commands

- `postiz posts list --start-date YYYY-MM-DD --end-date YYYY-MM-DD --pretty`: List posts in a date range.
- `postiz posts delete --id <postId> --pretty`: Delete a scheduled or draft post.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…