شعار Llm Wiki

Llm Wiki

المجتمع
micuintus
llm-wiki

Karpathy's LLM Wiki: LLM-curated personal knowledge base. Trigger on "add to wiki", "save this", "file this", "remember this", "ingest this paper/article/chat/video", "what do I know about X", "what's in the wiki about X", "lint/audit the wiki", or any mention of "LLM wiki", "Karpathy wiki", or "knowledge base" — i.e., any accumulation of material that should compound rather than scatter.

نظرة عامة

الناشرmicuintus
المستودعllm-wiki
اسم المهارةllm-wiki
النجوم
32
التفريعات
0
الملفات المرفقة
7
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها micuintus على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Llm Wiki في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/micuintus/llm-wiki/tree/main/llm-wiki
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/micuintus/llm-wiki.git /tmp/llm-wiki
mkdir -p .claude/skills
cp -r /tmp/llm-wiki/llm-wiki .claude/skills/llm-wiki
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Llm Wiki في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Llm Wiki تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Llm Wiki بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

LLM Wiki

The user curates sources; the LLM does the bookkeeping. Knowledge compounds in markdown rather than being re-derived per query.

Layout

<project>/llm-wiki/
├── SCHEMA.md            # per-project conventions — read FIRST
├── index.md             # catalog of compiled pages
├── log.md               # append-only op log
├── raw-sources/         # immutable; append-only
│   ├── index.md         # registry of every source
│   └── <bucket>/        # copies of ad-hoc sources only
└── <topic>/             # compiled pages

SCHEMA.md overrides everything below. If llm-wiki/ doesn't exist, create the four stubs (using references/SCHEMA.template.md) and propose schema values before the first ingest.

Ingest

Ingest = register + compile + log. Use these verbs precisely in log.md so wiki state is transparent.

  1. Register. List the source in raw-sources/index.md with a stable identifier. If the source is mutable or auth-walled (e.g. Google Doc, Confluence), copy it into raw-sources/<bucket>/YYYY-MM-DD-slug.md (see references/source.template.md). If the source is already stable (in-repo path, public URL), reference it by path/URL without copying. New bucket needs user approval + SCHEMA update.

    raw-sources/index.md format: one section per bucket. Each entry is a table row with path | slug | topics. Keep it terse — this is a registry, not a summary.

    HTML documentation sites (Sphinx, Doxygen, ReadTheDocs) and auth- walled sources (Confluence, Google Docs) may require extraction or credentials. Redact credentials from any copied material. For proprietary or confidential sources, prefer reference-by-path over copying, and don't reproduce confidential identifiers in any page you may publish.

  2. Compile. Distill the source into pages in <topic>/. Merge with targeted edits (don't rewrite); append to sources:; bump updated:. Cascade to other affected pages. Forward references to pages not yet compiled are acceptable — they self-resolve as the wiki grows. Annotate conflicts inline with attribution. Archive pages (type: synthesis/archive) are never cascade-updated.

  3. Log. Update index.md; append to log.md: ## [YYYY-MM-DD] ingest | <title> + - Updated: <page> per cascade. If only register happened (no compile yet), log as ## [YYYY-MM-DD] register | <title> and note "compile pending".

    log.md is the wiki's VCS-independent operation log: it works when the wiki isn't a git repo, stays readable without shelling out to git, and in a shared repo isolates wiki ops from surrounding code commits. Keep entries semantic — what knowledge changed and why — not file-level; git already records the diff.

For many independent sources, ingest can run in parallel: dispatch one subagent per source to compile concurrently. Serialize writes to the shared files (index.md, log.md, raw-sources/index.md) through one agent or a final merge pass — concurrent edits to the same file conflict.

Frontmatter (mandatory): title, type, updated, sources. Types: concept, decision, bug, open-question, source, reference, synthesis, stub. Use stub for sources registered but not yet compiled. Optional: tags: [tag1, tag2] for grep-based discovery on wikis >20 pages. Depth rules per type — plus concept variants and the correction pattern — in references/quality.md.

Special sources

  • Code repositories / source trees — different shape from prose. See references/code-source-recipe.md.
  • Agent sessions — Pi (JSONL trees with forks): see references/pi-session-recipe.md. Claude Code, Gemini CLI, opencode: see references/agent-session-recipe.md. Lazy-load.
  • Web LLM chats — now the separate @micuintus/ingest-web-chat package (URL → markdown via CDP, enterprise-SSO-safe).
  • Binaries (figures, audio, checkpoints) — bucket per kind, always pair with a companion .md; cite the .md, not the binary.
  • PDFs — extract to text first (pdftotext -layout or equivalent), register the extracted text path, not the PDF.

For sources whose claims are inconsistent or partially fabricated (common for LLM chat exports), add reliability: high|mixed|unverified to the source entry's frontmatter and annotate per-claim attribution in compiled pages. See references/quality.md for the pattern.

Query

Read index.md, follow links, synthesize with citations. Prefer wiki over training; say so if coverage is missing. If the answer connects ≥2 pages, offer to file as type: synthesis.

When the user explicitly asks to file/save/archive a query answer, or to document a correction to prior analysis, see references/synthesis-and-archive.md (also covers the ### Correction: pattern in references/quality.md).

Navigation and discoverability

A wiki that only machines can navigate compounds poorly. Apply these patterns during compile so humans can use it too. None of this applies to wikis under ~10 pages — for small wikis a flat index.md is fine.

One canonical browse location

Pick README.md or index.md as the place that lists every compiled page, not both. Two browse lists drift the moment you add a page. The other file links to it.

The usual split: README.md is the GitHub landing (goal-oriented, small, links into the wiki); index.md is the canonical full browse.

Inline table of contents on long pages

Pages >200 lines get a ## Contents block immediately after the h1, linking to slugified section anchors:

markdown
## Contents

- [Section name](#section-name)

Line count is the threshold; H2-count alone is not enough (short pages with many short sections scroll fine). GitHub's slug rules are not obvious for headings with em-dashes, parens, or slashes — verify anchors via lint, not by guessing.

Survey page lede

Survey pages (pages comparing ≥3 entries) open with a 2–3 sentence "short answer" naming the top picks before any taxonomy or variant breakdown. Readers who just want a recommendation get one without scrolling.

If you find yourself writing a "What this page is for" or "About this survey" section, that's a smell — write the answer instead. Defensive meta-commentary tells the reader the author was unsure; it doesn't help the reader decide.

Decision tables on survey pages

Survey pages end with a picking table: "If you want X, use Y" with a one-line why. Don't make the reader re-synthesize what the survey already concluded. Topic pages and concept pages don't need this.

## See also on every page

2–4 related links. Reference pages and index.md are not exempt. If a page genuinely has no relations, write the section with an explanation — the heading itself is the consistency signal.

Lint

Two categories with different authority levels.

Deterministic (auto-fix)

  • Index ↔ filesystem sync. File present but missing from index.md → add entry with (no summary) placeholder. Index entry pointing to nonexistent file → mark [MISSING]; do not delete.
  • Internal links. For every ](path.md) link in compiled pages, verify the target exists at that relative path. Common errors: same-dir links written as ../dir/file.md; sibling links written as dir/file.md (looks for subdir, not sibling). If exactly one file with the same basename exists elsewhere, fix the path; otherwise report.
  • Anchor links. For every ](path.md#anchor) and same-page ](#anchor) link, verify the anchor matches a slugified heading in the target. GitHub slugifies by lowercasing, replacing spaces with -, dropping most punctuation but keeping - and _, and collapsing repeated -. Report mismatches.
  • Raw-source references. Every link from a compiled page into raw-sources/ must resolve. Same fix-or-report rule.
  • See Also bidirectionality. If A links to B in See Also, B should link back. Add the missing direction.
  • Frontmatter type validity. Reject types not in the canonical list.
  • Stub aging. type: stub pages older than 30 days → flag in log.

Heuristic (report only)

  • Contradictions across pages without attribution.
  • Stale claims superseded by newer sources.
  • Orphan pages (no inbound links).
  • Concepts mentioned ≥3× across the wiki but lacking a dedicated page.
  • Sources with reliability: mixed|unverified whose claims appear in compiled pages without per-claim attribution.
  • Archive pages whose cited sources have been substantially updated.

Post-lint

Append to log.md:

## [YYYY-MM-DD] lint | <N> issues, <M> auto-fixed
- <issue or fix summary>

Schema

LLM proposes; user approves. Triggers: new bucket/topic, type misuse, systemic lint findings, user request.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Llm Wiki؟

Karpathy's LLM Wiki: LLM-curated personal knowledge base. Trigger on "add to wiki", "save this", "file this", "remember this", "ingest this paper/article/chat/video", "what do I know about X", "what's in the wiki about X", "lint/audit the wiki", or any mention of "LLM wiki", "Karpathy wiki", or "knowledge base" — i.e., any accumulation of material that should compound rather than scatter.

لماذا تستخدم Llm Wiki على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Llm Wiki عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Llm Wiki في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/micuintus/llm-wiki/tree/main/llm-wiki. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Llm Wiki؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Llm Wiki؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Llm Wiki معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Llm Wiki مجانية؟

نعم. نشرها micuintus على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇