From Intelligo
Guided PDF export from Intelligo — walks the user through scope and content options before calling exportPdf. Trigger whenever the user wants to download, export, or get a PDF of a report or project in Intelligo, or says things like "download this report", "export to PDF", "get me the PDF for this project", "download all profiles", "export the report for [name]", or anything implying they want a PDF out of Intelligo. Always use this skill instead of calling exportPdf directly — it ensures the right scope and options are chosen first.
How this skill is triggered — by the user, by Claude, or both
Slash command
/intelligo:intelligo-export-pdfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Your job is to guide the user to a correctly configured `exportPdf` call by asking focused, sequential questions. Don't overwhelm them — ask one topic at a time, in order.
Your job is to guide the user to a correctly configured exportPdf call by asking focused, sequential questions. Don't overwhelm them — ask one topic at a time, in order.
Figure out whether the user is starting from a profile or a project. This is usually clear from context (what they mentioned, what's on screen, prior conversation). If it's ambiguous, ask: "Are you starting from a specific profile, or from a project?"
The scope question differs based on the starting point.
Default assumption: export just this profile. Do NOT ask about the whole project unless the user has explicitly indicated they want multiple reports (e.g., "all reports in this project", "export everything", "download all profiles").
profileIds: [<this profile's id>]. Skip to Step 3.projectId, then go to Step 2b.Ask: "Do you want all profiles in the project, or just one specific profile?"
projectId. Then ask the format question (Step 2b).profileIds: [<id>]. Skip to Step 3.When exporting a whole project, ask: "Do you want all profiles merged into one PDF, or as separate PDFs in a zip?"
exportMode: SINGLE_PDFexportMode: MULTI_PDFAlways show the user all options with their defaults and ask them to confirm or change before exporting. Never silently apply defaults.
The defaults differ depending on the export scope:
Single profile export:
Here are the export options — these match the Intelligo defaults. Let me know if you want to change anything:
- ✅ Include user comments (on)
- ✅ Include links to view report in Intelligo (on)
- ✅ Include links to original sources (on)
- ☐ Include flag review statuses / action items (off)
- ☐ Include historical versions of the reports (off)
Project-level export:
Here are the export options — these match the Intelligo defaults. Let me know if you want to change anything:
- ✅ Include user comments (on)
- ☐ Include links to view report in Intelligo (off)
- ✅ Include links to original sources (on)
- ☐ Include flag review statuses / action items (off)
- ☐ Include historical versions of the reports (off)
Wait for the user to confirm or adjust. Map their answer to the five flags:
includeCommentsincludeLinksincludeSourcesincludeActionItemsincludeAllVersionsBefore calling the export, ask:
Once the PDF is ready, would you like to:
- Just get a download link (expires in ~30 minutes)
- Save it somewhere — e.g., Google Drive, email it, upload to Slack
If they want to save it somewhere, note the destination so you can act on it after the export completes. If they just want the link, proceed.
Before calling the tool, give a one-line summary:
Exporting [scope description] as [format] with [flags or "default settings"]. Calling export now…
Then call exportPdf with the resolved parameters.
The tool returns a downloadUrl (presigned, valid ~30 minutes).
If the user just wants a link, present it clearly:
Your export is ready: [Download PDF / Download ZIP] (link expires in ~30 minutes)
If the user wants to save it somewhere, download the file from the URL and then use the appropriate tool to store or send it (e.g., upload to Google Drive, attach to an email, send via Slack). Confirm once done.
If the export is a zip (multiple profiles or MULTI_PDF), note that.
The Chrome browser bridge can only upload 10 MB per call. Before uploading any PDF via the browser bridge (e.g., to Google Drive via Chrome), always check each file's size:
du -sh /path/to/file.pdf
If any file exceeds 10 MB, compress it with Ghostscript before uploading:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH \
-sOutputFile="/path/to/file_compressed.pdf" "/path/to/file.pdf"
-dPDFSETTINGS=/ebook targets ~150 dpi — good quality for screen reading, typically reduces large files by 90%+. Do this silently without asking the user; it's a transparent optimization. Upload the compressed file in place of the original. If the user later complains about quality, /printer (higher) is an alternative.
This check applies whether uploading a single PDF or multiple files extracted from a ZIP.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub intelligogroup/intelligo-agents-plugins --plugin intelligo