logseq-wiki: Skill for Claude Code

.skills/graph-colorize/SKILL.md

graph-colorize is a skill for Claude Code, Codex from ystreibel/logseq-wiki. It costs 90 tokens per session (1,818 once invoked), scanned A, original, MIT.

A tool that adds colors to nodes in Logseq's graph view using custom CSS. The graph view is a visual map of pages and their links, while CSS controls how parts of the interface look.

In plain words
What is it for?
Use it to color graph nodes by tag, theme, or visibility in a Logseq vault.
Why use it?
It makes different tags, themes, or visibility groups easier to distinguish in a crowded graph, while preserving a backup of the existing style file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is ystreibel/logseq-wiki's own configuration. It tells Claude Code and Codex how to work on logseq-wiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything logseq-wiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ystreibel/logseq-wiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ystreibel/logseq-wiki/main/.skills/graph-colorize/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ystreibel/logseq-wiki

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graph-colorize

README.md
[![agentmods](https://agentmods.dev/badge/skills/ystreibel/logseq-wiki/graph-colorize.svg)](https://agentmods.dev/skills/ystreibel/logseq-wiki/graph-colorize)
Your own site
<a href="https://agentmods.dev/skills/ystreibel/logseq-wiki/graph-colorize"><img src="https://agentmods.dev/badge/skills/ystreibel/logseq-wiki/graph-colorize.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01818
Opus 5 $0.00045 $0.00909
Sonnet 5 $0.00018 $0.00364
Haiku 4.5 $0.00009 $0.00182

Measured 6d ago against content hash 18851dfa6e6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

graph-colorize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.skills/graph-colorize/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Graph Colorize — Coloriser la Vue Graphe Logseq

Note Logseq vs Obsidian : Logseq ne supporte pas les colorGroups JSON comme Obsidian. La colorisation du graphe Logseq se fait via logseq/custom.css en ciblant les nœuds SVG du graphe avec des sélecteurs CSS. Les capacités sont limitées comparé à Obsidian — la colorisation par tag nécessite du CSS avancé et est sujette à casser lors des mises à jour de Logseq.

Avant de commencer

  1. Lire ~/.logseq-wiki/config (ou .env local) → LOGSEQ_VAULT_PATH
  2. Vérifier que $LOGSEQ_VAULT_PATH/logseq/ existe. Si non, demander à l'utilisateur d'ouvrir le vault dans Logseq d'abord.
  3. Avertir l'utilisateur si Logseq est probablement ouvert : Logseq peut écraser custom.css au redémarrage. Fermer Logseq avant de continuer.

Étape 1 : Sauvegarder l'existant

cp "$LOGSEQ_VAULT_PATH/logseq/custom.css" \
   "$LOGSEQ_VAULT_PATH/logseq/custom.css.bak.$(date +%Y%m%d_%H%M%S)" 2>/dev/null || true

Étape 2 : Choisir un mode

Inférer le mode depuis la formulation de l'utilisateur. Défaut : by-tag.

Intention utilisateur Mode
"colorie par tag", "colorie mon graphe" (défaut) by-tag
"couleur par thème", "colorie par dossier" by-theme
"mettre en évidence la visibilité", "montrer internal/pii" by-visibility
Mapping explicite fourni custom

Étape 3 : Construire le CSS

Palette (10 couleurs distinctes, accessibles aux daltoniens)

# Hex Rôle
0 #4E79A7 bleu
1 #F28E2B orange
2 #E15759 rouge
3 #76B7B2 teal
4 #59A14F vert
5 #EDC948 jaune
6 #B07AA1 violet
7 #FF9DA7 rose
8 #9C755F brun
9 #BAB0AC gris

Mode : by-tag

  1. Lister tous les .md sous $LOGSEQ_VAULT_PATH/wiki/ (exclure _archive/, _meta/)
  2. Pour chaque page, extraire la ligne tags:: <valeurs> et parser les tags (séparés par ,)
  3. Compter la fréquence de chaque tag ; trier décroissant ; prendre le top 10
  4. Générer le CSS :

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 153 lines · 90 tokens per session scan A 18851dfa6e6e

Subscribe to this mod's changes

graph-colorize is a skill published in the GitHub repository ystreibel/logseq-wiki (4 stars, last pushed 11d ago), licensed MIT. It adds 90 tokens to every session and 1,818 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

better-colors

Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.

jakubkrehel/skills · 38 tokens

prototype-web

可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.

nexu-io/html-anything · 24 tokens