> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# rlm-wiki plugin

> Wrap Fleet-RLM with a Daytona-backed markdown wiki to ingest URLs, files, PDFs, and transcripts, then query and maintain a durable agent knowledge base.

**rlm-wiki** wraps [Fleet-RLM](https://github.com/Qredence/fleet-rlm) with a Daytona-backed markdown wiki. Use it when research inputs are scattered across URLs, files, PDFs, and transcripts and you want the agent to build and maintain a durable knowledge base.

## Operations

| Operation  | Implementation                        | Description                                            |
| ---------- | ------------------------------------- | ------------------------------------------------------ |
| **reset**  | `scripts/bootstrap_daytona_volume.py` | Inspect or reset a Daytona volume for wiki bootstrap   |
| **init**   | Skill-guided                          | Create `SCHEMA.md`, `index.md`, `log.md` in wiki root  |
| **ingest** | Skill-guided                          | Capture sources under `raw/`, then propose-then-update |
| **query**  | Skill-guided                          | Answer questions from compiled wiki knowledge          |
| **lint**   | Skill-guided                          | Report structural / semantic issues (read-only)        |

The `reset` operation has a standalone script; other operations are executed by the LLM following the skill workflow at `skills/rlm-wiki/workflow.md`.

## Prerequisites

* [Daytona](https://www.daytona.io/) CLI installed and configured
* [Fleet-RLM](https://github.com/Qredence/fleet-rlm) source available
* Python 3.11+ with `uv`

## MCP servers

| Server    | Purpose                           |
| --------- | --------------------------------- |
| fleet-rlm | DSPy / RLM orchestration (local)  |
| context7  | Documentation fetching (remote)   |
| neon      | PostgreSQL metadata (remote)      |
| daytona   | Sandbox volume management (local) |

## Usage

```bash theme={null}
# Dry-run (safe inspection)
uv run python plugins/rlm-wiki/scripts/bootstrap_daytona_volume.py --dry-run

# Destructive reset (requires explicit confirmation)
uv run python plugins/rlm-wiki/scripts/bootstrap_daytona_volume.py \
  --wiki-domain "my-domain" \
  --confirm-reset "RESET:rlm-volume-dspy"
```

<Warning>
  The reset flow is destructive. Do not run it as routine validation — use the `--dry-run` smoke test instead.
</Warning>

See `skills/rlm-wiki/workflow.md` for the full operating checklist.

## Validation

```bash theme={null}
uv run pytest plugins/rlm-wiki/tests/test_bootstrap_daytona_volume.py
uv run python plugins/rlm-wiki/scripts/bootstrap_daytona_volume.py --dry-run
```
