← all skills

dg-obsifetch

A neofetch for your vault — build-time stats as a text route and a footer card.

L2 · build scan v1.0 MIT digital-garden neofetch stats
dg-obsifetch example screenshot dg-obsifetch example screenshot

Renders a neofetch-style readout of your Digital Garden — file counts and sizes, orphan files, internal links, and theme — computed at build time. It ships two surfaces from one data source: a curl-able /neofetch.txt plain-text route, and a styled footer card with ASCII art and live theme-color swatches. A tribute to the tabibyte/obsifetch Obsidian plugin, which does this inside the app.

Finishes the classic half-done embed. The usual state is a working /neofetch.txt but no visual embed (or a fragile fetch-into-<pre>). This ships a proper inline card — no client fetch, no loading flash, JS-off safe — and keeps the tabibyte/obsifetch tribute credit on both surfaces.

How it works

A single Eleventy data file, vaultStats.js, recursively scans your notes/files/img trees once per build and exposes vaultStats to every template. Both surfaces read it, so the numbers always agree. The 8 palette squares map to your DG theme tokens, so they track light/dark and any theme swap for free.

_data/vaultStats.js → build scan → vaultStats
  → /neofetch.txt        (plain text: ASCII + stats)   [curl-able]
  → footer card          (ASCII + stats + swatches)    [visual]

How to use it

Copy the skill folder into your agent's skills directory, then in your Digital Garden repo ask:

git clone https://github.com/palol/skills-zoo.git
cp -r skills-zoo/skills/dg-obsifetch ~/.claude/skills/

(or ~/.agents/skills/)

Use the dg-obsifetch skill to add a neofetch-style vault-stats readout to my digital garden. Verify prerequisites first, install the data engine, the /neofetch.txt route, and the footer card into user-owned paths, set my domain, then build and walk me through verification.

What it touches

Why L2, not L1. Beyond writing user-owned files, this adds a build-time data file that recursively reads your notes/files/img trees to compute stats. It's read-only — no network, no writes, no plugin-core edits — and fully reversible via git. Review assets/vaultStats.js before adding it.

What's in the box

Prerequisites

Scope is Digital Garden only — the notes layout, theme env vars, and theme tokens are DG-specific.

Browse the full source on GitHub →