Skookm Engineering

Internal tools and reference material.

Diagnostic Suite
Autel MK900 Live Data analysis against VW LT3 PID specs — Graph Merge extraction, multi-PID charting, and manual status-PID logging.
Reference Docs
Manuals, wiring references, and spec sheets.
⛽ Fuel Log
Photograph a diesel receipt — AI extracts litres, price, garage, and trip miles. Tracks MPG and fuel cost trends over time.
🥧 Pi Hub
Clipboard transit, GitHub file browser, command snippets, and Raspberry Pi Connect links for the kryptobot and skookm-proxy Pis.
Skookm Engineering
Fuel Log
avg MPG
0
Fill-ups
Total litres
Spent
MPG trend
Price/litre
⚡ Skookm · Diesel fill-up
Reading receipt…
Date
Garage
Postcode
Litres
Price/litre
Total cost
Trip miles
Manual entry
Fill-up history
No fill-ups logged yet.
Photograph a receipt above to start.
Skookm Engineering
Pi Hub
Devices
GitHub
Snippets
Settings
Help
Tap Paste to pull from clipboard
Devices
Quick Commands
Bot status
sudo systemctl status kryptobot
pi
Restart + tail logs
systemctl restart + journalctl -f
pi
Last 100 log lines
journalctl -n 100 --no-pager
pi
/why-no-signal
curl localhost:5000/why-no-signal | python3 -m json.tool
pi
SQLite — list tables
sqlite3 ~/kryptobot/trades.db ".tables"
sql
Test + reload nginx
nginx -t && systemctl reload nginx
sys
Repository
Patch Workflow
Pull latest
cd ~/kryptobot && git pull origin main
git
Check status
git status
git
Timestamped backup
cp server.py server.py.bak.$(date +%Y%m%d_%H%M%S)
patch
Add → commit → push
git add -A && git commit -m "" && git push origin main
git
KryptoBot — SQL
Recent trades
SELECT * FROM trades ORDER BY entry_time DESC LIMIT 20
sql
VWAP observations
SELECT * FROM vwap_observations ORDER BY timestamp DESC LIMIT 50
sql
Config check
SELECT instrument, mode, xau_min_confidence FROM config
sql
XAU sessions
SELECT * FROM xau_sessions
sql
KryptoBot — Shell
Find gold calc fn
grep -n "_calc_conditions_gold" server.py
patch
Find trailing-stop fn
grep -n "move_sl_on_broker" server.py
patch
Node-RED log tail
tail -f /var/log/node-red/node-red.log
pi
Save a Snippet
GitHub
Fine-grained PAT
Stored in localStorage only — never sent anywhere except api.github.com
Default repo
Devices
Raspberry Pi Connect
Open Pi Connect
connect.raspberrypi.com
Save
Save all settings
Clear all Pi Hub data
Pi Hub · Skookm Engineering
All data stored locally on this device
Pi Hub — User Manual v1.1
Pi Hub solves the friction of working between Claude and your Raspberry Pis. One place for clipboard transit, GitHub editing, and command snippets — from your phone.
Contents
1. First-Time Setup
2. The Clipboard Rail
3. Devices Tab
4. GitHub Tab
5. Snippets Tab
6. What Pi Hub Can Do
7. What Pi Hub Cannot Do
8. Workflow Examples
9. Security Notes
1. First-Time Setup
1.1 Enter your GitHub PAT
Pi Hub uses a single fine-grained PAT to read and write GitHub files. Go to Settings → Fine-grained PAT, paste your token, set the default repo to zenearthling/kryptoalertbot, and tap Save.
The PAT is stored in localStorage only — never sent anywhere except api.github.com.
1.2 Add to Home Screen (iPhone)
Open this site in Safari → Share → Add to Home Screen. Pi Hub opens full-screen like a native app.
1.3 Pi Connect device IDs
Add Pi Connect device IDs in Settings → Devices to get a one-tap Connect button per Pi.
2. The Clipboard Rail
The amber rail at the top of every screen is the transit zone between Claude and your Pi.
How it works
1Copy text from Claude (patch, command, SQL)
2Tap Paste — pulls from iOS clipboard
3Rail turns amber — content is ready
4Paste into the GitHub editor, or tap to copy again for the terminal
✂️ Strip Markdown
Appears when markdown is detected. Removes code fences, backticks, headers, bold/italic markers, and link syntax — leaving clean plain text ready for a terminal.
Must tap Paste each time — browsers cannot auto-read the clipboard without explicit user action.
3. Devices Tab
Shows your registered Pis. Tap any Quick Command to copy it to clipboard instantly.
Built-in commands
sudo systemctl status kryptobot
systemctl restart + journalctl -f
journalctl -n 100 --no-pager
curl localhost:5000/why-no-signal | python3 -m json.tool
sqlite3 ~/kryptobot/trades.db ".tables"
nginx -t && systemctl reload nginx
Devices with a Pi Connect ID show a Connect ↗ button that opens the remote terminal.
4. GitHub Tab
Browse, edit, and commit files in any repo your PAT can access — no terminal required.
Browse & edit
1Set Repo + Branch → tap Browse
2Tap a folder to navigate, tap a file to open it
3Edit directly, or tap Paste clipboard to overwrite with rail content
4Tap Copy to send the file to Claude for review
Commit
1Enter a commit message
2Tap Commit to GitHub
3Then on the Pi: git pull origin main
Paste clipboard replaces the entire editor. Tap Copy first if you want to preserve the original.
Commits go directly to main — no diff preview, no PR, no staging area.
5. Snippets Tab
Tap any snippet to copy it. Built-in categories: KryptoBot SQL, KryptoBot Shell.
To save a custom snippet: paste/type in the text area → add a label → tap Save. Persists across sessions.
6. What Pi Hub Can Do
Read the iOS clipboard on demand (one tap)
Strip markdown from clipboard content
Copy any built-in or custom snippet to clipboard
Browse any GitHub repo file tree your PAT can access
Open, display, and edit text files from GitHub
Commit file changes directly to GitHub
Save PAT, repo, device settings, and custom snippets in localStorage
Launch Raspberry Pi Connect in a new tab
Work full-screen on iPhone when added to Home Screen
7. What Pi Hub Cannot Do
Terminal / SSH
Open an SSH terminal or run commands on a Pi
Check live output or interact with a running process
Clipboard
Auto-read the clipboard — must tap Paste each time
Watch for clipboard changes in the background
GitHub
Create or delete files and branches
Show a diff preview before committing
Detect merge conflicts — SHA mismatch causes a commit error
Open binary files (.db, images, compiled binaries)
Storage / Offline
Sync settings across devices — localStorage is device-local
Use the GitHub tab without an internet connection
8. Workflow Examples
A — Apply a Claude patch to server.py
1Copy the patched function from Claude
2Pi Hub → tap Paste → tap Strip if needed
3GitHub tab → Browse → tap server.py
4Pi Connect: run timestamped backup snippet first
cp server.py server.py.bak.$(date +%Y%m%d_%H%M%S)
5In editor: locate old function, delete, tap Paste clipboard
6Enter commit message → Commit to GitHub
7Pi Connect: pull + restart
cd ~/kryptobot && git pull origin main
sudo systemctl restart kryptobot && sudo journalctl -u kryptobot -f
B — Run a diagnostic SQL query
1Snippets → tap Config check (copies to clipboard)
2Pi Connect → open sqlite3 → paste and run
sqlite3 ~/kryptobot/trades.db
3Repeat with Recent trades snippet
4Copy output → paste into Claude for analysis
C — Send a file to Claude for review
1GitHub → Browse → tap the file (e.g. config.py)
2Tap Copy → switch to Claude → paste → ask question
D — Save a custom snippet
1Snippets → paste command in the text area
2Add a label → tap Save
Appears in Saved section, persists across sessions.
9. Security Notes
Your PAT is stored in localStorage in plain text. Use fine-grained PATs scoped to specific repos only, set a short expiry (30–90 days), and never use Pi Hub on a shared device.
Pi Hub only calls api.github.com and fonts.googleapis.com. The Skookm Engineering site is static — no backend receives your PAT or clipboard content.
PAT permissions required: Repository: Contents — Read and Write. Nothing else needed.
Tap Clear in Settings to wipe all stored data from this device.
Pi Hub Manual · v1.1 · July 2026
Clipboard
Nothing pasted yet