channel
Skill1 starsChanged 4 months agoApache-2.0View on GitHub
Creates and edits the per-channel profile.md that every other skill reads first. Use when the user asks to "채널 만들어", "채널 추가", "채널 목록", "프로파일 수정", "add a channel", "set up a content channel", or wants to create or update the channel directory under data/. Writes data/[slug]/profile.md — target audience, tone, TTS voice, visual theme, target platforms, fact-check policy — the source of truth every storyboard, produce and publish run opens before anything else.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- autoproduceSkill
- brandingSkill
- 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
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 2 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 57
If it already exists, stop and point to update.
- Very specific: line 107
When branding·intro·outro install finalized assets, they add rows via references/resolve-asset.py --ensure.
- Very specific: line 110
Create the episode slot data/<slug>/episodes/.
- Very specific: line 125
If accounts must be opened from scratch, point to the per-platform setup skills — they run account opening, branding, and API token …
- Very specific: line 143
Read data/<slug>/profile.md (if missing, show the list and re-confirm).
- Very specific: line 154
If the channel copy (description·bio) changed, pass the same gate as add step 5 again (check-style + growth-post-reviewer standalone …
- Very specific: line 186
Run it in the background (run_in_background) so the session stays free, then hand the URL to the user.
- Very specific: line 193
Stop it when the user is done (pkill -f references/serve.js) — a listener left behind is one more process the next session has to notice.
- Distinctive: line 198
When the channel has a ttalkkakstory portal key, its characters live on the portal too — the record the storyboard import and the narration …
- Very specific: line 206
Use view:"extra" and an explanatory label only for optional poses or details.
- Very specific: line 207
Verify portal_character_get.imagesComplete (by id) before reporting the reference set ready, then use portal_character_tts_set with the …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Channel management — data/[channel]/profile.md
For update, call portal_channel_sync with action: "pull" before reading the profile.
A 409 conflict stops the edit. A missing key, network error, 401 or 5xx gets one warning line,
then continue with the local files. After add or update changes profile.md, call
portal_channel_sync with action: "push"; use projectId on that first call only when the
portal project name is not exactly the channel slug. The tool pins the mapping after success.
A channel is the top-level unit of the social-flow pipeline — one content channel
(brand) the user runs maps to one directory under data/, and its output gets
published to accounts on multiple SNS platforms (Threads·Instagram·Facebook·YouTube).
Each channel has a data/<slug>/ directory and a profile.md (the channel profile);
every storyboard/production/publish run that follows loads this profile as its
first step and inherits tone, voice, theme, platforms, and verification policy.
data/
└── <channel slug>/
├── profile.md # channel profile (SoT)
├── assets/ # channel-shared assets — catalog.md + branding/ intro/ outro/ …
├── growth/ # growth-loop state
└── episodes/<topic slug>/ # episodes (created by the storyboard skill)data/README.md and references/assets-catalog-template.md are the source of
truth for the assets/ kind slots and catalog conventions. Keep only what gets
reused in two or more episodes; single-episode artifacts go in the topic's .work/.
Argument parsing
[add|list|update|serve] [channel-name]
add <name>— create a new channel (procedure below)list— Glob fordata/*/profile.mdand report channel, description, and publish platforms as a tableupdate <name>— read the existing profile.md and edit only the fields the user specifiesserve— open the channel browser in the browser (procedure below)- With no argument, show the current state via
list, then ask what to do next
add procedure
- Pick the slug — convert the channel name to a kebab-case English slug and
propose it (e.g. "베트남 생활" ("Vietnam life") →
vn-life). It's used in directories and paths, so avoid Korean slugs. If it already exists, stop and point to update. - Collect the core info — confirm the following with AskUserQuestion (at most
4 at a time; don't re-ask anything the user already gave):
- Target audience (who watches, and in what moment)
- Tone (polite explanatory (존댓말) / casual punchy (반말) / documentary
narration, etc.) — the register decided here is the source of truth for every
output that follows. The style gate doesn't change this register; it only
strips AI tells (platform-guide
references/korean-style.md) - Publish platforms (threads / instagram / facebook / youtube)
- Fact-check policy (informational=research required / creative·daily-life=skip)
- Assign the TTS voice — from the
mcp__social-flow__tts_list_voicesresult or the voice examples inreferences/profile-template.md, propose the engine (localSupertonic is the default — zero cost;geminionly when acted emotion is the channel's identity) and one voice that fits the tone, and pin down the stylePrompt. Once fixed, never change voiceName·stylePrompt — Gemini TTS interprets style directions as natural language, so if the wording drifts, the voice changes from episode to episode. Change them only when the user explicitly says so. - Fix the visual theme — propose colors that fit the THEME contract of
video-template.html(accent/accent2/ink/brand). The default is dark cinematic (ink navy + blue→violet gradient); channel personality comes from the accent color and the background mood prompt. Create profile.md — copy
references/profile-template.mdand fill it with the collected values. Leave no section empty — for unknown values, ask the user or use a well-grounded default and mark it(default).Settle the motion contract as part of the visual theme — whether the channel permits still-led episodes, which true-motion kinds count, the longest permitted still run, whether each moving shot needs a visible
action, and the paid generated-video cap. Keep the template'soffdefaults only when the channel made no motion promise. Ken Burns, caption changes and swapping still images never count as true motion.Two more front-matter choices sit next to it.
shortform_outroisonunless the channel deliberately ends its shorts on the CTA's last frame, andlength_min_seconds/length_max_secondsnarrow the short-form band. Leave the length keys out unless the channel has a reason to hold a tighter band — omitted, the format's own band applies.Channel copy (description·bio) is outgoing copy — the setup skills upload this text as the platform bio verbatim. After writing it, run the style gate (check-style
--surface screen), then delegate to the growth-post-reviewer agent as astandalonesurface; only copy that scores ≥95 with p0=0 goes into profile.md (up to 3 rounds; if it falls short, show the findings and refine together with the user).Shared-asset catalog — copy
data/<slug>/assets/catalog.mdfromreferences/assets-catalog-template.md. Don't create empty kind folders. When branding·intro·outro install finalized assets, they add rows viareferences/resolve-asset.py --ensure.Create the episode slot
data/<slug>/episodes/. Topic directories are opened under it by storyboard.Point to the SNS token directory — publishing credentials live in the per-channel directory
~/.config/social-flow/<slug>/(same slug as data/<slug>— the publish tools'channelargument points at this directory. When a channel is specified there is no fallback to default tokens):mkdir -p ~/.config/social-flow/<slug> && chmod 700 ~/.config/social-flow/<slug>For token issuance and file conventions, point to the publish skill's
references/token-setup.md, and after setup have the user confirm the accounts to publish to viasns_account_check(channel=<slug>). If accounts must be opened from scratch, point to the per-platform setup skills — they run account opening, branding, and API token issuance together with the user via ego lite:/social-flow:setup-threads <channel>·/social-flow:setup-instagram <channel>·/social-flow:setup-youtube <channel>. Storyboarding and production work without tokens — they only need to be ready by publish time.- Report — show the full generated profile.md and point to the next steps:
if there's no profile image (logo) yet, first
/social-flow:branding <channel>(4 candidates → HITL direction pick → adversarial convergence); once the logo is fixed, optionally/social-flow:intro <channel>(a channel intro video where the character acts — 4 concepts HITL → veo generation), then pick a market-validated topic with/social-flow:topic-scout <channel>and go to/social-flow:storyboard <channel> <topic>.
update procedure
- Read
data/<slug>/profile.md(if missing, show the list and re-confirm). - Edit only the fields the user specifies — in particular, warn on TTS voice
and THEME color changes: they clash with the tone of already-published
videos, and the channel-shared outro (
assets/outro/) must be rebuilt too. Warn onshortform_outroand the length band for a different reason — they change what gets made from here on. Flippingshortform_outrotooffdrops the spliced tail from every future short (the outro file stays on disk; it just stops being used), and narrowinglength_min_seconds/length_max_secondsmoves what the length check measures against, so a board that drew no flag last week comes back flagged today (check-scenes.jsand the approval strip warn outside the band; only the 180s platform cap fails). Neither touches an episode that is already built. If the channel copy (description·bio) changed, pass the same gate as add step 5 again (check-style + growth-post-reviewerstandalone≥95·p0=0). - Report before/after as a table.
serve procedure
references/serve.js serves data/ over HTTP on this machine — a channel picker at the
top, 스토리보드 · 캐릭터 in the left nav. The storyboard list is a card per episode —
cover (the first scene's image as scenes.js names it), title, frontmatter status, the stage
episode-state.js derives, format, image count and blockers — grouped by playlist tabs:
전체 · one tab per distinct series: frontmatter line (the same line pundago's site reads;
a (n/m) tail becomes the card's episode marker) · 재생목록없음 for episodes without
one. A card opens the episode's own storyboard.html in place (it only references
./scenes.js, images/ and ../../../assets/characters/…, so it renders the same as
from file://). The character list shows every panel image in
assets/characters/<id>/ and the catalog note; the detail page renders identity.md,
swaps the main panel from thumbnails, and plays voice.wav.
Panels come back face → front → back — the order the reference set goes into a
generation call (../produce/references/video-model-selection.md §The character panels), so the card
thumbnail and the detail page's opening panel are both the face. Naming isn't uniform
across channels, so the rank is read off the filename: face/head is the face,
back/rear is the rear, everything else (body, front, real, three-quarter)
is a front view. Within one rank the shorter name wins — a variant earns its length from
a suffix, so head-closeup.png leads head-closeup-pre-led.png and a card shows the
canonical panel rather than an old take.
node "$CLAUDE_PLUGIN_ROOT/skills/channel/references/serve.js" data --open # http://127.0.0.1:8390/
node "$CLAUDE_PLUGIN_ROOT/skills/channel/references/serve.js" data --port 8400- Run it in the background (
run_in_background) so the session stays free, then hand the URL to the user. If the port is taken, pass--port. - It reads the disk on every request — nothing to regenerate after a skill edits a storyboard; reload the page.
- It binds
127.0.0.1on purpose.data/holds research notes, growth state and.work/intermediates, so--host 0.0.0.0(other machines, a cloudflared tunnel) is the user's call, never a default. Path segments starting with.are never served. - Stop it when the user is done (
pkill -f references/serve.js) — a listener left behind is one more process the next session has to notice.
register procedure (portal characters)
When the channel has a ttalkkakstory portal key, its characters live on the portal too —
the record the storyboard import and the narration lane read. Register or refresh them
with the portal_character_* tools after the local assets/characters/<id>/ folder is
final: portal_character_create with identityDir (key from the folder, name·역할·생김새
from identity.md), then generate and upload all three required views with
portal_character_image_upload: body.png → view:"front" (full body without a face),
back.png → view:"back" (back full body without a face), and face.png → view:"face"
(face close-up). Keep one view per file, the same clothing, proportions and visual style.
Use view:"extra" and an explanatory label only for optional poses or details.
Verify portal_character_get.imagesComplete (by id) before reporting the reference set ready,
then use portal_character_tts_set with the channel's voice. Steps, field mapping and the update/delete rules:
references/portal-characters.md. No key → the tools answer one line; skip the step.
Rules
- profile.md is the only SoT — don't keep tone·voice·theme in session memory or other files. The storyboard/produce/publish skills always read this file first.
- Platform signatures stay within platform grammar — define hashtags·CTA within the platform-guide skill's playbook limits (Threads hashtags ≤1, YouTube 3~5, etc.).
- Channel deletion is not provided — the directory holds publish history, so
deleting is irreversible. If the user wants it, point to adding
status: archivedat the top of profile.md.
Additional Resources
Reference Files
references/profile-template.md— standard profile.md template (section structure, THEME contract, voice examples)references/assets-catalog-template.md—assets/catalog.mdstarter (kind+id table)references/resolve-asset.py— resolve shared assets via catalog + well-known paths (--ensureadds a row,--selftest)references/portal-characters.md— registering the channel's characters on the ttalkkakstory portal withportal_character_*(create fromidentityDir, image, TTS block, update, delete)references/serve.js— the channel browser over HTTP:/api/channels,/api/channels/<slug>/storyboards,/api/channels/<slug>/characters[/<id>], and/files/<slug>/…static fromdata/(dot segments refused, Range for audio/video). Zero dependencies,--selftest
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.

