Skip to main content

Turn any folder into a queryable knowledge graph. Inspired by Andrej Karpathy's LLM Wiki concept.

Project description

my-llm-wiki logo

my-llm-wiki

Turn any folder of code, docs, papers, or images into a queryable knowledge graph.

Documentation · PyPI · Issues


Inspired by Andrej Karpathy's LLM Wiki concept: drop raw files → compile once → query forever.

Install

pip install my-llm-wiki
pip install my-llm-wiki[all]   # PDF + .docx/.xlsx + Leiden clustering

Usage

llm-wiki .                          # build graph → wiki-out/
llm-wiki query gods                 # most connected nodes
llm-wiki query search <term>        # keyword search
llm-wiki query neighbors <label>    # direct connections
llm-wiki query path <A> <B>         # shortest path
llm-wiki watch .                    # auto-rebuild on changes
llm-wiki add <url>                  # ingest URL as markdown

Claude Code Skill

For deep extraction of DOCX, scanned PDFs, and images via agent mode:

mkdir -p ~/.claude/skills/my-llm-wiki
cp "$(python -c 'import my_llm_wiki; print(my_llm_wiki.__path__[0])')/SKILL.md" ~/.claude/skills/my-llm-wiki/

Then /wiki . in Claude Code runs structural + semantic extraction.

Docs

Full documentation at phuc-nt.github.io/my-llm-wiki

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

my_llm_wiki-0.3.0.tar.gz (65.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

my_llm_wiki-0.3.0-py3-none-any.whl (82.2 kB view details)

Uploaded Python 3

File details

Details for the file my_llm_wiki-0.3.0.tar.gz.

File metadata

  • Download URL: my_llm_wiki-0.3.0.tar.gz
  • Upload date:
  • Size: 65.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for my_llm_wiki-0.3.0.tar.gz
Algorithm Hash digest
SHA256 032374a2e6b20d7fe9270a89fd4e71b4280744a8cb5f95cabfc98b002350ef46
MD5 62ba080e379bb367d7aeaa5fa336efbc
BLAKE2b-256 c27e7901bcb1e01a435c89ab663cfb57de26682d4c5512c5fa55e6836d452cec

See more details on using hashes here.

File details

Details for the file my_llm_wiki-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: my_llm_wiki-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 82.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for my_llm_wiki-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36d4fdc3ae34730156ccd04b8d00159c99521d200b9ea60e9873cedc3523a5da
MD5 bc48153f6de95af0a72b7b94fa7e07e1
BLAKE2b-256 75019ac79a0243e557b4dc2cc03266602ab859d5d903942c4f46fa7f14f73400

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page