ShtukbaseStandard

Blueprint: content factory

blueprint-content-factory · version 0.2.0
Blueprintsblueprintincludes 12

A simple content factory: topics, platforms, ideas and drafts; an author agent on a schedule writes a draft from an approved idea, an editor agent checks it against the platform style, and a person approves and publishes it. Nothing goes outside.

About the package

Installed with one command:

shtuk init <folder> --blueprint <path>/blueprint-content-factory --defaults
shtuk init <folder> --blueprint ... --fact content.topic="Our product" --fact content.platforms=telegram,linkedin --fact factory.harness=codex

What you get is described on the page Content factory.

What is inside

  • basic: an ordinary project: tasks, decisions, questions to the owner, bugs, norms.
  • content: topics, platforms, ideas, drafts, a contour and the norms CNT-R01 to R03.
  • agents, automations, runs, harness, the harness package and schedule: agents on a schedule with a run log.
  • hooks, human-gate: Claude Code gates: nothing goes outside until a person says "yes".
  • Own pages: two agents (author, editor) and two automations.

Start questions

FactQuestionDefault
content.topicfirst topic"Notes on our work"
content.platformsplatformsblog, newsletter
content.languagelanguageen
content.tonetonesimple, friendly
content.schedulewhen the author writes (cron)0 9 * * 1-5; the editor 30 minutes later
factory.harnessagent harnessclaude (Claude Code, haiku)

The tool writes the agent harness and the author schedule into the pages itself, with the marks {{fact:...}}. The setup action (on install) carries over the rest: the topic and platforms as records, the language and tone into the voice, the harness model into the agent pages, the editor schedule (30 minutes later) into its automation. To repeat it by hand: shtuk run blueprint-content-factory setup; it does not overwrite what a person edited, except the fields set by the answers.

Boundary

Nothing goes outside: the agents have no network, and the person publishes and sets published by themselves. The owner turns the schedule on in the system: shtuk run schedule cron or launchd.

Actions 1

NameWhat it doesFileWhen
setupWrite the answers to the start questions into the project: topic, platforms, voice, agent model and the editor scheduleactions/setup.ts
after install

shtuk check runs the checks; shtuk run blueprint-content-factory <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.

Start questions 6

QuestionFactOptionsDefault
What do we write about? The first topic in one phrase.content.topicfree answerNotes on our work
Platforms, comma-separated: blog, newsletter, linkedin, x, telegram or your own name.content.platformsfree answerblog, newsletter
Language of the texts.content.languageenesdefren
Tone of the texts in a few words.content.tonefree answersimple, friendly, no officialese
When the author agent writes a draft: a cron string (minute hour day month weekday). The editor runs 30 minutes later.content.schedulefree answer0 9 * * 1-5
Which harness the agents run on.factory.harnessclaudecodexhermesclaude

What it includes 12

Pages 5

They go into the project at these paths.

Package files 3

They go into .shtukbase/packages/blueprint-content-factory/; actions run from there.