invos 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/bin/invos.js +78 -0
- package/kit/.agents/skills/apple/DESCRIPTION.md +2 -0
- package/kit/.agents/skills/apple/apple-notes/SKILL.md +90 -0
- package/kit/.agents/skills/apple/apple-reminders/SKILL.md +130 -0
- package/kit/.agents/skills/audit/SKILL.md +177 -0
- package/kit/.agents/skills/design-marca/SKILL.md +92 -0
- package/kit/.agents/skills/humanizer/SKILL.md +476 -0
- package/kit/.agents/skills/instagram-carrossel/SKILL.md +79 -0
- package/kit/.agents/skills/instagram-carrossel/references/fetch-assets.md +77 -0
- package/kit/.agents/skills/instagram-carrossel/references/publish.md +48 -0
- package/kit/.agents/skills/instagram-carrossel/references/render-png.md +147 -0
- package/kit/.agents/skills/instagram-carrossel/scripts/publish.js +165 -0
- package/kit/.agents/skills/llm-wiki/SKILL.md +507 -0
- package/kit/.agents/skills/onboard/SKILL.md +152 -0
- package/kit/.agents/skills/pd-ikigai/SKILL.md +269 -0
- package/kit/.agents/skills/popular-web-designs/SKILL.md +214 -0
- package/kit/.agents/skills/popular-web-designs/templates/airbnb.md +259 -0
- package/kit/.agents/skills/popular-web-designs/templates/airtable.md +102 -0
- package/kit/.agents/skills/popular-web-designs/templates/apple.md +326 -0
- package/kit/.agents/skills/popular-web-designs/templates/bmw.md +193 -0
- package/kit/.agents/skills/popular-web-designs/templates/cal.md +272 -0
- package/kit/.agents/skills/popular-web-designs/templates/claude.md +325 -0
- package/kit/.agents/skills/popular-web-designs/templates/clay.md +317 -0
- package/kit/.agents/skills/popular-web-designs/templates/clickhouse.md +294 -0
- package/kit/.agents/skills/popular-web-designs/templates/cohere.md +279 -0
- package/kit/.agents/skills/popular-web-designs/templates/coinbase.md +142 -0
- package/kit/.agents/skills/popular-web-designs/templates/composio.md +320 -0
- package/kit/.agents/skills/popular-web-designs/templates/cursor.md +322 -0
- package/kit/.agents/skills/popular-web-designs/templates/elevenlabs.md +278 -0
- package/kit/.agents/skills/popular-web-designs/templates/expo.md +294 -0
- package/kit/.agents/skills/popular-web-designs/templates/figma.md +233 -0
- package/kit/.agents/skills/popular-web-designs/templates/framer.md +259 -0
- package/kit/.agents/skills/popular-web-designs/templates/hashicorp.md +291 -0
- package/kit/.agents/skills/popular-web-designs/templates/ibm.md +345 -0
- package/kit/.agents/skills/popular-web-designs/templates/intercom.md +159 -0
- package/kit/.agents/skills/popular-web-designs/templates/kraken.md +138 -0
- package/kit/.agents/skills/popular-web-designs/templates/linear.app.md +380 -0
- package/kit/.agents/skills/popular-web-designs/templates/lovable.md +311 -0
- package/kit/.agents/skills/popular-web-designs/templates/minimax.md +270 -0
- package/kit/.agents/skills/popular-web-designs/templates/mintlify.md +339 -0
- package/kit/.agents/skills/popular-web-designs/templates/miro.md +121 -0
- package/kit/.agents/skills/popular-web-designs/templates/mistral.ai.md +274 -0
- package/kit/.agents/skills/popular-web-designs/templates/mongodb.md +279 -0
- package/kit/.agents/skills/popular-web-designs/templates/notion.md +322 -0
- package/kit/.agents/skills/popular-web-designs/templates/nvidia.md +306 -0
- package/kit/.agents/skills/popular-web-designs/templates/ollama.md +280 -0
- package/kit/.agents/skills/popular-web-designs/templates/opencode.ai.md +294 -0
- package/kit/.agents/skills/popular-web-designs/templates/pinterest.md +243 -0
- package/kit/.agents/skills/popular-web-designs/templates/posthog.md +269 -0
- package/kit/.agents/skills/popular-web-designs/templates/raycast.md +281 -0
- package/kit/.agents/skills/popular-web-designs/templates/replicate.md +274 -0
- package/kit/.agents/skills/popular-web-designs/templates/resend.md +316 -0
- package/kit/.agents/skills/popular-web-designs/templates/revolut.md +198 -0
- package/kit/.agents/skills/popular-web-designs/templates/runwayml.md +257 -0
- package/kit/.agents/skills/popular-web-designs/templates/sanity.md +370 -0
- package/kit/.agents/skills/popular-web-designs/templates/sentry.md +275 -0
- package/kit/.agents/skills/popular-web-designs/templates/spacex.md +207 -0
- package/kit/.agents/skills/popular-web-designs/templates/spotify.md +259 -0
- package/kit/.agents/skills/popular-web-designs/templates/stripe.md +335 -0
- package/kit/.agents/skills/popular-web-designs/templates/supabase.md +268 -0
- package/kit/.agents/skills/popular-web-designs/templates/superhuman.md +265 -0
- package/kit/.agents/skills/popular-web-designs/templates/together.ai.md +276 -0
- package/kit/.agents/skills/popular-web-designs/templates/uber.md +308 -0
- package/kit/.agents/skills/popular-web-designs/templates/vercel.md +323 -0
- package/kit/.agents/skills/popular-web-designs/templates/voltagent.md +336 -0
- package/kit/.agents/skills/popular-web-designs/templates/warp.md +266 -0
- package/kit/.agents/skills/popular-web-designs/templates/webflow.md +105 -0
- package/kit/.agents/skills/popular-web-designs/templates/wise.md +186 -0
- package/kit/.agents/skills/popular-web-designs/templates/x.ai.md +270 -0
- package/kit/.agents/skills/popular-web-designs/templates/zapier.md +341 -0
- package/kit/.agents/skills/productivity/DESCRIPTION.md +3 -0
- package/kit/.agents/skills/productivity/google-workspace/SKILL.md +335 -0
- package/kit/.agents/skills/productivity/google-workspace/references/gmail-search-syntax.md +63 -0
- package/kit/.agents/skills/productivity/google-workspace/scripts/_hermes_home.py +42 -0
- package/kit/.agents/skills/productivity/google-workspace/scripts/google_api.py +1225 -0
- package/kit/.agents/skills/productivity/google-workspace/scripts/gws_bridge.py +111 -0
- package/kit/.agents/skills/productivity/google-workspace/scripts/setup.py +481 -0
- package/kit/.agents/skills/productivity/nano-pdf/SKILL.md +52 -0
- package/kit/.agents/skills/productivity/notion/SKILL.md +448 -0
- package/kit/.agents/skills/productivity/notion/references/block-types.md +112 -0
- package/kit/.agents/skills/productivity/ocr-and-documents/DESCRIPTION.md +3 -0
- package/kit/.agents/skills/productivity/ocr-and-documents/SKILL.md +172 -0
- package/kit/.agents/skills/productivity/ocr-and-documents/scripts/extract_marker.py +87 -0
- package/kit/.agents/skills/productivity/ocr-and-documents/scripts/extract_pymupdf.py +98 -0
- package/kit/.agents/skills/productivity/powerpoint/LICENSE.txt +30 -0
- package/kit/.agents/skills/productivity/powerpoint/SKILL.md +237 -0
- package/kit/.agents/skills/productivity/powerpoint/editing.md +205 -0
- package/kit/.agents/skills/productivity/powerpoint/pptxgenjs.md +420 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/__init__.py +0 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/add_slide.py +195 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/clean.py +286 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/helpers/__init__.py +0 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/helpers/merge_runs.py +199 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/helpers/simplify_redlines.py +197 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/pack.py +159 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-contentTypes.xsd +42 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-coreProperties.xsd +50 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-digSig.xsd +49 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/ecma/fourth-edition/opc-relationships.xsd +33 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/mce/mc.xsd +75 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/kit/.agents/skills/productivity/powerpoint/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/kit/.agents/skills/proposta/SKILL.md +159 -0
- package/kit/.agents/skills/proposta/references/proposta-avancada.md +17 -0
- package/kit/.agents/skills/proposta/references/proposta.html +187 -0
- package/kit/.agents/skills/session-checkpoint/SKILL.md +80 -0
- package/kit/.agents/skills/session-end/SKILL.md +166 -0
- package/kit/.agents/skills/session-start/SKILL.md +149 -0
- package/kit/.agents/skills/social-content/SKILL.md +119 -0
- package/kit/.agents/skills/stop-slop/CHANGELOG.md +24 -0
- package/kit/.agents/skills/stop-slop/LICENSE +21 -0
- package/kit/.agents/skills/stop-slop/README.md +62 -0
- package/kit/.agents/skills/stop-slop/SKILL.md +68 -0
- package/kit/.agents/skills/stop-slop/references/examples.md +59 -0
- package/kit/.agents/skills/stop-slop/references/phrases.md +128 -0
- package/kit/.agents/skills/stop-slop/references/structures.md +134 -0
- package/kit/.agents/squads/advisory-board/README.md +34 -0
- package/kit/.agents/squads/advisory-board/agents/board-chair.md +161 -0
- package/kit/.agents/squads/advisory-board/agents/brene-brown.md +296 -0
- package/kit/.agents/squads/advisory-board/agents/charlie-munger.md +590 -0
- package/kit/.agents/squads/advisory-board/agents/derek-sivers.md +268 -0
- package/kit/.agents/squads/advisory-board/agents/naval-ravikant.md +251 -0
- package/kit/.agents/squads/advisory-board/agents/patrick-lencioni.md +394 -0
- package/kit/.agents/squads/advisory-board/agents/peter-thiel.md +269 -0
- package/kit/.agents/squads/advisory-board/agents/ray-dalio.md +587 -0
- package/kit/.agents/squads/advisory-board/agents/reid-hoffman.md +278 -0
- package/kit/.agents/squads/advisory-board/agents/simon-sinek.md +291 -0
- package/kit/.agents/squads/advisory-board/agents/yvon-chouinard.md +275 -0
- package/kit/.agents/squads/advisory-board/checklists/output-quality.md +73 -0
- package/kit/.agents/squads/advisory-board/config/config.yaml +67 -0
- package/kit/.agents/squads/advisory-board/data/mental-models-catalog.yaml +178 -0
- package/kit/.agents/squads/advisory-board/data/routing-catalog.yaml +89 -0
- package/kit/.agents/squads/advisory-board/squad.yaml +50 -0
- package/kit/.agents/squads/advisory-board/tasks/convene-board.md +152 -0
- package/kit/.agents/squads/advisory-board/tasks/diagnose.md +138 -0
- package/kit/.agents/squads/advisory-board/tasks/evaluate-scaling.md +165 -0
- package/kit/.agents/squads/advisory-board/tasks/get-founder-counsel.md +169 -0
- package/kit/.agents/squads/advisory-board/tasks/resolve-culture-crisis.md +164 -0
- package/kit/.agents/squads/advisory-board/tasks/review.md +133 -0
- package/kit/.agents/squads/advisory-board/tasks/seek-investment-counsel.md +161 -0
- package/kit/.agents/squads/advisory-board/workflows/wf-board-meeting.yaml +115 -0
- package/kit/.agents/squads/advisory-board/workflows/wf-decision-framework.yaml +135 -0
- package/kit/.agents/squads/brand/README.md +179 -0
- package/kit/.agents/squads/brand/agents/alexandra-watkins.md +1869 -0
- package/kit/.agents/squads/brand/agents/april-dunford.md +1781 -0
- package/kit/.agents/squads/brand/agents/brand-chief.md +600 -0
- package/kit/.agents/squads/brand/agents/emily-heyward.md +1685 -0
- package/kit/.agents/squads/brand/agents/marty-neumeier.md +1642 -0
- package/kit/.agents/squads/brand/agents/michael-johnson.md +1814 -0
- package/kit/.agents/squads/brand/agents/sagi-haviv.md +2025 -0
- package/kit/.agents/squads/brand/checklists/brand-book-checklist.md +31 -0
- package/kit/.agents/squads/brand/checklists/brand-launch-checklist.md +52 -0
- package/kit/.agents/squads/brand/checklists/brand-strategy-checklist.md +45 -0
- package/kit/.agents/squads/brand/checklists/naming-checklist.md +48 -0
- package/kit/.agents/squads/brand/checklists/positioning-checklist.md +48 -0
- package/kit/.agents/squads/brand/checklists/smoke-tests.md +180 -0
- package/kit/.agents/squads/brand/checklists/visual-identity-checklist.md +61 -0
- package/kit/.agents/squads/brand/config.yaml +135 -0
- package/kit/.agents/squads/brand/data/brand-archetypes.md +135 -0
- package/kit/.agents/squads/brand/data/brand-audit-methodology.md +99 -0
- package/kit/.agents/squads/brand/data/brand-pantheon.md +61 -0
- package/kit/.agents/squads/brand/data/brand-voice-matrix.md +92 -0
- package/kit/.agents/squads/brand/data/color-psychology.md +125 -0
- package/kit/.agents/squads/brand/squad.yaml +123 -0
- package/kit/.agents/squads/brand/tasks/brand-audit.md +150 -0
- package/kit/.agents/squads/brand/tasks/brand-book-creation.md +136 -0
- package/kit/.agents/squads/brand/tasks/brand-diagnosis.md +135 -0
- package/kit/.agents/squads/brand/tasks/brand-touchpoint-audit.md +100 -0
- package/kit/.agents/squads/brand/tasks/coherence-check.md +132 -0
- package/kit/.agents/squads/brand/tasks/logo-evaluation.md +103 -0
- package/kit/.agents/squads/brand/tasks/movement-architecture.md +136 -0
- package/kit/.agents/squads/brand/tasks/naming-exercise.md +134 -0
- package/kit/.agents/squads/brand/tasks/positioning-exercise.md +146 -0
- package/kit/.agents/squads/brand/tasks/research-references.md +225 -0
- package/kit/.agents/squads/brand/tasks/visual-identity-brief.md +134 -0
- package/kit/.agents/squads/brand/templates/brand-book-tmpl.md +148 -0
- package/kit/.agents/squads/brand/templates/brand-soul-canvas-tmpl.md +80 -0
- package/kit/.agents/squads/brand/templates/naming-brief-tmpl.md +83 -0
- package/kit/.agents/squads/brand/templates/positioning-canvas-tmpl.md +60 -0
- package/kit/.agents/squads/brand/templates/visual-identity-brief-tmpl.md +109 -0
- package/kit/.agents/squads/brand/workflows/wf-brand-audit.yaml +148 -0
- package/kit/.agents/squads/brand/workflows/wf-brand-from-zero.yaml +229 -0
- package/kit/.agents/squads/brand/workflows/wf-brief-to-references.yaml +141 -0
- package/kit/.agents/squads/hormozi-squad/README.md +25 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-ads.md +159 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-advisor.md +178 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-audit.md +178 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-chief.md +121 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-closer.md +179 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-content.md +166 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-copy.md +152 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-hooks.md +177 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-launch.md +160 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-leads.md +198 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-models.md +191 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-offers.md +197 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-pricing.md +151 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-retention.md +166 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-scale.md +175 -0
- package/kit/.agents/squads/hormozi-squad/agents/hormozi-workshop.md +160 -0
- package/kit/.agents/squads/hormozi-squad/checklists/output-quality.md +71 -0
- package/kit/.agents/squads/hormozi-squad/config/config.yaml +183 -0
- package/kit/.agents/squads/hormozi-squad/data/hormozi-frameworks.yaml +105 -0
- package/kit/.agents/squads/hormozi-squad/data/routing-catalog.yaml +94 -0
- package/kit/.agents/squads/hormozi-squad/squad.yaml +60 -0
- package/kit/.agents/squads/hormozi-squad/tasks/audit-business.md +186 -0
- package/kit/.agents/squads/hormozi-squad/tasks/close-sale.md +179 -0
- package/kit/.agents/squads/hormozi-squad/tasks/create-hooks.md +159 -0
- package/kit/.agents/squads/hormozi-squad/tasks/create-offer.md +178 -0
- package/kit/.agents/squads/hormozi-squad/tasks/design-workshop.md +192 -0
- package/kit/.agents/squads/hormozi-squad/tasks/diagnose.md +166 -0
- package/kit/.agents/squads/hormozi-squad/tasks/generate-leads.md +187 -0
- package/kit/.agents/squads/hormozi-squad/tasks/plan-launch.md +179 -0
- package/kit/.agents/squads/hormozi-squad/tasks/review.md +133 -0
- package/kit/.agents/squads/hormozi-squad/tasks/set-pricing.md +167 -0
- package/kit/.agents/squads/hormozi-squad/workflows/wf-business-turnaround.yaml +104 -0
- package/kit/.agents/squads/hormozi-squad/workflows/wf-offer-creation.yaml +105 -0
- package/kit/.agents/squads/index.md +14 -0
- package/kit/.agents/squads/instagram-carrossel/DEPENDENCIES.md +75 -0
- package/kit/.agents/squads/instagram-carrossel/README.md +52 -0
- package/kit/.agents/squads/instagram-carrossel/RUN.md +115 -0
- package/kit/.agents/squads/instagram-carrossel/_memory/memories.md +16 -0
- package/kit/.agents/squads/instagram-carrossel/agents/copywriter/tasks/create-slides.md +96 -0
- package/kit/.agents/squads/instagram-carrossel/agents/copywriter/tasks/generate-angles.md +111 -0
- package/kit/.agents/squads/instagram-carrossel/agents/copywriter/tasks/optimize-copy.md +81 -0
- package/kit/.agents/squads/instagram-carrossel/agents/copywriter.custom.md +73 -0
- package/kit/.agents/squads/instagram-carrossel/agents/image-designer/tasks/create-slides.md +132 -0
- package/kit/.agents/squads/instagram-carrossel/agents/image-designer/tasks/propose-visual-identities.md +89 -0
- package/kit/.agents/squads/instagram-carrossel/agents/image-designer/tasks/render-export.md +100 -0
- package/kit/.agents/squads/instagram-carrossel/agents/image-designer.custom.md +47 -0
- package/kit/.agents/squads/instagram-carrossel/agents/publisher/tasks/validate-publish.md +50 -0
- package/kit/.agents/squads/instagram-carrossel/agents/publisher.custom.md +26 -0
- package/kit/.agents/squads/instagram-carrossel/agents/researcher/tasks/find-and-rank-news.md +105 -0
- package/kit/.agents/squads/instagram-carrossel/agents/researcher.custom.md +46 -0
- package/kit/.agents/squads/instagram-carrossel/agents/reviewer/tasks/generate-feedback.md +91 -0
- package/kit/.agents/squads/instagram-carrossel/agents/reviewer/tasks/score-content.md +103 -0
- package/kit/.agents/squads/instagram-carrossel/agents/reviewer.custom.md +53 -0
- package/kit/.agents/squads/instagram-carrossel/output/.gitkeep +0 -0
- package/kit/.agents/squads/instagram-carrossel/output/slides/.gitkeep +0 -0
- package/kit/.agents/squads/instagram-carrossel/output/slides/rendered/.gitkeep +0 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/anti-patterns.md +125 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/domain-framework.md +92 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/instagram-feed-best-practices.md +235 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/output-examples.md +244 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/quality-criteria.md +120 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/research-brief.md +135 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/data/tone-of-voice.md +32 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/pipeline.yaml +136 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-01-input-content.md +38 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-02-find-news.md +42 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-03-select-story.md +59 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-04-generate-angles.md +45 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-05-select-angle.md +64 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-06-create-copy.md +51 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-07-approve-copy.md +52 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-08-propose-visuals.md +42 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-09-select-visual.md +61 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-10-create-slides.md +55 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-11-approve-images.md +60 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-12-review.md +55 -0
- package/kit/.agents/squads/instagram-carrossel/pipeline/steps/step-13-publish.md +79 -0
- package/kit/.agents/squads/instagram-carrossel/squad-party.csv +6 -0
- package/kit/.agents/squads/instagram-carrossel/squad.yaml +70 -0
- package/kit/AGENTS.md +175 -0
- package/kit/CLAUDE.md +1 -0
- package/kit/COMECE-AQUI.md +207 -0
- package/kit/INVOS.json +37 -0
- package/kit/MEMORY.md +31 -0
- package/kit/README.md +434 -0
- package/kit/SECURITY.md +39 -0
- package/kit/clientes/README.md +72 -0
- package/kit/clientes/_index.md +32 -0
- package/kit/clientes/_template/arquivos/.gitkeep +0 -0
- package/kit/clientes/_template/contexto.md +21 -0
- package/kit/clientes/_template/entregas.md +20 -0
- package/kit/clientes/_template/perfil.md +47 -0
- package/kit/clientes/_template/propostas/.gitkeep +0 -0
- package/kit/conteudo/README.md +12 -0
- package/kit/conteudo/_fila.md +12 -0
- package/kit/conteudo/carrosseis/.gitkeep +0 -0
- package/kit/conteudo/publicados/.gitkeep +0 -0
- package/kit/docs/audit-enxugamento-sieve.md +187 -0
- package/kit/docs/cli.md +62 -0
- package/kit/docs/hotmart-webhook.md +96 -0
- package/kit/docs/lab-user.md +35 -0
- package/kit/docs/prd-invos-cli.md +264 -0
- package/kit/integracoes/README.md +31 -0
- package/kit/integracoes/composio/README.md +128 -0
- package/kit/integracoes/composio/marketing-tools.md +61 -0
- package/kit/marca/README.md +13 -0
- package/kit/marca/assets/.gitkeep +0 -0
- package/kit/marca/marca.md +57 -0
- package/kit/memoria/ativo.md +18 -0
- package/kit/memoria/decisoes.md +26 -0
- package/kit/memoria/empresa.md +46 -0
- package/kit/memoria/historico/README.md +8 -0
- package/kit/memoria/insights.md +11 -0
- package/kit/memoria/perfil.md +29 -0
- package/kit/memoria/projetos.md +27 -0
- package/kit/memoria/regras/_TEMPLATE-exemplo.md +15 -0
- package/kit/memoria/regras/task-com-dono.md +18 -0
- package/kit/scripts/smoke-estado.sh +32 -0
- package/kit/scripts/validar.sh +206 -0
- package/package.json +43 -0
- package/src/commands/doctor.js +104 -0
- package/src/commands/init.js +44 -0
- package/src/commands/install.js +41 -0
- package/src/commands/update.js +113 -0
- package/src/lock.js +47 -0
- package/src/manifest.js +10 -0
- package/src/resolve-kit.js +33 -0
- package/src/symlinks.js +78 -0
- package/src/utils.js +113 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ocr-and-documents
|
|
3
|
+
description: "Extract text from PDFs/scans (pymupdf, marker-pdf)."
|
|
4
|
+
version: 2.3.0
|
|
5
|
+
author: Hermes Agent
|
|
6
|
+
license: MIT
|
|
7
|
+
platforms: [linux, macos, windows]
|
|
8
|
+
metadata:
|
|
9
|
+
hermes:
|
|
10
|
+
tags: [PDF, Documents, Research, Arxiv, Text-Extraction, OCR]
|
|
11
|
+
related_skills: [powerpoint]
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# PDF & Document Extraction
|
|
15
|
+
|
|
16
|
+
For DOCX: use `python-docx` (parses actual document structure, far better than OCR).
|
|
17
|
+
For PPTX: see the `powerpoint` skill (uses `python-pptx` with full slide/notes support).
|
|
18
|
+
This skill covers **PDFs and scanned documents**.
|
|
19
|
+
|
|
20
|
+
## Step 1: Remote URL Available?
|
|
21
|
+
|
|
22
|
+
If the document has a URL, **always try `web_extract` first**:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
web_extract(urls=["https://arxiv.org/pdf/2402.03300"])
|
|
26
|
+
web_extract(urls=["https://example.com/report.pdf"])
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
This handles PDF-to-markdown conversion via Firecrawl with no local dependencies.
|
|
30
|
+
|
|
31
|
+
Only use local extraction when: the file is local, web_extract fails, or you need batch processing.
|
|
32
|
+
|
|
33
|
+
## Step 2: Choose Local Extractor
|
|
34
|
+
|
|
35
|
+
| Feature | pymupdf (~25MB) | marker-pdf (~3-5GB) |
|
|
36
|
+
|---------|-----------------|---------------------|
|
|
37
|
+
| **Text-based PDF** | ✅ | ✅ |
|
|
38
|
+
| **Scanned PDF (OCR)** | ❌ | ✅ (90+ languages) |
|
|
39
|
+
| **Tables** | ✅ (basic) | ✅ (high accuracy) |
|
|
40
|
+
| **Equations / LaTeX** | ❌ | ✅ |
|
|
41
|
+
| **Code blocks** | ❌ | ✅ |
|
|
42
|
+
| **Forms** | ❌ | ✅ |
|
|
43
|
+
| **Headers/footers removal** | ❌ | ✅ |
|
|
44
|
+
| **Reading order detection** | ❌ | ✅ |
|
|
45
|
+
| **Images extraction** | ✅ (embedded) | ✅ (with context) |
|
|
46
|
+
| **Images → text (OCR)** | ❌ | ✅ |
|
|
47
|
+
| **EPUB** | ✅ | ✅ |
|
|
48
|
+
| **Markdown output** | ✅ (via pymupdf4llm) | ✅ (native, higher quality) |
|
|
49
|
+
| **Install size** | ~25MB | ~3-5GB (PyTorch + models) |
|
|
50
|
+
| **Speed** | Instant | ~1-14s/page (CPU), ~0.2s/page (GPU) |
|
|
51
|
+
|
|
52
|
+
**Decision**: Use pymupdf unless you need OCR, equations, forms, or complex layout analysis.
|
|
53
|
+
|
|
54
|
+
If the user needs marker capabilities but the system lacks ~5GB free disk:
|
|
55
|
+
> "This document needs OCR/advanced extraction (marker-pdf), which requires ~5GB for PyTorch and models. Your system has [X]GB free. Options: free up space, provide a URL so I can use web_extract, or I can try pymupdf which works for text-based PDFs but not scanned documents or equations."
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## pymupdf (lightweight)
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
pip install pymupdf pymupdf4llm
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Via helper script**:
|
|
66
|
+
```bash
|
|
67
|
+
python scripts/extract_pymupdf.py document.pdf # Plain text
|
|
68
|
+
python scripts/extract_pymupdf.py document.pdf --markdown # Markdown
|
|
69
|
+
python scripts/extract_pymupdf.py document.pdf --tables # Tables
|
|
70
|
+
python scripts/extract_pymupdf.py document.pdf --images out/ # Extract images
|
|
71
|
+
python scripts/extract_pymupdf.py document.pdf --metadata # Title, author, pages
|
|
72
|
+
python scripts/extract_pymupdf.py document.pdf --pages 0-4 # Specific pages
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Inline**:
|
|
76
|
+
```bash
|
|
77
|
+
python3 -c "
|
|
78
|
+
import pymupdf
|
|
79
|
+
doc = pymupdf.open('document.pdf')
|
|
80
|
+
for page in doc:
|
|
81
|
+
print(page.get_text())
|
|
82
|
+
"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## marker-pdf (high-quality OCR)
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Check disk space first
|
|
91
|
+
python scripts/extract_marker.py --check
|
|
92
|
+
|
|
93
|
+
pip install marker-pdf
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Via helper script**:
|
|
97
|
+
```bash
|
|
98
|
+
python scripts/extract_marker.py document.pdf # Markdown
|
|
99
|
+
python scripts/extract_marker.py document.pdf --json # JSON with metadata
|
|
100
|
+
python scripts/extract_marker.py document.pdf --output_dir out/ # Save images
|
|
101
|
+
python scripts/extract_marker.py scanned.pdf # Scanned PDF (OCR)
|
|
102
|
+
python scripts/extract_marker.py document.pdf --use_llm # LLM-boosted accuracy
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**CLI** (installed with marker-pdf):
|
|
106
|
+
```bash
|
|
107
|
+
marker_single document.pdf --output_dir ./output
|
|
108
|
+
marker /path/to/folder --workers 4 # Batch
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Arxiv Papers
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
# Abstract only (fast)
|
|
117
|
+
web_extract(urls=["https://arxiv.org/abs/2402.03300"])
|
|
118
|
+
|
|
119
|
+
# Full paper
|
|
120
|
+
web_extract(urls=["https://arxiv.org/pdf/2402.03300"])
|
|
121
|
+
|
|
122
|
+
# Search
|
|
123
|
+
web_search(query="arxiv GRPO reinforcement learning 2026")
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Split, Merge & Search
|
|
127
|
+
|
|
128
|
+
pymupdf handles these natively — use `execute_code` or inline Python:
|
|
129
|
+
|
|
130
|
+
```python
|
|
131
|
+
# Split: extract pages 1-5 to a new PDF
|
|
132
|
+
import pymupdf
|
|
133
|
+
doc = pymupdf.open("report.pdf")
|
|
134
|
+
new = pymupdf.open()
|
|
135
|
+
for i in range(5):
|
|
136
|
+
new.insert_pdf(doc, from_page=i, to_page=i)
|
|
137
|
+
new.save("pages_1-5.pdf")
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
# Merge multiple PDFs
|
|
142
|
+
import pymupdf
|
|
143
|
+
result = pymupdf.open()
|
|
144
|
+
for path in ["a.pdf", "b.pdf", "c.pdf"]:
|
|
145
|
+
result.insert_pdf(pymupdf.open(path))
|
|
146
|
+
result.save("merged.pdf")
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
# Search for text across all pages
|
|
151
|
+
import pymupdf
|
|
152
|
+
doc = pymupdf.open("report.pdf")
|
|
153
|
+
for i, page in enumerate(doc):
|
|
154
|
+
results = page.search_for("revenue")
|
|
155
|
+
if results:
|
|
156
|
+
print(f"Page {i+1}: {len(results)} match(es)")
|
|
157
|
+
print(page.get_text("text"))
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
No extra dependencies needed — pymupdf covers split, merge, search, and text extraction in one package.
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Notes
|
|
165
|
+
|
|
166
|
+
- `web_extract` is always first choice for URLs
|
|
167
|
+
- pymupdf is the safe default — instant, no models, works everywhere
|
|
168
|
+
- marker-pdf is for OCR, scanned docs, equations, complex layouts — install only when needed
|
|
169
|
+
- Both helper scripts accept `--help` for full usage
|
|
170
|
+
- marker-pdf downloads ~2.5GB of models to `~/.cache/huggingface/` on first use
|
|
171
|
+
- For Word docs: `pip install python-docx` (better than OCR — parses actual structure)
|
|
172
|
+
- For PowerPoint: see the `powerpoint` skill (uses python-pptx)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Extract text from documents using marker-pdf. High-quality OCR + layout analysis.
|
|
3
|
+
|
|
4
|
+
Requires ~3-5GB disk (PyTorch + models downloaded on first use).
|
|
5
|
+
Supports: PDF, DOCX, PPTX, XLSX, HTML, EPUB, images.
|
|
6
|
+
|
|
7
|
+
Usage:
|
|
8
|
+
python extract_marker.py document.pdf
|
|
9
|
+
python extract_marker.py document.pdf --output_dir ./output
|
|
10
|
+
python extract_marker.py presentation.pptx
|
|
11
|
+
python extract_marker.py spreadsheet.xlsx
|
|
12
|
+
python extract_marker.py scanned_doc.pdf # OCR works here
|
|
13
|
+
python extract_marker.py document.pdf --json # Structured output
|
|
14
|
+
python extract_marker.py document.pdf --use_llm # LLM-boosted accuracy
|
|
15
|
+
"""
|
|
16
|
+
import sys
|
|
17
|
+
import os
|
|
18
|
+
|
|
19
|
+
def convert(path, output_dir=None, output_format="markdown", use_llm=False):
|
|
20
|
+
from marker.converters.pdf import PdfConverter
|
|
21
|
+
from marker.models import create_model_dict
|
|
22
|
+
from marker.config.parser import ConfigParser
|
|
23
|
+
|
|
24
|
+
config_dict = {}
|
|
25
|
+
if use_llm:
|
|
26
|
+
config_dict["use_llm"] = True
|
|
27
|
+
|
|
28
|
+
config_parser = ConfigParser(config_dict)
|
|
29
|
+
models = create_model_dict()
|
|
30
|
+
converter = PdfConverter(config=config_parser.generate_config_dict(), artifact_dict=models)
|
|
31
|
+
rendered = converter(path)
|
|
32
|
+
|
|
33
|
+
if output_format == "json":
|
|
34
|
+
import json
|
|
35
|
+
print(json.dumps({
|
|
36
|
+
"markdown": rendered.markdown,
|
|
37
|
+
"metadata": rendered.metadata if hasattr(rendered, "metadata") else {},
|
|
38
|
+
}, indent=2, ensure_ascii=False))
|
|
39
|
+
else:
|
|
40
|
+
print(rendered.markdown)
|
|
41
|
+
|
|
42
|
+
# Save images if output_dir specified
|
|
43
|
+
if output_dir and hasattr(rendered, "images") and rendered.images:
|
|
44
|
+
from pathlib import Path
|
|
45
|
+
Path(output_dir).mkdir(parents=True, exist_ok=True)
|
|
46
|
+
for name, img_data in rendered.images.items():
|
|
47
|
+
img_path = os.path.join(output_dir, name)
|
|
48
|
+
with open(img_path, "wb") as f:
|
|
49
|
+
f.write(img_data)
|
|
50
|
+
print(f"\nSaved {len(rendered.images)} image(s) to {output_dir}/", file=sys.stderr)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def check_requirements():
|
|
54
|
+
"""Check disk space before installing."""
|
|
55
|
+
import shutil
|
|
56
|
+
free_gb = shutil.disk_usage("/").free / (1024**3)
|
|
57
|
+
if free_gb < 5:
|
|
58
|
+
print(f"⚠️ Only {free_gb:.1f}GB free. marker-pdf needs ~5GB for PyTorch + models.")
|
|
59
|
+
print("Use pymupdf instead (scripts/extract_pymupdf.py) or free up disk space.")
|
|
60
|
+
sys.exit(1)
|
|
61
|
+
print(f"✓ {free_gb:.1f}GB free — sufficient for marker-pdf")
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
if __name__ == "__main__":
|
|
65
|
+
args = sys.argv[1:]
|
|
66
|
+
if not args or args[0] in {"-h", "--help"}:
|
|
67
|
+
print(__doc__)
|
|
68
|
+
sys.exit(0)
|
|
69
|
+
|
|
70
|
+
if args[0] == "--check":
|
|
71
|
+
check_requirements()
|
|
72
|
+
sys.exit(0)
|
|
73
|
+
|
|
74
|
+
path = args[0]
|
|
75
|
+
output_dir = None
|
|
76
|
+
output_format = "markdown"
|
|
77
|
+
use_llm = False
|
|
78
|
+
|
|
79
|
+
if "--output_dir" in args:
|
|
80
|
+
idx = args.index("--output_dir")
|
|
81
|
+
output_dir = args[idx + 1]
|
|
82
|
+
if "--json" in args:
|
|
83
|
+
output_format = "json"
|
|
84
|
+
if "--use_llm" in args:
|
|
85
|
+
use_llm = True
|
|
86
|
+
|
|
87
|
+
convert(path, output_dir=output_dir, output_format=output_format, use_llm=use_llm)
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Extract text from documents using pymupdf. Lightweight (~25MB), no models.
|
|
3
|
+
|
|
4
|
+
Usage:
|
|
5
|
+
python extract_pymupdf.py document.pdf
|
|
6
|
+
python extract_pymupdf.py document.pdf --markdown
|
|
7
|
+
python extract_pymupdf.py document.pdf --pages 0-4
|
|
8
|
+
python extract_pymupdf.py document.pdf --images output_dir/
|
|
9
|
+
python extract_pymupdf.py document.pdf --tables
|
|
10
|
+
python extract_pymupdf.py document.pdf --metadata
|
|
11
|
+
"""
|
|
12
|
+
import sys
|
|
13
|
+
import json
|
|
14
|
+
|
|
15
|
+
def extract_text(path, pages=None):
|
|
16
|
+
import pymupdf
|
|
17
|
+
doc = pymupdf.open(path)
|
|
18
|
+
page_range = range(len(doc)) if pages is None else pages
|
|
19
|
+
for i in page_range:
|
|
20
|
+
if i < len(doc):
|
|
21
|
+
print(f"\n--- Page {i+1}/{len(doc)} ---\n")
|
|
22
|
+
print(doc[i].get_text())
|
|
23
|
+
|
|
24
|
+
def extract_markdown(path, pages=None):
|
|
25
|
+
import pymupdf4llm
|
|
26
|
+
md = pymupdf4llm.to_markdown(path, pages=pages)
|
|
27
|
+
print(md)
|
|
28
|
+
|
|
29
|
+
def extract_tables(path):
|
|
30
|
+
import pymupdf
|
|
31
|
+
doc = pymupdf.open(path)
|
|
32
|
+
for i, page in enumerate(doc):
|
|
33
|
+
tables = page.find_tables()
|
|
34
|
+
for j, table in enumerate(tables.tables):
|
|
35
|
+
print(f"\n--- Page {i+1}, Table {j+1} ---\n")
|
|
36
|
+
df = table.to_pandas()
|
|
37
|
+
print(df.to_markdown(index=False))
|
|
38
|
+
|
|
39
|
+
def extract_images(path, output_dir):
|
|
40
|
+
import pymupdf
|
|
41
|
+
from pathlib import Path
|
|
42
|
+
Path(output_dir).mkdir(parents=True, exist_ok=True)
|
|
43
|
+
doc = pymupdf.open(path)
|
|
44
|
+
count = 0
|
|
45
|
+
for i, page in enumerate(doc):
|
|
46
|
+
for img_idx, img in enumerate(page.get_images(full=True)):
|
|
47
|
+
xref = img[0]
|
|
48
|
+
pix = pymupdf.Pixmap(doc, xref)
|
|
49
|
+
if pix.n >= 5:
|
|
50
|
+
pix = pymupdf.Pixmap(pymupdf.csRGB, pix)
|
|
51
|
+
out_path = f"{output_dir}/page{i+1}_img{img_idx+1}.png"
|
|
52
|
+
pix.save(out_path)
|
|
53
|
+
count += 1
|
|
54
|
+
print(f"Extracted {count} images to {output_dir}/")
|
|
55
|
+
|
|
56
|
+
def show_metadata(path):
|
|
57
|
+
import pymupdf
|
|
58
|
+
doc = pymupdf.open(path)
|
|
59
|
+
print(json.dumps({
|
|
60
|
+
"pages": len(doc),
|
|
61
|
+
"title": doc.metadata.get("title", ""),
|
|
62
|
+
"author": doc.metadata.get("author", ""),
|
|
63
|
+
"subject": doc.metadata.get("subject", ""),
|
|
64
|
+
"creator": doc.metadata.get("creator", ""),
|
|
65
|
+
"producer": doc.metadata.get("producer", ""),
|
|
66
|
+
"format": doc.metadata.get("format", ""),
|
|
67
|
+
}, indent=2))
|
|
68
|
+
|
|
69
|
+
if __name__ == "__main__":
|
|
70
|
+
args = sys.argv[1:]
|
|
71
|
+
if not args or args[0] in {"-h", "--help"}:
|
|
72
|
+
print(__doc__)
|
|
73
|
+
sys.exit(0)
|
|
74
|
+
|
|
75
|
+
path = args[0]
|
|
76
|
+
pages = None
|
|
77
|
+
|
|
78
|
+
if "--pages" in args:
|
|
79
|
+
idx = args.index("--pages")
|
|
80
|
+
p = args[idx + 1]
|
|
81
|
+
if "-" in p:
|
|
82
|
+
start, end = p.split("-")
|
|
83
|
+
pages = list(range(int(start), int(end) + 1))
|
|
84
|
+
else:
|
|
85
|
+
pages = [int(p)]
|
|
86
|
+
|
|
87
|
+
if "--metadata" in args:
|
|
88
|
+
show_metadata(path)
|
|
89
|
+
elif "--tables" in args:
|
|
90
|
+
extract_tables(path)
|
|
91
|
+
elif "--images" in args:
|
|
92
|
+
idx = args.index("--images")
|
|
93
|
+
output_dir = args[idx + 1] if idx + 1 < len(args) else "./images"
|
|
94
|
+
extract_images(path, output_dir)
|
|
95
|
+
elif "--markdown" in args:
|
|
96
|
+
extract_markdown(path, pages=pages)
|
|
97
|
+
else:
|
|
98
|
+
extract_text(path, pages=pages)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
© 2025 Anthropic, PBC. All rights reserved.
|
|
2
|
+
|
|
3
|
+
LICENSE: Use of these materials (including all code, prompts, assets, files,
|
|
4
|
+
and other components of this Skill) is governed by your agreement with
|
|
5
|
+
Anthropic regarding use of Anthropic's services. If no separate agreement
|
|
6
|
+
exists, use is governed by Anthropic's Consumer Terms of Service or
|
|
7
|
+
Commercial Terms of Service, as applicable:
|
|
8
|
+
https://www.anthropic.com/legal/consumer-terms
|
|
9
|
+
https://www.anthropic.com/legal/commercial-terms
|
|
10
|
+
Your applicable agreement is referred to as the "Agreement." "Services" are
|
|
11
|
+
as defined in the Agreement.
|
|
12
|
+
|
|
13
|
+
ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the
|
|
14
|
+
contrary, users may not:
|
|
15
|
+
|
|
16
|
+
- Extract these materials from the Services or retain copies of these
|
|
17
|
+
materials outside the Services
|
|
18
|
+
- Reproduce or copy these materials, except for temporary copies created
|
|
19
|
+
automatically during authorized use of the Services
|
|
20
|
+
- Create derivative works based on these materials
|
|
21
|
+
- Distribute, sublicense, or transfer these materials to any third party
|
|
22
|
+
- Make, offer to sell, sell, or import any inventions embodied in these
|
|
23
|
+
materials
|
|
24
|
+
- Reverse engineer, decompile, or disassemble these materials
|
|
25
|
+
|
|
26
|
+
The receipt, viewing, or possession of these materials does not convey or
|
|
27
|
+
imply any license or right beyond those expressly granted above.
|
|
28
|
+
|
|
29
|
+
Anthropic retains all right, title, and interest in these materials,
|
|
30
|
+
including all copyrights, patents, and other intellectual property rights.
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: powerpoint
|
|
3
|
+
description: "Create, read, edit .pptx decks, slides, notes, templates."
|
|
4
|
+
license: Proprietary. LICENSE.txt has complete terms
|
|
5
|
+
platforms: [linux, macos, windows]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Powerpoint Skill
|
|
9
|
+
|
|
10
|
+
## When to use
|
|
11
|
+
|
|
12
|
+
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.
|
|
13
|
+
|
|
14
|
+
## Quick Reference
|
|
15
|
+
|
|
16
|
+
| Task | Guide |
|
|
17
|
+
|------|-------|
|
|
18
|
+
| Read/analyze content | `python -m markitdown presentation.pptx` |
|
|
19
|
+
| Edit or create from template | Read [editing.md](editing.md) |
|
|
20
|
+
| Create from scratch | Read [pptxgenjs.md](pptxgenjs.md) |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Reading Content
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Text extraction
|
|
28
|
+
python -m markitdown presentation.pptx
|
|
29
|
+
|
|
30
|
+
# Visual overview
|
|
31
|
+
python scripts/thumbnail.py presentation.pptx
|
|
32
|
+
|
|
33
|
+
# Raw XML
|
|
34
|
+
python scripts/office/unpack.py presentation.pptx unpacked/
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Editing Workflow
|
|
40
|
+
|
|
41
|
+
**Read [editing.md](editing.md) for full details.**
|
|
42
|
+
|
|
43
|
+
1. Analyze template with `thumbnail.py`
|
|
44
|
+
2. Unpack → manipulate slides → edit content → clean → pack
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Creating from Scratch
|
|
49
|
+
|
|
50
|
+
**Read [pptxgenjs.md](pptxgenjs.md) for full details.**
|
|
51
|
+
|
|
52
|
+
Use when no template or reference presentation is available.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Design Ideas
|
|
57
|
+
|
|
58
|
+
**Don't create boring slides.** Plain bullets on a white background won't impress anyone. Consider ideas from this list for each slide.
|
|
59
|
+
|
|
60
|
+
### Before Starting
|
|
61
|
+
|
|
62
|
+
- **Pick a bold, content-informed color palette**: The palette should feel designed for THIS topic. If swapping your colors into a completely different presentation would still "work," you haven't made specific enough choices.
|
|
63
|
+
- **Dominance over equality**: One color should dominate (60-70% visual weight), with 1-2 supporting tones and one sharp accent. Never give all colors equal weight.
|
|
64
|
+
- **Dark/light contrast**: Dark backgrounds for title + conclusion slides, light for content ("sandwich" structure). Or commit to dark throughout for a premium feel.
|
|
65
|
+
- **Commit to a visual motif**: Pick ONE distinctive element and repeat it — rounded image frames, icons in colored circles, thick single-side borders. Carry it across every slide.
|
|
66
|
+
|
|
67
|
+
### Color Palettes
|
|
68
|
+
|
|
69
|
+
Choose colors that match your topic — don't default to generic blue. Use these palettes as inspiration:
|
|
70
|
+
|
|
71
|
+
| Theme | Primary | Secondary | Accent |
|
|
72
|
+
|-------|---------|-----------|--------|
|
|
73
|
+
| **Midnight Executive** | `1E2761` (navy) | `CADCFC` (ice blue) | `FFFFFF` (white) |
|
|
74
|
+
| **Forest & Moss** | `2C5F2D` (forest) | `97BC62` (moss) | `F5F5F5` (cream) |
|
|
75
|
+
| **Coral Energy** | `F96167` (coral) | `F9E795` (gold) | `2F3C7E` (navy) |
|
|
76
|
+
| **Warm Terracotta** | `B85042` (terracotta) | `E7E8D1` (sand) | `A7BEAE` (sage) |
|
|
77
|
+
| **Ocean Gradient** | `065A82` (deep blue) | `1C7293` (teal) | `21295C` (midnight) |
|
|
78
|
+
| **Charcoal Minimal** | `36454F` (charcoal) | `F2F2F2` (off-white) | `212121` (black) |
|
|
79
|
+
| **Teal Trust** | `028090` (teal) | `00A896` (seafoam) | `02C39A` (mint) |
|
|
80
|
+
| **Berry & Cream** | `6D2E46` (berry) | `A26769` (dusty rose) | `ECE2D0` (cream) |
|
|
81
|
+
| **Sage Calm** | `84B59F` (sage) | `69A297` (eucalyptus) | `50808E` (slate) |
|
|
82
|
+
| **Cherry Bold** | `990011` (cherry) | `FCF6F5` (off-white) | `2F3C7E` (navy) |
|
|
83
|
+
|
|
84
|
+
### For Each Slide
|
|
85
|
+
|
|
86
|
+
**Every slide needs a visual element** — image, chart, icon, or shape. Text-only slides are forgettable.
|
|
87
|
+
|
|
88
|
+
**Layout options:**
|
|
89
|
+
- Two-column (text left, illustration on right)
|
|
90
|
+
- Icon + text rows (icon in colored circle, bold header, description below)
|
|
91
|
+
- 2x2 or 2x3 grid (image on one side, grid of content blocks on other)
|
|
92
|
+
- Half-bleed image (full left or right side) with content overlay
|
|
93
|
+
|
|
94
|
+
**Data display:**
|
|
95
|
+
- Large stat callouts (big numbers 60-72pt with small labels below)
|
|
96
|
+
- Comparison columns (before/after, pros/cons, side-by-side options)
|
|
97
|
+
- Timeline or process flow (numbered steps, arrows)
|
|
98
|
+
|
|
99
|
+
**Visual polish:**
|
|
100
|
+
- Icons in small colored circles next to section headers
|
|
101
|
+
- Italic accent text for key stats or taglines
|
|
102
|
+
|
|
103
|
+
### Typography
|
|
104
|
+
|
|
105
|
+
**Choose an interesting font pairing** — don't default to Arial. Pick a header font with personality and pair it with a clean body font.
|
|
106
|
+
|
|
107
|
+
| Header Font | Body Font |
|
|
108
|
+
|-------------|-----------|
|
|
109
|
+
| Georgia | Calibri |
|
|
110
|
+
| Arial Black | Arial |
|
|
111
|
+
| Calibri | Calibri Light |
|
|
112
|
+
| Cambria | Calibri |
|
|
113
|
+
| Trebuchet MS | Calibri |
|
|
114
|
+
| Impact | Arial |
|
|
115
|
+
| Palatino | Garamond |
|
|
116
|
+
| Consolas | Calibri |
|
|
117
|
+
|
|
118
|
+
| Element | Size |
|
|
119
|
+
|---------|------|
|
|
120
|
+
| Slide title | 36-44pt bold |
|
|
121
|
+
| Section header | 20-24pt bold |
|
|
122
|
+
| Body text | 14-16pt |
|
|
123
|
+
| Captions | 10-12pt muted |
|
|
124
|
+
|
|
125
|
+
### Spacing
|
|
126
|
+
|
|
127
|
+
- 0.5" minimum margins
|
|
128
|
+
- 0.3-0.5" between content blocks
|
|
129
|
+
- Leave breathing room—don't fill every inch
|
|
130
|
+
|
|
131
|
+
### Avoid (Common Mistakes)
|
|
132
|
+
|
|
133
|
+
- **Don't repeat the same layout** — vary columns, cards, and callouts across slides
|
|
134
|
+
- **Don't center body text** — left-align paragraphs and lists; center only titles
|
|
135
|
+
- **Don't skimp on size contrast** — titles need 36pt+ to stand out from 14-16pt body
|
|
136
|
+
- **Don't default to blue** — pick colors that reflect the specific topic
|
|
137
|
+
- **Don't mix spacing randomly** — choose 0.3" or 0.5" gaps and use consistently
|
|
138
|
+
- **Don't style one slide and leave the rest plain** — commit fully or keep it simple throughout
|
|
139
|
+
- **Don't create text-only slides** — add images, icons, charts, or visual elements; avoid plain title + bullets
|
|
140
|
+
- **Don't forget text box padding** — when aligning lines or shapes with text edges, set `margin: 0` on the text box or offset the shape to account for padding
|
|
141
|
+
- **Don't use low-contrast elements** — icons AND text need strong contrast against the background; avoid light text on light backgrounds or dark text on dark backgrounds
|
|
142
|
+
- **NEVER use accent lines under titles** — these are a hallmark of AI-generated slides; use whitespace or background color instead
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## QA (Required)
|
|
147
|
+
|
|
148
|
+
**Assume there are problems. Your job is to find them.**
|
|
149
|
+
|
|
150
|
+
Your first render is almost never correct. Approach QA as a bug hunt, not a confirmation step. If you found zero issues on first inspection, you weren't looking hard enough.
|
|
151
|
+
|
|
152
|
+
### Content QA
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
python -m markitdown output.pptx
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Check for missing content, typos, wrong order.
|
|
159
|
+
|
|
160
|
+
**When using templates, check for leftover placeholder text:**
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
python -m markitdown output.pptx | grep -iE "xxxx|lorem|ipsum|this.*(page|slide).*layout"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
If grep returns results, fix them before declaring success.
|
|
167
|
+
|
|
168
|
+
### Visual QA
|
|
169
|
+
|
|
170
|
+
**⚠️ USE SUBAGENTS** — even for 2-3 slides. You've been staring at the code and will see what you expect, not what's there. Subagents have fresh eyes.
|
|
171
|
+
|
|
172
|
+
Convert slides to images (see [Converting to Images](#converting-to-images)), then use this prompt:
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
Visually inspect these slides. Assume there are issues — find them.
|
|
176
|
+
|
|
177
|
+
Look for:
|
|
178
|
+
- Overlapping elements (text through shapes, lines through words, stacked elements)
|
|
179
|
+
- Text overflow or cut off at edges/box boundaries
|
|
180
|
+
- Decorative lines positioned for single-line text but title wrapped to two lines
|
|
181
|
+
- Source citations or footers colliding with content above
|
|
182
|
+
- Elements too close (< 0.3" gaps) or cards/sections nearly touching
|
|
183
|
+
- Uneven gaps (large empty area in one place, cramped in another)
|
|
184
|
+
- Insufficient margin from slide edges (< 0.5")
|
|
185
|
+
- Columns or similar elements not aligned consistently
|
|
186
|
+
- Low-contrast text (e.g., light gray text on cream-colored background)
|
|
187
|
+
- Low-contrast icons (e.g., dark icons on dark backgrounds without a contrasting circle)
|
|
188
|
+
- Text boxes too narrow causing excessive wrapping
|
|
189
|
+
- Leftover placeholder content
|
|
190
|
+
|
|
191
|
+
For each slide, list issues or areas of concern, even if minor.
|
|
192
|
+
|
|
193
|
+
Read and analyze these images:
|
|
194
|
+
1. /path/to/slide-01.jpg (Expected: [brief description])
|
|
195
|
+
2. /path/to/slide-02.jpg (Expected: [brief description])
|
|
196
|
+
|
|
197
|
+
Report ALL issues found, including minor ones.
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Verification Loop
|
|
201
|
+
|
|
202
|
+
1. Generate slides → Convert to images → Inspect
|
|
203
|
+
2. **List issues found** (if none found, look again more critically)
|
|
204
|
+
3. Fix issues
|
|
205
|
+
4. **Re-verify affected slides** — one fix often creates another problem
|
|
206
|
+
5. Repeat until a full pass reveals no new issues
|
|
207
|
+
|
|
208
|
+
**Do not declare success until you've completed at least one fix-and-verify cycle.**
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## Converting to Images
|
|
213
|
+
|
|
214
|
+
Convert presentations to individual slide images for visual inspection:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
python scripts/office/soffice.py --headless --convert-to pdf output.pptx
|
|
218
|
+
pdftoppm -jpeg -r 150 output.pdf slide
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
This creates `slide-01.jpg`, `slide-02.jpg`, etc.
|
|
222
|
+
|
|
223
|
+
To re-render specific slides after fixes:
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
pdftoppm -jpeg -r 150 -f N -l N output.pdf slide-fixed
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## Dependencies
|
|
232
|
+
|
|
233
|
+
- `pip install "markitdown[pptx]"` - text extraction
|
|
234
|
+
- `pip install Pillow` - thumbnail grids
|
|
235
|
+
- `npm install -g pptxgenjs` - creating from scratch
|
|
236
|
+
- LibreOffice (`soffice`) - PDF conversion (auto-configured for sandboxed environments via `scripts/office/soffice.py`)
|
|
237
|
+
- Poppler (`pdftoppm`) - PDF to images
|