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.
curl -O https://raw.githubusercontent.com/ystreibel/logseq-wiki/main/.skills/graph-colorize/SKILL.mdgit clone --depth 1 https://github.com/ystreibel/logseq-wikiWrote 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.
[](https://agentmods.dev/skills/ystreibel/logseq-wiki/graph-colorize)<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>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.
| Model | Per session | Once 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 |
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.
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
colorGroupsJSON comme Obsidian. La colorisation du graphe Logseq se fait vialogseq/custom.cssen 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
- Lire
~/.logseq-wiki/config(ou.envlocal) →LOGSEQ_VAULT_PATH - Vérifier que
$LOGSEQ_VAULT_PATH/logseq/existe. Si non, demander à l'utilisateur d'ouvrir le vault dans Logseq d'abord. - Avertir l'utilisateur si Logseq est probablement ouvert : Logseq peut écraser
custom.cssau 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
- Lister tous les
.mdsous$LOGSEQ_VAULT_PATH/wiki/(exclure_archive/,_meta/) - Pour chaque page, extraire la ligne
tags:: <valeurs>et parser les tags (séparés par,) - Compter la fréquence de chaque tag ; trier décroissant ; prendre le top 10
- Générer le CSS :
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.
- 6d ago First seen · 153 lines · 90 tokens per session scan A 18851dfa6e6e
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.
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…
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.
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…
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…
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.
prototype-web
可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.