Famou Result Visualization logo

Famou Result Visualization

Organization
baidubce
famou-result-visualization

Generate interactive visualization pages for feasible solutions produced by Famou evolutionary algorithms. Use this skill when the user mentions "Famou visualization", "visualize this solution", "show feasible solution results", "evolution results", "evolve visualization", or provides a Python-code solution (path planning, scheduling, knapsack, TSP, job scheduling, machine learning, etc.) that needs to be displayed visually. Even if the user just says "help me visualize this solution", "draw it out", or "show me the results", trigger this skill immediately whenever the context involves evolutionary algorithms or optimization problem solutions.

Overview

Publisherbaidubce
Repositoryskills
Skill namefamou-result-visualization
Stars
32
Forks
11
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by baidubce on GitHub. Read the source before you install it.

Installation

Install the Famou Result Visualization AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/baidubce/skills/tree/develop/skills/famou-result-visualization
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/baidubce/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/famou-result-visualization .claude/skills/famou-result-visualization
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Famou Result Visualization in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Famou Result Visualization on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Famou Result Visualization is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Famou Evolutionary Algorithm Solution — Result Visualization Skill

Core goal: Take an optimization problem solution in Python code form, understand its semantics directly, and generate an interactive HTML page that visually demonstrates the effect of the solution.

This is not about showing the evolutionary process — it's about showing what the solution looks like: draw the route for path planning, draw the timetable for scheduling, draw the packing layout for knapsack problems, draw the colored graph for graph coloring, etc.


Step 1: Collect Inputs

Required:

  1. Problem description — what optimization problem it is, input scale, constraints
  2. Solution in Python code — the final solution after Famou evolution (functions, data structures, or strategy code are all acceptable)

Optional:

  • Evaluation score / fitness value
  • Initial solution (for comparison)
  • Original problem data (e.g. node coordinates, task list, etc.)

If any required input is missing, ask the user to provide it before proceeding.


Step 2: Understand the Solution → Plan the Visualization

Read and understand the user's Python code and problem description directly — no external API calls needed.

2.1 Understand the Solution Semantics

Read the code and extract:

  • Problem type: path planning / scheduling / knapsack / graph theory / job scheduling / bin packing / other
  • Core data structure of the solution: node sequence? time-slot mapping? selection set? assignment plan?
  • Key values: coordinates, time slots, capacities, weights, colors, and other concrete data needed for visualization

2.2 Determine Visualization Type

Choose the most appropriate viz_type based on the problem type:

Problem Typeviz_typeVisual Representation
TSP / VRP / Path Planningpath_mapSVG coordinate system + node-connected route
Scheduling / Timetableschedule_gridTable heatmap with colored blocks
Knapsack / Bin Packingpacking_rectSVG stacked rectangle containers
Graph Coloring / Community Detectiongraph_colorNode-colored graph
Job Scheduling / Project PlanningganttHorizontal Gantt chart
Before/After Comparison / Multi-metricbar_compareComparative bar chart
ML / Neural Networks / Hyperparameter Tuningml_vizNetwork structure / training curve / hyperparameter heatmap
Other / Complex StrategiescustomKey metrics dashboard + text description

2.3 Extract Rendering Data

Read the code directly and organize the concrete values needed for rendering, for example:

  • path_map: list of node coordinates, visit order, total distance
  • schedule_grid: resource list, time slots, each assignment as (resource, time slot, name)
  • packing_rect: container dimensions, each item as (x, y, w, h, label, value)
  • gantt: task list, each item containing (name, start, end, resource)

Step 3: Generate the HTML Visualization File

Write and output the HTML file directly to famou_viz_result.html (or a user-specified path).

Page Layout

┌──────────────────────────────────────────────────────────┐
│  [Problem Type Tag]  Problem Summary       Key Metric Cards  │
├────────────────────────────────────┬─────────────────────┤
│                                    │                     │
│   Main Visualization Area          │   Solution Highlights│
│   (visual center, ≥50% of page)    │                     │
│   Route / Timetable / Packing /    │   Score / Improvement│
│   Gantt Chart                      │   Display           │
├────────────────────────────────────┴─────────────────────┤
│   (Optional) Before/After Comparison / Additional Notes   │
└──────────────────────────────────────────────────────────┘

Design Guidelines

  • Dark tech aesthetic: background #030810, cards #080f1e, borders #112240
  • Accent colors: primary #00c8ff (blue) paired with #00ff88 (green) for highlights
  • Fonts: body text Noto Sans SC, numbers/code IBM Plex Mono (via Google Fonts CDN)
  • Entrance animation: each section fades up in sequence (fadeUp with increasing animation-delay)
  • Main visualization animation: routes drawn segment by segment, bars grow from the bottom, nodes pop in
  • Interactivity: hovering over nodes / grid cells / bars shows a tooltip
  • Tooltip: fixed-position, follows the mouse, shows detailed values

File Template

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Famou Solution Visualization — {Problem Name}</title>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.production.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.2.0/umd/react-dom.production.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.23.5/babel.min.js"></script>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
  <style>
    /* All styles inlined — no external CSS dependencies */
    /* Includes: CSS variables, animation keyframes, card/tag/tooltip/skeleton base classes */
  </style>
</head>
<body>
  <div id="root"></div>
  <script type="text/babel">
    const { useState, useEffect, useRef } = React;

    // ── Data extracted from the solution (hardcoded from code analysis) ──
    const SOLUTION_DATA = { /* ... */ };

    // ── Visualization components ──
    // Implement the component corresponding to viz_type

    // ── Page skeleton ──
    function App() { /* Metric cards + main visualization + highlights list */ }

    ReactDOM.render(<App />, document.getElementById('root'));
  </script>
</body>
</html>

Notes

  • Read data directly from the code: Extract key values from the Python solution (coordinates, sequences, mappings, etc.) and hardcode them into the SOLUTION_DATA constant in the HTML — do not execute the Python code, only read its data literals.
  • Visualization must faithfully represent the solution: Show "what this solution looks like", not the evolutionary history or algorithm flow.
  • Main visualization area should be large: It is the visual center of the page, occupying at least 50% of the page.
  • Adapt to data scale: When the number of nodes/tasks exceeds 100, consider sampling or aggregating to avoid visual clutter.
  • Graceful degradation: If the problem type cannot be identified, fall back to the custom dashboard showing key metrics.
  • Self-contained: All dependencies are loaded via CDN; the file can be opened offline (CDN links can be replaced with local copies).

Frequently asked questions

What does the Famou Result Visualization AI skill do?

Generate interactive visualization pages for feasible solutions produced by Famou evolutionary algorithms. Use this skill when the user mentions "Famou visualization", "visualize this solution", "show feasible solution results", "evolution results", "evolve visualization", or provides a Python-code solution (path planning, scheduling, knapsack, TSP, job scheduling, machine learning, etc.) that needs to be displayed visually. Even if the user just says "help me visualize this solution", "draw it out", or "show me the results", trigger this skill immediately whenever the context involves evol...

Why use Famou Result Visualization on TypingMind?

Because you install it once and use it with any model. Famou Result Visualization is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Famou Result Visualization in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/baidubce/skills/tree/develop/skills/famou-result-visualization. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Famou Result Visualization?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Famou Result Visualization?

As many as you like. As long as a model supports skills, you can use Famou Result Visualization with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Famou Result Visualization AI skill free?

Yes. It is published on GitHub by baidubce under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇