Ask DocuGhost
Improve a paragraph with AI, then decide which changes to keep. AI assistance is beta and requires operator configuration and an available spending allowance.
Improve a document
Open a document and select the text to improve. Leave text unselected to work on the whole document.
Choose Ask DocuGhost beside the editor.
Under What should change?, describe the edit. Choose additional approved sources only when they are needed.
Choose Generate proposal. If access approval is required, review it first; ask an owner if you cannot grant it. DocuGhost saves the current draft before preparing the request.
Read the preview and Review source changes. Select Accept changes or Reject proposal. After accepting, wait for Draft saved to workspace, then reopen the document to check the result.
After accepting, the shorter introduction is saved and the checklist is unchanged.
Try “Make this paragraph clearer,” “Shorten this explanation,” or “Rewrite this for beginners without inventing technical behavior.” For “Turn these notes into a table” or “Add a Mermaid diagram,” allow the relevant structure changes when prompted and review the complete result. A request is not a guarantee that a proposal can be safely applied.
The selected text (or whole document) and additional files you explicitly select are sent to OpenAI. Check facts, commands and examples before accepting.
Draft and diagram
Choose Draft with AI from an empty space or Browse documents → New document → Import documents or draft with AI. Select approved sources, a documentation type, instructions and a destination. Generate, review the proposed Markdown and source references, then save it to the workspace.
A blank Native Space has no documents for source-grounded drafting. Write or import source material first, then ask its owner to authorize it. For GitHub spaces, an owner may authorize relevant code folders as sources; connecting the repository alone does not do that. Drafting doesn't scrape your whole repository or infer facts from missing sources.
Request a diagram in Ask DocuGhost, or enter Mermaid source through Diagram. Review its rendered preview and correct invalid syntax before acceptance. Accepting an AI proposal never submits GitHub changes.
Context and safety
Document access controls what you can read or edit.
AI access separately authorizes eligible content to be sent to the provider. Owners manage it in Space settings → AI document access or Repository settings → AI source access.
Select the member, choose allowed Native Space folders or enter GitHub source folders, then Save AI document access or Save source access. Clear the folders and save to revoke future AI access.
Your request uses the current document and additional sources you explicitly select, within both permission sets. GitHub code is never included merely because it is in the repository.
Revocation stops future authorized requests; it cannot recall content already sent to a provider. Do not include secrets in prompts or selected files. Self-hosting does not make optional OpenAI processing local.
A permission message can mean missing document access, missing AI approval, revoked access or a read-only account. Ask the owner to grant only the content needed. A stale, unsafe or ambiguous proposal is rejected without overwriting your document: reopen the latest content and regenerate. Failed saves must be resolved before generating or applying another proposal.
Advanced integrations
The operator controls provider availability and spending caps; AI is not unlimited. Review generated documentation before sharing it.
To connect Cursor or another external AI client, see Connect an AI tool with MCP — Beta. Its tokens and data-sharing permissions are separate from Ask DocuGhost.

