by elhajahmadj
One command downloads a complete offline, no-internet emergency library: local AI (CPU/GPU), document Q&A, full Wikipedia, offline maps for any country/region (default US), survival/repair/medical archives, and public-domain manuals. Asks only where to save.
# Add to your Claude Code skills
git clone https://github.com/elhajahmadj/offline-emergency-libraryGuides for using ai agents skills like offline-emergency-library.
offline-emergency-library is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by elhajahmadj. One command downloads a complete offline, no-internet emergency library: local AI (CPU/GPU), document Q&A, full Wikipedia, offline maps for any country/region (default US), survival/repair/medical archives, and public-domain manuals. Asks only where to save. It has 186 GitHub stars.
offline-emergency-library's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/elhajahmadj/offline-emergency-library" and add it to your Claude Code skills directory (see the Installation section above).
offline-emergency-library is primarily written in HTML. It is open-source under elhajahmadj on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh offline-emergency-library against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A complete, offline, no-internet "survival knowledge" kit you can download with a single command. Built for emergencies, grid-down scenarios, remote areas, or anyone who wants a self-contained offline reference + AI on a drive.
One command asks you only one thing — where to save the files — then downloads everything and writes all the documentation (Markdown and HTML). After that, it all works with no internet.
You need a computer with internet and a drive with 128 GB or more free (an external SSD is best). The download is about 85 GB and can take several hours.
Windows
install.bat. If Windows says "Windows
protected your PC", click More info, then Run anyway. If Smart App Control blocks
it and there is no Run anyway button, right-click install.bat, choose
Properties, tick Unblock, click OK and double-click it again.E:\, and press Enter. Then answer a few
questions: how much to install, which maps and which extras. Enter takes the suggested answer.Mac
install.command. The first time, the Mac says
"install.command" Not Opened: click Done, open System Settings > Privacy & Security,
click Open Anyway (twice), and type your password./Volumes/MyDrive, and press Return. Then answer a
few questions: how much to install, which maps and which extras. Return takes the suggested answer.Linux
curl -fsSL https://raw.githubusercontent.com/elhajahmadj/offline-emergency-library/main/get-offline-library.sh | bash
/media/you/MyDrive, and press Enter. Then answer
a few questions: how much to install, which maps and which extras.Or use the ZIP, like Windows and Mac: extract it, open a terminal in the folder and run
bash install.sh. The file is not marked as executable, so start it with bash (or run
chmod +x install.sh first). It asks the same first question as the other launchers.
Leave the window open until it says Finished, then open
START-HERE.html in the OfflineLibrary folder it made there. If the download stops, run it again the same
way: it carries on where it left off.
Phone (no computer or drive needed)
Want just the manuals on your phone for a grab-and-go kit? Get the phone docs pack — one
zip (about 250 MB, so use Wi-Fi) with the medical, first-aid, survival, repair and
food-growing manuals plus short emergency guides. No computer, no drive and no special app:
the PDFs open in any reader. (It does not include Wikipedia, maps or the offline AI — for
those, install to a computer and see USE-ON-PHONE.)
.md guides into an on-device document-AI app (for example NomadAI, iOS/Android) to ask questions about them offline.The release page lists the current size, files and licenses.
install.bat, install.command and install.sh first ask How would you like to install?
and offer two choices:
web/index.html, in your
browser. Tick what you want, then use the button near the bottom of the page to save your
selection. It saves a selection.json file to your Downloads folder. Go back to the launcher
window and press a key (Return on Mac and Linux). The launcher takes the newest
selection*.json in Downloads, shows when that file was saved and what it will install, and
asks you to confirm before it downloads anything. If the file is older than this run, it says
so: it may be an old pick. This is the same as
installing from a selection file.The picker page needs the kit's web/ folder next to the launcher. The ZIP has it. If
web/index.html is not there, or there is no selection*.json in Downloads, the launcher says so
and asks whether to install everything instead. Type y for a full install. Any other answer
stops, with nothing downloaded.
Smaller drive, another country's maps, or extra content? See Advanced: options and flags.
| Component | What it is | Size (approx) | Needs to run |
|---|---|---|---|
| Offline AI chat | 3 local AI models (Llama 3.2 3B, Llama 3.1 8B, Qwen2.5 7B) + CPU & GPU engines (llama.cpp) | ~11 GB | CPU only (GPU optional) |
| Offline doc-Q&A | GPT4All — ask an AI questions about your PDFs, with citations | ~0.7 GB | CPU, one-time install |
| Wikipedia | Full English Wikipedia (all articles, no images) — Kiwix-readable | ~49 GB | Kiwix |
| Browser maps (opt-in) | US street maps that open in any web browser (Project NOMAD / Protomaps + MapLibre viewer + Caddy), -BrowserMaps / --browser-maps |
US ≈16.5 GB (one state: less) | Any computer with a browser |
| Offline maps | Maps for the region you pick (default US; any country/region/continent - see below) + bundled OffRoad desktop viewer (reads the maps offline on Windows, macOS and Linux) + bundled Android app (APK) | US ≈17 GB; varies by region (+~0.7 GB tools) | PC (no phone) or phone |
| Repair archive | iFixit — cars, appliances, electronics, phones | ~3.4 GB | Kiwix |
| DIY archive | Appropedia — plumbing, electrical, construction, energy, water, food | ~0.6 GB | Kiwix |
| Medical | Offline medical Wikipedia (WikiMed) | ~1.8 GB | Kiwix |
| Survival & preparedness | FEMA Are You Ready?, EPA water disinfection, knots guide, Hunting with the Bow & Arrow (Pope, 1923), Kephart's Book of Camping and Woodcraft (1910), Deadfalls and Snares (1907), Bait Angling for Common Fishes (1907), Useful Wild Plants of the US and Canada (Saunders, 1920 — foraging; identify with certainty before eating) (public domain) | ~100 MB | Browser (PDF) |
| Household DIY | The Boy Mechanic, Vol. 1: 700 Things to Do (1913) plus old self-reliance skills: Household Discoveries (Morse 1909, practical-recipes encyclopedia), Handy Farm Devices and How to Make Them (Cobleigh 1910), Soap-Making Manual (Thomssen 1922), USDA Home Tanning of Leather and Small Fur Skins (1923), Bread and Bread Making in the Home (USDA, 1917) and Goodwin's Course in Sewing (1910) — all public domain; dated, some projects unsafe by modern standards (see manuals README) | ~125 MB | Browser (PDF) |
| Metalworking | Army TM 9-237 Welding Theory and Application, Practical Blacksmithing (1888), Elements of Machine Work (1910) (public domain) | ~70 MB | Browser (PDF) |
| Food growing | Productive Vegetable Growing (Lloyd, 1918), Productive Poultry Husbandry (Lewis, 1913), Langstroth on the Hive and the Honey-Bee (1904), plus livestock-health references Special Report on Diseases of Cattle (USDA, 1923), Special Report on Diseases of the Horse (USDA, 1907) and Poultry Diseases (Wortley, 1919) (public domain) | ~150 MB | Browser (PDF) |
| Natural medicine | King's American Dispensatory (Felter & Lloyd) + Culpeper's Complete Herbal (public domain) — historical herbal/medicinal-plant references, not current medical advice (see medical guide) | ~175 MB | Browser (PDF) |
| Education (opt-in) | Khan Academy archive (one file, all videos) or Kolibri app (pick subjects/low-res) | KA ZIM ~168 GB; Kolibri = your choice | Kiwix / Kolibri app |
| Offline translator (opt-in) | Two-way text translator for talking with someon |