SquarePact Word Add-In Connects to OpenClaw Gateway for Agentic Document Editing

SquarePact, a third-party Word add-in (not affiliated with OpenClaw), has added a feature that connects directly to your own OpenClaw gateway over WebSocket. This lets your AI agent edit the document you have open in Word.
How It Works
- The add-in connects to your gateway over WebSocket.
- Edits never apply automatically. The agent proposes an edit, which appears as a card in the add-in; you approve or dismiss it.
- Before applying an approved edit, the add-in rechecks that the current document content still matches what the agent saw. If the document has changed, the edit fails instead of applying to the wrong location — no stale edit surprises.
Key Technical Learnings
Tool Declaration via Message Text
OpenClaw provides no way to declare tools in the chat client. SquarePact works around this by describing the tools in the message text on every turn, then parsing the agent's reply for tool calls. Smaller local models sometimes produce malformed JSON in tool calls, so the add-in sends a retry message restating the required format, capped at 2 retries per turn.
Conversation History on Gateway
OpenClaw keeps conversation history server-side. SquarePact never sends history — each turn is just the tool contract plus the new message. Reopening an old chat reattaches to the same session, which dramatically simplified the client.
Word Bullet Normalization
Word's default bullet characters use Symbol font private-use Unicode, which reads back as empty text. The agent kept reporting broken bullets that were actually fine until SquarePact normalized them before sending to the agent.
Setup and Availability
Setup guide: squarepact.com/openclaw-setup
Site: squarepact.com
The developers are asking the community what other document editing capabilities they'd want their agent to perform that this integration doesn't yet support.
📖 Read the full source: r/openclaw
👀 See Also

cowork-session-sync v1.0.0 provides session continuity for Claude Cowork
cowork-session-sync v1.0.0 is a tool that maintains session continuity for Claude Cowork by archiving raw transcripts, distilling them to Markdown, and enabling one-phrase bootstrap with 'catchup-bunny' to restore full context.

Custom Output Styles Collection for Claude Code
A developer has created 13 custom output styles for Claude Code that modify the AI's behavior through system prompts. The styles include Roast for brutal code critique, Socratic for guided questioning, Breaker for adversarial testing, Ship It for pragmatic solutions, Paranoid for security focus, and TDD for test-driven development.

Cloken: A Chrome Extension That Shows Real-Time Claude Context Usage as a Percentage
Cloken is a free Chrome extension that displays your current Claude.ai chat context usage as a percentage — including messages, files, images, and system prompt.

Claude adds interactive chart and diagram creation feature
Claude can now generate interactive visuals including charts, diagrams, and explorable breakdowns directly within conversations. The feature is available in beta across all plans including free tier.