In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| .theme--dark { | |
| --color-main-background: rgb(13, 17, 23); | |
| --color-main-background-translucent: rgb(13, 17, 23); | |
| --color-background-dark: rgb(13, 17, 23); | |
| --color-background-hover: #21262c; | |
| --color-primary-light: #21262c; | |
| --color-border: #21262d; | |
| --input-form-background: #010409; | |
| --btn-primary: #238636; | |
| --btn-primary-hover: #1b6e2b; |
| @font-face { | |
| font-family: "Fira Code Nerd Font"; | |
| font-style: normal; | |
| font-weight: 200; | |
| src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete.ttf') format('truetype'); | |
| } | |
| @font-face { | |
| font-family: "Fira Code Nerd Font"; | |
| font-style: normal; | |
| font-weight: 400; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <script src="Scripts/jquery-1.9.1.min.js"></script> | |
| <link href="Content/bootstrap.min.css" rel="stylesheet" /> | |
| <script src="Scripts/isRockFx.js"></script> | |
| <script> | |
| $(function () { |