Wiki & Knowledge Commands
Access community knowledge bases and information resources.
Tip: Use
!ask <question>for a unified search across wiki, outline docs, RSS links, Q&A history, Wikipedia, and more. The commands below search individual sources directly.
Wiki Commands (IrregularPedia)
Section titled “Wiki Commands (IrregularPedia)”Display wiki links and information.
!wikiResponse: Shows links to IrregularPedia and how to contribute.
!wikisearch / !ws
Section titled “!wikisearch / !ws”Search the wiki for content.
!wikisearch <query>!ws <query>Example:
!ws operational securityResponse: Returns matching wiki articles with summaries and links.
!wikiask / !wa
Section titled “!wikiask / !wa”AI-powered Q&A from wiki content.
!wikiask <question>!wa <question>Example:
!wa What are the best practices for secure communications?Features:
- Searches wiki for relevant articles
- Uses AI to synthesize an answer
- Provides source links
!wikiindex
Section titled “!wikiindex”Show wiki index or categories.
!wikiindex!wikistats
Section titled “!wikistats”Display wiki statistics.
!wikistats!wikiadd / !wa (Wiki Content Addition)
Section titled “!wikiadd / !wa (Wiki Content Addition)”AI-powered content extraction from chat messages to IrregularPedia.
!wikiadd # Reply to a message — analyze it for wiki-worthy content!wikiadd -n 10 # Analyze last 10 messages for facts and resources!wa -n 20 # Analyze last 20 messagesHow it works:
- Bot extracts messages (from reply or last N messages)
- AI analyzes messages for factual, educational, or reference-worthy content
- AI searches existing wiki pages for related content (reads page snippets)
- AI decides whether to append to an existing page or create a new page
- Bot clones/updates the wiki repo, applies changes, commits, and pushes to GitLab
- Changes go live on irregularpedia.org after the Astro site rebuilds
Examples:
# Reply to a message containing useful information!wikiadd
# Analyze last 50 messages for resources and facts!wikiadd -n 50
# Short alias!wa -n 30What gets added:
- Factual information and technical explanations
- Links to resources, tools, and references
- Definitions and overviews of topics
- News and updates about relevant subjects
What gets skipped:
- Casual conversation and chit-chat
- Personal opinions without factual basis
- Bot commands and responses
- Duplicate content already on the wiki
Content placement:
- The AI strongly prefers appending to existing related pages over creating new ones
- It searches wiki titles AND reads page content to find the best match
- New pages are only created when no existing page is a reasonable fit
- Content is formatted with proper Markdown headings, links, and structure
Requirements:
- GitLab wiki integration must be configured (see Integrations)
- OpenAI API key for content analysis
- Bot user needs Maintainer access on the wiki GitLab project
Information Resources
Section titled “Information Resources”!forum
Section titled “!forum”Show forum links and information.
!forumResponse: Links to community Discourse forum.
!links
Section titled “!links”Display important community links.
!linksResponse: Curated list of community resources, tools, and references.
Show frequently asked questions.
!faqResponse: Common questions and answers about the community.
Display documentation links.
!docsResponse: Links to technical documentation and guides.
!events
Section titled “!events”Show upcoming community events.
!events!events search <term>Response: Calendar of upcoming events with RSVP counts and poll status.
See: Events for full documentation including !event quick, !event parse, !event plan, !vote, and !rsvp commands.
Forum Commands (Discourse)
Section titled “Forum Commands (Discourse)”!fpost
Section titled “!fpost”Create a new forum post from Signal.
!fpost <title> | <content>!fpost # Reply to message to use as contentExample:
!fpost Security Discussion | Let's talk about recent developments...!flatest
Section titled “!flatest”Show latest forum posts.
!flatestResponse: Recent posts from Discourse with titles and links.
!fsearch
Section titled “!fsearch”Search forum posts.
!fsearch <query>Example:
!fsearch vpn recommendations!categories
Section titled “!categories”List forum categories.
!categoriesResponse: Available Discourse categories for posting.
Environment Variables
Section titled “Environment Variables”| Variable | Required | Description |
|---|---|---|
DISCOURSE_URL | For forum | Discourse instance URL |
DISCOURSE_API_KEY | For forum | Discourse API key |
DISCOURSE_USERNAME | For forum | Bot’s Discourse username |
DISCOURSE_QA_CATEGORY | No | Category ID for Q&A posts (default: 5) |