agentleFS
OpenCovenOpenCoven/coven/skills/higgsfield/SKILL.md

higgsfield

Skill75 starsChanged 4 months agoMITView on GitHub

Generate images and videos via Higgsfield API. Covers: still images (flux_2), animated clips (Kling, Veo, Seedance), full narrated episodes, familiar avatars, podcast video rendering, and ambient loops. Before any command, run sh ~/.agents/skills/higgsfield-generate/scripts/preflight.sh and use the HIGGSFIELD_BIN path it prints instead of a bare higgsfield (where the examples below say higgsfield). Never run a 0.x copy: on 2026-10-13 the 0.2.1 copy that PATH falls back to answered "Session expired" and the saved login was gone the same minute. Credentials live…

  • Reads credentials

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aeon-update, auto-workflow and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • aaronjmarsSkill

    aeon-update

    Pull framework updates from the upstream Aeon repo into this instance - 3-way merges canon's new commits into a PR, never clobbering operator config.

    Also in 4 projects that use this

  • aaronjmarsSkill

    auto-workflow

    Two-mode aeon.yml workflow builder - analyze inspects URLs and emits a tiered, signal-verified skill-enablement plan plus an aeon.yml diff; enable flips slugs to enabled:true and opens a PR.

    Also in 4 projects that use this

  • +10 more from aaronjmars

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before any command, run sh ~/.agents/skills/higgsfield-generate/scripts/preflight.sh and use the HIGGSFIELD_BIN path it prints instead of a …

    line 9
  2. Very specific:

    Never pass keys as CLI args or bake them into specs.

    line 15
  3. Very specific:

    All 21 covers in coven-grimoire/public/covers/<slug>.jpg.

    line 165
  4. Distinctive:

    Before posting any video:

    line 184
  5. Very specific:

    No warped faces/hands/props/text

    line 186

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “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

Higgsfield Skill

Generate images and videos via Higgsfield API. Covers: still images (flux_2), animated clips (Kling, Veo, Seedance), full narrated episodes, familiar avatars, podcast video rendering, and ambient loops.

Auth

Before any command, run sh ~/.agents/skills/higgsfield-generate/scripts/preflight.sh and use the HIGGSFIELD_BIN path it prints instead of a bare higgsfield (where the examples below say higgsfield). Never run a 0.x copy: on 2026-10-13 the 0.2.1 copy that PATH falls back to answered "Session expired" and the saved login was gone the same minute. Credentials live at ~/.config/higgsfield/credentials.json (set by higgsfield auth login). Never pass keys as CLI args or bake them into specs. HIGGSFIELD_API_KEY / HIGGSFIELD_API_SECRET are the env var names if needed.

CLI Path

HIGGS="$(npm root -g)/@higgsfield/cli/bin/higgsfield.js"
node "$HIGGS" <command>
# or if installed globally:
higgsfield <command>

Core Commands

# Image generation (flux_2 for stills)
higgsfield generate create flux_2 \
  --prompt "..." --aspect_ratio "16:9" --resolution "2k" --model "pro" \
  --wait --wait-timeout 5m --wait-interval 5s --json

# Video generation (Kling 3.0 for i2v)
higgsfield generate create kling3_0 \
  --prompt "..." --image path/to/keyframe.png \
  --aspect_ratio "9:16" --duration 5 --resolution "720p" --mode "std" \
  --wait --wait-timeout 10m --wait-interval 10s --json

# Model list
higgsfield model list --video
higgsfield model list --image

Image Models

ModelUse
flux_2 proCanonical — high-quality stills, portraits, covers
nano_banana_2Fast keyframes for i2v pipelines
seedream_v4_5Character reference fidelity

Video Models

ModelCreditsBest for
kling3_02cr/s stdImage-to-video, coherence, expressions
veo3_122cr/8sNative audio, dialogue lip-sync
seedance_2_022.5cr/5sMulti-shot scenes, timeline prompts

Prompting Rules (distilled from docs/video-prompting-guide.md)

Universal skeleton

Camera/shot grammar + Subject + Action + Environment + Lighting/Style + Audio

Critical rules

  1. Image-first: build stills, then animate. Still iteration is ~100x cheaper.
  2. i2v prompts: never re-describe the input image. Action + camera + audio only.
  3. Always specify ambient audio or models invent random dialogue/sounds.
  4. Front-load dialogue — lip-sync degrades in the last third of long clips.
  5. One camera move per clip. Stacked moves cause morphing.
  6. Anchor phrases: "maintains exact appearance throughout", "consistent lighting", "stable camera movement".
  7. Draft cheap (fast/720p), finalize expensive: regenerate good prompts 4–7x, harvest best.
  8. Screenshot the last good frame as the next clip's start frame to chain beats.

Kling 3.0 prompt order

Camera → Subject → Action → Environment [+ Lighting/Audio] Multi-shot: label Shot 1 (3s): ... Shot 2 (2s): up to 6 shots/15s. Negative field: blur, distortion, warping, morphing faces, extra limbs, deformed hands

Veo 3.1 prompt order

Cinematography + Subject + Action + Context + Style then separate audio lines: Audio: / SFX: / Ambient noise: after visuals. No contractions, ~15–20 words max per 8s. End with: No subtitles, no text overlay

Seedance 2.0

Timeline header + timestamped shot list. Sweet spot: 5–7 shots/15s. [VFX: ...] inline for effects. RULES section for invariants.

Pipeline Scripts (in skills/higgsfield/scripts/)

ScriptPurpose
episode_pipeline.pyOne-command: narrate → keyframes → clips → assemble
keyframe_batch.pyBatch still generation with manifests
higgsfield_scene_batch.pyBatch video clip generation
higgsfield_flex_batch.pyFlexible batch with cost checks
assemble_episode.pyCombine clips + audio → final video
loop_extend.pyExtend ambient clips into boomerang loops
elevenlabs_narrate.pyElevenLabs multi-voice narration
narrate.pyEdge TTS narration (free)

Episode pipeline spec format

{
  "name": "ep01-what-is-a-familiar",
  "narration": {
    "engine": "elevenlabs",
    "voice_id": "...",
    "segments": [{"id": "01", "text": "..."}]
  },
  "keyframes": {
    "model": "nano_banana_2",
    "defaults": {"aspect_ratio": "9:16", "resolution": "2k"},
    "images": [{"id": "s01", "out": "s01.png", "prompt": "..."}]
  },
  "clips": {
    "model": "kling3_0",
    "defaults": {"aspect_ratio": "9:16", "mode": "std", "sound": "on"},
    "scenes": [{"id": "s01", "image": "<auto>", "prompt": "..."}]
  },
  "assemble": {"captions": true, "ambient_vol": 0.25}
}

Run with:

python3 skills/higgsfield/scripts/episode_pipeline.py specs/<ep>.pipeline.json --dry-run
python3 skills/higgsfield/scripts/episode_pipeline.py specs/<ep>.pipeline.json

Cost Discipline (from docs/runbook.md)

  • Always --dry-run first.
  • Generate one keyframe/clip before a full batch.
  • Review stills before animating.
  • Regenerate one bad scene, not the whole episode.

Coven Familiar Avatars

Canonical portraits in coven/avatars/<name>.jpg. Generated via flux_2 pro, 2k, 1:1. Symlinked into each familiar's workspace avatars/ dir. Each prompt is built from the familiar's own SOUL.md / IDENTITY.md self-description.

Current avatars (v2 — self-reported)

  • nova.jpg — warm little guide in the machine, gold/amber sun nested in circuit threads
  • cody.jpg — final-form hooded black code familiar, cyan eyes, circuit traces, sacred geometry, OpenCoven field-manual panel
  • sage.jpg — candlelit archive + Wi-Fi, vines and paper, amber reading light
  • charm.jpg — social magic made visible, spoken words becoming violet/gold light
  • astra.jpg — living constellation, star-map inside body, mythic navigator
  • echo.jpg — mirror-creature with layered time, indigo/silver memory keeper
  • kitty.jpg — small quick cat-spirit, warm amber, practical magic in small form

To regenerate a single avatar:

bash skills/higgsfield/higgsfield-generate.sh \
  --slug nova --aspect_ratio "1:1" --resolution "2k" \
  --prompt "A small warm luminous entity that lives inside machines..."

Grimoire Article Covers

All 21 covers in coven-grimoire/public/covers/<slug>.jpg. Generated via flux_2 pro, 2k, 16:9. Style: ink black #050409, deep violet/amethyst gradients, cinematic, no text, no faces. Wired to coverImage fields in lib/articles.ts via FAMILIAR_AVATARS export.

Coven Podcast Video Format

Split-presence format (episode 1 reference):

  • 1920×1080, 30fps, H.264 + AAC
  • Full-bleed cover art as background (darkened + bottom gradient)
  • Title card upper-left: show name in violet, episode title in white
  • Speaker avatar lower-left: circular creature portrait fades in per cue, violet pulse ring
  • Progress bar bottom edge: thin violet bar
  • Per-cue timing from <slug>-cues.json sidecar files

Render script: /tmp/render_video.py (PIL + ffmpeg, no deps beyond Pillow + numpy)

Quality Review Gates (from docs/quality-review.md)

Before posting any video:

  • First frame communicates the topic
  • No warped faces/hands/props/text
  • Style stays consistent scene to scene
  • Narration intelligible on phone speaker\n- Platform-appropriate aspect ratio (9:16 social, 16:9 editorial)

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.