Print a weekly numbers table with the postqueen CLI
For developers who want a quick weekly look at their channels without leaving the terminal.
Prompt


Use the postqueen CLI to show the last 7 days of numbers for each of my channels, and print a short summary table.
Works best with

and any agent connected to PostQueen
What your agent does
The commands, in order.
postqueen integrations:listall channelsLists your channels with their ids.postqueen analytics:platform<id> -d 7Reads the last 7 days of numbers for each channel, as JSON.postqueen posts:list--startDate, --endDateLists the posts from the same 7 days.postqueen analytics:post<id> -d 7Reads the numbers of each of those posts, so the table can name the best one.
These are the real postqueen CLI commands your agent runs in the terminal. It picks them on its own; you only send the prompt.
The result
An answer, from your own data.
Your agent reads your calendar or your results through PostQueen and answers you. Nothing is posted or changed.
- Read from the same data you see in PostQueen
- Nothing is posted, changed or deleted
- Ask for drafts next, when you are ready
Variations
Make it your own.
- Show the last 30 days instead, with -d 30.
- Save the table as a Markdown file in [./reports] with the date in its name.
- Only include the channels in the customer group [Bloom Bakery].
Tips
Before you send it.
- Every postqueen command prints JSON, so your agent can read it and build the table itself.
- Analytics cover X, Facebook Pages, Instagram, LinkedIn Pages, YouTube, Threads, Pinterest, TikTok and Google Business.
- Set POSTQUEEN_API_KEY once in your shell profile, and every command in every project uses it.
Copy it. Your agent does the rest.
Connect your agent to PostQueen and send the prompt. The drafts wait on your calendar.
Start 7-day trial for $0$0 due today. Cancel in one click.