Skip to content
Agentmart
Submit a tool

local-wikipedia-search

Search and read Jared's publicly hosted text-only English Wikipedia Kiwix/ZIM mirror at wiki.ayrscott.com.

Skill by jwd83

IndexedUnlicense★ 1
Write a review

Chalk Labs

Need help deploying local-wikipedia-search?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jwd83-local-wikipedia-search

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Search and read Jared's publicly hosted text-only English Wikipedia Kiwix/ZIM mirror at wiki.ayrscott.com. Use when the user asks to look something up in our wiki install, needs encyclopedia/background facts, asks for Wikipedia/local wiki evidence, or when external web search is unnecessary.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/local-wikipedia-search

What's inside

Skill name
local-wikipedia-search
Description
Search and read Jared's publicly hosted text-only English Wikipedia Kiwix/ZIM mirror at wiki.ayrscott.com. Use when the user asks to look something up in our wiki install, needs encyclopedia/background facts, asks for Wikipedia/local wiki evidence, or when external web search is unnecessary.
License
Unlicense
Instructions
100 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network

Files (3)

  • SKILL.md
  • wiki-article.py · scripts/
  • wiki-search.py · scripts/

SKILL.md (first lines)

# Local Wikipedia Search

Use this skill to search Jared's hosted English Wikipedia mirror, not the public internet or live Wikipedia.

## Mirror facts

- Public URL: `https://wiki.ayrscott.com/`
- Default script base URL: `https://wiki.ayrscott.com`
- Optional same-host/local base URL: `http://127.0.0.1:3081/`
- Service on the host: `kiwix-wikipedia.service`
- ZIM on the host: `/srv/kiwix/zim/wikipedia_en_all_nopic_2026-03.zim`
- Snapshot: English Wikipedia text-only/no-image ZIM, March 2026
- Content URL prefix: `/content/wikipedia_en_all_nopic_2026-03/`

The helper scripts default to the public URL so this skill works from other machines after installation. On the server itself, set `WIKI_BASE_URL=http://127.0.0.1:3081` or pass `--base-url http://127.0.0.1:3081` if you want to bypass public HTTPS.

Do not confuse this with project markdown wikis. This skill is for the Kiwix-hosted English Wikipedia mirror.

## Preferred workflow

1. Search the hosted mirror.
2. Read one or more likely article pages.
3. Answer from the mirrored articles and cite the article title plus `https://wiki.ayrscott.com/...` URL.
4. If the mirror has no good result, say that the mirror did not have a good hit instead of silently switching to live web search.

## Helper scripts

Run these from this skill directory, or resolve the relative paths against this skill directory.

Search full text through the public mirror:

```bash
python3 ./scripts/wiki-search.py "apollo program" --limit 10
```

Read an article as plain text through the public mirror:

```bash
python3 ./scripts/wiki-article.py "Apollo program" --max-chars 12000
```

Read by URL from a search result:

```bash
python3 ./scripts/wiki-article.py "https://wiki.ayrscott.com/content/wikipedia_en_all_nopic_2026-03/Apollo_program"
```

Use the local listener when running on `lunarian.cc`:

```bash
WIKI_BASE_URL=http://127.0.0.1:3081 python3 ./scripts/wiki-search.py "apollo program" --limit 10
python3 ./scripts/wiki-article.py "Apollo program" --base-url http://127.0.0.1:3081
```

Use the local ZIM index directly when running on the host with `kiwix-search` installed:

```bash
python3 ./scripts/wiki-search.py "apollo program" --zim /srv/kiwix/zim/wikipedia_en_all_nopic_2026-03.zim --limit 10
python3 ./scripts/wiki-search.py --suggest "Apollo" --zim /srv/kiwix/zim/wikipedia_en_all_nopic_2026-03.zim
```

Note: `--suggest` only gives true title suggestions with `--zim`; without `--zim`, the script uses the public Kiwix HTTP search page.

## Manual fallback

Search via public HTTP:

```bash
python3 - <<'PY'
from urllib.parse import urlencode
print('https://wiki.ayrscott.com/search?' + urlencode({'pattern': 'search terms'}))
PY
```

Fetch an article by converting the title to the Wikipedia path form: replace spaces with underscores and URL-encode special characters.

```bash
python3 - <<'PY'
from urllib.parse import quote
base = 'https://wiki.ayrscott.com/content/wikipedia_en_all_nopic_2026-03/'
title = 'Full moon'
print(base + quote(title.replace(' ', '_'), safe='()_,-.'))
PY
```

If you are on the host and the helper scripts or public URL fail, check the service:

```bash
systemctl is-active kiwix-wikipedia.service
curl -fsSI http://127.0.0.1:3081/
curl -fsSI https://wiki.ayrscott.com/
```

If the service is down and sudo is available:

```bash
sudo systemctl restart kiwix-wikipedia.service
```

From jwd83/skills, Unlicense.

More from jwd83/skills

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
May 30, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Unlicense
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jwd83

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get local-wikipedia-search running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying local-wikipedia-search?

CallGet help
Cite this page

local-wikipedia-search skill. Agent Mart. https://agentmart.dev/skills/jwd83-local-wikipedia-search (last updated 2026-10-24)