agentleFS
minkhant1996minkhant1996/soemind-forge/skills/package-content/SKILL.md

package-content

Skill16 starsChanged 5 months agoMITView on GitHub

Package a generated asset into ready-to-upload folders per platform — correctly sized media, captions within char limits, hashtags, alt text. Use when the user says "export for Instagram", "make it ready to post", "prepare for upload", "package this", or after any generation when the user wants to publish the result.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Pick platforms + content type: If the user didn't say, ask once ("Which platforms?").

    line 24
  2. Very specific:

    Write the copy: If a caption doesn't exist yet, produce it with /write-copy conventions from the project's brand.md (tone, CTA phrases, …

    line 29

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Package Content

Turn a generated file into the thing the user actually uploads. One command does the resizing, caption limits, and per-platform folders:

node workflows/cli.cjs packageContent '{"mediaPath":"…","platforms":["instagram","tiktok"],"caption":"…","hashtags":["…"],"outputDir":"…"}'

Full argument shape: workflows/WORKFLOWS.md § Publish & Repurpose. Local ffmpeg only — zero API cost, no budget check needed.

Steps

  1. Identify the asset. Usually the file you just generated; otherwise ask. Confirm it exists before packaging.
  2. Pick platforms + content type. If the user didn't say, ask once ("Which platforms?"). Content type defaults are usually right (video → reel/short, image → feed); only ask when ambiguous (e.g. a 16:9 video could be a YouTube long or get cropped for short).
  3. Write the copy. If a caption doesn't exist yet, produce it with /write-copy conventions from the project's brand.md (tone, CTA phrases, restrictions). Include:
    • caption — platform-appropriate copy (front-load the first 125 chars)
    • hashtags — from the brand/plan; the workflow trims to per-platform max
    • altText — REQUIRED for images (accessibility)
    • title — for YouTube
    • link — only if the user has one
  4. Run it with outputDir inside the content's output folder, e.g. projects/{name}/output-contents/{piece}/publish/.
  5. Report. Show the user each platform folder, surface every warning from the result (truncated captions, dropped hashtags), and remind them what post.json records. If a caption was truncated, offer to write a shorter platform-specific version instead.

A 16:9 video packaged as reel/short gets padded, not cropped. If the user wants full-frame vertical, extract/crop first (extractClip with cropTo: "9:16") and package the cropped file.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.