Execute JavaScript in live Office applications via Office.js API. Supports Word, Excel, PowerPoint, and Outlook. Use when users ask to edit open Office documents, manipulate spreadsheets, edit presentations, work with emails, or automate any Office workflow. Trigger phrases include "edit my Word doc", "update the spreadsheet", "add a slide", "check my email", or any live Office document manipulation.
/plugin marketplace add parkerhancock/office-bridge/plugin install parkerhancock-office-bridge@parkerhancock/office-bridgeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Execute Office.js JavaScript in open Office applications. Maintains persistent WebSocket connections to Office add-ins.
./office-bridge/install.sh (first time only)./office-bridge/server.sh &For sideloading help, see references/setup.md.
import { connect } from "./src/client.js";
const bridge = await connect();
const sessions = await bridge.sessions(); // All apps
const docs = await bridge.documents(); // Word (with helpers)
const workbooks = await bridge.excel(); // Excel
const presentations = await bridge.powerpoint(); // PowerPoint
const mail = await bridge.outlook(); // Outlook
// Execute code in any session
const result = await session.executeJs(`
// App-specific code here
await context.sync();
return data;
`);
await bridge.close();
| Component | Port |
|---|---|
| Bridge Server | 3847 |
| Word | 3000 |
| Excel | 3001 |
| PowerPoint | 3002 |
| Outlook | 3003 |
Start a dev server: cd office-bridge/addins/<app> && npm run dev-server &
If you encounter connection problems, Office.js errors, or want to request new features, use the GitHub CLI:
# Report a bug
gh issue create --repo SanctionedCodeList/office-bridge --title "Bug: [description]" --body "## Problem\n[Describe the issue]\n\n## Office app affected\n[Word/Excel/PowerPoint/Outlook]\n\n## Error message\n[Include any error output]\n\n## Steps to reproduce\n[How to trigger it]"
# Request a feature
gh issue create --repo SanctionedCodeList/office-bridge --title "Feature: [description]" --body "## Use case\n[Why this is needed]\n\n## Proposed solution\n[How it might work]"
# Check existing issues first
gh issue list --repo SanctionedCodeList/office-bridge
This helps improve the bridge for all users.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.