logseq-wiki: Skill for Claude Code

.skills/llm-wiki/SKILL.md

llm-wiki is a skill for Claude Code, Codex from ystreibel/logseq-wiki. It costs 42 tokens per session (2,498 once invoked), scanned A, original, MIT.

A foundation skill for building a Logseq wiki, where notes are stored as linked text pages. It defines how to read the vault, write wiki pages, and track processed sources.

In plain words
What is it for?
Supporting skills that read Logseq pages, create wiki content, update indexes, and record which sources have been processed.
Why use it?
It gives other wiki skills a shared file structure and writing format, so they can work consistently. The description says it is not meant to be invoked directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

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/llm-wiki/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 llm-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/ystreibel/logseq-wiki/llm-wiki.svg)](https://agentmods.dev/skills/ystreibel/logseq-wiki/llm-wiki)
Your own site
<a href="https://agentmods.dev/skills/ystreibel/logseq-wiki/llm-wiki"><img src="https://agentmods.dev/badge/skills/ystreibel/logseq-wiki/llm-wiki.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,498 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00042 $0.02498
Opus 5 $0.00021 $0.01249
Sonnet 5 $0.00008 $0.00500
Haiku 4.5 $0.00004 $0.00250

Measured 8d ago against content hash 722b24d1c0b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

llm-wiki 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 8d 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/llm-wiki/SKILL.md · 234 lines

How it starts

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

Logseq LLM Wiki — Fondation

Ce skill est la base commune à tous les skills wiki-*. Il définit les primitives de lecture, la syntaxe Logseq, le format des pages wiki, et la structure du manifest.

Vault

Le vault est toujours le répertoire de travail courant. Structure :

  • pages/ — thèmes et projets (lecture seule)
  • journals/ — notes quotidiennes au format YYYY_MM_DD.md (lecture seule)
  • assets/ — images et PDFs référencés dans les .md (lecture seule)
  • wiki/ — wiki généré par Claude (lecture + écriture)
    • wiki/_master-index.md — index global
    • wiki/_manifest.json — tracking des sources ingérées
    • wiki/_log.md — historique des opérations
    • wiki/[thème]/_index.md — index par thème
    • wiki/[thème]/[page].md — page wiki

Primitives de lecture

Utilise toujours la primitive la moins coûteuse qui répond au besoin :

Besoin Primitive Coût
Trouver des fichiers contenant un terme Grep (files_with_matches) ~0 token
Lire le contenu d'un fichier ciblé Read faible
Lister les fichiers d'un dossier Glob ~0 token
Chercher un pattern dans un fichier Grep (content) faible

Règle : Grep d'abord pour identifier, Read ensuite pour lire. Ne jamais faire un Read de tous les fichiers d'un dossier sans Grep préalable sauf si explicitement nécessaire.

Syntaxe Logseq

Propriétés de page (toujours en début de fichier, sans séparateurs ---)

title:: Nom de la page
category:: nom-du-thème
tags:: tag1, tag2, tag3
sources:: [[Page Source]], [[journals/2026_04_01]]
summary:: Résumé en une phrase (≤200 caractères)
provenance:: extracted: 0.72, inferred: 0.25, ambiguous: 0.03
base_confidence:: 0.65
lifecycle:: draft
lifecycle_changed:: 2026-05-22
tier:: supporting
created:: 2026-05-22
updated:: 2026-05-22
relationships:: [[wiki/concepts/related-concept]] (extends), [[wiki/entities/related-entity]] (uses)

Blocs

  • Les blocs sont des lignes commençant par -
  • L'indentation (tabulation) crée des sous-blocs
  • collapsed:: true sur un bloc le replie dans l'UI

Read the full file on GitHub · 234 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 234 lines · 42 tokens per session scan A 722b24d1c0b3

Subscribe to this mod's changes

llm-wiki is a skill published in the GitHub repository ystreibel/logseq-wiki (4 stars, last pushed 12d ago), licensed MIT. It adds 42 tokens to every session and 2,498 once invoked, about $0.0002 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

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens