Skill128 estrellas del repoactualizado yesterday
higgsfield-recall
>
Instalar en Claude Code
Copiargit clone --depth 1 https://github.com/OSideMedia/higgsfield-ai-prompt-skill /tmp/higgsfield-recall && cp -r /tmp/higgsfield-recall/skills/higgsfield-recall ~/.claude/skills/higgsfield-recallDespués abre una sesión nueva de Claude Code; el skill carga automáticamente.
Definición
SKILL.md
# Higgsfield Recall — Pre-Generation Memory Check ## Purpose Before writing any Higgsfield prompt, query both memory databases to find relevant past failures. Apply known fixes silently — the user should never have to remember what broke before. The system remembers for them. **This skill runs automatically** as part of any Higgsfield prompt generation. It does not interrupt the workflow unless it finds something relevant. **Bootstrap status:** The databases ship with seed entries covering the most common failure patterns (character drift, VHS style ignored, I2V static output, camera conflicts, lip-sync desync, content filter blocks for real persons and IPs). These grow automatically as the user logs new failures. --- ## When to Run Run a recall check whenever: - Writing or improving a Higgsfield prompt (any type) - The user mentions a topic, character, action, or style that could match past failures - The prompt contains terms that historically triggered content filters - The model being selected has previously produced poor results for this type of shot **Do NOT announce running the recall check.** Just run it, apply what's relevant, and proceed. Only surface findings when they directly change the prompt. --- ## Recall Workflow ### Step 1: Extract search terms from the prompt intent Before querying, pull the key semantic terms from what the user wants: ``` Extract: - Subject/character (person type, appearance) - Action (what they're doing) - Location/environment - Style (visual style, model, camera) - Topic (the general category: "car chase", "product shot", "horror scene") ``` --- ### Step 2: Query both databases ```bash # Check for relevant filter blocks: python3 higgsfield_memory.py query-filter "<key terms from prompt>" 5 # Check for relevant quality failures: python3 higgsfield_memory.py query-quality "<key terms from prompt>" 5 ``` **Query strategy:** - Use 3–6 of the most specific nouns from the prompt - Run separate queries for the subject, action, and style if needed - Prioritize entries with `fix_confirmed: true` — these are proven solutions --- ### Step 3: Evaluate relevance For each result returned, assess: | Question | If yes → | |----------|----------| | Does this entry's topic/category directly overlap with this prompt? | Apply the known fix | | Is a blocked term present in my draft prompt? | Remove/substitute it now | | Did this model fail on this type of shot before? | Consider switching models | | Is there a confirmed improved prompt for this scenario? | Use it as the base | **Relevance threshold:** Only act on entries with a relevance score > 0 from the query. Ignore entries that only match on generic words. --- ### Step 4: Apply findings silently **For filter block matches:** - Remove or substitute the blocked terms before presenting the prompt - If a substitution was confirmed to work, use it directly - Do not tell the user "I removed X because it was blocked before" unless they ask — just present the clean prompt **For quality failure matches:** - Use the confirmed improved prompt structure as the base - Apply the specific fix that worked (e.g. explicit artifact description for VHS) - Adjust the model if a better one was identified for this scenario --- ### Step 5: Surface findings only when material Only mention the recall results if: - A significant change was made to avoid a known filter block - A model switch is recommended based on past failures - The recall found a directly relevant confirmed fix that substantially changes the prompt **How to surface findings (when needed):** ``` "⚠️ Filter note: Previous attempts with [term] were blocked on [date]. Using '[substitution]' instead — this was confirmed to pass." "📋 Quality note: [Model] produced [failure type] for this scenario before. Switching to [better model] based on past results." ``` If nothing relevant found: proceed silently, no mention of the recall check. --- ## Manual Recall (User-Initiated) The user can also request a recall check directly: ``` "What do we know about [topic] failing?" "Has [model] had issues with [scenario] before?" "What got blocked when we tried [type of content]?" "What's our substitution for [blocked term]?" ``` For these queries, surface the full relevant entries with: - The original failure - The substitution or fix that was tried - Whether it was confirmed to work - The date it was logged --- ## Pre-Generation Checklist (run mentally before every prompt) Before finalizing any prompt, check: - [ ] Named real person in prompt? → Check filter-memory for real-person blocks - [ ] Weapon, drug, or violence language? → Check filter-memory for violence/substance blocks - [ ] Brand or IP name? → Check filter-memory for brand-ip blocks - [ ] Using a model that has failed for this scenario type? → Check quality-memory - [ ] Using VFX/style keywords that were previously ignored? → Check quality-memory - [ ] Character consistency required? → Check quality-memory for character-drift entries --- ## Log the Generation Result — One Question, One Command Every generation attempt belongs in the **generation ledger** (`../../db/ledger/` — kept AND rejected; the denominator is what makes takes-per-kept ratios possible). The write path is agent-side and obeys the **5-second rule**: at most one short question, then the agent runs one command. The human never formats JSON, never fills a form. **When the user reports a generation result** (pastes a link, says "that one worked", "trash", "the face drifted again"): 1. If the verdict and reason are already clear from what they said, **ask nothing** — log it directly. 2. Otherwise ask **exactly one question**: *"keep or reject — what failed?"* If they don't answer, drop it. **Never ask twice, never nag.** 3. Write the row yourself: ```bash python3 ../../higgsfield_memory.py log-gen <project> \ --model seedance_2_0 --tags dialogue-cu,two-char \ --outcome rejected --reason extra-cuts --credit
Del mismo repositorio
releaseSlash Command
Guided version bump — validate, tag, and create GitHub release
validateSlash Command
Run pre-release validation checks on all SKILL.md files and JSON databases
higgsfieldSkill
>
seedance-directorSkill
Seedance 2.0 video prompt director. Converts plain-text scene descriptions into production-ready bilingual EN+ZH video prompts optimized for the Seedance 2.0 video generator. Handles action scenes (combat, pursuit, stunts), general scenes (landscapes, journeys, atmosphere), and dialogue scenes (confrontations, negotiations, interrogations). Use this skill whenever the user wants to create a Seedance video prompt, describes a scene for video generation, mentions Seedance, or asks for a cinematic scene breakdown.
higgsfield-appsSkill
>
higgsfield-assistSkill
>
higgsfield-audioSkill
>
higgsfield-cameraSkill
>