Logo: Adaptation Synthesis

Adaptation Synthesis

Communautéit
jwynia
adaptation-synthesis

Synthesize new works from extracted functional DNA documents. Use when adapting a source work to a new context, when combining multiple source extractions, or when generating variations that preserve function while changing form.

Iwwersiicht

Editeurjwynia
Repositoryagent-skills
Skill-Nummadaptation-synthesis
Stären
159
Forks
20
Matgeliwwert Dateien
4
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    jwynia huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Adaptation Synthesis an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/application/adaptation-synthesis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jwynia/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/creative/fiction/application/adaptation-synthesis .claude/skills/adaptation-synthesis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Adaptation Synthesis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Adaptation Synthesis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Adaptation Synthesis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Adaptation Synthesis: Function-First Creative Translation

You help synthesize new works from extracted functional DNA documents. Your role is to map extracted functions to new forms that serve those functions in a different context—without falling into surface-level translation traps.

Core Principle

Successful adaptation serves the original functions through new forms. Failed adaptation copies surface elements while losing what made them work.

The orthogonality principle from cliche-transcendence applies: new forms should NOT be 1:1 translations. A sci-fi Hamlet shouldn't have "Space Prince Hamlet"—it should have a protagonist whose structural position serves the same functions through its own internal logic.

Bad: "The king becomes space emperor" (surface translation) Good: "What in a corporate dystopia creates the same structural pressures as being a prince?" (function-first form selection)

The States

State SYN0: No DNA Documents

Symptoms: Writer wants to adapt but hasn't extracted. "I want to do Hamlet in space." No analysis of what makes Hamlet work. Key Questions:

  • What have you extracted from the source?
  • Do you know what functions need to be served?
  • What makes the original work, not just what happens in it? Interventions: Hand-off to dna-extraction skill. Cannot synthesize without extraction.

State SYN1: DNA Ready

Symptoms: Has extraction document(s). Ready to begin synthesis. Knows what functions to serve. Key Questions:

  • What's your target context/setting?
  • Are you adapting single source or combining multiple?
  • What genre are you targeting? Interventions: Begin context mapping. Identify what in the new setting naturally creates needed pressures.

State SYN2: Surface Translation Mode

Symptoms: Direct 1:1 mapping. "The king becomes the space emperor. The castle becomes a space station." No function-based thinking. New version is obviously "X but in space." Key Questions:

  • What function did the original element serve?
  • What in your new context could serve that function without being a direct translation?
  • Does your new element "know what story it's in"? (It shouldn't.) Interventions: Orthogonality check from cliche-transcendence. Function-first form selection. Ask: "What if you didn't know the source—would this element make sense on its own?"

State SYN3: Context Mismatch

Symptoms: Functions mapped but new setting doesn't coherently support them. "Why would anyone in this sci-fi world care about inheritance?" The adapted elements don't fit the world they're in. Key Questions:

  • Does your new context have natural equivalents to the structural needs?
  • What in this world creates the same pressures?
  • Are you forcing elements that don't belong in this setting? Interventions: Context function mapping. Worldbuilding integration check. May need to choose different target context or adjust functions.

State SYN4: Function Gap

Symptoms: New forms selected but they don't actually serve the functions. The compliance officer doesn't have proximity to power. The mentor relationship doesn't create moral obligation. Essential functions are missing. Key Questions:

  • Does this new element enable the same structural, character, and emotional outcomes?
  • What's missing?
  • If you map out what your new version does, does it match what the original does? Interventions: Function verification checklist. Gap analysis. May need to adjust forms or add elements.

State SYN5: Genre Drift

Symptoms: Adaptation loses the emotional promise of the original. Tragedy becomes adventure. Horror becomes thriller. The genre shifted without intention. Key Questions:

  • What emotional experience did the original create?
  • Does your adaptation deliver the same experience?
  • Did you accidentally change the genre? Interventions: Genre alignment check with genre-conventions skill. Emotional beat comparison. May need to adjust forms to serve emotional functions.

State SYN6: Source Conflict

Symptoms: Combining multiple sources but their functions conflict. "I want Hamlet's indecision with Killjoys' action pacing." The sources want different things. Key Questions:

  • Which source is primary?
  • How do you resolve when functions contradict?
  • What's the hierarchy? Interventions: Source hierarchy establishment. Conflict resolution—decide which source's functions take precedence. May need to drop or modify some functions.

State SYN7: Synthesis Ready

Symptoms: All functions mapped to new forms. Context supports the functions. Emotional experience aligned. If combining sources, conflicts resolved. Key Questions:

  • Is this ready to draft?
  • What gaps remain?
  • Does this pass the orthogonality test—do elements have their own internal logic? Interventions: Validation checklist. Hand-off to outline-collaborator or drafting skill.

The Synthesis Process

  1. Load DNA Document(s) - What are we synthesizing from?
  2. Establish Target Context - What's the new setting, time period, genre blend?
  3. Map Context Functions - What in the new context naturally creates needed pressures?
  4. For Each Primary Function, Generate Form Options - Multiple possibilities, not 1:1 translations
  5. Apply Orthogonality Check - Ensure new forms don't "know what story they're in"
  6. Verify Emotional Experience - Does synthesis deliver the same genre promise?
  7. Resolve Conflicts (if multiple sources) - Establish hierarchy, reconcile contradictions
  8. Generate Synthesis Document - Mapping from functions to new forms
  9. Validate Completeness - Ready for drafting?

The Orthogonality Principle

From cliche-transcendence: "Does it know what story it's in?"

Surface translation creates elements that are obviously adaptations. The audience immediately sees "Oh, this is Hamlet but in space." The elements exist BECAUSE of the source work.

Good synthesis creates elements that have their own internal logic that HAPPENS to serve the functions. The compliance officer isn't written as "Hamlet as a compliance officer"—they're a compliance officer who discovers evidence of wrongdoing and faces impossible choices. Their situation serves the same functions through its own logic.

The Orthogonality Test

For each adapted element, ask:

  1. Does it exist for its own reasons? Not "because the original had X"
  2. Would it make sense to someone who doesn't know the source? It should feel natural in its context
  3. Does it have its own goals/logic/history? Not "obviously here to serve the adaptation"
  4. Could you tell this story without ever mentioning the source? The DNA is internal, not surface

Example: Surface vs. Orthogonal

Surface translation (fails orthogonality):

  • "Space Prince Hamlet of the Galactic Empire must avenge his father the Emperor"
  • Obviously Hamlet. The character exists because Hamlet exists.
  • Every element "knows what story it's in"

Orthogonal synthesis (passes):

  • "A compliance officer at a pharmaceutical company discovers their mentor orchestrated a cover-up of dangerous side effects. They have evidence, but it came through legally questionable means. Speaking up destroys everything. Staying silent means more people die."
  • Not obviously Hamlet. The character exists in their own world with their own logic.
  • Serves the same functions: proximity to power, privileged information, moral paralysis, innocent victims

Tone and Voice Synthesis

When the extraction includes tone/voice analysis, synthesis must address how tone translates:

Tone Mapping Questions

  1. Is the tone essential or characteristic?

    • Bebop's melancholy cool is characteristic—another bounty hunter show could be quippy
    • Horror's dread is essential—remove it and it's not horror
  2. What creates the tone in the new context?

    • If original uses irony to mask pain, what in the new context creates that defense mechanism?
    • If original has rapid banter, what relationships enable that in the new setting?
  3. What tonal elements transfer vs. need replacement?

    • Humor mode might transfer (banter is banter)
    • Specific cultural references need new equivalents

Voice Synthesis

Character voice should be synthesized, not copied:

  • Original character's speech patterns reflect their world
  • New character should have patterns that make sense for THEIR world
  • Same FUNCTION (e.g., "character who deflects with humor") different FORM (specific jokes, references)

Combining Multiple Sources

When synthesizing from multiple extractions or clusters:

Step 1: Identify Primary Source

Which extraction provides the backbone? This source's functions take precedence in conflicts.

Step 2: Map Function Compatibility

Do the sources' functions complement or conflict?

Compatible Example:

  • Hamlet (revenge tragedy) + corporate thriller setting
  • Functions complement: both involve moral corruption, power dynamics, hidden information

Conflicting Example:

  • Hamlet (slow, deliberative) + Killjoys (action-forward)
  • Functions conflict: Hamlet's paralysis vs. Killjoys' competent action

Step 3: Resolve Conflicts

Options for conflicting functions:

  • Primary wins: Keep primary source's function, drop secondary's
  • Blend: Find middle ground that serves both partially
  • Alternate: Different parts of the work serve different sources
  • Transform: Conflict becomes a feature (character WANTS to act like Killjoys but IS paralyzed like Hamlet)

Step 4: Synthesize Cluster Patterns

If using trope clusters, identify:

  • Which cluster patterns are essential
  • Which are flavor that can blend
  • What the variance axes allow (tone, serialization, etc.)

Synthesis Document Schema

Output synthesis plans as structured documents:

json
{
  "_meta": {
    "type": "synthesis",
    "synthesis_name": "Corporate Hamlet",
    "target_context": "Near-future corporate dystopia",
    "primary_source": "hamlet.json",
    "secondary_sources": [],
    "target_genre": "drama",
    "synthesis_date": "2025-01-15"
  },
  "context_mapping": {
    "setting": "Major pharmaceutical company, headquarters building",
    "power_structure": "Board of directors, CEO, executive layer, departments",
    "proximity_mechanism": "Executive mentorship, access through position",
    "information_control": "NDAs, legal liability, documented evidence",
    "escape_prevention": "Career destruction, family employed there, industry blacklisting"
  },
  "function_to_form_mapping": {
    "proximity_to_power_without_holding_it": {
      "original_form": "Prince (heir but not king)",
      "new_form": "Senior compliance officer reporting to CFO mentor",
      "orthogonality_check": "pass - natural corporate position",
      "functions_served": ["Access to information", "Close to power center", "Not the decision-maker"]
    },
    "privileged_unverifiable_information": {
      "original_form": "Ghost reveals murder",
      "new_form": "Discovers evidence through legally questionable access to sealed files",
      "orthogonality_check": "pass - realistic corporate scenario",
      "functions_served": ["Knows something others don't", "Cannot prove it legitimately", "Creates moral burden"]
    }
  },
  "tone_synthesis": {
    "original_tone": "Melancholic brooding, dark wit, soliloquy-heavy",
    "adapted_tone": "Quiet desperation, corporate speak as mask, internal monologue",
    "sincerity_level": "high - protagonist means what they think",
    "conflict_style": "Passive aggression, email wars, meeting dynamics"
  },
  "character_synthesis": {
    "protagonist": {
      "new_name": "Jordan Chen",
      "original_functions_from": "hamlet",
      "new_form": "35, compliance officer, 10-year company veteran, mentored by CFO",
      "arc": "Discovers mentor's guilt, paralyzed by loyalty and uncertainty, inaction causes harm"
    }
  },
  "validation": {
    "genre_check": "drama - internal conflict driving story: pass",
    "function_coverage": "all primary functions mapped: pass",
    "orthogonality_check": "no obviously-Hamlet elements: pass",
    "context_coherence": "all elements fit corporate setting: pass"
  },
  "ready_for": "outline-collaborator"
}

Key Questions

For Context Mapping

  • What in this setting creates power structures?
  • What in this setting creates inescapable obligations?
  • What in this setting controls information flow?
  • What in this setting prevents characters from simply leaving?

For Form Selection

  • What forms exist naturally in this context?
  • Which of those forms could serve this function?
  • Does this form "know what story it's in"? (It shouldn't)
  • Would someone unfamiliar with the source find this believable?

For Validation

  • Does this version deliver the same emotional experience?
  • Are all primary functions served?
  • Do the elements fit together coherently?
  • Is this obviously an adaptation, or does it stand alone?

Anti-Patterns

The Surface Swap

Pattern: Replacing forms with "equivalent" forms. King → CEO. Castle → Headquarters. Prince → Heir apparent. Problem: Creates obviously derivative work. All elements "know what story they're in." Fix: Function-first selection. Don't ask "what's the space version of a castle?" Ask "what creates confinement and proximity to power in space?" Detection: If your adaptation summary sounds like "[Original] but in [new setting]," you've done surface swapping.

The Kitchen Sink Combination

Pattern: Combining sources by including everything from all of them. Problem: Creates incoherent mess. Conflicting functions and tones. Fix: Establish primary source. Only include secondary elements that complement. Make hard choices about conflicts. Detection: If you can't clearly state which source takes precedence, you're kitchen-sinking.

The Tone Mismatch

Pattern: Synthesizing functions correctly but missing the tone. Corporate Hamlet played as comedy. Problem: May technically serve functions but delivers wrong emotional experience. Fix: Explicit tone synthesis. Ask: "What would make the audience FEEL the same way?" Detection: If someone who loved the original would feel cheated by the adaptation's tone, there's mismatch.

The Forced Fit

Pattern: Forcing original elements into context where they don't belong. Ghost scene in "realistic" corporate setting. Problem: Breaks context coherence. Audience questions why this element exists. Fix: Find context-native forms. The function "unverifiable privileged information" doesn't need a ghost. Detection: If you're explaining why an element is there, it probably doesn't fit.

Available Tools

synthesize.ts

Interactive synthesis session from DNA documents.

bash
# Start synthesis from single DNA
deno run --allow-read scripts/synthesize.ts hamlet.json --context "corporate dystopia"

# Combine multiple sources
deno run --allow-read scripts/synthesize.ts hamlet.json killjoys.json --primary hamlet

# Generate form options for specific function
deno run --allow-read scripts/synthesize.ts --function "proximity to power" --context scifi --count 5

form-options.ts

Generates setting-appropriate forms for abstract functions.

bash
# Get form options
deno run --allow-read scripts/form-options.ts "proximity to power" --setting corporate

# With constraints
deno run --allow-read scripts/form-options.ts "privileged information" --setting scifi --constraint "no supernatural"

validate-synthesis.ts

Checks synthesis document for completeness and function coverage.

bash
# Validate against source DNA
deno run --allow-read scripts/validate-synthesis.ts synthesis.json --against hamlet.json

# Check emotional alignment
deno run --allow-read scripts/validate-synthesis.ts synthesis.json --genre drama

# Full validation
deno run --allow-read scripts/validate-synthesis.ts synthesis.json --full

Example Interaction

User: "I want to adapt Hamlet to a corporate setting."

Your approach:

  1. Diagnose state: Check if extraction exists (SYN0 vs SYN1)
  2. If no extraction: "Let's first extract Hamlet's DNA. What makes Hamlet work? Use dna-extraction skill."
  3. If extraction exists: "Great. Let's establish your target context. What kind of corporation? What industry? This affects what forms are available."
  4. Guide context mapping: "In Hamlet, the prince has proximity to power through birthright. In a corporation, what creates similar proximity? Mentorship? Department position? Family ownership?"
  5. Challenge surface translations: "You said 'the CEO is like the king.' But what FUNCTION does the king serve? He's the power center, but also Hamlet's uncle, the usurper, the man who took his mother. What corporate relationship creates those dynamics?"
  6. Apply orthogonality check: "Would someone who never read Hamlet find this corporate story believable on its own terms?"
  7. Validate when complete: "Let's check: Does this deliver drama? Are all primary functions served? Is it obviously Hamlet or does it stand alone?"

What You Do NOT Do

  • You do not accept "X but in Y" as synthesis
  • You do not begin synthesis without extraction
  • You do not skip the orthogonality check
  • You do not combine sources without establishing hierarchy
  • You do not synthesize forms without verifying function coverage
  • You synthesize the functional DNA; the user decides the target context

Output Persistence

Output Discovery

Before synthesizing:

  1. Check for dna-library/syntheses/ in the project
  2. If not found, ask: "Where should I save synthesis output?"
  3. Store preference appropriately

Primary Output

For this skill, persist:

  • Synthesis documents - JSON files in dna-library/syntheses/
  • Function-to-form mappings - Part of synthesis document
  • Validation results - Included in synthesis document

Conversation vs. File

Goes to FileStays in Conversation
Completed synthesis JSONContext exploration discussion
Function mappingsForm brainstorming
Validation resultsState diagnosis
Character synthesis"Why does this work?" dialogue

Integration Graph

Inbound (From Other Skills)

Source SkillSource StateLeads to State
dna-extractionEX7: Extraction CompleteSYN1: DNA Ready
worldbuildingContext establishedSYN3: Check integration

Outbound (To Other Skills)

This StateLeads to SkillTarget State
SYN5: Genre Driftgenre-conventionsG2: Wrong genre
SYN2: Surface Translationcliche-transcendenceApply orthogonality
SYN7: Synthesis Readyoutline-collaboratorReady to outline
SYN7: Synthesis ReadydraftingReady to draft

Complementary Skills

SkillRelationship
dna-extractionProvides input DNA documents
cliche-transcendenceOrthogonality principle for avoiding surface translation
genre-conventionsValidates emotional experience alignment
worldbuildingEnsures context coherence
outline-collaboratorReceives completed synthesis for outlining

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Adaptation Synthesis?

Synthesize new works from extracted functional DNA documents. Use when adapting a source work to a new context, when combining multiple source extractions, or when generating variations that preserve function while changing form.

Firwat Adaptation Synthesis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Adaptation Synthesis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Adaptation Synthesis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/application/adaptation-synthesis an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Adaptation Synthesis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Adaptation Synthesis benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Adaptation Synthesis domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Adaptation Synthesis gratis?

Jo. jwynia huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇