Λογότυπο 03 Llm Wiki Interactive

03 Llm Wiki Interactive

Οργανισμός
decodingai-magazine
03-llm-wiki-interactive

Build and query an LLM-maintained wiki that learns from being used — questions, notes and repo answers land back in the graph (modes: ingest, query).

Επισκόπηση

Εκδότηςdecodingai-magazine
Αποθετήριοllm-wiki-workshop
Όνομα δεξιότητας03-llm-wiki-interactive
Αστέρια
43
Διακλαδώσεις
9
Συνοδευτικά αρχεία
13
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 13

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό decodingai-magazine. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI 03 Llm Wiki Interactive στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/decodingai-magazine/llm-wiki-workshop/tree/main/03-llm-wiki-interactive/.agents/skills/03-llm-wiki-interactive
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/decodingai-magazine/llm-wiki-workshop.git /tmp/llm-wiki-workshop
mkdir -p .claude/skills
cp -r /tmp/llm-wiki-workshop/03-llm-wiki-interactive/.agents/skills/03-llm-wiki-interactive .claude/skills/03-llm-wiki-interactive
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα 03 Llm Wiki Interactive σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα 03 Llm Wiki Interactive μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα 03 Llm Wiki Interactive δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

LLM Wiki — layer 03, interactive

You maintain a wiki that an LLM writes, an LLM reads, and — new in this layer — that learns from being used. Layers 01 and 02 only grew when someone ingested something. Here, asking it a question can leave the wiki better than it found it: questions are logged, synthesized answers become notes, questions the wiki cannot answer become open questions, and a question about an ingested repo produces a new source-like page that flows through the same ingest tail as any source.

The discipline that makes this safe is regime separation (CONVENTIONS.md §13): reading a source can never change what the wiki says that source means.

Four files carry the contract, and you follow them exactly:

  • CONVENTIONS.md — layout, identity, threshold, links, log, OKF, write regimes.
  • PAGES.md — the template and receipt for every page type.
  • SOURCES.md — the adapter contract, the routing table, and how to add an origin.
  • QUERY.md — the whole query path, Q.1–Q.8.

Read the first two before your first write in a session, and QUERY.md before your first answer.


Step 0 — Locate the wiki

Glob wiki-*/ in the project root and keep the ones that contain both raw/ and wiki/.

FoundDo
exactly 1Use it.
more than 1Ask the user which one.
0, ingest modePropose a slug from the topic of the incoming notes (kebab-case, e.g. ai-engineering), confirm it with the user, then create the wiki.
0, query modeSay there is no wiki yet and stop. Do not create one to answer a question.

Creating a wiki:

bash
mkdir -p wiki-<slug>/raw wiki-<slug>/wiki/sources wiki-<slug>/wiki/entities wiki-<slug>/wiki/concepts
printf '# Log\n' > wiki-<slug>/log.md

Step 1 — Detect mode

Ingest iff the user used an explicit verb (ingest, add, build, index) or dropped file/directory paths. Everything else is query.

When it is ambiguous, choose query. Redirecting a query is cheap; a mis-triggered ingest writes files the user did not ask for.


Spawning subagents

Every page in this layer is written by a subagent defined in agents/. To spawn one, whatever your harness calls it:

  1. Read agents/<name>.md.
  2. Pass its entire body as the subagent's prompt, followed by the inputs its Inputs table lists, as plain key: value lines.
  3. Run it on a Sonnet-class model (or your provider's equivalent mid-tier model; fall back to the harness default). The agent file states its own preference.
  4. Run them in parallel when your harness supports it, sequentially when it does not. The result is identical, only slower.
  5. Expect exactly one JSON receipt back. If an agent returns prose instead, re-read the receipt shape in its file and re-run that one agent.

(In Claude Code: the Task/Agent tool, one call per writer, several in one message to run them concurrently.)

Why this is the whole lesson: a raw file is read exactly once, by one source_writer, and never enters your context or any other agent's. You see receipts — a few hundred tokens each. page_writer reads only source pages; overview_writer reads only frontmatter. That is why 50 sources cost about the same orchestrator context as 5.


Ingest path

You route and delegate. The only files you write yourself are log.md and the report to the user.

1.0 Route each input

Match every input against the routing table in SOURCES.md, first match wins:

InputOriginRaw artifactWriter
an existing path on disklocalraw/<slug>.mdsource_writer
github.com/<owner>/<repo> or *.gitreporaw/repos/.github-<owner>-<repo>/repo_writer
youtube.com / youtu.beyoutuberaw/youtube-<slug>.mdsource_writer
any other http(s)://articleraw/article-<slug>.mdsource_writer

The YouTube adapter is a deliberate skeleton: it raises NotImplementedError with a pointer to SOURCES.md § How to add a source. When a user drops a YouTube URL, run it, report the failure plainly, and continue with the other inputs.

1.1 Collect inputs and dedup

Expand every path the user gave you:

  • a directory → recursively every *.md inside it. An assets/ folder is not a list of inputs — nothing inside it becomes a source. Its files travel later, in 1.2, as attachments of the notes that embed them.
  • a file → itself.

For each input compute its raw path from the routing table — for a local note raw/<slug>.md, where <slug> is the filename stem, slugified: lowercase, every run of non-alphanumeric characters collapsed to a single -, leading/trailing - stripped, truncated to 60 characters at a - boundary. The adapters derive their own slugs the same way, from the URL's last path segment or from <owner>-<repo>.

Then split the inputs (this is the whole of dedup — see CONVENTIONS.md §4):

bash
ls wiki-<slug>/raw/ wiki-<slug>/raw/repos/     # everything already ingested, by identity
  • raw path exists → skipped. Report the input by name plus the original_path recorded on its existing page. If the incoming file differs in content from raw/, say so explicitly and still skip.
  • raw path free → new.
  • repo that already exists → refreshed, not skipped (CONVENTIONS.md §7).

There is no cap in this layer. Layer 01 capped a run at 10 notes because one context had to hold all of them; here each raw file is read by its own subagent and you only ever see receipts. Do sanity-check the count with the user before spawning 50 agents, and batch them in groups your harness can actually run.

1.2 Run the adapter for each new input

One adapter call per input, per the recipes in SOURCES.md:

bash
# local — the note, then the attachments it embeds (see CONVENTIONS.md §4)
cp "<input path>" "wiki-<slug>/raw/<slug>.md"
mkdir -p "wiki-<slug>/raw/assets"
cp "<dir of the input note>/assets/<embedded file>" "wiki-<slug>/raw/assets/"   # skip if it exists

# article
uv run --script .agents/skills/03-llm-wiki-interactive/scripts/fetch_article.py \
  --url "<url>" --wiki-dir wiki-<slug>

# repo
uv run --script .agents/skills/03-llm-wiki-interactive/scripts/clone_repo.py \
  --repo "<url>" --wiki-dir wiki-<slug>

Keep each receipt — the writers need original_path, title, source_url, authors, published_date, and for repos clone_path, commit_sha, branch. If an article receipt carries a warning, surface it and do not write a source page from a paywall stub.

1.3 Spawn one writer per new raw artifact

List the existing pages once, and pass them to every writer so they reuse canonical slugs instead of inventing near-duplicates:

bash
ls wiki-<slug>/wiki/entities wiki-<slug>/wiki/concepts
  • File artifacts → one agents/source_writer.md per raw file, in parallel.
  • Repos → one agents/repo_writer.md (mode: architecture) per repo, output wiki/repos/github-<owner>-<repo>/ARCHITECTURE.md.

Collect the receipts. Union of entities_referenced and concepts_referenced across them is your "touched slugs" set for the tail. Do not read the pages the writers produced — the receipt is the interface.

1.4 Ingest tail — entity and concept pages

bash
uv run --script .agents/skills/03-llm-wiki-interactive/scripts/count_mentions.py --wiki-dir wiki-<slug>

The qualifying lists are the slugs at ≥2 distinct source-like pages — now counted across wiki/sources/ and wiki/repos/*/, so a repo can be one of the two sources that materialize a concept.

Spawn one agents/page_writer.md per qualifying slug that one of this run's new pages touched, in parallel, passing the source_pages the script listed for that slug. A slug that was already qualifying and that no new page mentions has not changed — leave it alone.

1.5 Rewrite the overview

Spawn agents/overview_writer.md with the count_mentions.py output. It walks frontmatter and reads at most 5 full pages.

1.6 Rebuild the index

bash
uv run --script .agents/skills/03-llm-wiki-interactive/scripts/build_index_md.py --wiki-dir wiki-<slug>

Fix anything it reports as an ERROR: (a page with no type) before moving on.

1.7 Append to the log

markdown
## <YYYY-MM-DD> ingest | <what came in>

- Ingested N notes from `<path>`; skipped M already present (<names>)
- Source pages: <slugs>
- New pages: <slug> (concept, 2 sources), ...
- Updated pages: <slug> (2 → 3 sources), ...
- Waiting at 1 mention: <slug>, <slug>

1.7b Check the open questions

If wiki/open-questions.md exists, read it and add one bullet to your report naming any open questions the new sources appear to address. Do not edit the file and do not mark anything resolved — a human decides whether an answer landed, and the open question stays until they say so.

1.8 Report back

New, skipped and refreshed counts by origin, the pages your agents wrote, the wiki path, and one line telling the user to open wiki-<slug>/wiki/index.md in Obsidian. If any slug is sitting at exactly 1 mention, name a couple — that is the wiki's own to-do list.


Query path — see QUERY.md

When Step 1 selects query mode, read QUERY.md now and follow it; the rest of this file is ingest-only. It covers Q.1 locate, Q.2 load the index, Q.3 the disclosure ladder, Q.4 classify the question, Q.5 the general path and its save-back rules, Q.6 the repo path (including the ingest tail a repo note must run through), Q.7 open questions, and Q.8 log and present.

The one-line summary: always write the slim question page; write a note only when the answer cited ≥2 wiki pages or the user asked you to; never edit an ingest-owned page.


Harness notes

This skill is written for any agent harness. It needs five capabilities:

CapabilityUsed for
read a fileraw notes, wiki pages
write a fileevery page you create
run a shell commandcp, ls, mkdir, the scripts
ask the userthe wiki slug, which wiki to use
spawn a subagentevery page written in this layer

In Claude Code those are Read, Write, Bash, AskUserQuestion and the Task/Agent tool. Nothing in this skill pins a model or a tool name — the agent files state a model preference in prose, and any harness that can run a sub-conversation with a prompt can run them.

Agent reference

Read the file, pass its body as the prompt, collect one JSON receipt.

AgentReadsWrites
agents/source_writer.mdone raw/ file — the only agent that mayone wiki/sources/<slug>.md
agents/repo_writer.mdone clone under raw/repos/one page under wiki/repos/<repo>/
agents/page_writer.mdthe source-like pages for one slugone wiki/entities/ or wiki/concepts/ page
agents/overview_writer.mdfrontmatter, plus ≤5 full pageswiki/overview.md
agents/repo_writer.md (mode: question)one clone, plus the repo's ARCHITECTURE.mdone wiki/repos/<repo>/<question-slug>.md — wired up in this layer (QUERY.md Q.6)

Script reference

All five scripts are PEP 723 single files — uv installs their dependencies on the first run. You run them; the user never does. Paths below are relative to the layer directory.

ScriptCallDoes
scripts/count_mentions.pyuv run --script .agents/skills/03-llm-wiki-interactive/scripts/count_mentions.py --wiki-dir wiki-<slug>Frontmatter walk over source-like pages → {slug: [pages]} + the qualifying list at ≥2. JSON on stdout, table on stderr.
scripts/build_index_md.pyuv run --script .agents/skills/03-llm-wiki-interactive/scripts/build_index_md.py --wiki-dir wiki-<slug>Regenerates wiki/index.md and each wiki/<subdir>/index.md from frontmatter, then checks OKF conformance. Deterministic: same input, same bytes.
scripts/clone_repo.py--repo <url> --wiki-dir wiki-<slug>Shallow-clones into raw/repos/.github-<owner>-<repo>/, or refreshes it. JSON receipt with commit_sha and action.
scripts/fetch_article.py--url <url> --wiki-dir wiki-<slug>curl → body isolation → markdown at raw/article-<slug>.md. Warns when the body looks like a paywall.
scripts/fetch_youtube.py--url <url> --wiki-dir wiki-<slug>Skeleton. Raises NotImplementedError — the workshop exercise in SOURCES.md.

No script writes wiki content. They fetch, they count, they render — every word in wiki/ is written by an agent.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI 03 Llm Wiki Interactive;

Build and query an LLM-maintained wiki that learns from being used — questions, notes and repo answers land back in the graph (modes: ingest, query).

Γιατί να χρησιμοποιήσετε τη δεξιότητα 03 Llm Wiki Interactive στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η 03 Llm Wiki Interactive είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα 03 Llm Wiki Interactive στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/decodingai-magazine/llm-wiki-workshop/tree/main/03-llm-wiki-interactive/.agents/skills/03-llm-wiki-interactive. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα 03 Llm Wiki Interactive;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα 03 Llm Wiki Interactive;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα 03 Llm Wiki Interactive με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI 03 Llm Wiki Interactive;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό decodingai-magazine με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇