Przejdź do treści
Biblioteka skilli
Dokumenty i biuro · Konwersja i formaty

forcegraph-exporter

/forcegraph-exporter

Zamienia konspekt w formacie JSON w samodzielną stronę przeglądarkową z interaktywną, powiększalną i przeciąganą mapą force graph, wymagającą internetu dla CDN.

Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/generate_forcegraph.py

Co robi i kiedy

Zamienia konspekt w formacie JSON w samodzielną stronę przeglądarkową z interaktywną, powiększalną i przeciąganą mapą force graph, wymagającą internetu dla CDN.

Wyzwalacze z opisu

interactive mapforce graphweb mindmapHTML mindmap
Oryginalny opis (EN)

Render a JSON outline into a standalone browser page; needs internet for the CDN. TRIGGER WHEN: the user says 'interactive map', 'force graph', 'web mindmap', or 'HTML mindmap', or asks for a zoomable, draggable visual export. DO NOT TRIGGER WHEN: the user wants Obsidian MarkMind format (use markmind-exporter).

Jak działa

  1. Input
  2. Workflow
  3. Checklist Before Delivery
Sekcje z nagłówków SKILL.md, w oryginale · 70 linii, 338 słów
Podgląd SKILL.md
---
name: forcegraph-exporter
description: >
  Render a JSON outline into a standalone browser page; needs internet for the CDN.
  TRIGGER WHEN: the user says 'interactive map', 'force graph', 'web mindmap', or 'HTML mindmap',
  or asks for a zoomable, draggable visual export.
  DO NOT TRIGGER WHEN: the user wants Obsidian MarkMind format (use markmind-exporter).
---

# Force Graph Exporter

Convert a mindmap JSON outline into an interactive HTML file with a force-directed graph visualization powered by [force-graph](https://github.com/vasturiano/force-graph). The output file opens in any browser with no server required, but it needs an internet connection to load the force-graph library from a CDN.

## Input

A JSON file with the standard mindmap outline format (same as generate-mindmap output):

```json
{
  "root": "Central Theme",
  "branches": [
    {
      "text": "Branch One",
      "color": "#ff6b6b",
      "children": [
        { "text": "Sub-concept A", "children": [...] }
      ]
    }
  ]
}
```

## Workflow

### Step 0: Check for input

If no mindmap JSON is available (no file path, no prior `generate-mindmap` output, no inline JSON in the conversation), invoke the `learning:generate-mindmap` skill first to brainstorm and produce the JSON outline. Then continue with Step 1.

### Step 1: Locate the mindmap JSON

Find the mindmap outline JSON -- either a file path provided by the user, output from a prior `generate-mindmap` invocation, or inline JSON.

### Step 2: Run the exporter

```bash
python scripts/generate_forcegraph.py --input outline.json --output /path/to/mindmap.html --max-depth 6
```

Or from stdin:

```bash
cat outline.json | python scripts/generate_forcegraph.py --output /path/to/mindmap.html
```

Options:
- `--max-depth N` -- maximum depth levels below root (default: 6, max: 10)

The script:
- Converts the mindmap JSON tree into a flat nodes/links structure
- Loads force-graph library from CDN (unpkg.com, pinned version) in the HTML
- Colors nodes and links by their L2 branch color
- Sizes nodes by depth (root largest, leaves smallest)
- Adds labels, hover tooltips, and click-to-focus
- Produces a single `.html` file

### Step 3: Deliver

Present the generated `.html` file to the user. Mention it can be opened directly in any browser.

## Checklist Before Delivery

- HTML file opens in browser without errors
- All nodes from the mindmap JSON are present in the graph
- Root node is visually prominent (larger, centered)
- Branch colors match the original outline
- Graph is interactive (drag, zoom, hover)
- Internet connection available (CDN dependency for force-graph library)
Pliki w paczce (3)
  • SKILL.md 3 KB
  • SKILL.toml 1 KB
  • scripts/generate_forcegraph.py 7 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki bdac2ccc22bc (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100markmind-exporter
    Zamienia konspekt JSON w plik vaultu Obsidian w formacie MarkMind Rich, na bazie mapy myśli utworzonej przez generate-mindmap.
  • 100markmind-exporter
    Przekształca konspekt JSON mapy myśli w gotowy plik MarkMind Rich do wstawienia do vaultu Obsidian.
  • 100mindmap-html-generator
    Generuje offline interaktywne mapy myśli w HTML i konwertuje Markdown, konspekty, notatki ze spotkań lub drzewa JSON do formatu markmap przez markmap-cli.
  • 100mindmap-generator
    Prawdopodobnie generuje mapy myśli w ramach kategorii treści wizualnych.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.