Ornament style mono

From pjt222/agent-almanac · View interactive version

Ornament style mono is an AI agent skill from the GitHub repository pjt222/agent-almanac. Design monochrome ornamental patterns grounded in Alexander Speltz's classical ornament taxonomy. Covers historical period selection, motif structural analysis, prompt construction for line art and silhouette rendering, and AI-assisted image generation via Z-Image. Use when creating decorative borde

How to use this skill

Skill file

Ornament Style — Monochrome

Design monochrome ornamental patterns by combining art historical knowledge of classical ornament with AI-assisted image generation. Every design is rooted in a specific historical period and motif tradition from Alexander Speltz's The Styles of Ornament (1904).

When to Use

Inputs

Procedure

Step 1: Select Historical Period

Choose a period from the classical ornament taxonomy. Each period has characteristic motifs and structural principles.

Historical Ornament Periods:
┌───────────────────┬─────────────────┬──────────────────────────────────────────┬──────────────────────┐
│ Period            │ Date Range      │ Key Motifs                               │ Mono Suitability     │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Egyptian          │ 3100–332 BCE    │ Lotus, papyrus, scarab, winged disk,     │ Excellent — bold     │
│                   │                 │ uraeus, ankh                             │ geometric forms      │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Greek             │ 800–31 BCE      │ Meander/Greek key, palmette, anthemion,  │ Excellent — high     │
│                   │                 │ acanthus, guilloche, egg-and-dart        │ contrast geometry    │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Roman             │ 509 BCE–476 CE  │ Acanthus scroll, rosette, grotesque,     │ Very good — dense    │
│                   │                 │ candelabra, rinceau, trophy              │ carved relief style  │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Byzantine         │ 330–1453 CE     │ Interlace, vine scroll, cross forms,     │ Good — flat          │
│                   │                 │ basket weave, peacock, chi-rho           │ silhouette style     │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Islamic           │ 7th–17th c.     │ Arabesque, geometric star, muqarnas,     │ Excellent — pure     │
│                   │                 │ tessellation, knotwork, calligraphic     │ geometric abstraction│
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Romanesque        │ 1000–1200 CE    │ Interlace, beast chains, chevron,        │ Very good — heavy    │
│                   │                 │ billet, zigzag, inhabited scroll         │ carved stone quality │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Gothic            │ 1150–1500 CE    │ Trefoil, quatrefoil, crocket,           │ Very good — tracery  │
│                   │                 │ finial, tracery, naturalistic leaf       │ and window patterns  │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Renaissance       │ 1400–1600 CE    │ Grotesque, candelabra, putto,           │ Good — engraving     │
│                   │                 │ medallion, festoon, cartouche           │ and woodcut styles   │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Baroque/Rococo    │ 1600–1780 CE    │ C-scroll, S-scroll, shell, asymmetric   │ Moderate — complex   │
│                   │                 │ cartouche, garland, ribbon              │ forms benefit from   │
│                   │                 │                                          │ color for depth      │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Art Nouveau       │ 1890–1910 CE    │ Whiplash curve, organic line, lily,     │ Excellent — defined  │
│                   │                 │ dragonfly, femme-fleur, sinuous vine    │ by line quality      │
└───────────────────┴─────────────────┴──────────────────────────────────────────┴──────────────────────┘
  1. If the user specified a period, confirm and note its characteristic motifs
  2. If "surprise me," select randomly — weight toward periods with "Excellent" mono suitability
  3. Note 2-3 primary motifs associated with the period for use in prompt construction

Got: A clearly identified period with 2-3 candidate motifs and understanding of why the period's ornament works well (or presents challenges) in monochrome.

If fail: If the user requests a period not in the table (e.g., Celtic, Aztec, Art Deco), research its ornamental vocabulary using WebSearch or WebFetch and construct an equivalent entry with motif list and mono suitability assessment before proceeding.

Step 2: Analyze Motif Structure

Understand the structural grammar of the chosen motif before constructing the prompt.

  1. Identify the symmetry type:
  1. Identify the geometric scaffold:
  1. Identify the fill pattern:
  1. Identify the edge treatment:

Got: A structural description like "bilateral symmetry, band-based scaffold, line-filled, interlocking edges" that will inform the prompt.

If fail: If the motif structure is unclear, look up visual references using WebSearch for "[period] [motif] ornament" and analyze the first few results. Speltz's original plates are public domain and widely available online.

Step 3: Construct Monochrome Prompt

Build the text prompt for Z-Image generation using the period, motif, and structural analysis.

Prompt Template:

[Rendering style] of [motif name] ornament in the [period] style,
[composition type], monochrome, black and white,
[structural details from Step 2],
[application context], [additional qualifiers]

Rendering Style Options:

Composition Qualifiers:

Monochrome Constraint (always include):

Example Prompts:

Got: A prompt of 20-40 words that specifies rendering style, motif, period, composition, and monochrome constraint.

If fail: If the prompt is too vague, add structural specifics from Step 2. If too complex (over 50 words), simplify by removing adjectives and keeping only the structural essentials. Z-Image responds best to clear, specific prompts — avoid abstract or conceptual language.

Step 4: Configure Generation Parameters

Select resolution and generation parameters appropriate to the application context.

Resolution by Application:
┌────────────────────┬─────────────────────┬────────────────────────────────┐
│ Application        │ Recommended         │ Rationale                      │
├────────────────────┼─────────────────────┼────────────────────────────────┤
│ Medallion / Roundel│ 1024x1024 (1:1)     │ Radial symmetry needs square   │
│ Tile / Repeat Unit │ 1024x1024 (1:1)     │ Square for seamless tiling     │
│ Horizontal Frieze  │ 1280x720 (16:9)     │ Wide format for running border │
│ Vertical Panel     │ 720x1280 (9:16)     │ Portrait format for columns    │
│ Wide Border        │ 1344x576 (21:9)     │ Ultrawide for architectural    │
│ General / Flexible │ 1152x896 (9:7)      │ Balanced landscape format      │
│ Large Detail       │ 1536x1536 (1:1)     │ Higher res for fine line work  │
└────────────────────┴─────────────────────┴────────────────────────────────┘
  1. Select resolution based on application context
  2. Set steps to 8 (default) for initial generation; increase to 10-12 for fine line detail
  3. Set shift to 3 (default) unless experimenting
  4. Choose random_seed: true for exploration or random_seed: false with a specific seed for reproducibility
  5. Record all parameters for documentation

Got: A complete parameter set ready for generation: resolution, steps, shift, seed strategy.

If fail: If unsure about resolution, default to 1024x1024 (1:1) — it works for most ornamental contexts and is the fastest to generate.

Step 5: Generate Image

Invoke the Z-Image MCP tool to produce the ornament.

  1. Call mcp__hf-mcp-server__gr1_z_image_turbo_generate with:
  1. Record the returned seed value for reproducibility
  2. Note the generation time

Got: A generated image and a seed value. The image shows recognizable ornamental forms in monochrome.

If fail: If the MCP tool is unavailable, verify that hf-mcp-server is configured (see configure-mcp-server or troubleshoot-mcp-connection). If the tool is available but returns an error, simplify the prompt and retry. If the generated image is entirely abstract with no ornamental character, the prompt needs more specific structural language — return to Step 3.

Step 6: Evaluate Against Style Criteria

Assess the generated image against four criteria.

Monochrome Ornament Evaluation Rubric:
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ Criterion           │ Evaluation Questions                                  │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 1. Symmetry         │ Does the design exhibit the intended symmetry type?   │
│                     │ Is it visually balanced? Are repeating elements       │
│                     │ consistent?                                           │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 2. Monochrome       │ Is the image truly black and white? Are there         │
│    Fidelity         │ unwanted grays, colors, or gradients? Does the        │
│                     │ rendering style match the request?                    │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 3. Period Accuracy  │ Would this design be recognizable as belonging to     │
│                     │ the specified period? Are the motifs period-           │
│                     │ appropriate? Does it avoid anachronistic elements?    │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 4. Detail Level     │ Is the level of detail appropriate for the rendering  │
│                     │ style? Line art should have clean lines; woodcut      │
│                     │ should show bold strokes; engraving should show       │
│                     │ systematic hatching.                                  │
└─────────────────────┴───────────────────────────────────────────────────────┘
  1. Score each criterion: Strong (clearly meets), Adequate (partially meets), Weak (does not meet)
  2. Note specific observations for each criterion
  3. If 3+ criteria score Strong, the design is successful
  4. If 2+ criteria score Weak, return to Step 3 for prompt refinement

Got: A scored evaluation with specific observations. Most first-generation images will score Adequate on 2-3 criteria.

If fail: If all criteria score Weak, the prompt may be too abstract or too complex. Simplify to the most essential elements: one motif, one rendering style, explicit "monochrome black and white" constraint. Consider switching to a period with higher mono suitability.

Step 7: Iterate or Finalize

Refine the design through targeted iteration or accept the result.

Iteration Strategies:

  1. Seed-locked refinement: Keep the same seed, adjust the prompt slightly — this evolves the composition while maintaining its basic structure
  2. Random exploration: Use random_seed: true with the same prompt — this produces variations on the same concept
  3. Prompt evolution: Modify specific elements (change rendering style, add/remove motif details, adjust composition)

Iteration Budget: Limit to 3 iterations per design concept. If the result is not satisfactory after 3 iterations, reconsider the period/motif combination or rendering style fundamentally.

  1. If the evaluation in Step 6 indicates specific weaknesses, adjust the prompt to address them:
  1. Regenerate using Step 5
  2. Re-evaluate using Step 6
  3. Accept when 3+ criteria score Strong or iteration budget is exhausted

Got: An improved image after 1-2 iterations, or a decision to accept the current best result.

If fail: If iteration is not improving results, the fundamental prompt concept may not translate well to the model. Try a different motif from the same period, or switch the rendering style entirely (e.g., from line art to silhouette).

Step 8: Document the Design

Create a complete record of the final design for reproducibility and reference.

  1. Record the following:
  1. Note any art historical observations — how the generated design compares to historical examples
  2. Suggest potential applications: print, digital border, textile pattern, etc.

Got: A reproducible record that allows the exact image to be regenerated and its design lineage understood.

If fail: If documentation feels excessive, at minimum record the final prompt and seed — these two values are sufficient to reproduce the image.

Key Motifs Reference

The following motifs appear across multiple historical periods and form the core vocabulary of classical ornament:

Validation

Pitfalls

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.