Working with AI

Pinpoint what to edit, attach the right sources, and plan big rewrites before touching a line.

A vague “fix this” in the sidebar forces the AI to guess where and what to change. Highlighting the exact passage and attaching reference material gives you much cleaner, more accurate edits.

Point and prompt in place (inline prompts)

Ideal when you want to adjust a specific paragraph, table, equation, or picture inside a long document.

  1. Double-tap Control

    With the sidebar open, double-tap Control to enter selection mode.

  2. Select or capture a region

    Select a paragraph, table cells, equation, or picture to reveal the Agent button beside it. While in selection mode, press S to drag-capture any rectangular region of the page.

  3. Add a note and attach

    Type a brief note and click Attach to add the exact location and excerpt (up to 4,000 characters, plus an image for objects and equations) to the message box. You can queue several passages before sending.

Attach other documents & references

  • @ mentions: Type @ in the message box to attach PDFs, notes, clippings, and web items from your project resources (up to 20) as well as other open or recent HWP documents (up to 5). Mentioned documents are read-only so the AI won’t edit them.
  • File attachments: Use the paperclip button, drag and drop, or paste clipboard images to attach .pdf (up to 2,000 pages), .hwp/.hwpx/.hml, .docx/.pptx/.xlsx, .csv/.md/.txt, .zip, and images (up to 20 MB).
  • Reference another chat: Drag a previous chat from the chat list into the message box (up to 3) to carry forward earlier context.

Plan large edits first (/write-plan)

When restructuring a document or synthesizing multiple sources, draft a plan before letting the agent edit.

  • Pick /write-plan in chat or ask “Make a plan first” — it works in Chat, Agent, and Full access modes.
  • If key decisions are open, the AI asks one question at a time with recommended options, then writes a numbered plan.
  • Planning never modifies your document and grants no extra permissions. Review the plan and click Proceed with plan to execute within your current mode’s permissions.
Example plan-first prompt
/write-plan Using the two attached meeting notes and the safety plan, outline a plan to add a “Field Response Guidelines” section to this master plan document.

Long-running & parallel tasks

  • Goals (/goal <objective>): For multi-step tasks where the agent needs to check its own progress, give it a goal after /goal. A Goal status bar appears above the message box, and you can control it with /goal pause (stop after the current turn), /goal stop (stop immediately), /goal resume, and /goal clear.
  • Side chat: A read-only scratch chat for quick questions or lookups while the main chat is editing — close it with the close button or /exit without interrupting the main conversation.
  • Multiple documents at once: Run up to 10 chats concurrently in a single window. Switching document tabs won’t pause active background turns.
  • Subagents & worktrees: For wide research or multi-section edits, the AI can spin up doc-researcher and doc-editor subagents or delegate to another provider while showing live progress. Want to test a major overhaul without touching your original? Press Ctrl+Shift+G to launch an agent in a separate worktree and merge only if you like the result.
  • Compact chat (/compact): On supported providers, summarize earlier turns to free up context window space in long conversations.

Tips for sharper prompts

  • State what must not change: Leading with constraints like “Keep all figures, dates, statutory citations, and formatting intact — only tighten the prose” prevents unwanted rewrites.
  • Forbid guessing: When filling tables or reports from references, add “Leave cells blank if the source doesn’t cover them, and flag anything uncertain in chat.”
  • Name the audience and length: Saying “official notice for city hall”, “parent handout”, or “1-page executive summary” immediately aligns tone and structure.
  • Revert and re-prompt instead of piling fixes: If a draft goes off-track, reject it in Agent mode — or use Restore before this turn — then send a more specific instruction rather than asking the AI to patch over a weak pass.