batch-process
Skill1 starsChanged 6 months agoMITView on GitHub
Produce multiple content pieces as a sequential, checkpointed queue — each piece runs the full 10-phase ContentForge pipeline with all 10 quality gates, sorted by priority and resumable after interruption. Intake from local JSON, Google Sheets, Airtable, or CSV; outputs per-piece .docx files plus a batch summary report. Triggers on \"/contentforge:batch-process\", \"produce these 15 blog posts\", \"run the whole content queue\", \"batch content production\", \"process my content spreadsheet\". Requires an existing brand profile per brand (create via /contentforge:brand-setup) and a pre-set title per piece — batch runs are non-interactive. Dispatches the batch-orchestrator agent; produces files, does not publish them.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ZJU-REAL/Easeltheir own version, first seen Sep 20, 2026
- indranilbanerjee/contentforgeword for word, first seen May 24, 2026
Other versions2 projects use a version of this.
Word for word · 1
- indranilbanerjee/contentforge★ 30100% same
Edited · 0
None found.
Wrote their own version · 1
- ZJU-REAL/Easel★ 3.1ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cf-add-integrationSkill
- cf-aeo-checkSkill
- cf-analyticsSkill
- cf-auditSkill
- cf-briefSkill
- cf-calendarSkill
- cf-connectSkill
- cf-cowork-setupSkill
- cf-environmentSkill
- cf-helpSkill
- cf-integrationsSkill
- cf-publishSkill
- cf-social-adaptSkill
- cf-style-guideSkill
- cf-switch-backendSkill
- cf-templateSkill
- cf-translateSkill
- cf-variantsSkill
- cf-video-scriptSkill
- contentforgeSkill
- content-refreshSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 74
Dispatch the agent — do not drive the queue inline: Call Task with subagent_type: contentforge:batch-orchestrator, passing the validated …
- Distinctive: line 76
Run one ContentForge pipeline per piece, front-to-back
- Distinctive: line 78
When one piece finishes (or is escalated), the next starts automatically
- Distinctive: line 112
If a piece's pipeline fails, it's retried once (resuming from its checkpoints).
- Distinctive: line 137
All brands referenced in requirements must have existing profiles
- Very specific: line 138
Use /contentforge:brand-setup to create missing brands before batch processing
- Very specific: line 170
Check the backend has rows with status=pending
- Distinctive: line 171
Ensure the Sheet URL / base ID is correct and accessible
- Very specific: line 174
Run /contentforge:brand-setup for missing brands
- Distinctive: line 175
Update the requirements source with correct brand names
- Distinctive: line 179
If the session died, re-run the batch — the piece resumes from its checkpoint
- Very specific: line 208
All approved pieces in ~/Documents/ContentForge/{Brand}/
- Very specific: line 214
After Batch: use outputs directly or run /contentforge:content-refresh for updates
- Distinctive: line 219
All pieces must use existing brand profiles (no on-the-fly creation)
- Distinctive: line 220
Every requirement needs a title (batch runs are non-interactive)
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Batch Content Processing
Process multiple content requirements through the ContentForge pipeline as a sequential, checkpointed queue with priority-based scheduling and event-driven progress tracking. Each piece runs the full 10-phase pipeline (plus Step 0.5) with all 10 quality gates — batch mode changes the intake, not the standards.
When to Use
Use /contentforge:batch-process when:
- You have 2+ content pieces to produce
- You want hands-off production of a whole queue (each piece needs a pre-set title — batch runs are non-interactive)
- You need priority scheduling (urgent pieces first)
- You want per-piece progress visibility and resumability
- You're running agency-scale production (10-50+ pieces)
What This Command Does
- Intake Multiple Requirements — Read from the brand's tracking backend: local JSON (default), Google Sheets, Airtable, or a CSV file
- Build Execution Queue — Validate rows and sort by priority
- Sequential Orchestration — Run one full ContentForge pipeline per piece, in queue order; every phase of every piece is checkpointed, so an interrupted batch resumes where it stopped
- Progress Tracking — Status table redrawn after each piece/phase event (piece started, gate passed, piece finished)
- Error Handling — Automatic retry for transient failures (resuming from checkpoints), human escalation for persistent issues
- Completion Report — Summary of all pieces: APPROVED, review_required, failed, with quality scores and output locations
Required Inputs
Tracking backend (per brand, via tracking.backend in the brand profile — local is the default):
- Local JSON — requirements managed by
scripts/local-tracker.py - Google Sheets — sheet with columns:
Requirement ID,Content Type,Title,Target Audience,Brand,Word Count Target,Priority(1-5),Status - Airtable — base with the same fields
CSV (alternative intake):
requirement_id,content_type,title,target_audience,brand,word_count,priority,status
REQ-001,article,AI in Healthcare,Healthcare CIOs,acmemed,2000,1,pending
REQ-002,blog,10 Tips for Remote Teams,HR Managers,techcorp,1500,3,pendingNote: the title column doubles as the --title bypass — batch pieces skip interactive title curation and use it verbatim.
How to Use
Basic Usage
/contentforge:batch-processPrompt: "Where are your content requirements? (local queue / Google Sheet URL / Airtable / CSV)"
With Direct Sheet URL
/contentforge:batch-process https://docs.google.com/spreadsheets/d/ABC123/editWith CSV Upload
/contentforge:batch-process batch-requirements.csvWhat Happens
Step 1: Queue Building
- Load all requirements from source
- Validate each row (required fields, brand exists, content type supported, word count within the type's canonical range)
- Sort by priority (1=highest, 5=lowest)
- Display queue summary: total pieces, priority mix, execution order
Step 2: Sequential Execution
Dispatch the agent — do not drive the queue inline. Call Task with subagent_type: contentforge:batch-orchestrator, passing the validated queue path, the backend, and the resume state. agents/09-batch-orchestrator.md owns queue traversal, per-piece checkpointing, retry policy and escalation; this skill owns source loading, row validation and the progress table.
- Run one ContentForge pipeline per piece, front-to-back
- Each pipeline runs the full protocol from
skills/contentforge/SKILL.md— Step 0 init, title bypass, phases 1–8 with orchestrator-verified gates, per-phase checkpoints - When one piece finishes (or is escalated), the next starts automatically
Step 3: Progress Table (event-driven)
Redrawn after each piece/phase event — not on a timer:
CONTENTFORGE BATCH — 2/5 complete | 1 review_required | 0 failed
─────────────────────────────────────────────────────────────
▶ REQ-003 | SEO Whitepaper | Phase 4 (Validation)
✓ REQ-001 | AI in Healthcare | APPROVED 8.4
✓ REQ-004 | FAQ Product Launch | APPROVED 7.6
⚠ REQ-002 | Remote Teams Blog | review_required (6.1)
· REQ-005 | Case Study Acme | queuedStep 4: Completion Report
- Total pieces processed
- APPROVED count (reviewer composite ≥7.0, industry-adjusted, all dimension minimums met)
- review_required count (5.0-6.9 after loop limits, or <5.0)
- Failed count
- Output locations:
~/Documents/ContentForge/{Brand}/(+ Drive folder if configured)
Priority Scheduling
Priority Levels:
- 1 (Urgent): Processed first, deadline-driven (e.g., press release for tomorrow)
- 2 (High): Campaign-critical content
- 3 (Normal): Standard blog posts, articles
- 4 (Low): Evergreen content, no deadline
- 5 (Backlog): Nice-to-have, filler content
Execution Model
- Sequential, one piece at a time — no concurrent pipelines. Shared per-brand state, API rate limits, and context limits make in-session parallelism unsafe; resilience comes from per-phase checkpointing instead.
- Each piece is fully independent (own checkpoint run directory, own quality gates)
- If a piece's pipeline fails, it's retried once (resuming from its checkpoints); if it fails again, it's marked for human review and the queue continues
Error Handling
Transient Failures (Auto-Retry)
- API rate limits → the inner pipeline backs off and retries
- Network timeouts → retry
- Source URL temporarily unavailable → Gate 2 re-sourcing loop handles it
Persistent Failures (Human Escalation)
- Brand profile not found
- Requirement validation fails (missing required fields)
- Reviewer score below the approval threshold after loop limits (2 per edge, 5 total)
- Two consecutive pipeline failures on the same piece
Success criteria are canonical: a piece is "completed" ONLY if the reviewer decision is APPROVED (composite ≥7.0 per config/scoring-thresholds.json). Scores of 5.0-6.9 are review_required — never silently marked complete.
Requirements
Backends
- Local JSON (default) — no integrations required
- Google Sheets + Drive — optional, for sheet intake and Drive delivery
- Airtable — optional, for base intake and attachments
Brand Profiles
- All brands referenced in requirements must have existing profiles
- Use
/contentforge:brand-setupto create missing brands before batch processing
Output Structure
Local (always):
~/Documents/ContentForge/
└── {Brand}/
├── REQ-001_AI-in-Healthcare_v1.0.docx
├── REQ-002_Remote-Teams-Blog_v1.0.docx
└── batch-summary-report.txtGoogle Drive (if configured):
ContentForge Output/
└── {batch_id}/
├── Completed/ ...
├── Review/ ...
└── failed-requirements.csv (if any)Resuming an Interrupted Batch
Batch state lives in the tracking backend plus each piece's checkpoint run directory — both on disk. If the session dies:
- Re-run
/contentforge:batch-process— rows alreadycompleted/review_required/failedare skipped - The in-flight piece resumes from its last gate-passed phase via its checkpoints (see
commands/resume.md) - Remaining
pendingrows queue normally
Troubleshooting
"Queue is empty"
- Check the backend has rows with
status=pending - Ensure the Sheet URL / base ID is correct and accessible
"Brand profile not found"
- Run
/contentforge:brand-setupfor missing brands - Update the requirements source with correct brand names
"A piece is stuck in Phase X"
- Likely an API rate limit; the inner pipeline auto-throttles and continues
- If the session died, re-run the batch — the piece resumes from its checkpoint
Example Workflow
(SYNTHETIC EXAMPLE — fabricated for illustration; never reuse these numbers.)
Scenario: Agency needs 15 blog posts for 3 clients by end of week
- Prepare Requirements
- 15 rows (local queue or Google Sheet)
- Columns: ID, type=blog, title, audience, brand, word_count=1200, priority=2
- Run Batch Processing
/contentforge:batch-process https://docs.google.com/spreadsheets/d/ABC123/edit - Monitor Progress
- Status table updates as each piece moves through its phases
- Review Outputs
- 14/15 APPROVED (scores 7.4-9.1)
- 1/15 review_required (6.2, citation issues) — feedback stored in its
phase-7-review.json
- Quality Check
- Spot-check 3 random pieces
- Fix the one flagged for review
- Deliver to Clients
- All approved pieces in
~/Documents/ContentForge/{Brand}/
- All approved pieces in
Integration with Other Skills
- Before Batch:
/contentforge:brand-setupfor new brands - During Batch: status table auto-updates on events
- After Batch: use outputs directly or run
/contentforge:content-refreshfor updates
Limitations
- Sequential execution — one pipeline at a time (throughput comes from checkpointed resume, not concurrency)
- All pieces must use existing brand profiles (no on-the-fly creation)
- Every requirement needs a title (batch runs are non-interactive)
- Backends: local JSON (default), Google Sheets, or Airtable
Agent Used
- Batch Orchestrator Agent — see
agents/09-batch-orchestrator.md
Related Skills
/contentforge:brand-setup— Create brand profiles/contentforge:content-refresh— Update existing content/contentforge:cf-variants— A/B test variations
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

