Command Palette

Search for a command to run...

Назад к скиллам
скилл № 42767

gnn-website-generation

GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model…

БесплатноЗапускает вложенные скрипты
ActiveInferenceInstituteот ActiveInferenceInstitute★ 36 звёзд на GitHub

Установить gnn-website-generation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

GNN Website Generation (Step 20)

Purpose

Generates a static HTML website from pipeline artifacts including model visualizations, export data, analysis reports, and documentation. Creates a browsable, self-contained web experience.

Key Commands

# Generate website
python src/gnn/20_website.py --target-dir input/gnn_files --output-dir output --verbose

# As part of pipeline
python src/gnn/main.py --only-steps 20 --verbose
from gnn.website import (
    WebsiteGenerator,
    WebsiteRenderer,
    generate_website,
    process_website,
    generate_html_report,
    embed_image,
    embed_markdown_file,
    embed_text_file,
    get_supported_file_types,
    validate_website_config,
)

# Process website step (used by pipeline)
process_website(target_dir, output_dir, verbose=True)

# Module-level convenience (generator.py): generate_website(logger, input_dir, output_dir, *, pipeline_output_root=None)
result = generate_website(logger, target_dir, output_dir)

# WebsiteGenerator builds the 7-page site from a website_data dict
gen = WebsiteGenerator()
gen.generate_website({"input_dir": str(target_dir), "output_dir": str(output_dir)})

# Generate an individual HTML report (content: str, output_file: Path) -> bool
generate_html_report(content, output_path)

# Embed content (each returns bool)
embed_image(image_path, output_file)
embed_markdown_file(md_path, output_file)

# Query supported file types
types = get_supported_file_types()

Key Exports

  • WebsiteGenerator / WebsiteRenderer — website generation classes
  • generate_website / process_website — main generation functions
  • generate_html_report — HTML report generation; takes content text and an output file path, returns True on success
  • embed_image, embed_markdown_file, embed_text_file, embed_json_file, embed_html_file
  • validate_website_config — configuration validation

Output

  • Static HTML site in output/20_website_output/
  • Self-contained (no external dependencies at runtime)

MCP Tools

This module registers tools with the GNN MCP server (see mcp.py):

  • build_website_from_pipeline_output
  • get_website_module_info
  • get_website_page
  • get_website_status
  • list_generated_website_pages
  • process_website

References


Documentation

  • README: Module Overview
  • AGENTS: Agentic Workflows
  • SPEC: Architectural Specification
  • SKILL: Capability API
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • AGENTS.md
  • README.md
  • SPEC.md
  • __init__.py
  • asset_transport.py
  • collection.py
  • evidence.py
  • generator.py
  • inspection.py
  • mcp.py
  • model_navigation.py
  • pages.py
  • processor.py
  • renderer.py
  • serve.py
  • source_collection.py
  • steps.py
  • templates.py

FAQ

Что делает скилл gnn-website-generation?

GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model visualizations, or publishing pipeline results as a static site.

Как установить скилл gnn-website-generation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gnn-website-generation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить gnn-website-generation с