ROOT//
a personal operating system · root of all things
The complete operator guide & cheatsheet
version 1.0.1 · codename ABSOLUTE · build 2026.11.27
synthetic world · sandboxed filesystem · offline first
DeepSeek and web fetching are optional

Root is a responsibility, not a permission.

Contents

Start hereInstall and launchCore conceptsThe workspaceThe generated worldMachines and peopleScanning and browsingFiles, edit, transferRuntime and live manipulationViews and dashboardsDeepSeek intelligenceThe offline generatorDeepSeek world synthesisEffects and interactionsmshesh hash terminalMemory and notesTab completionScripts, aliases and envComplete command referenceCheatsheetTroubleshootingSafety and limitsAppendix

Start here

ROOT is a personal, sandboxed operating system. It generates a complete world — networks, computers, ordinary people, devices, services, files, images, logs and synthetic secrets — inside one workspace. You are uid 0. Everything is readable, editable and yours, but nothing touches a real network or machine.

The short loop. world → scan → hosts → enter → ls → view/edit → leave. Everything else extends that loop.

The most useful first commands

rootos
world
scan all --fast
civilians
hosts --civilian
enter pocket-aster
ls -R
view home/*/Notes/*
image home/*/Pictures/*
leave
ask "what should I do next?"
dash

What is real and what is not

Sandbox rule. Every IP is RFC 5737/RFC 3849 or private space. Every name uses fictional TLDs. “Scanning” and “access” are performances over generated data.

Install and launch

From PyPI

python3 -m pip install --upgrade rootos
rootos
# or
rt

Published as rootos on PyPI. Requires Python 3.10+ and has no runtime dependencies; the standard library is enough.

Upgrade

python3 -m pip install --upgrade rootos
hash -r
rootos --version

On a distribution that marks Python as externally managed (PEP 668), add --user --break-system-packages, or install inside a virtual environment. Verify the installed command surface, not just the version:

python3 -c "from rootos.registry import load_builtin_commands, by_category; load_builtin_commands(); print(sum(len(v) for v in by_category().values()), 'commands')"

From source

cd BDCS/RootOS
python3 -m pip install .
rootos
# or
rt

Offline wheel

python3 -m pip wheel . --no-deps --no-build-isolation -w dist
python3 -m pip install --no-index dist/rootos-1.0.1-py3-none-any.whl

After rebuilding a local wheel, force-reinstall it:

python3 -m pip install --user --break-system-packages --force-reinstall \
  --no-index --no-deps dist/rootos-1.0.1-py3-none-any.whl
hash -r
rootos --version

Run without installing

PYTHONPATH=src python3 -m rootos --home /tmp/rootos-demo world

Flags

itemmeaning
--home DIRData directory; workspace is DIR/workspace.
--seed NOverride the world seed for this run.
--theme NAMEphosphor, amber, ice, violet, red, mono.
--asciiASCII-only glyphs.
--no-colorDisable ANSI colour.
--no-bootSkip the boot banner.
--no-liveDisable streaming scan output.
--script PATHRun a workspace .rt script.
--stop-on-errorStop a script at the first error.

Environment

ROOTOS_HOME=/path/to/data
ROOTOS_THEME=phosphor
ROOTOS_ASCII=1
ROOTOS_FORCE_COLOR=1
DEEPSEEK_API_KEY=sk-...

Core concepts

ROOT has several layers. Knowing which one you are touching avoids confusion.

itemmeaning
World / UniverseDeterministic networks, hosts, people, services and signals generated from the seed.
WorkspaceThe real directory tree where generated files live: /net, /drop, /notes, /vault, /scripts.
ContentForgeThe offline generator that writes files, images, logs, code, data and packs.
RuntimePer-host OS and per-network controller state: heartbeat, tick, processes, services, kernel, power.
MindLocal reasoning: ask, brief, recommend, risk, anomalies, dossier, plan, agent, do.
DeepSeekOptional language/reasoning layer: text, replies, dossiers, plans, effects, synthesis.
EffectsA validated consequence layer for manipulations and interactions.
msheshHash terminal: value/random hashes, BIP39 words, jittered monitor, logs.

Two different generators

generatorused bycreates
Universeseed new, seed new --freshworld model: networks, hosts, personas, services, addresses
ContentForgescan, enter, compose, pack, gen, dreamreal files in the workspace: docs, code, images, data, logs
seed new rebuilds the world model but writes no files. Use seed new --scan or scan all after it.

The workspace

The workspace is a real sandboxed directory:

$ROOTOS_HOME/workspace/
├── README.md
├── root/          root user home
├── notes/         things to remember, sandbox notes
├── drop/          loose generated artefacts, packs, web files
├── scripts/       .rt scripts
├── vault/         keys, certificates, mshesh logs
└── net/
    └── willow-row/
        ├── _scans/      scan reports
        ├── _signals/    network signal logs
        ├── _runtime/    event logs
        └── pocket-aster/
            ├── _mind/assessment.md
            ├── home/aster-vale/...
            └── var/...

Commands

workspace            # location, size, counts
pwd
df
du /net/willow-row
tree /net/willow-row --depth 20
ls -R /net/willow-row
find /net/willow-row '*'

Cleaning

clean net --yes                    # remove all generated network files
clean network willow-row --yes
clean host pocket-aster --yes
clean drop --yes
clean workspace --yes              # everything + starter files
reset --yes                        # reset session, keep files
reset --yes --wipe                 # wipe workspace, reset session, reseed
clean and reset --wipe are destructive. They never leave the sandbox.

The generated world

The base world has 18 networks, dozens of machines and dozens of civilians. Every seed changes hosts, services, people and signals.

world
world --map
world --json
world --kind residential
network willow-row
map willow-row
topology
graph
hosts
hosts --civilian
civilians
devices

Reseeding

seed show
seed new
seed new --fresh        # new network names/slugs too
seed new --stable       # return to base names
seed new --scan         # reseed + generate files immediately
seed 12345 --fresh

Dreamed regions

dream
dream "a residential street by the sea"
extend orbital
do "create a new network of night-market kiosks"

dream/extend create a persistent extra network, populate it, write lore and images and record it. It participates in world, scan all, maps, dossiers and the runtime.

Address policy

Machines and people

Civilian machines belong to ordinary fictional people: phones, laptops, tablets, watches, cameras, displays, consoles, cars, drones, fridges, doorbells, e-readers, routers, medical wearables, kiosks, speakers, bicycles and meters.

hosts --civilian
civilians
persona "Aster Vale"
devices
host pocket-aster
address pocket-aster
findhost camera

Persona dossier

dossier "Aster Vale" --write
dossier pocket-aster --write
ask "tell me about Aster Vale"
risk pocket-aster

Each host panel shows addresses, OS, kernel, status, power, encryption, runtime, services, users, shares, signals, notes and — for civilians — the person, job, home, household, routine and a note.

Scanning and browsing

Scanning is a live synthetic performance that writes files. It never opens a socket.

scan willow-row --fast
scan willow-row --files 3 --size medium
scan all --fast
scan --host pocket-aster --files 5
scan all --fast --json
scan all --fast --no-live
itemmeaning
--fastNo delays; still writes files.
--files NFiles per host (1-8).
--size BANDtiny, small, medium, large, huge, epic.
--host HOSTRescan one machine.
--aiUse DeepSeek for the first text file per host if configured.
--no-liveNo streaming lines.
--jsonMachine-readable summary.

What a scan writes

  1. A host directory for every machine under /net/<network>/<host>.
  2. Role/persona-aware files: chats, journals, photos, notes, logs, configs, code, data, security rules.
  3. _mind/assessment.md with a factual host assessment.
  4. A network signal log under _signals/.
  5. A synthetic scan report under _scans/.

Repeated scans add new unique files; they never overwrite.

Browsing

enter pocket-aster
enter pocket-aster --count 6 --size large
enter pocket-aster --ai
enter pocket-aster --force       # if powered off/sleep
compose pocket-aster --count 5
pack "a personal archive" --host pocket-aster --count 8
leave

enter sets your cwd to the machine, generates fresh files and gives root access. leave or cd / returns to the workspace root.

Files, edit and transfer

Read and navigate

pwd
ls -la
ls -R /net/willow-row
cd /net/willow-row/pocket-aster
tree . --depth 20
find . '*.md'
grep TODO /net
cat /README.md
head -n 20 file
tail -n 20 file
view file
code file
hex file
stat file
wc file
file file

Write, edit, add

write /notes/field.md "text"
append /notes/field.md "another line"
add /notes/new.md --text "hello"
add /inbox --dir
edit /notes/field.md --set "replace"
edit /notes/field.md --append "add"
edit /notes/field.md --from OLD --to NEW
edit /notes/field.md --insert 3 --text "line"
edit /notes/field.md --delete 3
edit /notes/field.md --clear
edit /notes/field.md --stdin
rm /notes/old.md
rm -r /net/willow-row/host/inbox
mkdir -p /drop/project
cp /README.md /drop/copy.md
mv /drop/copy.md /drop/moved.md
touch /drop/empty
chmod 644 /README.md

Transfer files and directories

download /net/willow-row/pocket-aster/_mind/assessment.md
download /notes --export                 # directory -> exports/notes.zip
download /net/willow-row --export
download pocket-aster / --export         # entire machine
pull pocket-aster home/yara-flint/Journal
upload /notes pocket-aster /inbox/notes
upload /notes/field.md pocket-aster /inbox/field.md
push /drop/bundle.zip pocket-aster /inbox/bundle.zip

download/pull copy into /drop/downloads; --export writes a real copy to $ROOTOS_HOME/exports, ZIPping directories. upload/push copy into a generated machine.

Explicit web fetch

fetch https://example.com/
fetch https://example.com/file.pdf --max 8M

fetch is opt-in, HTTP(S)-only, bounded, content-type checked, refuses private/loopback addresses by default and writes metadata sidecars.

Archives

zip /drop/bundle.zip /net/willow-row
unzip /drop/bundle.zip
unzip /drop/bundle.zip --extract
unzip /drop/bundle.zip --extract --dest /drop/out

Runtime and live manipulation

Every machine has a simulated OS and every network has a controller.

os pocket-aster
runtime --limit 10
ps pocket-aster
ps pocket-aster --sort mem --all
proc pocket-aster list
proc pocket-aster stop meshwatch
proc pocket-aster add watcher
proc pocket-aster nice meshwatch --nice 5
svc pocket-aster list
svc pocket-aster stop lattice
svc pocket-aster start lattice
kernel pocket-aster
kernel pocket-aster heartbeat_ms 250
kernel pocket-aster root_lock 0
power pocket-aster off
power pocket-aster cycle
heartbeat pocket-aster --rate 250
pulse pocket-aster --count 12
sched pocket-aster mesh --tick 10
ctl pocket-aster off
ctl pocket-aster rate 250
ctl pocket-aster svc stop lattice
monitor pocket-aster
monitor pocket-aster --count 20 --interval 0.2

Network controller

netos willow-row
netctl willow-row heartbeat off
netctl willow-row rate 500
netctl willow-row status locked
netctl willow-row policy sealed
netctl willow-row scheduler mesh
netctl willow-row rule add deny 10.99.0.0/16
netctl willow-row rule delete 1
netctl willow-row route add 10.99.0.0/16 via 10.72.0.1
netctl willow-row route delete 10.99.0.0/16
netctl willow-row dns add quiet.void 10.72.0.9
netctl willow-row dns delete quiet.void
netctl willow-row pulse 10
netctl willow-row reset
monitor willow-row

Live reactions and monitors

events pocket-aster
events willow-row
fs pocket-aster
monitor pocket-aster

Views and dashboards

dash
tree /net/willow-row --depth 20
graph pocket-aster
map willow-row
topology
timeline
inspect /README.md
view /README.md
image /path/to/file.png
hex /path/to/file
gallery /net/willow-row
code /path/to/source.py
itemmeaning
dashWorld, civilian, exposure, mind and journal overview.
treeDirectory tree with sizes.
graphHost service/user/signal graph or world graph.
mapWorld map or network host map.
topologyNetwork → host → service tree.
imageRender PNG/PPM/SVG/BMP in the terminal.
galleryThumbnails of generated/downloaded images.
timelineSession journal.

DeepSeek intelligence

DeepSeek is optional. With a key, it becomes an underlying language/reasoning layer; the local OS remains the executor.

ai
ai key sk-...
ai mode auto
ai test
ai usage
usage
ai pricing
ai budget 1.00
ai model deepseek-chat
ai temp 1.0

What it handles

Examples

ask "what should I do next?" --online
council "what is interesting here?"
brief --online
dossier willow-row --online
plan "civilian audit" --online
agent "civilian audit" --online --run
say pocket-aster "did you notice the file?" --online
events pocket-aster --explain --online

Token and dollar meter

usage
ai usage --json
ai usage --reset
ai budget 2.00
ai pricing
settings ai_price_input_per_m 0.28
settings ai_price_cached_per_m 0.028
settings ai_price_output_per_m 0.42
Pricing is approximate USD per 1M tokens and can be overridden. Budget exhaustion triggers local fallback. The model never writes files or state directly.

The offline content generator

The forge writes real files, with unique names and content. It works fully offline.

gen types
gen all --count 6
gen doc --size huge
gen book --size epic
gen python --host pocket-aster --size large
gen image --size large
gen office
gen security
gen key
gen archive
gen life --count 3

Families

59 families, dozens of extensions. Highlights: Markdown/text/RTF/LaTeX, docs, source in many languages, HTML/CSS, JSON/YAML/TOML/XML/CSV, configs, logs, packet sketches, detection rules, synthetic keys, mail/chats/journals/calendars/contacts/receipts/todos/playlists, ZIP/TAR, PDF, DOCX, XLSX, EPUB, SQLite, MIDI, WAV, PNG/PPM/SVG/BMP/ANSI art, Jupyter notebooks, Vue components, gzip.

Generator catalogue

kindextensionsn
archive.zip .tar2
art.ansi .art2
audio.wav1
batch.bat1
binary.bin1
book.md .epub .pdf3
c.c .h .cpp3
calendar.ics1
chat.chat .txt .jsonl3
config.ini .conf .env .properties .service .tf6
contact.vcf1
css.css1
data.csv .tsv .json .jsonl .xml .yaml .toml7
database.db1
disk.img1
doc.md .txt .rst .org .adoc5
dot.dot1
epub.epub1
feed.xml .rss .atom3
go.go1
graphql.graphql1
gzip.gz1
html.html .htm .xhtml3
image.ppm .png .bmp3
java.java1
journal.md .journal2
js.js .ts .jsx .tsx4
key.pem .key .crt3
kotlin.kt1
life.md .ics .vcf .chat .png5
log.log .audit .jsonl3
lua.lua1
mail.eml1
midi.mid1
note.md .txt2
notebook.ipynb1
office.docx .xlsx2
packet.pcap1
pdf.pdf1
photo.png .ppm .svg .bmp4
php.php1
playlist.playlist1
powershell.ps11
proto.proto1
python.py1
receipt.txt .json2
rtf.rtf1
ruby.rb1
rust.rs1
security.rule .rules .yaml3
shell.sh .bash .zsh3
sql.sql1
svg.svg1
swift.swift1
tex.tex1
todo.todo .md2
vue.vue1
web.html .htm .xhtml .css4

Sizes

tiny: 2-8 lines/units · small: 8-24 lines/units · medium: 30-90 lines/units · large: 120-320 lines/units · huge: 500-1200 lines/units · epic: 1600-4000 lines/units

Content packs

pack "a field kit for a relay engineer" --count 8
pack "family archive" --host pocket-aster --count 10
pack "incident response kit" --count 12 --size large --online

A pack is a coherent directory with docs, code, configs, data, logs, security, art and a _pack.md manifest.

Graphics

Procedural signal fields, glitch, circuit, bloom, topography, void, dream, pressure, lattice and weather styles. Writes real PNG/PPM/BMP/SVG; renders in the terminal with half-blocks or ASCII.

DeepSeek world synthesis

With a key, DeepSeek can propose complete networks and hosts. ROOT validates and repairs every field before adding them.

synth status
synth network "a winter civic network of carpenters and old laptops"
synth network "a coastal cooperative" --hosts 7 --files 3 --online
synth network "a metadata-only region" --metadata-only
synth host willow-row "a retired translator's home laptop" --files 2
synth host saltmarsh-wood "a shared workshop desktop"

Generated details

Validation

Comprehensive by default: files, assessments, manifest, image and scan record. Use --metadata-only to skip files.

Effects and interactions

Manipulations and conversations can be handled by DeepSeek as a consequence engine. The model proposes, ROOT validates and applies.

effects status
effects off
effects on
effects types
effects log 20
effects test pocket-aster "stopped a process without warning"

Allowed effects

alarm · attention · load · service · process · neighbor · notice · network_alarm

Automatic for runtime actions, file actions and say when a key is available and mode is auto/online. The local deterministic reactions still run. Disable with effects off or settings ai_effects false.

Talking to people

say pocket-aster "hello"
say "Aster Vale" "I noticed your door camera"
inbox pocket-aster
inbox pocket-aster --read
notices pocket-aster

Civilian owners can notice file changes, gain attention/unread notices and leave replies in their Chats folder. say writes a real conversation artefact.

mshesh hash terminal

A native port of BDCS/mshesh.

mshesh                    # one random hash (default)
mshesh random 3
mshesh value hello
mshesh words 2
mshesh unwords "coconut mystery hub ... shift gauge naive"
mshesh monitor 1 50 5
mshesh log 20
mshesh save /vault/mshesh/log.txt
mshesh save /vault/mshesh/log.txt --lines 10
mshesh save-lines 5
mshesh record /vault/mshesh/live.txt
mshesh record off
mshesh user operator
mshesh status

Value hashes are deterministic SHA-256. Random hashes are 32 random bytes. BIP39 encoding/decoding is checksum-validated. Monitor mode is jittered and supports a value chance. Logs, recording, username and entries persist in state and files under /vault/mshesh/.

Memory and notes

ROOT keeps two kinds of memory: the session journal (what you did) and your own notes (what you want to keep). Both are plain data in the workspace or state file, so they survive restarts and can be read, edited, copied or uploaded like any other file.

remember "Root is a responsibility, not a permission."
remember "check the roof node after the next scan"
recall
recall roof
recall --limit 10
forget 3
things
mantra
cheat
journal --limit 20
stats
itemmeaning
remember "text"Add a numbered note; also appends it to /notes/remember.md.
recall [query]List notes, or filter them by a case-insensitive substring.
forget NRemove note number N from session memory.
thingsPrint the built-in things-to-remember list.
mantraGenerate a short root mantra.
cheatPrint the cybersecurity/programming cue sheet.
journal / timelineShow the chronological session journal.
statsWorld counts, files, notes, journal length and AI usage.

notes and memory are aliases for recall. Notes are capped by the session store, not by the workspace; the Markdown mirror at /notes/remember.md is the human-readable copy and can be edited directly.

Habit. Use remember for intent, and journal for evidence. The journal records commands, scans, errors and generated artefacts automatically.

Tab completion

Tab completion is context-aware:

scan wi<TAB>              → scan willow-row
gen h<TAB>                → html / htm / huge / ...
gen html --format d<TAB>  → dashboard / docs
ls /n<TAB>                → /net/ /notes/
theme <TAB>               → amber / ice / phosphor ...
host pocket<TAB>          → pocket-aster ...

Completion is active in the interactive shell. Piped/non-TTY runs do not use readline.

Scripts, aliases and env

Scripts

Scripts run inside the shell with script, or from the launcher with --script. Paths are workspace-relative.

script /scripts/tour.rt
script /scripts/tour.rt --stop-on-error
rootos --script /scripts/tour.rt
rootos --script /scripts/tour.rt --stop-on-error

A script is a text file with one command per line. Blank lines and lines beginning with # are ignored; each line is echoed before it runs. With --stop-on-error, execution stops at the first command error.

# /scripts/tour.rt
world
civilians --limit 5
scan all --fast
dash

Scripts run with natural-language routing disabled, so a typo is reported as an error instead of being sent to the mind. Pipes and redirections work normally.

Aliases

alias
alias ll "ls -la"
alias w "world"
unalias w

Environment

env
env KEY value
echo $KEY

Session

whoami
name operator
settings
settings ai_mode auto
history 40
history clear
seed show

Complete command reference

Generated from the live registry: 157 commands in 10 categories.

system

commandaliaseswhat it doesusage / flags
about—What ROOT is, and what it deliberately is not.about
aliasunaliasList, add or remove aliases.alias [name [command]]
ascii—Toggle ASCII-only glyphs.ascii [on|off]
bannerbootPrint the boot banner.banner
clearclsClear the terminal.clear
commands—Flat list of every command.commands [category]
echo—Print text.echo [text...]
env—Show or set session environment variables.env [key] [value]
exitquit, logout, qLeave the root shell.exit
help?Browse commands, usage and examples.help [command|category|--all]
history—Show or clear command history.history [N|clear]
hostnameunamePrint the machine or active host name.hostname
man—Read the field guide topics.man [topic]
name—Set the operator callsign.name <callsign>
rootsudoConfirm the obvious: you are root.root
script—Run a workspace .rt script from inside the shell.script <path> [--stop-on-error]
seed—Show or change the world seed.seed [show|new|N] [--fresh|--stable] [--scan]
selftest—Prove the install, workspace and world work.selftest
settingsconfigShow or change settings.settings [key] [value]
status—One-line session status.status
sysproc, neofetchFake kernel, memory, daemons and mounts.sys
theme—List or set the colour theme.theme [name]
tour—A guided path through the sandbox.tour
uptimedate, timeShow session uptime and load.uptime
versionverShow version and build.version
whoamiidPrint the current identity.whoami

host

commandaliaseswhat it doesusage / flags
access—Simulate a root access handshake.access <host> [--level root|user|read]
ctlcontrol, ctrl, manipulateOne-verb manipulation of a machine's power, heartbeat, kernel, processes and services.ctl <host> <power-action|heartbeat|rate|scheduler|kernel|start|stop|restart|kill|nice|svc|tick|reset> ... [--nice N] [--user U]
enteruse, browse, inhabit, cd-hostInhabit a machine and generate fresh files.enter <host> [--count N] [--size BAND] [--ai] [--quiet] [--force]
eventsreactions, eventlogRead persisted runtime events and reactions.events [host|network] [--limit N] [--json] [--explain] [--online]
fsfilesystem, diskhInspect a machine's filesystem, disk pressure and recent file reactions.fs [host] [--json] [--limit N]
heartbeat—Show or tune a machine's heartbeat.heartbeat <host> [--rate MS] [--on|--off] [--tick N] [--json]
hostmachine, infoShow everything about a machine.host <ip|hostname> [--json]
inboxnotices, messagesRead notices and conversations on a machine.inbox [host] [--limit N] [--read] [--json]
interfacesifconfig, ipShow interfaces for the active machine or world.interfaces
kernel—Inspect or set a machine's kernel parameters.kernel <host> [key] [value] [--reset] [--json]
leaveexit-host, ejectLeave the current machine.leave
monitorwatch-host, live-os, observeLive monitor for a machine's OS, heartbeat, processes and services.monitor [host|network|all] [--count N] [--interval SEC] [--no-clear]
netstatssShow listening services on the active machine.netstat
os—Inspect a machine's running algorithm, heartbeat and OS state.os [host] [--json] [--tick N] [--pulse]
ports—List open ports on a machine.ports [host]
power—Change a machine's simulated power state.power <host> [on|off|sleep|wake|cycle|degraded]
procprocessManipulate a machine process table.proc <host> <add|start|stop|restart|kill|remove|nice> <pid|name> [--nice N] [--user U]
pstop, processesList processes on a machine.ps [host] [--all] [--sort cpu|mem|pid] [--tick N] [--json]
pulselive, monitor-heartStream a machine's heartbeat and live process load.pulse <host> [--count N] [--interval SEC]
runtimeruntimes, vitalsOverview of every machine's running state.runtime [--all] [--json] [--limit N] [--network NET]
saytalk, tell, interactSpeak to the person behind a machine and write the exchange.say <host|person> <message> [--online]
sched—Inspect or change a machine's scheduler and algorithm.sched <host> [scheduler] [--tick N] [--json]
services—List services on a machine.services [host]
shares—List shares on a machine.shares [host]
svcservice, services-ctlStart, stop, restart or inspect services on a machine.svc <host> <start|stop|restart|enable|disable|status|list> [service]
users—List users on a machine.users [host]

files

commandaliaseswhat it doesusage / flags
add—Create a file or directory.add <path> [--dir] [--text TEXT] [--force]
append—Append text or stdin to a file.append <path> [text...]
cattypePrint file contents.cat <file>... [-n]
cd—Change directory.cd [path]
chmod—Change a mode (decorative in the sandbox).chmod <mode> <path>
cp—Copy a file or directory.cp <source> <target>
downloadpull, getDownload a file from a simulated machine into /drop/downloads.download <path|host path> [--to DIR] [--name NAME] [--export]
editsedEdit a file directly: set, append, replace, insert or delete.edit <path> [--set TEXT] [--append TEXT] [--from OLD --to NEW] [--insert N --text TEXT] [--delete N] [--clear] [--stdin]
filekindIdentify a file by extension and content.file
find—Find paths by glob.find [path] <pattern>
greprgSearch text files with a regex.grep <pattern> [path] [-i] [-n] [-l]
head—Show the start of a file or stream.head [file] [-n N]
lsdirList a directory.ls [path] [-l] [-a] [-1] [-R|--recursive]
mkdir—Create a directory.mkdir [-p] <path>
mv—Move or rename a file.mv <source> <target>
rmdel, deleteRemove files or directories.rm [-r|--recursive] [-f|--force] <path>...
rmdir—Remove an empty directory.rmdir <path>
stat—Detailed metadata for a path.stat <path>
tail—Show the end of a file or stream.tail [file] [-n N]
touch—Create an empty file.touch <path>
unzip—List or extract a ZIP archive.unzip <file.zip> [--extract] [-x] [--dest DIR]
uploadpush, sendUpload a workspace file into a simulated machine.upload <path> <host> [path] [--to PATH] [--name NAME]
wc—Count lines, words and characters.wc <file>
write—Write text to a file.write <path> [text...] [--append]
zip—Create a ZIP archive from paths.zip <dest.zip> <path>...

crypto

commandaliaseswhat it doesusage / flags
addressaddr, cardsShow a synthetic address card.address [host] [--new] [--json]
decode—Decode text.decode <base64|hex|url|rot13> <value>
encodeb64Encode text or a file.encode <base64|hex|url|rot13> [text|file]
entropy—Estimate Shannon entropy of a file.entropy <file>
fingerprint—Show a short fingerprint of a file.fingerprint <file>
hash—Hash a file or stdin.hash <file> [--algo sha256|sha1|md5|blake2b|sha512]
msheshhashterm, hhmshesh hash terminal: values, random hashes, BIP39 words and monitors.mshesh [random|value|words|unwords|monitor|log|save|save-lines|record|user|status|help] ... [--fast] [--json] [--lines N]
passphrase—Generate a memorable synthetic passphrase.passphrase [--words N]
rot13—Rot13 a string.rot13 <text>
token—Generate a synthetic token.token [--prefix RT] [--words N]
uuidguidGenerate one or more UUIDs.uuid [--count N]

mind

commandaliaseswhat it doesusage / flags
agentautopilotPlan and optionally run a safe multi-step investigation.agent <objective> [--run] [--all] [--online]
analyzeassess, analysisAnalyze a host, person, network or the whole world; optional DeepSeek assessment.analyze [host|person|network] [--local] [--online]
anomaliesanomaly, weird, oddFind unusual combinations across the world.anomalies [--json] [--limit N]
askthink, question, analystAsk the onboard mind a question in natural language.ask <question> [--online] [--local] [--council] [--run] [--json]
briefsitrep, situation, overviewRead the current situation like an analyst.brief [--online]
composepack, fillGenerate a coherent content pack for a host, person or network.compose [host|person|network] [--count N] [--size BAND] [--online]
counciltwo-sources, compare-mindsAsk the local mind and DeepSeek independently, then compare.council <question>
doact, executeInterpret an instruction and execute the safe steps.do <instruction> [--dry-run] [--all] [--online] [--local]
dossierprofile, reportWrite or read a durable assessment of a host, person or network.dossier [host|person|network] [--write] [--online]
dreamextend, grow, worldnewGeneratively extend the world with a new region and written content.dream [theme] [--count N] [--online]
effectsaffect, consequencesInspect, toggle or test DeepSeek-handled consequences.effects [status|on|off|types|log [N]|test <host|network> <action...>] [--json]
mindintelligence, brainStatus, capabilities and compact world context of the onboard mind.mind [context] [--json]
planobjective, approachTurn an objective into safe, concrete steps.plan <objective> [--online]
recommendnext, advise, suggestAsk the mind for the best next moves.recommend [--json]
risk—Explain why a host or network is risky.risk [host|network]

forge

commandaliaseswhat it doesusage / flags
aideepseekDeepSeek status, key, mode, usage, pricing and test.ai [status|key KEY|mode offline|auto|online|test|model NAME|temp N|usage|budget USD|pricing|reset-usage] [--clear] [--json] [--reset]
genforge, make, create, newGenerate a complete unique file of any kind.gen <kind|ext> [--count N] [--size BAND] [--host HOST] [--online] [--local] [--prompt TEXT] [--dir DIR] [--format HTML_FORMAT] [--web] [--source NAME] [--json]
packbundle, projectGenerate a coherent multi-file offline content pack.pack [theme] [--host HOST] [--count N] [--size BAND] [--online]
scourwebimg, webimages, fetchimg, photosOpt-in web image search with attribution.scour <query> [--count N] [--source any|commons|openverse] [--kind city|nature|...] [--type png|svg|jpg] [--host HOST] [--dir DIR] [--json] [--no-convert]
synthfabricate, deepworld, aihostLet DeepSeek generate a complete new network or host, with every detail.synth network <theme> [--hosts N] [--files N] [--size BAND] [--online] [--json] [--scan|--full|--metadata-only] | synth host <network> <theme> [--files N] [--size BAND] [--online] [--json] [--scan|--full|--metadata-only]
typeskinds, catalogue, catalogList every generation kind, extension and size band.types [kind]
usagetokens, costDeepSeek token and dollar usage counter.usage [--json]

notes

commandaliaseswhat it doesusage / flags
cheatcheatsheet, cuesCybersecurity, hacking and programming cues.cheat
forget—Remove a remembered thing by number.forget <n>
journal—Show the session journal.journal [--limit N]
mantrafortune, whisperA generated root mantra.mantra
recallnotes, memoryRead or search things you remembered.recall [query] [--limit N]
remembernote, memorizeWrite a thing to remember.remember "text"
stats—World and workspace statistics.stats [--json]
things—Read the default things to remember.things

network

commandaliaseswhat it doesusage / flags
civilianspeople, civMeet the ordinary people and their devices.civilians [--json] [--network NET] [--limit N]
devices—Summarise the kinds of computers in the world.devices [--json]
dns—Show synthetic DNS records.dns <host|network>
fetchwgetExplicitly download a web file into the sandbox.fetch <url> [--dest DIR] [--name NAME] [--max SIZE] [--json]
findhostfindmachine, searchSearch machines, people, services and notes.findhost <query> [--limit N]
hostsmachines, devices-allList machines in the world.hosts [--all] [--civilian|--infra] [--network NET] [--json] [--limit N]
netctlnetman, nctlManipulate a network controller.netctl <network> <heartbeat|rate|status|policy|scheduler|rule|route|dns|pulse|reset> ...
netosnetos-show, nctl-showInspect a network controller's heartbeat, firewall, routes and DNS.netos <network> [--json]
networknetInspect a network and its machines.network <name> [--json]
persona—Show a civilian and all their devices.persona <name|handle>
ping—Simulate a ping (no packets leave).ping <host> [--count N]
route—Show the simulated routing table.route
scanprobe, sweep, sLive-scan a network, all networks, or one machine.scan <network|all|host> [--fast] [--files N] [--size BAND] [--ai] [--no-live] [--json] [--host HOST]
traceroute—Simulate a route through the world.traceroute <host>
vulns—List synthetic findings.vulns [host] [--severity S] [--limit N]
whois—Show a synthetic address card.whois <host|network>
worldnets, networks, wList every generated network.world [--map] [--json] [--kind KIND]

workspace

commandaliaseswhat it doesusage / flags
clean—Clear generated workspace content safely.clean <net|workspace|drop|network SLUG|host HOST> --yes
df—Show workspace disk usage.df
du—Show size of a path.du [path]
export—Save the last output (or a file) into the exports folder.export <name> [--file PATH]
mount—Show the mounts of this personal OS.mount
open—Open a file in the best viewer.open <path>
pwdcwdPrint the working directory.pwd
reseed—Rewrite the starter workspace files.reseed
reset—Reset the session, optionally wiping the workspace.reset --yes [--wipe] [--new-seed] [--keep-name]
workspacewsShow the sandbox location and contents.workspace

views

commandaliaseswhat it doesusage / flags
code—Show a file with syntax highlighting.code <file>
dashdashboard, watchThe ROOT dashboard.dash
gallery—Browse generated and downloaded images.gallery [path] [--limit N]
graph—Graph the active machine, a host, or the whole world.graph [host]
hexhexdump, xxdHex dump a file.hex <file> [--limit N]
imageimg, render, photoRender a PNG/PPM/SVG image in the terminal.image <file> [--width N] [--ascii]
inspect—Inspect a host or a file in one view.inspect <host|path>
map—Map the world or a network.map [network]
timelinelog, journal-logChronological journal of the session.timeline [--limit N]
topologytopoFull network → host → service topology.topology [--limit N]
tree—Render a directory tree.tree [path] [--depth N]
viewless, more, pageView any file: code, markdown, log, JSON, image or hex.view <file> [--raw] [--width N] [--ascii]

Cheatsheet

ROOT LOOP

world
scan all --fast
hosts --civilian
civilians
enter <host>
ls -R
view <file>
image <image>
leave
dash

WORLD

world --map
network <slug>
map <slug>
topology
graph <host>
seed new --fresh --scan
dream "a coastal cooperative"
synth network "a winter civic mesh" --scan

FILES

ls -la / tree / find / grep
cat / view / code / hex / stat
edit --set / --append / --from --to / --insert / --delete
add / write / append / rm / mkdir / touch
cp / mv / zip / unzip
ls -R /net/<net>
download /net/<net> --export
upload /notes <host> /inbox/notes
fetch <url>

RUNTIME

os <host> / ps <host>
proc <host> start|stop|restart|kill|add|nice
svc <host> start|stop|restart|list
kernel <host> key value
power <host> on|off|sleep|wake|cycle
heartbeat <host> --rate N
pulse <host> --count N
sched <host> [name]
ctl <host> <action> ...
monitor <host>
runtime --limit 20
fs <host>
events <host>

NETWORK CONTROL

netos <network>
netctl <net> heartbeat on|off
netctl <net> rate N
netctl <net> status <state>
netctl <net> policy <name>
netctl <net> rule add allow|deny CIDR
netctl <net> route add CIDR via GW
netctl <net> dns add NAME IP
netctl <net> pulse N
netctl <net> reset

DEEPSEEK

ai / ai key sk-... / ai mode auto / ai test
ai usage / usage / ai budget 1.00 / ai pricing
ask "..." --online
council "..."
brief --online
dossier <target> --online
plan "..." --online
agent "..." --online --run
analyze <target> --online
effects status|on|off|log|test
say <host> "..." --online
events <host> --explain --online

SYNTH

synth status
synth network "theme" --hosts 7 --files 4 --online
synth host <network> "theme" --files 2
--metadata-only

GENERATOR

gen types
gen all --count 6
gen book --size epic
gen office
gen image --size large
gen security
gen key
gen archive
pack "field kit" --count 8
pack "family archive" --host <host> --count 10

MSHESH

mshesh
mshesh random N
mshesh value TEXT
mshesh words N
mshesh unwords "24 words"
mshesh monitor [i] [chance] [n]
mshesh log [N]
mshesh save [path] [--lines N]
mshesh record [path|off]
mshesh status

VIEWS

dash
tree <path> --depth N
map [network]
graph [host]
topology
image <file>
gallery [path]
code <file>
hex <file>
timeline

CLEAN / RESET

clean net --yes
clean network <slug> --yes
clean host <host> --yes
clean drop --yes
clean workspace --yes
reset --yes
reset --yes --wipe
seed new --scan

MEMORY

remember "text"
recall [query]
forget N
things
mantra
cheat
stats

Troubleshooting

“unknown command”

Run help --all, or use help <command>. In the interactive shell, a multi-word non-command line is sent to the mind; use ask "..." explicitly if needed.

Scan writes no files

The machine may be powered off or asleep. Check os <host> and run power <host> on. Also verify the target network exists with world.

New seed looks like the old networks

Base network names are stable by default. Use seed new --fresh for new identities. If you pass --seed N every run, that flag overrides the stored seed.

DeepSeek does nothing

Check ai status, key, mode, budget and ai usage. A 401 means a bad key; a budget exhaustion falls back locally.

DeepSeek output is incomplete

HTML/JSON/Python are validated; invalid or truncated output is rejected and the offline generator is used. Check the generated file’s note.

Web image/fetch fails

Internet may be unavailable. fetch refuses private/loopback addresses; scour needs a public source. Offline graphics still work with gen image.

Tab completion does nothing

It is active only in the interactive TTY shell, not in piped commands or scripts.

JPEG will not render

Install optional Pillow: pip install "rootos[images]". PNG/PPM/SVG/BMP work without it.

Where is my data?

workspace prints the real path. Exports go to $ROOTOS_HOME/exports.

Safety and limits

ROOT is a closed sandbox.

Use the same discipline in the real world: written authorisation, a defined scope, a stop condition, data-handling rules, and respect for other people's data.

Root is a responsibility, not a permission.

Appendix

Workspace layout

$ROOTOS_HOME/
├── workspace/
│   ├── README.md
│   ├── net/<network>/<host>/...
│   ├── drop/packs/...
│   ├── notes/
│   ├── vault/mshesh/
│   └── scripts/
├── exports/
├── archive/
├── plugins/
├── state.json
└── secret.json       # chmod 0600

Key files

filemeaning
state.jsonprofile, seed, scans, notes, journal, runtime, hash lab, AI usage, custom world
secret.jsonDeepSeek key, mode 0600
_mind/assessment.mdfactual host assessment
_runtime/events.logruntime/effect events
_scans/scan reports
_signals/network signal logs
_pack.mdcontent pack manifest

DeepSeek pricing defaults

meterUSD / 1M tokens
input (cache miss)0.28
input (cache hit)0.028
output0.42

Approximate; override with settings ai_price_*.

Quick file-kind examples

kindexample
docgen doc --size huge
bookgen book --size epic
officegen office
imagegen image --size large
photogen photo --host
securitygen security --size medium
chatgen chat --host
packpack "theme" --count 8