graph-colorize
Skill by Ar9av
Configures Obsidian graph view colors by tag, folder, or visibility tag by rewriting the colorGroups setting in a vault's graph.json. Intended for Obsidian users who want a color-coded graph.
Install graph-colorize
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Ar9av/obsidian-wiki /tmp/obsidian-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-wiki/.skills/graph-colorize ~/.claude/skills/graph-colorizeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Ar9av/obsidian-wiki /tmp/obsidian-wiki && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/obsidian-wiki/.skills/graph-colorize ~/.gemini/antigravity-cli/skills/graph-colorizeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Graph Colorize is an agent skill that sets node colors in the Obsidian graph view. It edits the colorGroups array in the vault's .obsidian/graph.json file. It supports five modes: by-tag, by-category (vault top-level folders), by-visibility (visibility/pii, internal, public), combined (visibility then tag), and custom mappings given by the user. Each color uses a fixed 10-color palette, and the first matching query wins for each node.
Before writing, the skill backs up the existing graph.json with a timestamped name. It replaces only colorGroups and leaves other graph settings such as zoom, physics, filters and display unchanged. It then logs the change to log.md. The skill is for users of Obsidian vaults who want their graph view color-coded, and it makes no changes to page content or frontmatter.
Written from the project's SKILL.md and checked against it.
What it can do
- By-tag modeColors the top 10 tags by usage, skipping visibility/* tags.
- By-category modeColors the seven fixed vault folders that contain Markdown files.
- By-visibility modeColors visibility/pii, visibility/internal and visibility/public pages.
- Combined modeApplies visibility colors first, then tag colors, so visibility wins on conflict.
- Custom modeApplies user-supplied query and hex color mappings, converting hex to packed integers.
- Backup and mergeBacks up graph.json before writing and rewrites only the colorGroups field.
- Undo and clearRestores from the latest backup, or clears all color groups on request.
What you need
- An Obsidian vault with a .obsidian folder (vault opened once in Obsidian)
- OBSIDIAN_VAULT_PATH set through the llm-wiki config resolution protocol
Try asking
- Color my Obsidian graph by tag
- Color my graph by folder, keeping my other graph settings
- Color my graph by visibility tags so pii and internal pages stand out
Good to know
- Obsidian overwrites graph.json on close, which can erase the changes, so Obsidian should be closed or reloaded after the edit.
- The vault's .obsidian folder must already exist; the skill does not create it.
- By-tag mode caps at 10 colors, so remaining tags share an other color.
- In by-visibility mode, pages with no visibility tag keep Obsidian's default color.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .skills/graph-colorize/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to graph-colorize
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
graph-colorize: common questions
Does this change my notes or frontmatter?
No. The source says it is a pure config edit to .obsidian/graph.json, with no page content or frontmatter writes.
What happens if Obsidian is open while I run it?
The source warns that Obsidian overwrites graph.json on close, so the colors can be lost. It advises closing Obsidian first or reloading right after the change.
Can I undo a graph colorization?
Yes. The source says to restore from the latest graph.json.backup file, and to note the restore in log.md.
How do I install graph-colorize?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is graph-colorize free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is graph-colorize safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to graph-colorize?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
