Logo : To Wiki

To Wiki

Communauté
elianiva
to-wiki

Take knowledge from the current conversation and compound it into a living wiki in the personal Obsidian vault. The agent scouts existing pages via QMD first, proposes what to write, quizzes the user, then upserts.

Présentation

Éditeurelianiva
Dépôtdotfiles
Nom de la compétenceto-wiki
Étoiles
204
Forks
9
Fichiers inclus
Instructions uniquement
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par elianiva sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA To Wiki dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/elianiva/dotfiles/tree/master/agents/skills/to-wiki
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/elianiva/dotfiles.git /tmp/dotfiles
mkdir -p .claude/skills
cp -r /tmp/dotfiles/agents/skills/to-wiki .claude/skills/to-wiki
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez To Wiki dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement To Wiki dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence To Wiki n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

To Wiki

Turn what you and the user have been discussing into a living wiki — a persistent, interlinked collection of markdown pages that grows richer with every conversation. You do the reading, writing, and cross-referencing; the user curates what's worth keeping.

Everything lives in the personal vault at ~/Development/personal/notes/. The only variable is which directory within it:

DirectoryWhen
Vault/<topic>/General knowledge — concepts, techniques, definitions, reference material.
Projects/<project>/Knowledge about a specific project — architecture decisions, domain concepts, code patterns, findings.

The skill picks the directory based on context. If the conversation is about code in a known project, it goes in Projects/<project>/. If it's general, it goes in Vault/<topic>/. When ambiguous, it asks.

Conventions

Frontmatter

yaml
---
tags:
  - <kebab-case-tag>
  - <topic-area>
created_at: <YYYY-MM-DD>
aliases: []
id: <Title as in filename>
---

Rules:

  • id matches the filename (minus .md). This is how [[Wiki-Links]] resolve.
  • created_at is set once on creation. Add updated_at on subsequent edits.
  • Tags are kebab-case. Reuse existing tags from the vault where possible.
  • #public is never added automatically. Only when the user explicitly confirms a page is for the digital garden. Everything is private by default.

Writing style

  • Structured markdown with ### subsections.
  • Bullet lists for takeaways or enumerations.
  • Code blocks with language tags for technical content.
  • Every page links to at least one other page. A page with zero links is an orphan — orphan pages get lost. Link from new pages to existing ones, and offer to add backlinks from existing pages to new ones.

Inside Projects/

Each project gets its own directory under Projects/:

notes/
└── Projects/
    └── <project-name>/
        ├── index.md          # Catalog — auto-updated on every upsert
        └── <Topic>.md        # Knowledge pages

The project name matches the directory name you use for the project (e.g. remix-app, lutra). The agent figures out which project you're working on from the current working directory, the files in context, or your conversation.

Process

1. Scout the terrain

Search the existing wiki before writing anything. Do this autonomously — don't ask the user first.

Use QMD to search broadly first — it covers the whole vault:

bash
qmd query "<topic>" -c vault

Then narrow down based on what you find:

  • If the knowledge relates to a project, also search within Projects/<project>/ using QMD or by reading the directory.
  • If the topic has an obvious home (e.g. Vault/Software Engineering/ for a dev concept), scan that directory too.
  • Read any relevant pages in full with qmd get or the read tool.

Also assess the conversation context to determine which directory the content belongs in:

  • Is the conversation about code in a specific project (visible from cwd, open files, or what you're discussing)? → Projects/<project>/
  • Is it a general concept, technique, or reference? → Vault/<topic>/
  • If Vault/<topic>/ has an existing subdirectory that matches the content (e.g. Islam/, Motorsports/, Software Engineering/), use it. If none fits and there's no clear project, place it in Vault/ directly.

Completion criterion: You know what exists (or that nothing does), have identified the right directory for the new content, and can articulate whether this is a creation, revision, or cross-reference addition.

2. Formulate

Based on scouting, determine the shape of the work:

  • Create — a new concept not yet in the wiki. Choose a title distinct from existing pages.
  • Update — an existing page needs new sections, revised content, or corrected facts. Changing updated_at is required.
  • Cross-reference — existing pages should link to each other, or a new page needs links to existing ones. Every page needs at least one link.

Also determine:

  • Title — concise, matches the concept name the user used.
  • Target — Projects/<project>/ or Vault/<topic>/. For project content, also determine the project name (from cwd, git remote, or files in context).
  • Key information — distil what matters from the conversation. The wiki is compiled knowledge, not a transcript. Keep the essential, drop the ephemeral.

Completion criterion: You have a concrete proposal: what page(s) to touch, where they go, and what changes to make.

3. Present to the user

Show your proposal concisely:

→ **<Page Title>** in Projects/<project>/
  New page: <1-2 sentence summary>
  Links to: [[Existing Page]], [[Another Page]]

Or for general content:

→ **<Page Title>** in Vault/<topic>/
  New page: <1-2 sentence summary>
  Links to: [[Existing Page]], [[Another Page]]

Ask only what the user needs to decide:

  • "The title I'm thinking is X — does that work?"
  • "This is related to Y which already has a page — merge or keep separate?"
  • "I found these existing cross-references — should I add backlinks?"

Keep it tight. One round of confirmation resolves most cases. If the proposal is straightforward (new page, no ambiguity), a single "This looks right — write it" from the user is enough.

Completion criterion: The user has confirmed the plan. If there was ambiguity, one exchange resolves it.

4. Upsert

Write or update the pages with the agreed conventions.

New page — use the write tool to create the file with full frontmatter, content, and wiki-links.

Existing page — read it first with read, then use edit to update specific sections, or rewrite the whole file if changes are extensive. Always update updated_at in frontmatter.

Cross-references are a two-way street. After writing, check if pages you linked to should link back. Offer this to the user rather than doing it silently.

Update the index. If index.md exists, add or update the entry for every page you touched. If it doesn't exist and this is the first real page, create it:

markdown
# Wiki Index

## <Category>

- [[<Page Title>]] — <one-line summary>

Append to the appropriate category section. Create a new category if none fits.

Never touch:

  • Daily/ or Inbox/ — they are private and ephemeral by design.
  • Articles/ or People/ — they are for source summaries and profiles, not wiki knowledge. Only write there if the user explicitly asks.
  • Templates/, Images/, Music/ — each has a specialised purpose. The wiki lives in Vault/ and Projects/.

Never overwrite without confirmation. If a page already exists and you're proposing significant changes, show the diff to the user before applying.

Completion criterion: All approved pages are written or updated, with proper frontmatter, cross-references, and an updated index. The wiki is internally consistent — no orphan pages created, no stale index entries left.

5. Confirm

Summarise what was done:

Done. Created [[<Page>]] in project wiki, linked from [[<Related Page>]]. Index updated.

If anything is noteworthy — new tags created, a subdirectory was created for a dense topic, an existing page was significantly revised — mention it briefly.

Completion criterion: The user knows what happened and can verify the result.

What makes this different

  • Scout before write. Never assume the wiki is empty. Never overwrite knowledge that already exists.
  • Compile, don't transcribe. The wiki is distilled knowledge, not a chat log. If the user said something in passing that isn't worth keeping, leave it out.
  • Link or be orphaned. Every page connects to at least one other. The wiki's value is in the cross-references.
  • Index as table of contents. Without the index, the agent has to grep for everything. Maintain it on every upsert.

Foire aux questions

À quoi sert la compétence IA To Wiki ?

Take knowledge from the current conversation and compound it into a living wiki in the personal Obsidian vault. The agent scouts existing pages via QMD first, proposes what to write, quizzes the user, then upserts.

Pourquoi utiliser To Wiki sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. To Wiki se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer To Wiki dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/elianiva/dotfiles/tree/master/agents/skills/to-wiki. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser To Wiki ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec To Wiki ?

Autant que vous le souhaitez. Vous pouvez utiliser To Wiki avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA To Wiki est-elle gratuite ?

Cette compétence est publiée sur GitHub par elianiva. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇