A spreadsheet for the terminal. The grid is Rust on hqtui;
the calculation core is SkeeptoEngine,
a C++20 engine with 344 Excel-compatible worksheet functions (dynamic arrays,
XLOOKUP, LET, LAMBDA helpers, financial solvers) that reads and writes .xlsx.
sk33p is an independent frontend. SkeeptoEngine is by Stéphane Allez (MIT) and is
pinned here as a git submodule in engine/.
sk33p budget.xlsx [+] Summary Jan Feb
C4 │ =SUM(C2:C3)*1.2 [Ask]
│ A │ B │ C
1 │ item │ qty │ price
2 │ widget │ 4 │ 12.50
3 │ gadget │ 2 │ 40.00
4 │ total │ │ 156.00
READY ? help ^K ask ^S save ^Q quit
sk33p budget.xlsx # open in the TUI (.xlsx .sker .csv .tsv)
sk33p # new workbook
sk33p eval '=PMT(5%/12,360,-300000)' '=TEXTJOIN("-",TRUE,"a","b")'
sk33p get budget.xlsx C4
sk33p set budget.xlsx B2 5 C2 '=B2*2' # writes and saves
sk33p cat budget.xlsx A1:C10 --csv
sk33p convert budget.xlsx budget.csv
sk33p sort budget.xlsx A1:D10 --by C --desc --header -o sorted.xlsx
sk33p cat budget.xlsx --where "C>100" --csv # rows matching a filter
sk33p ask "sum of D2:D6 plus 8% tax" budget.xlsx --cell D12 # a formula from c0mpute
sk33p mcp # Model Context Protocol server on stdioTUI keys: arrows or hjkl move, type or = to enter, Enter/F2 edit, Tab commit
right, Del clear, Ctrl+Z / Ctrl+Y undo and redo, [ ] switch sheet, < >
column width, g go to, :w file.xlsx save as, :q quit, ? all keys.
Quitting: Ctrl+Q, :q then Enter, or Ctrl+C twice (the first Ctrl+C copies).
With unsaved changes it asks once; press it again, or :q! to discard.
Commands: press : and the bottom line becomes CMD : — type the command
there and press Enter: :w report.xlsx saves as, :e other.xlsx opens, :q
quits, :sort B desc, :filter C > 100. Esc cancels. The key hints on the
bottom line are buttons too: click : cmd, ^S save or ^Q quit.
- Select: click a cell, drag for a range, Shift+click to extend, Ctrl+click or Alt+click to add another range. Click a column letter or row number for the whole column or row (drag or Ctrl+click for several), the corner or Ctrl+A for everything. Shift+arrows extend from the keyboard, Esc collapses. Double-click edits a cell; the wheel scrolls rows, Shift+wheel columns.
- The name box shows the selection (
B2:C6, D:D) and the status bar showsSum= Avg= Count=for its numbers. - Clipboard: Del clears the selection, Ctrl+C copies it as TSV (to the system clipboard over OSC 52), Ctrl+V pastes at the cursor and shifts formulas the way Excel does. Each is one undo step.
- Sort:
s/Ssorts the selection (or the data region) by the cursor's column, ascending / descending, keeping a header row.:sort B desc, C ascsorts by several keys. Numbers sort as numbers, text ignores case, blanks go last. A formula that points at another row with a relative reference stops the sort, with the cell named, instead of breaking the formula. - Filter:
fturns on a filter (▾ on the header row; click one for a prompt).:filter C > 100,:filter A contains widget,:filter C off,:filter off. Filters hide rows on screen only; they never change the data.
macOS terminals keep Cmd+click for themselves (it opens links), so use Ctrl+click or Alt+click to add ranges. Most terminals also keep Shift+click for their own text selection; plain xterm opens a menu on Ctrl+click, so use Alt+click there.
Ask for a formula in plain language; models on the c0mpute network write it and the engine checks it before you see it.
- Ctrl+K on a cell opens the edit line with
?ready: type the question, press Enter. While editing, Ctrl+K or a click on [Ask] (right end of the edit line) asks with what you typed. Typing?sum of B2:B9 plus 8% taxinto the edit line (Enter or F2 first:?alone in READY opens help) and pressing Enter asks too: a?questionis never stored in a cell. - The status line shows
asking c0mpute… Ns(small models take 20-100 s; the grid keeps drawing); Esc cancels. - The answer lands in the edit line, not in the cell, with a one-line explanation and its preview value. Enter keeps it, Esc drops it.
- Errors show in the status line: a 402 daily limit comes with the link to a key or Pro.
- Sent with the question: sheet name, active cell, used range, the edit line and up to 30 rows x 12 columns of displayed values around the cell (plus the header row), under 8 KB. Nothing else from the file.
CLI: sk33p ask "QUESTION" [FILE] [--cell C4] [--sheet S] prints the formula,
explanation and preview (with FILE it sends the same context).
| Variable | Default | |
|---|---|---|
SK33P_API |
https://sk33p.pwa.pit.world |
API base |
SK33P_KEY |
~/.config/sk33p/key if present |
API key; without one the anonymous quota (10 calls a day) applies |
Each ask is one call against your API plan. Get a free key at
https://sk33p.pwa.pit.world/key and save it: mkdir -p ~/.config/sk33p && echo sk33p_... > ~/.config/sk33p/key.
End-to-end encrypted workbook backups on the c0mpute network,
free with a c0mpute account. Encryption happens in sk33p on your machine; neither
sk33p nor c0mpute can read the backups or see their names.
sk33p login # Sign in with c0mpute: browser, OAuth 2.1 + PKCE, scope storage:write
sk33p login --token c0k_... # or store a c0mpute API key (no browser on this machine)
sk33p backup budget.xlsx # asks for a backup passphrase (twice, the first time)
sk33p backup q3.xlsx --name "Q3 forecast"
sk33p backups # NAME SIZE BACKED UP (UTC), from the encrypted index
sk33p restore "Q3 forecast" -o q3.xlsx
sk33p backup --rm budget.xlsx
sk33p logout # revokes the OAuth token and forgets it- Key: a passphrase typed at the prompt,
--keyfile PATH(created with 32 random bytes when missing),$SK33P_BACKUP_KEYFILEor$SK33P_PASSPHRASE. It never leaves the machine. There is no recovery: lose it and the backups are gone. - Quantum-safe: 256-bit symmetric encryption (XChaCha20-Poly1305) with an Argon2id
key. The passphrase goes through Argon2id (64 MiB, 3 passes, random salt) to a 256-bit
key that wraps a fresh random 256-bit key per file. No public-key step, so a quantum
computer only gets Grover's square-root speedup (about 128-bit strength left). Blob
header: magic
SK33PE2E, format version, algorithm ids, KDF parameters, salt, nonces, wrapped key; all authenticated. Unknown versions or algorithm ids are refused, so the format can be upgraded later. - On the network: each encrypted file is packaged in c0mpute's private-storage
format (
c0mpute-private-v1) and held in 3 copies by c0mpute nodes. That envelope wraps its key to your c0mpute storage identity with X25519 and authenticates the upload with ed25519; neither protects readable data, since what they wrap is already sk33p ciphertext. Names, sizes and dates live in an encrypted index object whose address is derived from your key and account, so another machine with the same login and key finds everything. c0mpute sees ciphertext, padded sizes and upload times. - Limits: 100 MB per backup (sk33p). c0mpute's free app-upload limits per account: 4 GiB per upload, 20 GiB a day, 200 GiB in all, 60 uploads an hour.
- Once per c0mpute account: link a storage identity with the c0mpute CLI,
c0mpute storage key initthenc0mpute storage key link. - MCP:
sk33p mcpaddsbackup,list_backupsandrestore(key from thekeyfileargument,$SK33P_BACKUP_KEYFILEor$SK33P_PASSPHRASE).
| Variable | Default | |
|---|---|---|
SK33P_C0MPUTE_URL |
https://c0mpute.com |
sign-in and storage API |
SK33P_C0MPUTE_GATEWAY |
https://gateway.c0mpute.com |
where backups are read from |
SK33P_C0MPUTE_TOKEN |
~/.config/sk33p/c0mpute.json (0600) |
the c0mpute token |
SK33P_CONFIG_DIR |
~/.config/sk33p |
The same engine over HTTPS and remote MCP at https://sk33p.pwa.pit.world: evaluate
formulas, read ranges, write cells, convert workbooks and ask for formulas
(POST /api/v1/ask, MCP ask) with nothing installed.
Free tier (a key by email, 100 calls a day); Pro is $9 per 30 days via CoinPay.
Docs: https://sk33p.pwa.pit.world/docs. Source in cloud/.
curl -s https://sk33p.pwa.pit.world/api/v1/eval -H 'content-type: application/json' \
-d '{"formulas":["=PMT(5%/12,360,-300000)"]}'- The formula parser has no
^operator: writePOWER(A1,2). - Values show unformatted unless the workbook carries a number format; dates and
currency formats from
.xlsxfiles are applied. - One workbook per process: the engine keeps its state in singletons.
Needs CMake 3.16+, a C++20 compiler, git, zlib, and Rust 1.75+.
git clone --recursive https://github.com/profullstack/sk33p
cd sk33p && cargo build --releasebuild.rs runs the engine's own CMake superbuild (which fetches RapidJSON,
RapidXML, pugixml and libzip), compiles the C ABI shim in shim/, and links it
all statically. patches/ holds two small engine fixes applied at build time.
The engine is a heavy C++ compile: the build runs one job per 4 GB of available
RAM (at most 4) so cc1plus is not OOM-killed; set SK33P_JOBS=N to override.
MIT. SkeeptoEngine is MIT, © 2026 Stéphane Allez.