graph-colorize

Generate and merge a colorGroups array into Obsidian's graph.json with backup.

6|2|Updated May 11, 2026
One-click install
npx skills add https://github.com/pax-k/war-gov-uap-wiki --skill graph-colorize-pax-k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-colorize
Source: https://github.com/pax-k/war-gov-uap-wiki/tree/main/.cursor/skills/graph-colorize
Command: npx skills add https://github.com/pax-k/war-gov-uap-wiki --skill graph-colorize-pax-k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Color-code the Obsidian graph view by generating and merging a colorGroups array into the vault's graph.json so nodes tint according to tags, folders, or visibility, making the knowledge graph easier to navigate and understand.

Core Features & Use Cases

  • Builds a colorGroups array from the vaults actual tags and categories and merges it into the existing graph.json without clobbering other settings, after creating a backup.
  • Supports multiple modes: by-tag, by-category, by-visibility, combined, and custom, with a deterministic mapping and a color palette that is colorblind-friendly.
  • Provides safe, step-by-step guidance for configuration, including mode selection, palette application, and non-destructive merging of color groups.

Quick Start

Colorize the Obsidian graph by creating a colorGroups array from current tags and folders and merging it into the vaults graph.json with a backup.

Frequently Asked Questions about graph-colorize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I color-code my Obsidian graph view by tags?

Color-coding the Obsidian graph view involves generating a colorGroups array from vault tags and merging it into graph.json. This applies deterministic colors to up to 10 tags while preserving existing settings.

What is the best way to tint Obsidian graph nodes by folder category?

The best way to tint Obsidian graph nodes by folder category is using the by-category mode. It builds a colorGroups array from top-level folders and merges it into graph.json using a colorblind-friendly palette for clear visual distinction.

Can I apply multiple color rules to the same Obsidian graph?

Yes, you can apply multiple color rules to the same Obsidian graph using the combined mode. This merges tag, category, and visibility color groups into a single configuration within graph.json.

Does modifying graph.json overwrite my existing Obsidian graph settings?

Modifying graph.json does not overwrite existing Obsidian graph settings. The Skill performs a non-destructive merge of the colorGroups array and always creates a backup before applying any changes.

Are there limitations when colorizing Obsidian graphs with many tags?

A limitation when colorizing Obsidian graphs with many tags is that the Skill limits color generation to the top 10 tags. Custom mode allows manual configuration for specific tagging or visibility requirements beyond this limit.