← Skales Guide

Use Skales from Chrome and Microsoft Office

Skales can sit next to your work: as a side panel in Chrome, and as a task pane in Word, Excel, PowerPoint and Outlook. Both are clients of the Skales running on your computer. The models, your keys, the conversations and every approval stay in Skales; the panel and the pane carry no API key. They use the same encrypted connection as a paired phone, directly or over the encrypted relay, and you pair each one once in Settings → Extensions → Chrome & Microsoft Office. That page also lists everything that is paired, with Disconnect beside each entry. The downloads are below: Chrome extension and Office add-in, both attached to the latest Skales release.

Connect the Chrome side panel

  1. Download the Chrome extension (attached to the latest release) and unzip it.
  2. In Chrome open chrome://extensions, switch on Developer mode, choose Load unpacked and pick the unzipped chrome folder.
  3. Open Skales from the extension's button. The side panel shows its own origin, chrome-extension:// followed by 32 letters. Copy it.
  4. In Skales, under Settings → Extensions → Chrome & Microsoft Office, choose Chrome, paste the exact origin and press Generate code. The code works once and for five minutes.
  5. In the panel, enter the Skales server address and the code, then press Pair. On this computer the address is the one Skales runs on, for example http://127.0.0.1:3000; a remote address needs HTTPS.

Chrome grants one permission only at installation: the debugger permission, which real key presses need. Everything else - access to a site, bookmarks, history, downloads - is asked for the first time a tool needs it: the panel shows Allow Chrome access, and Chrome remembers what you allowed.

Connect Word, Excel and PowerPoint

Office only loads add-ins from an HTTPS address, so the Office download brings a small local helper that serves the task pane over HTTPS and passes only the extension traffic on to Skales. You need Node and a trusted certificate for localhost; a company certificate works, or one made with mkcert (mkcert -install, then mkcert -cert-file localhost.pem -key-file localhost-key.pem localhost 127.0.0.1 ::1). Keep the private key out of any shared folder.

  1. Download the Office add-in (attached to the latest release) and unzip it. It contains office/, shared/ and the browser bundles the pane needs.
  2. In the unzipped folder run node office/scripts/serve.mjs --cert=/path/localhost.pem --key=/path/localhost-key.pem --server=http://127.0.0.1:3000 --port=3443. It needs no installation and prints the task pane address.
  3. Open https://localhost:3443/office/taskpane.html in a browser once. If the certificate is trusted it opens and says that an Office host is needed.
  4. Load office/manifest.xml into Office:
    • Office on the web: Add-ins → More add-ins → My add-ins → Upload my add-in, where your organisation allows it.
    • Mac: copy the manifest into the app's wef folder - ~/Library/Containers/com.microsoft.Word/Data/Documents/wef/, the same under com.microsoft.Excel and com.microsoft.Powerpoint - then open it from Insert → Add-ins → My Add-ins.
    • Windows: Microsoft's way for desktop Office is a shared-folder catalogue: share the folder that holds the manifest, add its network path under File → Options → Trust Center → Trust Center Settings → Trusted Add-in Catalogs with "Show in Menu" ticked, restart Office and open it from My Add-ins → Shared Folder (Microsoft's sideload guide). Office on the web works the same on Windows as anywhere else.
  5. In Skales, under Settings → Extensions → Chrome & Microsoft Office, choose Microsoft Office, enter https://localhost:3443 and press Generate code. In the task pane keep the server address https://localhost:3443, paste the code and pair.

Office is paired once. New documents and new panes get their own connection under that pairing without another code; a document keeps only an id, never a key. The pane can also open itself in new Word documents, PowerPoint decks and copies Skales makes (Enable automatic Skales opening), where Office supports it. With a port or a domain other than localhost:3443, change it in both manifests, in the helper command, in the pairing origin and in the Microsoft redirect address together.

Connect Outlook and Microsoft 365

Outlook uses its own manifest, office/manifest-outlook.xml: Add-Ins for Outlook → My add-ins → Add a custom add-in → Add from File. The pane then appears in messages you read or write and in appointments, and pairs exactly like Word. Reading the open message works straight away. Searching the mailbox, drafts and replies, attachments and the calendar go through Microsoft Graph and need a Microsoft 365 connection:

  1. An administrator registers an application in Microsoft Entra for the intended accounts, with a Single-page application redirect address https://localhost:3443/office/oauth.html (or your own HTTPS origin) and no client secret.
  2. It gets the delegated Graph permissions User.Read, Mail.ReadWrite, Mail.Send and Calendars.ReadWrite, with tenant consent where your organisation requires it.
  3. In the Outlook pane choose Connect Microsoft 365, enter the application (client) ID and the tenant ID or common, and sign in with Microsoft. The client ID is public configuration, not a key.

The Microsoft tokens live only in the pane's memory: after closing or reloading the pane, Outlook asks you to sign in again, while the pairing and your conversations stay. To try the Outlook tools without touching a real mailbox, use a separate Microsoft 365 test account or test tenant with mail and appointments you can throw away.

What the extensions can do

Both bring the Skales chat with model choice, attachments and pictures, tool progress, Stop and the usual approval cards, and both restore their conversations from Skales when reopened. The tools run in your own browser or document:

Limits of the Chrome and Office extensions

When an extension does not connect

What you seeWhat to do
Pairing code is invalid, expired, or belongs to another origin.Generate a new code - it lasts five minutes and works once - and check that the origin in Settings is exactly the one the panel shows.
Enter the exact extension origin.Chrome takes chrome-extension:// plus the 32-letter id; Office takes the HTTPS origin of its pane, such as https://localhost:3443.
This device identity is already paired. Disconnect it first.Disconnect the old entry in Settings → Extensions → Chrome & Microsoft Office, then pair again.
Use HTTPS for a remote server, or HTTP on localhost.Enter http://127.0.0.1:3000 on this computer, or an HTTPS address for Skales elsewhere.
Office needs HTTPS.Use the helper's address https://localhost:3443 as the server in the pane, not the plain Skales address.
The pane stays blank, or the certificate is refused.Open https://localhost:3443/office/taskpane.html in a browser; if it is not trusted, install the certificate's trust (for example mkcert -install) and restart the helper.
Microsoft Office.js could not load.The pane needs to reach appsforoffice.microsoft.com; check the connection and reopen the pane.
Skales server is unreachable / The encrypted relay is unreachable.Start Skales. Without a direct connection the extension uses the relay, which needs remote access switched on in Skales.
Extension is not connected / Extension is offline.Open the panel or pane and press Reconnect.
Skales needs Chrome access for this action.Open the side panel and press Allow Chrome access.
This tool needs Excel; the connected task pane is in Word.Open Skales in the app the tool belongs to.
Microsoft 365 is not connected / Microsoft sign-in expired.Use Connect Microsoft 365 in the Outlook pane; a missing application ID or consent is named with its reason.
This Office pairing was revoked.Pair Office again from Settings with a new code.
Extension did not answer in time.Look at the page or document first, then check the panel for a permission or connection message before trying again.

Disconnect an extension

Settings → Extensions → Chrome & Microsoft Office lists every paired extension with Disconnect. It removes the extension's access and its pending tool calls at once; for Office it also ends every document pane under that pairing. Once no paired extension uses an origin, that origin can no longer reach Skales. Each extension is independent, so disconnecting Office leaves Chrome and your phone connected. In the panel itself, Disconnect stays disconnected until you press Reconnect, closing the panel does not disconnect anything, and Disconnect Microsoft 365 in Outlook forgets only the Microsoft sign-in.

Microsoft and Chrome references: Office sideload methods, sideloading on Mac, sideloading in Outlook, Microsoft sign-in for single-page applications, Chrome optional permissions.