Obsidian CLI
Atmosphere/atmosphere
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.
Configure Obsidian graph colors by tag, folder, category, or visibility by updating .obsidian/graph.json.
$ npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Ar9av/obsidian-wiki graph-colorize --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Ar9av/obsidian-wiki.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.skills/graph-colorize .claude/skills/graph-colorize && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "graph-colorize" agent skill from https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorize into .claude/skills/graph-colorize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graph-colorize", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorizeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Ar9av/obsidian-wiki graph-colorize --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Ar9av/obsidian-wiki.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.skills/graph-colorize .agents/skills/graph-colorize && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "graph-colorize" agent skill from https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorize into .agents/skills/graph-colorize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graph-colorize", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Ar9av/obsidian-wiki graph-colorize --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Ar9av/obsidian-wiki.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.skills/graph-colorize .cursor/skills/graph-colorize && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "graph-colorize" agent skill from https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorize into .cursor/skills/graph-colorize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graph-colorize", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Ar9av/obsidian-wiki.git --path .skills/graph-colorize--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Ar9av/obsidian-wiki graph-colorize --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Ar9av/obsidian-wiki.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.skills/graph-colorize .gemini/skills/graph-colorize && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "graph-colorize" agent skill from https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorize into .gemini/skills/graph-colorize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graph-colorize", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Ar9av/obsidian-wiki graph-colorizeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Ar9av/obsidian-wiki.git skills-src && mkdir -p .github/skills && cp -r skills-src/.skills/graph-colorize .github/skills/graph-colorize && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "graph-colorize" agent skill from https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorize into .github/skills/graph-colorize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graph-colorize", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Ar9av/obsidian-wiki graph-colorize --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Ar9av/obsidian-wiki.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.skills/graph-colorize .opencode/skills/graph-colorize && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "graph-colorize" agent skill from https://github.com/Ar9av/obsidian-wiki/tree/main/.skills/graph-colorize into .opencode/skills/graph-colorize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graph-colorize", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
graph-colorizeConfigure Obsidian graph colors by tag, folder, category, or visibility by updating .obsidian/graph.json.
Graph Colorize is an agent skill from Ar9av/obsidian-wiki. Configure Obsidian graph colors by tag, folder, category, or visibility by updating .obsidian/graph.json. Use for graph colorization; preserve other graph settings and back up before changes.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Knowledge Management. It works with Obsidian. The repository describes itself as: Framework for AI agents to build and maintain a digital brain through Obsidian wiki | Memory System for Agents. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 709727e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Graph Colorize loads about 2k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 909 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
line `@name` override → walk up CWD for `.env` → global config → prompt setup). This gives `OBSIDIAN_VAULT_PATH`.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Ar9av/obsidian-wiki at commit 709727e, republished under its MIT licence (© Ar9av). 909 words, ~2,005 tokens.
.claude/skills/graph-colorize/SKILL.md (or your agent's skills folder).You are rewriting $OBSIDIAN_VAULT_PATH/.obsidian/graph.json so Obsidian's graph view tints nodes by tag, folder, or visibility.
Obsidian stores graph settings in <vault>/.obsidian/graph.json. The colorGroups array is a list of {query, color} pairs; the first matching query wins per node. Queries use Obsidian's search syntax: tag:#foo, path:"concepts", file:foo, etc. Color is {"a": 1, "rgb": <packed-int>} where the int is (R << 16) | (G << 8) | B.
llm-wiki/SKILL.md (inline @name override → walk up CWD for .env → global config → prompt setup). This gives OBSIDIAN_VAULT_PATH.$OBSIDIAN_VAULT_PATH/.obsidian/ exists. If it doesn't, the vault has never been opened in Obsidian — tell the user to open the vault once in Obsidian, then re-run.graph.json on close. Tell them to close the vault first, or be ready to reload (Cmd/Ctrl+R) and not touch the graph settings until they reload.Infer the mode from the user's phrasing. If ambiguous, default to by-tag.
| User intent | Mode |
|---|---|
| "color by tag", "color my graph", "make it colorful" (default) | by-tag |
| "color by folder", "color by category", "color by directory" | by-category |
| "highlight visibility", "show internal/pii in graph", "visibility colors" | by-visibility |
User provides explicit mapping (tag:#foo = red, or JSON blob) | custom |
| "combine tag and visibility" / "both" | combined (visibility first, then tag) |
colorGroups ArrayUse in order. If more groups than colors, cycle and add a lightness shift by dividing brightness ~20% via a second pass — or just cap at 10 and tell the user the remaining tags share the "other" color.
| # | Hex | rgb (packed int) | Role |
|---|---|---|---|
| 0 | #4E79A7 | 5142951 | blue |
| 1 | #F28E2B | 15896107 | orange |
| 2 | #E15759 | 14767961 | red |
| 3 | #76B7B2 | 7780786 | teal |
| 4 | #59A14F | 5873999 | green |
| 5 | #EDC948 | 15583048 | yellow |
| 6 | #B07AA1 | 11565217 | purple |
| 7 | #FF9DA7 | 16751527 | pink |
| 8 | #9C755F | 10253663 | brown |
| 9 | #BAB0AC | 12234924 | gray |
Every color is wrapped as {"a": 1, "rgb": <int>}.
by-tag$VAULT_PATH/**/*.md excluding _archives/, _raw/, .obsidian/, node_modules/, index.md, log.md, _insights.md.tags from each page. Count usage per tag.visibility/* tags from the frequency list — they are reserved system tags, handled only in by-visibility or combined mode.T at index i: emit {"query": "tag:#T", "color": palette[i]}.{"query": "-[\"tag\":]", "color": palette[9]} — skip if color slot 9 is already taken by a real tag.by-categoryUse the seven vault top-level folders in this fixed order so colors are stable across runs:
| Folder | Color index |
|---|---|
concepts | 0 (blue) |
entities | 1 (orange) |
skills | 2 (red) |
references | 3 (teal) |
synthesis | 4 (green) |
projects | 5 (yellow) |
journal | 6 (purple) |
Emit one entry per folder that exists AND contains at least one .md file. Each entry is:
{"query": "path:\"<folder>\"", "color": {"a": 1, "rgb": <int>}}by-visibilityEmit exactly three entries, in this order (first-match wins, so most restrictive comes first):
visibility/pii → #E15759 (red, rgb 14767961)visibility/internal → #F28E2B (orange, rgb 15896107)visibility/public → #59A14F (green, rgb 5873999){"query": "tag:#visibility/pii", "color": {"a": 1, "rgb": 14767961}}Pages with no visibility/ tag remain Obsidian's default color — do not add a catch-all.
combinedEmit by-visibility entries first, then by-tag entries. Visibility wins on conflict because it appears first in the list.
customIf the user gave explicit mappings, honor them literally. Convert any hex they give (e.g. #FF00FF) to packed int using int(hex_without_hash, 16). Wrap each as {"a": 1, "rgb": <int>}.
Read the existing $VAULT_PATH/.obsidian/graph.json. If it doesn't exist, start from this minimal default:
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": false,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": true
}Back up first: copy the existing file to .obsidian/graph.json.backup-<YYYYMMDD-HHMM> before writing. If a backup from the same minute exists, reuse it — don't pile up duplicates.
Replace only the colorGroups field with your new array. Leave every other field untouched. This preserves the user's zoom, physics, filter, search, and display preferences.
Write the file back with the same JSON style as the original (usually compact single-line or 2-space indent — preserve what's there).
Print a summary like:
Graph colorized → .obsidian/graph.json
Mode: by-tag
Groups: 7 color assignments
Palette: blue, orange, red, teal, green, yellow, purple
Backup: .obsidian/graph.json.backup-20260424-1432
Reload Obsidian (Cmd/Ctrl+R) to see the new colors.
If Obsidian is currently open, close it first OR reload immediately — Obsidian
overwrites graph.json on close and can erase these changes.Append to $VAULT_PATH/log.md:
- [TIMESTAMP] GRAPH_COLORIZE mode=<mode> groups=<N> backup=graph.json.backup-<stamp>by-tag mode → fall back to by-category and tell the user.graph.json.backup-* and note that in log.md.colorGroups: [], back up, log as GRAPH_COLORIZE mode=clear..obsidian/ missing → the vault hasn't been opened in Obsidian yet. Tell the user to open it once, then re-run. Don't create .obsidian/ yourself — Obsidian populates many files there on first open.path:"my folder"); tags with nested slashes work literally (tag:#visibility/internal); don't URL-encode.colorGroups is rewritten.combined mode or ask before overwriting.wiki-export's graph.html community colors, so the Obsidian graph and the exported visualization look consistent.© Ar9av, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .skills/graph-colorize of Ar9av/obsidian-wiki.
Open the folder on GitHubat commit 709727e
Graph Colorize next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Graph Colorize this skillAr9av/obsidian-wiki | 3.5k | — | ~2k | Automated safety check: Notes | MIT | |
| Obsidian CLIAtmosphere/atmosphere | 3.8k | 13 repos | ~795 | Automated safety check: Pass | Apache-2.0 | |
| Second BrainNicholasSpisak/second-brain | 736 | 1 repos | ~1.5k | Automated safety check: Notes | None | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| Obsidian Canvas BoardsAgriciDaniel/claude-obsidian | 15k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Youtubeaxoviq-ai/synthadoc | 1.6k | 1 repos | ~634 | Automated safety check: Pass | AGPL-3.0-or-later |
Atmosphere/atmosphere
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.
NicholasSpisak/second-brain
Set up a new Obsidian knowledge base with the LLM Wiki pattern.
lewislulu/llm-wiki-skill
Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…
AgriciDaniel/claude-obsidian
Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.
axoviq-ai/synthadoc
Extract transcripts from YouTube videos via the YouTube caption system
AgriciDaniel/claude-obsidian
Plans, and with explicit network consent runs, an external Defuddle extractor that turns an article-like HTTPS page into clean Markdown for later wiki ingestion.
Ar9av/obsidian-wiki
Ingest Hermes agent history into Obsidian as distilled knowledge.
Ar9av/obsidian-wiki
Ingest Codex CLI conversation/session history into Obsidian as distilled knowledge.
Ar9av/obsidian-wiki
Ingest GitHub Copilot CLI/session history into Obsidian as distilled knowledge.
Ar9av/obsidian-wiki
Adjust the user's Obsidian visual layout with CSS snippets. An agent skill from Ar9av/obsidian-wiki.
Ar9av/obsidian-wiki
Ingest OpenClaw session/history data into Obsidian as distilled knowledge.
Ar9av/obsidian-wiki
Turn the current conversation or finding into a structured permanent wiki note.
Works with
Categories
Configure Obsidian graph colors by tag, folder, category, or visibility by updating .obsidian/graph.json. Graph Colorize is an agent skill from Ar9av/obsidian-wiki.json.
Graph Colorize fits situations like: graph colorization; preserve other graph settings and back up before changes.
Run `npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a claude-code`. Or copy the skill folder (.skills/graph-colorize in Ar9av/obsidian-wiki) into .claude/skills/graph-colorize in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a codex`. Or copy the skill folder (.skills/graph-colorize in Ar9av/obsidian-wiki) into .agents/skills/graph-colorize in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Ar9av/obsidian-wiki --skill graph-colorize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/graph-colorize, .gemini/skills/graph-colorize, .github/skills/graph-colorize and .opencode/skills/graph-colorize in your project.
SKILL.md names no scripts, command-line tools or credentials: Graph Colorize is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Graph Colorize is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Graph Colorize: Obsidian CLI (Atmosphere/atmosphere, 3.8k stars), Second Brain (NicholasSpisak/second-brain, 736 stars), LLM Wiki (lewislulu/llm-wiki-skill, 655 stars) and Obsidian Canvas Boards (AgriciDaniel/claude-obsidian, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Ar9av (a GitHub user) maintains it in Ar9av/obsidian-wiki, which has 3,532 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 7, 2026.
Source: Ar9av/obsidian-wiki on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.