An agent can draw an architecture diagram in a few seconds. Then the chat ends, and the diagram is gone. It is not in the repo, and it is not in a place where a teammate can comment on it. Additionally, a teammate outside the thread cannot open it.
ShareCube is where that file is stored, and OfficeKit writes it. CAPA then tells the agent that it is allowed to use either of them.
Three jobs, three tools
These are not one product, and the split is by design.
- OfficeKit writes the deliverable. A document is one self-contained HTML file (with styles, brand tokens, and marks inlined), so it opens from disk and prints to PDF. It was built separately from Infragate, and the repo is Minitour/office-kit.
- CAPA is the allow-list and the installer. Skills, the ShareCube server, and the sub-agent that is not allowed to publish are all defined in
capabilities.yaml. - ShareCube stores the HTML or Markdown in a project, assigns it a URL, and provides the place where a human comments. Agents publish over MCP and then return
console_url.
The file OfficeKit actually writes
This file is an architecture diagram rather than a memo. It shows the clients on top, CAPA under them, Lanyard as the single gateway, and the three servers that the gateway is allowed to reach (ShareCube, AWS documentation, and Slack). OfficeKit writes the diagram as one self-contained HTML file with inlined styles, so it opens from disk and prints to PDF.

Decks and videos follow a longer loop, with a preview and an audit. In contrast, a document is deliberately a single pass. That is, the agent writes the file, checks that it stands alone, and then hands it over.
Pointing the agent at ShareCube
The capabilities.yaml of OfficeKit already installs its skills through CAPA, and ShareCube is one more server. Sign-in is the default, so the YAML contains a URL and no secret.
servers:
- id: sharecube
type: mcp
def:
url: https://app.sharecube.io/mcp
On the first run, capa install opens a prompt in the browser. For CI, a key can be created under Settings, Integrations, and passed as a header with a ${ShareCubeKey} placeholder. The key should not be committed. The ShareCube MCP guide lists the endpoint and the client snippets.
This loop requires only a short list of tools, namely list_projects and create_artifact. Then the agent stops. create_artifact returns console_url, and that URL is the handoff. At that stage, the chat is done.
What the human does next
The human opens the console link. The artifact is the HTML file, with version history. It can be shared as private, with the org, or with a public link, up to the ceiling that an admin set. In this case, the artifact is that diagram, private to the project. The sentence under review is the line under the servers. The next post covers the comment that is attached to that sentence, rather than on the chat.

OfficeKit is a personal project, and it is not an Infragate product. ShareCube, however, is an Infragate product. Finally, CAPA is the piece that installs both into the agent.