graph-colorize

Rewrite Obsidian graph.json colorGroups to tint nodes by tag, folder, or visibility.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Michael1Peng/watson --skill graph-colorize-michael1peng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-colorize
Source: https://github.com/Michael1Peng/watson/tree/main/.agents/skills/graph-colorize
Command: npx skills add https://github.com/Michael1Peng/watson --skill graph-colorize-michael1peng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Obsidian's graph view often lacks visual cues for tags, folders, or visibility settings. This skill rewrites the vault's .obsidian/graph.json colorGroups to colorize nodes according to taxonomy and access controls.

Core Features & Use Cases

  • Merge a generated colorGroups array into existing graph.json without clobbering other settings.
  • Support modes: by-tag, by-category, by-visibility, and custom mappings.
  • Always backs up the original graph.json before applying changes to enable undo and recovery.

Quick Start

Open your vault in Obsidian and run the colorize operation to apply colorGroups to .obsidian/graph.json.

Frequently Asked Questions about graph-colorize

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

FAQPage Schema
How do I colorize Obsidian graph nodes by tag?

To colorize Obsidian graph nodes by tag, you need to rewrite the vault's .obsidian/graph.json colorGroups. This Skill applies color mappings based on your taxonomy to visually distinguish nodes in the graph view.

Can I apply graph view colors by folder or visibility in Obsidian?

Yes, you can apply graph view colors by folder or visibility in Obsidian. This Skill supports by-category, by-visibility, and custom mapping modes to tint nodes according to your specific structural or access control parameters.

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

Colorizing graph.json does not overwrite existing Obsidian graph settings. The Skill uses a backup-first merge strategy to write new colorGroups while preserving all other graph.json properties, ensuring safe recovery.

What do I need to tint my Obsidian vault graph?

To tint your Obsidian vault graph, you need a valid vault path and an existing .obsidian/graph.json file. The Skill verifies the file exists before applying the new colorGroups array to your configuration.

How to recover original graph settings after applying colorGroups?

To recover original graph settings after applying colorGroups, use the automatically generated backup file. The Skill always backs up the original graph.json before applying changes to enable instant undo and recovery.