Generate
Run
/wiki in the CLI to produce a wiki from any repoAuto-refresh
Run
/install-wiki to refresh the wiki on every pushBrowse
Read, search, and export wikis in the Factory app
How it works
Generate from the CLI
Run
/wiki inside a Droid session. Droid analyzes the codebase and produces
a set of structured markdown pages covering architecture, modules, APIs,
and conventions.Upload to Factory cloud
The generated wiki is uploaded to Factory’s cloud, where it becomes
browsable at app.factory.ai/wiki. Each
upload is versioned so you can compare changes over time.
Sync to GitHub wiki
For GitHub-hosted repositories, the wiki is automatically pushed to the
repo’s built-in wiki tab. Internal links are rewritten, a sidebar is
generated, and the content is pushed to
{repo}.wiki.git.GitHub wiki sync
When you generate a wiki for a GitHub-hosted repository, Factory optionally syncs the content to GitHub’s built-in wiki tab. Your team can browse the wiki directly from the repository page without visiting the Factory app. For details on how the sync works, see Generate a Wiki.GitHub requires the wiki to be initialized before Factory can sync to it.
If you haven’t used the wiki tab before, create the first page manually at
https://github.com/{owner}/{repo}/wiki, then re-run /wiki.Enterprise controls
Wiki Cloud Sync
Organizations that need to prevent wiki content from being stored in Factory’s cloud can disable Wiki Cloud Sync. This is an org-level enterprise control available at app.factory.ai under Settings > Enterprise Controls > Wiki. When Wiki Cloud Sync is disabled:- All wiki API endpoints return 403 for your organization
- The
/wikicommand will not upload content to Factory cloud - GitHub wiki sync is also skipped from the CLI
- The web viewer at
app.factory.ai/wikishows no content
What’s next
Generate a Wiki
Step-by-step guide to producing your first wiki
Set Up Auto-Refresh
Install a CI action that keeps your wiki current
Browse in the Web App
Search, read, and export your wiki documentation
Enterprise Settings
Learn how org-level controls govern wiki and other features
