Manage a personal wiki using Wikmd, a file-based wiki that renders Markdown files with a clean web interface.
bash
pip install wikmd
Or via pipx (recommended):
bash
pipx install wikmd
bash
mkdir -p ~/personal-wiki/wiki
cd ~/personal-wiki
git init
wiki_config.yaml) in your wiki root:yaml
wiki_directory: "./wiki"
homepage: "homepage"
homepage_title: "My Wiki"
host: "127.0.0.1"
port: 5000
authentication: false
hide_folder_content: false
**note: if you set the host to 0.0.0.0 you can access the wiki on your network - but be cautious about this opening up your data**
bash
wikmd --config wiki_config.yaml
Visit http://localhost:5000 to view your wiki.
This skill requires the PERSONAL_WIKI_ROOT environment variable to be set:
bash
export PERSONAL_WIKI_ROOT="<PATH>/personal-wiki"
Set this via OpenClaw config:
bash
openclaw config set skills.entries.personal-wiki.env.PERSONAL_WIKI_ROOT "<PATH>/personal-wiki"
This is an example of how you can structure the wiki:
text
PERSONAL_WIKI_ROOT/
├── wiki/ # Markdown files go here
│ ├── homepage.md # Main landing page
│ ├── projects/
│ │ └── my-project.md
│ ├── research/
│ │ └── topic-notes.md
│ ├── people/
│ │ └── contacts.md
│ ├── decisions/
│ │ └── architecture-choices.md
│ └── resources/
│ └── useful-links.md
├── wiki_config.yaml # Wikmd configuration
└── .git/ # Version control
Always check the wiki before:
To read the wiki:
bash
# List all pages
ls -la $PERSONAL_WIKI_ROOT/wiki
# Read a specific page
cat $PERSONAL_WIKI_ROOT/wiki/homepage.md
cat $PERSONAL_WIKI_ROOT/wiki/projects/active-project.md
# Search for content
grep -r "topic" $PERSONAL_WIKI_ROOT/wiki --include="*.md"
Create a Markdown file in the wiki subdirectory:
projects/, research/, decisions/)projects/my-project.md → /projects/my-project)Add content using Markdown syntax
Commit the changes — the wiki uses git for version control: bash
cd $PERSONAL_WIKI_ROOT
git add .
git commit -m "Add page about X"
When adding new information to existing pages:
The wiki is an extension of your memory system:
Wikmd supports standard Markdown plus these extensions:
[[Page Title]] or [[Another Page|custom text]][TOC] to insert a table of contents$...$ and block $$...$$ math renderingwiki/images/ and reference with See Wikmd Documentation for full syntax details.
PERSONAL_WIKI_ROOT/wiki, reads documentation from https://linbreux.github.io/wikmd/ and hosts the Wiki on a local http server