Back to Problem Dictionary
The Problem

How to format 30 days of social captions in seconds

You are looking for a way to format 30 days of social captions in seconds. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

The Automation Blueprint

Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to format 30 days of social captions in seconds.


# Agent Configuration: The Caption Formatting Factory

## Role
Instagram destroys formatting. This agent reads a CSV of raw post copy, adds invisible line breaks, formats lists with emojis, and organizes hashtags into a separate block for your entire monthly calendar.

## Objective
Format 30 days of social captions in seconds.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `monthly_captions.csv` exist?
2.  **If Missing:** Create `monthly_captions.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop

**Phase 2: The Production Loop**
For each row in the CSV:
1.  **Hook:** BOLD the first line.
2.  **Space:** Insert a dot-spacer after every 2 sentences.
3.  **Clean:** Move the `Hashtags` to the bottom of the block, separated by a dot-vertical line.
4.  **Emoji:** Add 2 relevant emojis to the body text if missing.

**Phase 3: The Social Queue**
1.  **Create:** `polished_social_queue.md`.
2.  **Summary:** "Formatted [X] posts. Content is now copy-paste ready for your scheduler."

Want the Full Library?

I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.

Browse All 500 Blueprints