FigFox Gen Skill 标志

FigFox Gen Skill

社区
LawrenceRiver
FigFox-Gen-skill

将科学方法论(可选提供参考图像)转化为一张有证据依据、可由人工编辑的最终 PNG 图表。

Add to TypingMind

概览

发布者LawrenceRiver
代码仓库FigFox-Gen-skill
技能名称FigFox-Gen-skill
星标数
35
复刻数
4
附带文件
63
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 63 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 LawrenceRiver 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 FigFox Gen Skill AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/LawrenceRiver/FigFox-Gen-skill/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LawrenceRiver/FigFox-Gen-skill.git \
  .claude/skills/FigFox-Gen-skill
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 FigFox Gen Skill,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 FigFox Gen Skill。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 FigFox Gen Skill 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

FigFox-Gen-skill

Core workflow

Run exactly one image-generation pass and stop at PNG1:

text
Methodology + optional reference
  -> Context 1: recurring domain visual language
  -> Context 2: content-to-visual plan
  -> Context 3: inspected FigureBench construction evidence + selected palette group
  -> Creative Director prompt: brief + targeted scholarly paper-SVG crops
  -> Prompt 1 bundle
  -> direct image generation
  -> final PNG1
  -> stop

There is no post-generation conversion, temporary render, repair loop, or second image. The local helpers validate files, provenance, and prompt contracts; they do not observe model calls or guarantee scientific correctness.

Canonical visual examples

When the user cites the bundled examples, treat these exact files as a style canon:

  • assets/generated-figures/02-latent-diffusion.png
  • assets/generated-figures/01-figfox-gen-workflow.png
  • assets/generated-figures/01-figfox-gen-workflow-zh.png
  • assets/generated-figures/03-musicot.png
  • assets/generated-figures/04-alphafold3.png

Inspect the closest example before choosing a visual language. Borrow its restrained composition, alignment, spacing, flat construction, readable labels, and plain arrows; do not merge unrelated examples into a collage or invent a more decorative aesthetic. These examples are visual references, not active palette sources, and they never override scientific meaning or explicit user constraints.

Start a run with input/methodology.md and, when supplied, input/user-reference.<ext>. Use the exact JSON fields in artifact schemas. Before work begins, run:

bash
python scripts/figure_workflow.py check-installation --root .

1. Context 1: recurring domain visual conventions

Read the Methodology with the language model and extract the scientific domain, core topic, mainline, likely figure class, named concepts, and explicit user constraints. Search for 3–4 scholarly papers in that domain. Prefer arXiv and native SVG/HTML figures; otherwise use credible papers with clearly extractable panels. Inspect actual figure regions, not titles or abstracts alone.

Use the first representative paper figure selected during this domain search as the colour-count anchor. Inspect its visible panel, record its dominant-colour count as dominant_colour_count (a positive integer supported by an eligible palette group), and carry that count into Context 3. Use the remaining 2–3 papers to corroborate the anchor and the visual conventions; do not replace the anchored count with a subjective guess or copy source colours. A broad field may justify a larger count only when the representative figure visibly uses more dominant roles and the retained papers support that reading. Record source URLs and crop paths in references/web/manifest.json and references/web/crops/. Every mapped crop states its target component, what to borrow, what must change, and why the result remains human-editable.

If fewer than three credible figures remain, continue searching or report insufficient evidence. Do not invent recurrence.

bash
python scripts/figure_workflow.py validate-context --run RUN --context 1

2. Context 2: content-to-visual plan

Combine the Methodology, Context 1, and optional user reference. The user reference has strong authority for structure, layout, emphasis, and visibly human-made basic visual treatment. When a user reference is attached or explicitly cited, enter a reference-fidelity lock: treat it as the canonical visual specification, match its composition, spacing, hierarchy, and visual grammar, and preserve its line weight, corner-radius, fill treatment, typography scale, arrow grammar, and sample treatment wherever the Methodology permits. Change only labels, scientific content, and geometry required by the Methodology. Do not beautify, complicate, stylize, recompose, or switch to a different visual language because the model prefers it. Ignore only generated-looking, fake, or decorative parts, and never take active palette colours from it.

Express the scientific mainline in text, then map every block, structure, relationship, and required label to an exact visual treatment in context/context-2-content-visual-plan.json. In-image text is limited to concise block names, structure names, necessary scientific labels, terms, and relationships; explanatory prose stays in planning.

Normal treatments are human-producible basic geometry, recurring domain-paper constructions, deliberate manual/stylus drawings, draw.io-like editable structures, or real photographic crops when scientifically necessary. Mark any other treatment as special and explain whether a human would construct it geometrically, draw it by hand, or obtain it as a real photo. Every visual must have a semantic role and construction provenance.

bash
python scripts/figure_workflow.py validate-context --run RUN --context 2

3. Context 3: construction evidence, palette groups, and taste

Read FigureBench visual selection and taste rules.

The installed FigureBench pack contains exactly 30 complete development images. Inspect at least two distinct complete references, then continue adaptively until every Context 2 need has credible evidence: shapes, frame/container families, connectors, layout relationships, and special visualizations. There is no fixed target or maximum image count. Stop only at complete coverage.

Complete references are inspection sources, never unexplained Prompt 1 attachments. For every useful region, preserve normalized coordinates and a component-specific contract in references/figurebench/crops/request.json. The contract names what to borrow, what must change so the result is a variant, and why the treatment is human editable. Materialize and validate the crops:

bash
python scripts/figure_workflow.py rank-references --run RUN
python scripts/figure_workflow.py crop-references --run RUN
python scripts/figure_workflow.py validate-reference-coverage --run RUN

FigureBench supplies geometry, layout, spacing, connectors, and human-edited finish. It never supplies active palette colours.

The local references/palette-library.json stores named palette groups; each group contains several role-labelled colours, not one colour. At the start of each run, randomly select one eligible named group and record its id; use multiple colours from that group as needed. Use select-palette --run RUN for an unseeded selection or select-palette --run RUN --seed SEED when the run must be reproducible. This is a palette-group lineage rule, not a monochrome or single-colour rule. If the selected group lacks a required functional role, only an evidenced tint, shade, tone, analogous neighbour, compatible neutral, or controlled contrast may extend it. Never mix a second library group or take colours from the user reference, FigureBench, or domain papers. Taste is a low-priority soft constraint for spacing, hierarchy, rhythm, balance, restraint, and human-edited finish. The final figure must use exactly Context 1's observed dominant-colour count from the selected group. Other swatches are subordinate neutral, tint, shade, or support roles and must not be promoted beyond that anchored count. If a group cannot provide enough roles, select another eligible group or report that no palette group can support the evidence.

Write context/context-3-visual-kit.json from the materialized crops, coverage matrix, selected palette-group lineage, and taste constraints, then validate:

bash
python scripts/figure_workflow.py validate-palette --run RUN
python scripts/figure_workflow.py validate-context --run RUN --context 3

4. Creative Director: pre-PNG1 visual ideation

The Creative Director runs once after Contexts 1–3 and before PNG1. It is a bounded ideation pass, not an image-generation pass. It may propose a concrete, scientifically relevant treatment for a planned component, but it must not redraw the whole figure or invent decorative assets.

Before choosing a style, the Creative Director must model how a human would actually build the figure in an editor. Use this construction order as a hard planning sequence:

  1. Choose the base: establish the main canvas, containers, and simple geometry first (usually rectangles or deliberately adjusted rounded rectangles). A subtle fill variation is allowed only when it belongs to the base shape and remains editable; never use a gradient to hide an unplanned structure.
  2. Build the content on the base: add the planned structures and modules. Use the simplest geometry that carries the meaning. If the method needs a topology, grid, model block, or other known construction, look for a real scholarly SVG or extractable figure and reuse a targeted crop as evidence instead of inventing a fake topology. If it needs an input sample, use a real or explicitly documented sample-like crop (text, image, audio, or data), not generic placeholder lines.
  3. Add restrained arrows: draw plain, readable connectors after the objects are placed. Arrowheads and paths must express direction and relation; do not make arrows decorative, glossy, multi-coloured, or needlessly curved.
  4. Place exact text: add concise block names, terms, and relationship labels after the structure is stable. Never replace real labels with repeated horizontal filler lines.
  5. Place the visual below/next to its label: keep each explanatory visual close to the text it explains. Prefer a real sample, a paper-derived editable crop, a regular copied geometry, or a library symbol with clear provenance. A person, warning, chat symbol, or other special object must follow its human source and semantic role; it may not become a pasted sticker.

Construction invariants: a regular grid or copied geometry must have consistent spacing and no accidental missing cells or broken lines; a geometric block uses a flat fill or one controlled fill per block, never multiple arbitrary colours inside one block; noise is shown with deliberate repeated points or a real noise image only when the Methodology calls for it; photographs are real photographs when a photo is scientifically necessary. These rules are planning gates, not post-hoc taste advice.

Compile its prompt:

bash
python scripts/figure_workflow.py build-creative-director-prompt --run RUN

The model returns creative-director/brief.json. Validate it:

bash
python scripts/figure_workflow.py validate-creative-director --run RUN

If a new idea needs a construction not already covered by Contexts 1–3, the Creative Director must locate a real scholarly paper figure available as SVG or extractable SVG/HTML, inspect its pixels, and request only a targeted crop under references/web/crops/creative-director/. Each crop must include the target component, HTTPS source_url and evidence_url, source_format: "svg", nonempty borrow and must_change lists, and a human-editability reason. Never invent a source, attach a complete paper figure, copy its labels or palette, or use a sticker-like cutout. If no new treatment is needed, return an explicit no_external_svg_needed brief with no crop. Palette lineage and all Prompt 1 anti-AI constraints remain in force.

5. Prompt 1 and final PNG1

Compile Prompt 1 only after Contexts 1–3, the Creative Director brief, and every mapped crop file exist:

bash
python scripts/figure_workflow.py build-prompt1 --run RUN

The bundle contains the Methodology, Contexts 1–3, the Creative Director brief, the optional reference, mapped scholarly crops, every mapped FigureBench crop, and any Creative Director paper-SVG crop. A crop guides only its declared component and its borrow/must_change contract. It cannot donate source labels, source colours, source proportions, or a complete composition.

Prompt 1 contains exact mainline, block names, relationships, content-to-visual mapping, crop contracts, selected palette-group lineage, layout/taste constraints, concise labels, and anti-AI invariants. Enforce these defaults:

  • when a user reference is attached or cited, the reference-fidelity lock is hard: match its composition, spacing, hierarchy, and visual grammar before making any stylistic choice; preserve its human-made construction cues and change only what the Methodology requires;

  • do not beautify, complicate, stylize, recompose, or switch visual language merely because the image model prefers a different look; reject any output that drifts from the reference without a scientific reason;

  • no meaningless dots, tiles, floating symbols, purposeless boxes, irrelevant ornament, unjustified extreme contrast, decorative gradients, glow, decorative shadow, fake cartoons, or shapes without human construction provenance;

  • no default numbered 1/2/3/4 planning labels and no generic blue title-strip/content-box cards unless the Methodology explicitly requires them;

  • never box off the upper portion of a module with a horizontal divider and centered title;

  • never paste a sticker-like cutout, clip-art badge, medal, seal, or raster badge;

  • every visual must be semantically related to its text and editable by a human.

  • follow the human construction order: base geometry first, then meaningful content, plain arrows, concise text, and a nearby explanatory visual; do not reverse this into decorative cards with filler content;

  • use real samples or targeted scholarly-paper construction crops for inputs, topologies, grids, and model diagrams when they exist; never invent a fake topology or pseudo-sample when a faithful human-editable source can be found;

  • keep grids and repeated geometry exact and regular, keep each geometric block to a flat or single controlled fill, except that a single base/container may use a subtle deliberate fill transition when it is part of the planned geometry; never use gradients inside a block or as decorative polish. Keep arrows visually subordinate to the objects and text.

The first and only image-generation pass receives prompt-1/prompt.md and all manifest attachments. Save the complete labelled result as png1.png. PNG1 is the final deliverable for this workflow. Do not convert it to SVG, render a temporary derivative, diagnose a later pass, or generate another image.

6. Completion and deterministic validation

Write run-manifest.json with the canonical paths in artifact schemas, then run:

bash
python scripts/figure_workflow.py validate-run --run RUN

A valid run contains exactly one image artifact, png1.png; one Prompt 1 root; the Creative Director prompt and brief; the three Contexts; the scholarly web manifest; the FigureBench request and materialized crop manifest; and the final Prompt 1 attachment manifest. The validator checks path safety, provenance, palette lineage, crop replay, Creative Director source contracts, prompt determinism, and PNG validity. It does not prove image-generation call counts or scientific truth. Authors must inspect PNG1 before publication.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 3 个文件。

常见问题

FigFox Gen Skill AI 技能有什么作用?

将科学方法论(可选提供参考图像)转化为一张有证据依据、可由人工编辑的最终 PNG 图表。

为什么在 TypingMind 中使用 FigFox Gen Skill?

因为您只需安装一次,就能搭配任何模型使用。FigFox Gen Skill 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 FigFox Gen Skill?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LawrenceRiver/FigFox-Gen-skill/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 FigFox Gen Skill?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

FigFox Gen Skill 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 FigFox Gen Skill 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

FigFox Gen Skill AI 技能免费吗?

LawrenceRiver 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇