uni-docs
Answer how Uni itself works and how to change it: settings, the data folder, approval levels, routines, engines, skills, teams, memory and self-hosting. Use when the question is about the app, not abo
Files2
View on GitHubSKILL.mdskills/uni-docs/SKILL.md
GitHubUni, documented
Answer from this install and from the app's own docs, in that order. Never describe a setting from memory: read the setting, the file, or the page.
- The
app_settingstool first, when you have it:findandgetread a setting's live value and where it is in Settings, andsetchanges it the way the app does (a key goes through its secure card). Use the files below only for what it does not cover. - This install. Every setting is a file under
~/.uni/, andOMB_DATA_DIRmoves that folder. The file says what is set right now, unless an environment variable overrides it: the environment wins, because it is applied afterconfig.jsonis read (OPENAI_COMPAT_URLoveropenaiCompat.url,OMB_JEV_API_KEYover the decision model's key, andOMB_<PROVIDER>_API_KEYover an engine's key). Before saying a change holds, check the value the running process actually loaded, and after a restart for what is read at boot: reading the file back alone proves nothing. - The docs. One page per area: in a repo checkout under
docs/, otherwise athttps://github.com/AdilShamim8/Uni/blob/main/docs/<page>.md. A page explains why something is built that way and what happens if. - When the two disagree the app wins, and say which one you checked. When neither has the setting, say it does not exist instead of inventing a name.
The data folder
| Path | Holds |
|---|---|
config.json |
Engine instances (instances), feature switches, saved keys, budgets, signIn, decisions.retentionDays. It contains secrets: read what you need, never quote a key back. |
bots.json |
One record per bot: its standing instructions (soul), model, folder, approval level, peers and look. |
bots/<botId>/SOUL.md |
A mirror of that bot's standing instructions. The record is the source of truth; soulDrift records that the two differed at the last turn. |
routines.json |
Routines, their runs, and webhook receipts. |
app-triggers.json |
Automations that fire on an app event. |
workspaces/<botId>/ |
The bot's own folder: MEMORY.md, memory/<topic>.md, memory/log/<date>.md, its private skills/. |
skills-library/index.json |
Skills imported into the shared library: hashes, source, review state. |
skill-state/ |
Per-bot skill imports and their revisions. |
checkpoints/ |
Per-turn shadow-git snapshots of a bot's folder, for rewinding. |
Change a setting with app_settings when it has it. Otherwise config.json
is the one file meant to be edited by hand; instances are read at boot, so
changing one needs a restart. bots.json and routines.json belong to
the running app: change them through the app or its API, never by hand, because
a hand edit races the next save.
Where a question goes
| The person asks about | Page |
|---|---|
| Approval levels, what a bot may do without asking | approval-levels.md |
| Bots, roles, the review before Create, ready-made templates | presets.md |
| A model or CLI the app does not ship | custom-engines.md, opencode-go.md |
| MCP servers of their own, or the app's own MCP server | custom-mcp-servers.md, mcp-server.md |
| Connected apps such as Gmail, Calendar, Slack or Notion | composio.md |
| What a bot remembers between tasks | memory.md |
| Timing, cron, time zones, paused and done routines | routine-schedules.md |
| The daily brief, and the checks that run before it | proactive-routines.md |
| Letting an app or a script message one bot | bot-api.md |
| Letting a script drive the whole server | headless-cli.md |
| Which model picks between bots, and whose key decides | decision-model.md |
| How a bot chooses a tool | tool-selection.md |
| Work one bot hands to another, and what wakes it | runtime-contract.md |
| Teams, shared departments, incidents | team-sharing.md, team-cloud.md, team-incidents.md |
| Self-hosting, a VPS, My Cloud | self-hosting.md, deploy-vps.md, byo-vps.md, cloud-pro.md |
| The same bots on more than one computer or a phone, an empty Inbox on a new device | multi-device.md |
| Where a bot's files go, and how to get them out | files.md, bot-box.md |
| Browser and computer control | computer-use-integration.md, browser-packaging.md |
| Voice, images, meeting notes | voice-mode.md, image-generation.md, meeting-notes.md |
Rules that hold everywhere
- Approval is per bot, not global, and applies to that bot's next turn. Each level is a provider's own permission mode, passed through. A personal install starts at Full access; a hosted company workspace starts at Ask. A bot reading its own files never asks.
- Routines are calendar rules. Five-field cron plus an explicit IANA zone, and the scheduler wakes the bot at that time; no model checks the date. Never answer a schedule question with "check every morning instead".
- Built-in skills are mounted by keyword, not kept on. A message that matches a bundled skill's trigger terms carries its instructions for that turn, and the skill never appears in the bot's own list. A skill the person writes or imports is the opposite: listed, and owned by one bot.
- Memory is local markdown.
MEMORY.mdloads every turn,memory/*.mdis read on demand,memory/log/is the bot's own record of its days. The files stay on this computer, but what a turn reads goes to the model provider that bot is set to, and with a helper model set the helper's provider reads it too. A Cloud moves the whole data folder off the computer; the app uploads it nowhere else, but anything else on this computer that copies the folder — a backup service, a synced home directory — takes it along. - Nothing is changed until you read it back. After a change, read the file
or the settings response again and say what it now holds; if it was
config.json, say that a restart is what makesinstancesapply.
When the person wants depth
Answer for this install first, then name the page above and its link as the place to read more. Do not paste doc passages into the chat: give the file, the setting and the value it holds now.