social-flow
CLAUDE.md1 starsChanged 3 months agoApache-2.0View on GitHub
Channel-based short-form/long-form content pipeline Claude Code plugin. README.md is the source of truth for structure, skills, and the MCP tool list. Video and visual-plan findings at assembly are warnings subject to HITL, not an unconditional veto. Present the actual findings and follow skills/produce/references/assembly-video-hitl.md. Once the user approves those warnings for the current inputs, assemble immediately without fabricating PASS reviews or asking again. This exception supersedes pre-assembly quality gates elsewhere in this repository. Keep the approval and warnings in the build…
- Reads credentials
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- autoproduceSkill
- brandingSkill
- channelSkill
- datagoSkill
- grow-instagramSkill
- grow-threadsSkill
- grow-youtubeSkill
- ingestSkill
- introSkill
- platform-guideSkill
- produceSkill
- publishSkill
- review-recentSkill
- setup-instagramSkill
- setup-threadsSkill
- setup-youtubeSkill
- storyboardSkill
- topic-scoutSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
20 rules. About 0 are common, 10 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 29
Don't close sentences with Korean endings of the
- Distinctive: line 78
Before storyboard authoring, ask for one of the visual-style presets — cinematic-miniature, photoreal live action, webtoon, claymation, …
- Very specific: line 83
Follow skills/storyboard/references/visual-style.md.
- Distinctive: line 107
Nothing is drawn over video: No arrow, route, X, ring, hatch, bracket, dot, label or callout goes over a generated clip, a motion …
- Distinctive: line 136
When a narrated person helps explain the action, include a cute, authored 3D doll character in the same material, lighting and perspective …
- Distinctive: line 140
Prefer an acted task with anticipation, contact and release: move a piece, stamp a document, or pull a cart.
- Very specific: line 142
Use real mesh objects with 3D illustration or photoreal materials for new physical subjects.
- Very specific: line 143
Follow skills/storyboard/references/mesh-objects.md.
- Distinctive: line 146
Keep explanatory marks sparse.
- Very specific: line 149
Use h.mark.arrow for smooth curves with a small head following the path.
- Very specific: line 157
Use skills/storyboard/references/render-routing.md before choosing any assets.
- Very specific: line 158
Every generated cut declares shot.render.mode, purpose and reason: still_camera, character_html, object_html, data_graph, generated_video, …
- Distinctive: line 166
No cut is paid video merely because it opens the episode.
- Very specific: line 177
Read skills/storyboard/references/visual-direction.md before planning cuts.
- Distinctive: line 182
No unsupported route, substituted number card or separate PRELUDE may reach assembly.
- Distinctive: line 187
When the CLI running a skill ships its own media generation, that tool comes before the plugin's API lanes.
- Very specific: line 200
Every generated_video cut renders its camera and blocking in 3D before any video call — a Blender previz through the blender_* bridge, or a …
- Distinctive: line 236
Keep remote work branches after merge (history, rollback).
- Very specific: line 240
Never commit .env*, *.pem, *.key, or any credentials/secrets (already in .gitignore).
- Very specific: line 255
Before committing or merging, check git status and recently modified files (find .
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
social-flow — Project instructions
Channel-based short-form/long-form content pipeline Claude Code plugin. README.md is the source of truth for structure, skills, and the MCP tool list.
Assembly video checks (user directive, 2026-09-14)
Video and visual-plan findings at assembly are warnings subject to HITL, not an
unconditional veto. Present the actual findings and follow
skills/produce/references/assembly-video-hitl.md. Once the user approves those
warnings for the current inputs, assemble immediately without fabricating PASS
reviews or asking again. This exception supersedes pre-assembly quality gates
elsewhere in this repository. Keep the approval and warnings in the build record.
It authorizes neither additional spending nor publishing.
Speech checks (user directive, 2026-09-15)
Narration findings — a scene take that failed tts_generate_checked, a final listening
verdict below threshold — are warnings subject to HITL, not an unconditional veto. Present
the actual findings (scores, defects with times, what was heard) and follow
skills/produce/references/tts-hitl.md. Once the user approves those warnings for the
current takes, assemble and deliver without fabricating PASS reviews or asking again. Keep
the approval and warnings in the build record. It authorizes neither additional spending
nor publishing; a missing WAV, a review that never ran and a speed record that does not match
its request still stop.
Style ban — report-style stative verbs (user directive, 2026-08-12)
Don't close sentences with Korean endings of the 남긴다 · 갈린다 · 나뉜다 · 남는다 · 남습니다 · 나뉩니다 · 갈립니다 · 남깁니다 family. Wrapping a phenomenon up in a single verb is narration-style prose — an AI tell. Name the subject and write concretely instead — "근거를 남긴다" → "근거를 적어 둔다", "추천이 갈린다" → "미용실마다 다른 색을 권한다", "둘로 나뉜다" → "두 갈래다".
The scope isn't just content copy — skill docs, code comments, tool descriptions,
published HTML, commit messages, user responses, all of it. check-style.py D8(S1)
machine-blocks content copy, but no checker runs on docs and comments, so the
writer has to hold the line. Run this scan when writing or editing a doc:
python3 - <<'PY'
import re, os, glob
pat = re.compile(r'남긴다|갈린다|갈렸다|엇갈린다|나뉜다|(?<!살아)남는다'
r'|갈립니다|나뉩니다|(?<!살아)남습니다|남깁니다')
roots = ['skills','agents','server/src','docs'] + glob.glob('data/*/growth/*/growth-plan.md')
files = ['README.md','CLAUDE.md']
for r in roots:
if os.path.isfile(r): files.append(r); continue
for dp,_,fn in os.walk(r):
files += [os.path.join(dp,f) for f in fn
if f.endswith(('.md','.html','.ts','.js','.sh','.py'))]
for p in files:
if 'korean-style.md' in p or 'check-style.py' in p: continue # rule source of truth · fixtures
s = open(p,encoding='utf-8',errors='replace').read()
for m in pat.finditer(s):
print(f"{p}: …{s[max(0,m.start()-40):m.end()+15]}…".replace('\n',' '))
PYgrowth-plan.md (the standing authorization) is in the scan — it's our prose, reread
every tick. growth-log.md and state.json are not (past records, and they hold
reviewer quotes). CLAUDE.md quotes the banned forms in this section, so it's normal
for the scan to flag that passage.
The rule's source of truth is skills/platform-guide/references/korean-style.md §D8.
Exceptions: 살아남는다 (a different verb), conditionals (나뉜다면), spoken past
tense, and imperatives (남겼어·남겨 둬).
Episode production choice (user directive, 2026-09-06)
New episodes follow the six-ratio contract in skills/storyboard/references/production-mode.md
and persist renderRatioVersion:1. Before assets, HITL offers those six choices with first-pass and retry-inclusive video
costs, model, resolution, audio setting, explicit budget cap and exclusions. Persist the choice
in window.PRODUCTION. Legacy approvals without that version count new cuts, rounded up; exclude reused clips, supplied
recordings/stock clips and the shared outro. Hook-only generates the opening hook alone.
Explicit episode choices override the old 1–2 clip cap and optional-hook default. Keep
hybrid only for existing approvals. Bind approval to the final cost quote. Resume an unchanged approval.
Before storyboard authoring, ask for one of the visual-style presets — cinematic-miniature,
photoreal live action, webtoon, claymation, paper-cutout, ink-wash, toon-3d (added 2026-09-08
from the Shorts style survey) or arcade-2d (added 2026-09-09, a hand-painted 1990s arcade game
frame with no HUD) — and apply that choice to every new source/end image and video prompt in
either mode.
Follow skills/storyboard/references/visual-style.md; production mode never chooses the art style.
For cinematic-miniature only, full_video follows the spatial-explainer reference LQZjvQ5W2ck: consistent miniature/cutaway/
realistic materials, stable geography, deliberate camera moves and visible physical changes.
Its branch overrides the older HTML-only explanation, person-required video and generated-shot
cap clauses below. It does not relax facts, voice, budget, publishing approval or the ban on
marks over video. Read the production-mode and full-video contracts linked from the skills.
Quality is reviewed against source images and actual clip playback, with asset-bound evidence;
a metadata pass alone is not proof of visual quality. Never hide a failed clip with a still,
HTML fallback, looping or freeze padding. The builder validates the approved video manifest.
Existing video reuse (user directive, 2026-09-12)
Existing clips at 720×1280 portrait or 1280×720 landscape are eligible for reuse.
The final 1080p canvas is an output size, not a minimum for imported source files.
Measure hashes and duration locally and inspect playback to fill missing import records;
never invent provenance or reviews. Follow the visual.reuse contract in scenes-schema.md.
A missing legacy record or a 720p source does not authorize paid regeneration. Prefer
existing clips and local edits; a reuse-only episode has $0 new video generation cost.
New generations follow the explicitly selected model resolution, including 720p.
Nothing is drawn over video — explanation is an HTML slide (user directive, 2026-09-05)
This outranks every other rule in the plugin, the skills and the reference docs.
- Nothing is drawn over video. No arrow, route, X, ring, hatch, bracket, dot, label or
callout goes over a generated clip, a motion background, a b-roll, a quote clip or a
recording. The burned subtitle is the only type on a moving picture. The footage treatment
(
treatment:"footage", 0.47–0.53: one clip per sentence under drawn marks) is retired —check-scenes.jsandcheck-slide.jsreject it. - A cut that needs an arrow, a figure or a principle is an HTML slide, not video.
shot.infoTypetimeline · statistic · principle, and any beat that would need something pointed at on the picture, arekind:"diagram", motion:true, treatment:"editorial"on the studio stage, with a rendered object when a thing is the subject. The quality bar isdocs/research/2026-09-04-rendered-object-slide/reference-slide.html— lit slabs, a cyclorama, a baked object whose movement is the sentence, one accent, values that count while the sentence runs. Those slides sit outsidehtml_plate_max, and the static-ground clock runs per reveal group on them. - Video carries essential continuous action with no drawn explanation marks. Mood, place and people use still-camera motion when that conveys the cut.
Physical subjects use 3D objects (user directive, 2026-09-06)
- Choose the shot's purpose first. People, mood and place use a high-quality still with a deliberate camera move. A person or physical noun alone does not require a 3D explanation. Match camera direction to the actual cut: introduce a face with focus-in, inspect an object then a face with rack focus, approach a detail, or pull back to reveal context. Foreground reveals and parallax require prepared layers and a clean background. Do not cycle effects by shot number. Record the subject, focus regions and reason in the shot plan.
- Principles, quantities, mechanisms and explanatory situations use HTML motion scenes. Depict physical things as recognizable, articulated 3D objects: a cart has wheels, an axle, a bed and a load. Labelled boxes are not substitutes. Abstract quantities may use bars.
- Give explanatory scenes a relevant environment, such as a workshop, office or supply depot. Plan foreground, floor and background together; black or a solid colour is not the default.
- When a narrated person helps explain the action, include a cute, authored 3D doll character in the same material, lighting and perspective as the objects and environment. Animate its relevant gesture and contact with objects. Characters are optional when objects explain it. A realistic character painting with separately overlaid 3D props is not this treatment. Prefer an acted task with anticipation, contact and release: move a piece, stamp a document, or pull a cart. Head bobbing and waving alone do not explain object manipulation.
- Use real mesh objects with 3D illustration or photoreal materials for new physical subjects.
Follow
skills/storyboard/references/mesh-objects.md; the offline runtime consumes GLB and articulated mesh assemblies. Flat disks, labelled boxes and moving cutouts cannot substitute for a physical mechanism. Abstract quantities can still use bars, type and relationship lines. - Keep explanatory marks sparse. Character action scenes default to no drawn marks. Preserve useful part labels on mechanism scenes, one at a time with a short timed appearance, a small anchor and a legible line. A mark needs a reason beyond decoration; remove duplicate labels.
- Use
h.mark.arrowfor smooth curves with a small head following the path. Pen strokes are an explicit stylistic choice. Keep the object, arrow and type readable together. - Render subject motion at the final capture frame rate. Inspect full playback and random seeks, including group boundaries. A schema pass alone does not establish visual quality.
Choose each cut by purpose (user directive, 2026-09-06)
This replaces the older mandatory-video hook and fixed editorial-cut quotas.
Use skills/storyboard/references/render-routing.md before choosing any assets.
Every generated cut declares shot.render.mode, purpose and reason:
still_camera, character_html, object_html, data_graph, generated_video, editorial_html,
or stock_video (a free stock or archive clip with its visual.license record, 2026-09-07).
People mentioned in narration do not automatically need 3D characters; incidental numbers
in a mechanism do not automatically need a graph. Choose the information the viewer needs.
The hook follows the same process. hook_video defaults off; an explicitly enabled channel
policy remains a constraint. Generated-video caps and budgets are ceilings, not quotas.
No cut is paid video merely because it opens the episode. Every generated-video choice needs
essential continuous motion and an explanation of why a still or controlled HTML action is
insufficient. Existing recordings and the shared outro retain their source.
check-scenes.js --draft blocks missing or contradictory choices before assets; full checks
also match the choice to the production handoff. The approval page displays the mode and reason.
Camera HTML is still-camera motion and never counts as true subject motion. Keep the existing
static-ground limit, episode budget, generation cap and no-marks-over-video rule.
Visual direction and charts (user directive, 2026-09-06)
Read skills/storyboard/references/visual-direction.md before planning cuts. Do not copy
one generic render reason across the episode. Text-led quotations and verdicts use the
limited editorial_html route; they cannot become the whole episode by declaring motion.
Choose photographs, acted 3D processes, object mechanisms and charts from the story's needs.
Data graphs follow skills/storyboard/references/chart-design.md and the shared SVG renderer.
No unsupported route, substituted number card or separate PRELUDE may reach assembly.
The builder reruns source-plan checks and records its version and input hashes before encoding.
Host media tools first (user directive, 2026-09-07)
When the CLI running a skill ships its own media generation, that tool comes before the
plugin's API lanes. Codex and Grok expose image_gen (Grok also image_edit), so every
generated still, slide art, candidate logo, intro keyframe and growth-post image goes there
first; Grok exposes image_to_video and reference_to_video, so every generated clip goes
there first. Claude Code has neither, so the API table applies unchanged there. The storyboard
records the detection in window.PRODUCTION.imageProvider and videoProvider (host | api);
an explicit api written for the episode wins, and the fallback from a failed host call is
asked for, never silent. Host output is logged as image.host / video.host at $0 with the
allowance noted. The contract is skills/produce/references/still-generation.md §1 and
skills/produce/references/video-model-selection.md §The host video tool comes first.
AI video cuts are pre-rendered in 3D first (user directive, 2026-09-11)
Every generated_video cut renders its camera and blocking in 3D before any video call — a
Blender previz through the blender_* bridge, or a three.js previz through
skills/storyboard/references/previz-template.html — at the cut's billed length, 24 fps, grey
proxies with one flat colour per actor and nothing else in frame. The render is stored as
visual.video.previz (renderer, clip, firstFrame, sha256, fps, seconds,
camera.movement) and check-scenes.js refuses a generated cut without it. The previz gives
the video model its camera, timing and blocking: on the API lane it rides Seedance 2.x as the
reference video (Video 1) with the source still as Image 1; on a host video tool that takes
no clip it shapes the still and the prompt instead (handoff:"frame_and_prompt"). The source
still is edited from the previz's first frame, so the composition the clip starts on is the
composition the still has. The previz's move and the shot's visual.camera.movement must agree;
a prompt that fights the clip drifts. Imported clips (visual.reuse), stock footage, recordings
and the outro carry none, and neither do b-roll and speech clips on the Veo sound lane (no clip
input there; the reference route is the motion-background route). Two of the choices are the user's, asked with AskUserQuestion and
recorded before anything renders or bills: which renderer (Blender or three.js) before the
first previz render — PRODUCTION.previz — and which video model (the Seedance 2.x grades,
with video-model-options.js's cost table) before any video call — PRODUCTION.videoModel;
production-mode.js refuses a board with generated cuts that lacks either record. Contract:
skills/storyboard/references/blender-previz.md §6 and production-mode.md §When to ask.
Per-cut video models (user directive, 2026-09-13)
This replaces the episode-wide model lock and the 2.x-only previz rule above.
Each cut chooses its model and resolution. PRODUCTION.videoModel is an episode default
or model: 'mixed', with the recorded choice covering the plan. Seedance 1.5 Pro is allowed.
A 1.x previz uses frame_and_prompt; 2.x may send reference_video. Keep real API input
constraints, cost quotes and approved budgets. modelReason is optional.
Branch strategy
feat/<name> | fix/<name> (integration) → dev → staging → main- Sprint work happens in a
feat/sprint-<N>-<name>worktree and PRs into the integration branch. - Promotion goes
dev → staging → main, in that order. Never straight tomain. - Keep remote work branches after merge (history, rollback). Clean up local sprint branches only.
Commits and secrets
- Never commit
.env*,*.pem,*.key, or any credentials/secrets (already in.gitignore). - Nothing under
data/gets committed — the one exception isdata/README.md, which documents the structure. Channel profiles, storyboards, images, videos, and branding assets are local artifacts; this repo holds only plugin code and skills. - Conversely,
server/dist/is a build artifact but must be committed —.mcp.jsonruns${CLAUDE_PLUGIN_ROOT}/server/dist/bundle.jsdirectly with no build or install step. The bundle is self-contained (dependencies inlined via esbuild) because marketplace installs never runnpm install— an unbundled entry dies withERR_MODULE_NOT_FOUNDthere. After editingserver/src/, runnpm run buildand commit dist (per-module output for tests +bundle.js) along with it. - API keys are injected via shell environment variables, not
.mcp.json.
Multi-session caution
Multiple Claude Code sessions work in this repo at the same time.
Before committing or merging, check git status and recently modified files
(find . -mmin -30) so you don't sweep up files another session is editing.
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.

