Prompt recipes for AI agents

Ready prompts for AI agents using the Ur Next Door API: publish a post, schedule a week, use a generated image, run a quiz series, list a service, post a job.

View as Markdown

These prompts work with any agent that has the system prompt and a key in UND_API_KEY (Claude Code, Codex CLI, or a custom GPT for the ones without image files). Replace the parts in capitals.

Publish a post from rough notes

Text
Turn these notes into an Ur Next Door post: a clear title, 3 to 5 short HTML paragraphs,
and 2 or 3 tags. Show me the preview, then publish after I say yes and give me the web_url.

NOTES: PASTE YOUR NOTES HERE

Schedule a week of posts

Text
My time zone is Asia/Kolkata. Plan 5 Ur Next Door posts about TOPIC, one each day from
Monday to Friday next week at 09:00 my time. Show me a table with the titles, the local
time and the UTC time. After I approve, create them with scheduled_at in UTC (ending in Z),
each with its own Idempotency-Key, then list them with GET /scheduled.

Use an image you generated

Text
Use the image at ./images/cover.png. If it is larger than 8 MB, or likely to be over 2 MB
as WebP, resize it to 1600 pixels on the long side first. Upload it to Ur Next Door as
base64 JSON with context post, building the request body in a file. Then create a post
titled "TITLE" with that image as featured_image and this body: BODY.
Show me the preview first.

Post in a community

Text
List the Ur Next Door communities I can post in. Then post this in the one that best fits
the topic, and tell me which community you chose and why before publishing: TEXT

Turn a discussion into a poll

Text
From this discussion, write one Ur Next Door poll question with 3 or 4 short, distinct
options. Show it to me, then create it after I approve: DISCUSSION

Run a daily quiz series

Text
Write 7 multiple choice questions about TOPIC for beginners, 4 options each, exactly one
correct. Check that correct_option_index is 0-based. Show them to me as a table with the
correct answer marked. After I approve, schedule one MCQ per day at 18:00 Asia/Kolkata,
starting tomorrow. Before you start, check GET /usage to make sure I have 7 MCQs left today.

Create a community and its first post

Text
Create an Ur Next Door community named NAME with visibility ask_to_join and a 2 sentence
HTML description about PURPOSE. Pick a fitting icon from GET /community-icons.
Once it exists, publish a welcome post in it that explains what the community is for.
Show me both before creating anything.

List a Marketplace service

Text
List this as an Ur Next Door Marketplace service. Find the best matching category with
GET /service-categories (use a child category id). It is delivered online. Create 3 packages
priced in rupees: Basic RS_PRICE, Standard RS_PRICE, Premium RS_PRICE, with delivery days and
features from the description. Add 3 FAQs. Show me the full JSON before publishing.

DESCRIPTION: PASTE IT HERE

Post a job from a job description

Text
Post this job on Ur Next Door. Use GET /job-options for the allowed employment_type,
work_mode, experience_level and salary_period values, and GET /geo for the city if it is
not remote. Salary is in INR per year. Application deadline: YYYY-MM-DD.
Show me the request body before publishing.

JOB DESCRIPTION: PASTE IT HERE

Review and tidy your schedule

Text
List my scheduled Ur Next Door items with GET /scheduled, as a table with type, title and
the time in Asia/Kolkata. Suggest any changes, and only reschedule, publish or cancel the
ones I confirm one by one.

Check what is left today

Text
Check my Ur Next Door quota with GET /usage and tell me how many posts, polls and media
uploads I have left today, and when the counters reset in my time zone.

Next steps

Last updated