@caddis/cli 0.1.0 → 0.2.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 +29 -16
- package/bundles/antigravity-plugin-extras/plugin.json +5 -0
- package/bundles/antigravity-plugin-extras/skills/_registry.md +154 -0
- package/bundles/antigravity-plugin-extras/skills/agent-md-refactor/SKILL.md +356 -0
- package/bundles/antigravity-plugin-extras/skills/agent-orchestration/SKILL.md +517 -0
- package/bundles/antigravity-plugin-extras/skills/algorithmic-art/SKILL.md +293 -0
- package/bundles/antigravity-plugin-extras/skills/anchor-review/SKILL.md +135 -0
- package/bundles/antigravity-plugin-extras/skills/api-client-patterns/SKILL.md +367 -0
- package/bundles/antigravity-plugin-extras/skills/architecture-design/SKILL.md +244 -0
- package/bundles/antigravity-plugin-extras/skills/architecture-diagram/SKILL.md +156 -0
- package/bundles/antigravity-plugin-extras/skills/architecture-document/SKILL.md +321 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/SKILL.md +74 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/bundles/antigravity-plugin-extras/skills/ascii-art/SKILL.md +144 -0
- package/bundles/antigravity-plugin-extras/skills/asking-questions/SKILL.md +81 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/SKILL.md +118 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/cross-service/credential-management.md +450 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/browser/README.md +363 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/code-interpreter/README.md +232 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/README.md +100 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/deploy-template.sh +117 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/deployment-strategies.md +416 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/troubleshooting-guide.md +384 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/validate-deployment.sh +186 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/identity/README.md +186 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/memory/README.md +253 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/observability/README.md +517 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/runtime/README.md +215 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/SKILL.md +279 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/references/cdk-patterns.md +431 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/scripts/validate-stack.sh +240 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/SKILL.md +318 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/references/cloudwatch-alarms.md +567 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/references/operations-patterns.md +394 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/SKILL.md +758 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/deployment-best-practices.md +830 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/eda-patterns.md +1002 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/observability-best-practices.md +770 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/performance-optimization.md +671 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/security-best-practices.md +625 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/serverless-patterns.md +838 -0
- package/bundles/antigravity-plugin-extras/skills/backend-to-frontend-handoff/SKILL.md +139 -0
- package/bundles/antigravity-plugin-extras/skills/banner-design/SKILL.md +188 -0
- package/bundles/antigravity-plugin-extras/skills/brand-design/SKILL.md +298 -0
- package/bundles/antigravity-plugin-extras/skills/brand-guidelines/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/brand-guidelines/SKILL.md +118 -0
- package/bundles/antigravity-plugin-extras/skills/brand-voice/SKILL.md +93 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/SKILL.md +392 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/agent-patterns.md +461 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/examples.md +188 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/state-patterns.md +360 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/troubleshooting.md +362 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/SKILL.md +266 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/examples.md +115 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +338 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +317 -0
- package/bundles/antigravity-plugin-extras/skills/caching-patterns/SKILL.md +385 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/SKILL.md +91 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/changelog-generator/SKILL.md +105 -0
- package/bundles/antigravity-plugin-extras/skills/code-explainer/SKILL.md +91 -0
- package/bundles/antigravity-plugin-extras/skills/competitive-ads-extractor/SKILL.md +294 -0
- package/bundles/antigravity-plugin-extras/skills/component-testing/SKILL.md +310 -0
- package/bundles/antigravity-plugin-extras/skills/content-research-writer/SKILL.md +539 -0
- package/bundles/antigravity-plugin-extras/skills/cross-review/SKILL.md +51 -0
- package/bundles/antigravity-plugin-extras/skills/data-analysis/SKILL.md +111 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/README.md +248 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/SKILL.md +203 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/adapter.py.template +44 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/api-router.py.template +43 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/contract-test.py.template +384 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/display-dto.py.template +39 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/frontend-service.ts.template +46 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/frontend-types.ts.template +38 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/ingestion-model.py.template +42 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/mapping-doc.md.template +46 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/normalizer.py.template +48 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/extract_requirements.md +36 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/extract_ui_demand.md +35 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/reconcile_mapping.md +66 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/query-catalog.md.template +62 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/consumer-driven-contracts.md +131 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/drift-check-catalog.md +305 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/layer-responsibilities.md +333 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/discover_connections.py +170 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/discover_sources.py +161 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/drift_check.py +171 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/extract_schema.py +1363 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/generate_gap_report.py +81 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/generate_mapping_doc.py +294 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/ts_dto_compare.py +214 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/validate_lineage.py +51 -0
- package/bundles/antigravity-plugin-extras/skills/data-loader/SKILL.md +753 -0
- package/bundles/antigravity-plugin-extras/skills/data-validation/SKILL.md +220 -0
- package/bundles/antigravity-plugin-extras/skills/db-testing/SKILL.md +117 -0
- package/bundles/antigravity-plugin-extras/skills/deploy-local/SKILL.md +259 -0
- package/bundles/antigravity-plugin-extras/skills/design-md/SKILL.md +167 -0
- package/bundles/antigravity-plugin-extras/skills/design-system-tokens/SKILL.md +240 -0
- package/bundles/antigravity-plugin-extras/skills/design-system-tokens/references/DESIGN-SYSTEM-TEMPLATE.md +577 -0
- package/bundles/antigravity-plugin-extras/skills/developer-growth-analysis/SKILL.md +323 -0
- package/bundles/antigravity-plugin-extras/skills/doc-coauthoring/SKILL.md +378 -0
- package/bundles/antigravity-plugin-extras/skills/documentation-analyzer/SKILL.md +78 -0
- package/bundles/antigravity-plugin-extras/skills/domain-name-brainstormer/SKILL.md +213 -0
- package/bundles/antigravity-plugin-extras/skills/enterprise-dashboard-aesthetic-system/SKILL.md +120 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/SKILL.md +193 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/references/element-types.md +497 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/references/excalidraw-schema.md +356 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/references/reliable-diagrams.md +115 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/README.md +60 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/add-arrow.py +354 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/add-icon-to-diagram.py +412 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/split-excalidraw-library.py +183 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/class-diagram-template.excalidraw +558 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/data-flow-diagram-template.excalidraw +279 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/er-diagram-template.excalidraw +662 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/flowchart-template.excalidraw +179 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/mindmap-template.excalidraw +244 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/relationship-template.excalidraw +145 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/reliable-flowchart.excalidraw +1 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/sequence-diagram-template.excalidraw +509 -0
- package/bundles/antigravity-plugin-extras/skills/file-organizer/SKILL.md +434 -0
- package/bundles/antigravity-plugin-extras/skills/game-changing-features/README.md +221 -0
- package/bundles/antigravity-plugin-extras/skills/game-changing-features/SKILL.md +265 -0
- package/bundles/antigravity-plugin-extras/skills/github-issues/SKILL.md +359 -0
- package/bundles/antigravity-plugin-extras/skills/github-issues/references/templates.md +90 -0
- package/bundles/antigravity-plugin-extras/skills/golden-nuggets/SKILL.md +192 -0
- package/bundles/antigravity-plugin-extras/skills/humanizer/SKILL.md +194 -0
- package/bundles/antigravity-plugin-extras/skills/image-enhancer/SKILL.md +100 -0
- package/bundles/antigravity-plugin-extras/skills/intent-writer/SKILL.md +201 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/SKILL.md +124 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/3p-updates.md +47 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/faq-answers.md +30 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/general-comms.md +16 -0
- package/bundles/antigravity-plugin-extras/skills/invoice-organizer/SKILL.md +447 -0
- package/bundles/antigravity-plugin-extras/skills/jira-issues/SKILL.md +182 -0
- package/bundles/antigravity-plugin-extras/skills/job-application/SKILL.md +188 -0
- package/bundles/antigravity-plugin-extras/skills/lead-research-assistant/SKILL.md +200 -0
- package/bundles/antigravity-plugin-extras/skills/llm-application-dev/SKILL.md +217 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/SKILL.md +100 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/evaluation.md +602 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/mcp_best_practices.md +915 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/node_mcp_server.md +916 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/python_mcp_server.md +752 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/connections.py +151 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/bundles/antigravity-plugin-extras/skills/meeting-insights-analyzer/SKILL.md +328 -0
- package/bundles/antigravity-plugin-extras/skills/monorepo/SKILL.md +267 -0
- package/bundles/antigravity-plugin-extras/skills/naming-analyzer/SKILL.md +376 -0
- package/bundles/antigravity-plugin-extras/skills/nextjs-app-router/SKILL.md +271 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/AUTHENTICATION.md +154 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/SKILL.md +270 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/references/api_reference.md +309 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/references/troubleshooting.md +376 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/references/usage_patterns.md +338 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/__init__.py +81 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/ask_question.py +256 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/auth_manager.py +358 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/browser_session.py +255 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/browser_utils.py +107 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/cleanup_manager.py +302 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/config.py +44 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/notebook_manager.py +410 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/run.py +102 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/setup_environment.py +204 -0
- package/bundles/antigravity-plugin-extras/skills/observability/SKILL.md +371 -0
- package/bundles/antigravity-plugin-extras/skills/onboard-project/SKILL.md +192 -0
- package/bundles/antigravity-plugin-extras/skills/performance-testing/SKILL.md +226 -0
- package/bundles/antigravity-plugin-extras/skills/pipeline-state/SKILL.md +208 -0
- package/bundles/antigravity-plugin-extras/skills/plantuml/SKILL.md +228 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/SKILL.md +142 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/linear.app.md +196 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/stripe.md +214 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/vercel.md +218 -0
- package/bundles/antigravity-plugin-extras/skills/prd-to-code/SKILL.md +127 -0
- package/bundles/antigravity-plugin-extras/skills/raffle-winner-picker/SKILL.md +159 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/README.md +320 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/SKILL.md +53 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/alternatives.md +258 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/anti-patterns.md +290 -0
- package/bundles/antigravity-plugin-extras/skills/receiving-code-review/SKILL.md +213 -0
- package/bundles/antigravity-plugin-extras/skills/relay/SKILL.md +246 -0
- package/bundles/antigravity-plugin-extras/skills/requesting-code-review/SKILL.md +105 -0
- package/bundles/antigravity-plugin-extras/skills/requesting-code-review/code-reviewer.md +146 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/SKILL.md +350 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/pwa-checklist.md +226 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/touch-and-interaction.md +265 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/transformation-catalogue.md +326 -0
- package/bundles/antigravity-plugin-extras/skills/schema-migration/SKILL.md +275 -0
- package/bundles/antigravity-plugin-extras/skills/setup-project-ai/SKILL.md +120 -0
- package/bundles/antigravity-plugin-extras/skills/shadcn-radix/SKILL.md +330 -0
- package/bundles/antigravity-plugin-extras/skills/sketch/SKILL.md +104 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/SKILL.md +646 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/color_palettes.py +302 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/easing.py +230 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/frame_composer.py +469 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/gif_builder.py +246 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/typography.py +357 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/validators.py +264 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/visual_effects.py +494 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/requirements.txt +4 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/bounce.py +106 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/explode.py +331 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/fade.py +329 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/flip.py +291 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/morph.py +329 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/move.py +293 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/pulse.py +268 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/shake.py +127 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/slide.py +291 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/spin.py +269 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/wiggle.py +300 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/zoom.py +312 -0
- package/bundles/antigravity-plugin-extras/skills/slides/SKILL.md +38 -0
- package/bundles/antigravity-plugin-extras/skills/state-tracking/SKILL.md +131 -0
- package/bundles/antigravity-plugin-extras/skills/streamlit-dev/SKILL.md +268 -0
- package/bundles/antigravity-plugin-extras/skills/svg-create/SKILL.md +251 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/SKILL.md +59 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/theme-showcase.pdf +0 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/arctic-frost.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/botanical-garden.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/desert-rose.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/forest-canopy.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/golden-hour.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/midnight-galaxy.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/modern-minimalist.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/ocean-depths.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/sunset-boulevard.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/tech-innovation.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/ui-styling-patterns/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/ui-styling-patterns/SKILL.md +320 -0
- package/bundles/antigravity-plugin-extras/skills/ui-testing/SKILL.md +660 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/SKILL.md +660 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/_sync_all.py +414 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/app-interface.csv +31 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/charts.csv +26 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/colors.csv +162 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/design.csv +1776 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/draft.csv +1779 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/google-fonts.csv +1924 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/icons.csv +106 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/landing.csv +35 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/products.csv +162 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/react-performance.csv +45 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/styles.csv +85 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/typography.csv +74 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/ui-reasoning.csv +162 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/ux-guidelines.csv +100 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/core.py +247 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/design_system.py +1067 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/search.py +114 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/SKILL.md +140 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/references/commands.md +252 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/references/graph-schema.md +116 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/references/pipeline.md +331 -0
- package/bundles/antigravity-plugin-extras/skills/update-readme/SKILL.md +74 -0
- package/bundles/antigravity-plugin-extras/skills/verification-loop/SKILL.md +209 -0
- package/bundles/antigravity-plugin-extras/skills/video-downloader/SKILL.md +107 -0
- package/bundles/antigravity-plugin-extras/skills/webapp-development/SKILL.md +288 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/SKILL.md +339 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/agents/agent-interface.md +175 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/html.md +384 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/nlp-keywords.md +127 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/palettes.md +149 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/python.md +249 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/react.md +427 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/shapes.md +135 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/stopwords.md +115 -0
- package/bundles/antigravity-plugin-extras/skills/youtube-transcript/SKILL.md +416 -0
- package/bundles/manifest.json +2 -1
- package/dist/cli.js +166 -37
- package/package.json +1 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Authentication Architecture
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This skill uses a **hybrid authentication approach** that combines the best of both worlds:
|
|
6
|
+
|
|
7
|
+
1. **Persistent Browser Profile** (`user_data_dir`) for consistent browser fingerprinting
|
|
8
|
+
2. **Manual Cookie Injection** from `state.json` for reliable session cookie persistence
|
|
9
|
+
|
|
10
|
+
## Why This Approach?
|
|
11
|
+
|
|
12
|
+
### The Problem
|
|
13
|
+
|
|
14
|
+
Playwright/Patchright has a known bug ([#36139](https://github.com/microsoft/playwright/issues/36139)) where **session cookies** (cookies without an `Expires` attribute) do not persist correctly when using `launch_persistent_context()` with `user_data_dir`.
|
|
15
|
+
|
|
16
|
+
**What happens:**
|
|
17
|
+
- ✅ Persistent cookies (with `Expires` date) → Saved correctly to browser profile
|
|
18
|
+
- ❌ Session cookies (without `Expires`) → **Lost after browser restarts**
|
|
19
|
+
|
|
20
|
+
**Impact:**
|
|
21
|
+
- Some Google auth cookies are session cookies
|
|
22
|
+
- Users experience random authentication failures
|
|
23
|
+
- "Works on my machine" syndrome (depends on which cookies Google uses)
|
|
24
|
+
|
|
25
|
+
### TypeScript vs Python
|
|
26
|
+
|
|
27
|
+
The **MCP Server** (TypeScript) can work around this by passing `storage_state` as a parameter:
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
// TypeScript - works!
|
|
31
|
+
const context = await chromium.launchPersistentContext(userDataDir, {
|
|
32
|
+
storageState: "state.json", // ← Loads cookies including session cookies
|
|
33
|
+
channel: "chrome"
|
|
34
|
+
});
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
But **Python's Playwright API doesn't support this** ([#14949](https://github.com/microsoft/playwright/issues/14949)):
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
# Python - NOT SUPPORTED!
|
|
41
|
+
context = playwright.chromium.launch_persistent_context(
|
|
42
|
+
user_data_dir=profile_dir,
|
|
43
|
+
storage_state="state.json", # ← Parameter not available in Python!
|
|
44
|
+
channel="chrome"
|
|
45
|
+
)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Our Solution: Hybrid Approach
|
|
49
|
+
|
|
50
|
+
We use a **two-phase authentication system**:
|
|
51
|
+
|
|
52
|
+
### Phase 1: Setup (`auth_manager.py setup`)
|
|
53
|
+
|
|
54
|
+
1. Launch persistent context with `user_data_dir`
|
|
55
|
+
2. User logs in manually
|
|
56
|
+
3. **Save state to TWO places:**
|
|
57
|
+
- Browser profile directory (automatic, for fingerprint + persistent cookies)
|
|
58
|
+
- `state.json` file (explicit save, for session cookies)
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
context = playwright.chromium.launch_persistent_context(
|
|
62
|
+
user_data_dir="browser_profile/",
|
|
63
|
+
channel="chrome"
|
|
64
|
+
)
|
|
65
|
+
# User logs in...
|
|
66
|
+
context.storage_state(path="state.json") # Save all cookies
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Phase 2: Runtime (`ask_question.py`)
|
|
70
|
+
|
|
71
|
+
1. Launch persistent context with `user_data_dir` (loads fingerprint + persistent cookies)
|
|
72
|
+
2. **Manually inject cookies** from `state.json` (adds session cookies)
|
|
73
|
+
|
|
74
|
+
```python
|
|
75
|
+
# Step 1: Launch with browser profile
|
|
76
|
+
context = playwright.chromium.launch_persistent_context(
|
|
77
|
+
user_data_dir="browser_profile/",
|
|
78
|
+
channel="chrome"
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
# Step 2: Manually inject cookies from state.json
|
|
82
|
+
with open("state.json", 'r') as f:
|
|
83
|
+
state = json.load(f)
|
|
84
|
+
context.add_cookies(state['cookies']) # ← Workaround for session cookies!
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Benefits
|
|
88
|
+
|
|
89
|
+
| Feature | Our Approach | Pure `user_data_dir` | Pure `storage_state` |
|
|
90
|
+
|---------|--------------|----------------------|----------------------|
|
|
91
|
+
| **Browser Fingerprint Consistency** | ✅ Same across restarts | ✅ Same | ❌ Changes each time |
|
|
92
|
+
| **Session Cookie Persistence** | ✅ Manual injection | ❌ Lost (bug) | ✅ Native support |
|
|
93
|
+
| **Persistent Cookie Persistence** | ✅ Automatic | ✅ Automatic | ✅ Native support |
|
|
94
|
+
| **Google Trust** | ✅ High (same browser) | ✅ High | ❌ Low (new browser) |
|
|
95
|
+
| **Cross-platform Reliability** | ✅ Chrome required | ⚠️ Chromium issues | ✅ Portable |
|
|
96
|
+
| **Cache Performance** | ✅ Keeps cache | ✅ Keeps cache | ❌ No cache |
|
|
97
|
+
|
|
98
|
+
## File Structure
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
~/.claude/skills/notebooklm/data/
|
|
102
|
+
├── auth_info.json # Metadata about authentication
|
|
103
|
+
├── browser_state/
|
|
104
|
+
│ ├── state.json # Cookies + localStorage (for manual injection)
|
|
105
|
+
│ └── browser_profile/ # Chrome user profile (for fingerprint + cache)
|
|
106
|
+
│ ├── Default/
|
|
107
|
+
│ │ ├── Cookies # Persistent cookies only (session cookies missing!)
|
|
108
|
+
│ │ ├── Local Storage/
|
|
109
|
+
│ │ └── Cache/
|
|
110
|
+
│ └── ...
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Why `state.json` is Critical
|
|
114
|
+
|
|
115
|
+
Even though we use `user_data_dir`, we **still need `state.json`** because:
|
|
116
|
+
|
|
117
|
+
1. **Session cookies** are not saved to the browser profile (Playwright bug)
|
|
118
|
+
2. **Manual injection** is the only reliable way to load session cookies
|
|
119
|
+
3. **Validation** - we can check if cookies are expired before launching
|
|
120
|
+
|
|
121
|
+
## Code References
|
|
122
|
+
|
|
123
|
+
**Setup:** `scripts/auth_manager.py:94-120`
|
|
124
|
+
- Lines 100-113: Launch persistent context with `channel="chrome"`
|
|
125
|
+
- Line 167: Save to `state.json` via `context.storage_state()`
|
|
126
|
+
|
|
127
|
+
**Runtime:** `scripts/ask_question.py:77-118`
|
|
128
|
+
- Lines 86-99: Launch persistent context
|
|
129
|
+
- Lines 101-118: Manual cookie injection workaround
|
|
130
|
+
|
|
131
|
+
**Validation:** `scripts/auth_manager.py:236-298`
|
|
132
|
+
- Lines 262-275: Launch persistent context
|
|
133
|
+
- Lines 277-287: Manual cookie injection for validation
|
|
134
|
+
|
|
135
|
+
## Related Issues
|
|
136
|
+
|
|
137
|
+
- [microsoft/playwright#36139](https://github.com/microsoft/playwright/issues/36139) - Session cookies not persisting
|
|
138
|
+
- [microsoft/playwright#14949](https://github.com/microsoft/playwright/issues/14949) - Storage state with persistent context
|
|
139
|
+
- [StackOverflow Question](https://stackoverflow.com/questions/79641481/) - Session cookie persistence issue
|
|
140
|
+
|
|
141
|
+
## Future Improvements
|
|
142
|
+
|
|
143
|
+
If Playwright adds support for `storage_state` parameter in Python's `launch_persistent_context()`, we can simplify to:
|
|
144
|
+
|
|
145
|
+
```python
|
|
146
|
+
# Future (when Python API supports it):
|
|
147
|
+
context = playwright.chromium.launch_persistent_context(
|
|
148
|
+
user_data_dir="browser_profile/",
|
|
149
|
+
storage_state="state.json", # ← Would handle everything automatically!
|
|
150
|
+
channel="chrome"
|
|
151
|
+
)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Until then, our hybrid approach is the most reliable solution.
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: notebooklm
|
|
3
|
+
context: fork
|
|
4
|
+
description: Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# NotebookLM Research Assistant Skill
|
|
8
|
+
|
|
9
|
+
Interact with Google NotebookLM to query documentation with Gemini's source-grounded answers. Each question opens a fresh browser session, retrieves the answer exclusively from your uploaded documents, and closes.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
Trigger when user:
|
|
14
|
+
- Mentions NotebookLM explicitly
|
|
15
|
+
- Shares NotebookLM URL (`https://notebooklm.google.com/notebook/...`)
|
|
16
|
+
- Asks to query their notebooks/documentation
|
|
17
|
+
- Wants to add documentation to NotebookLM library
|
|
18
|
+
- Uses phrases like "ask my NotebookLM", "check my docs", "query my notebook"
|
|
19
|
+
|
|
20
|
+
## ⚠️ CRITICAL: Add Command - Smart Discovery
|
|
21
|
+
|
|
22
|
+
When user wants to add a notebook without providing details:
|
|
23
|
+
|
|
24
|
+
**SMART ADD (Recommended)**: Query the notebook first to discover its content:
|
|
25
|
+
```bash
|
|
26
|
+
# Step 1: Query the notebook about its content
|
|
27
|
+
python scripts/run.py ask_question.py --question "What is the content of this notebook? What topics are covered? Provide a complete overview briefly and concisely" --notebook-url "[URL]"
|
|
28
|
+
|
|
29
|
+
# Step 2: Use the discovered information to add it
|
|
30
|
+
python scripts/run.py notebook_manager.py add --url "[URL]" --name "[Based on content]" --description "[Based on content]" --topics "[Based on content]"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**MANUAL ADD**: If user provides all details:
|
|
34
|
+
- `--url` - The NotebookLM URL
|
|
35
|
+
- `--name` - A descriptive name
|
|
36
|
+
- `--description` - What the notebook contains (REQUIRED!)
|
|
37
|
+
- `--topics` - Comma-separated topics (REQUIRED!)
|
|
38
|
+
|
|
39
|
+
NEVER guess or use generic descriptions! If details missing, use Smart Add to discover them.
|
|
40
|
+
|
|
41
|
+
## Critical: Always Use run.py Wrapper
|
|
42
|
+
|
|
43
|
+
**NEVER call scripts directly. ALWAYS use `python scripts/run.py [script]`:**
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# ✅ CORRECT - Always use run.py:
|
|
47
|
+
python scripts/run.py auth_manager.py status
|
|
48
|
+
python scripts/run.py notebook_manager.py list
|
|
49
|
+
python scripts/run.py ask_question.py --question "..."
|
|
50
|
+
|
|
51
|
+
# ❌ WRONG - Never call directly:
|
|
52
|
+
python scripts/auth_manager.py status # Fails without venv!
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The `run.py` wrapper automatically:
|
|
56
|
+
1. Creates `.venv` if needed
|
|
57
|
+
2. Installs all dependencies
|
|
58
|
+
3. Activates environment
|
|
59
|
+
4. Executes script properly
|
|
60
|
+
|
|
61
|
+
## Core Workflow
|
|
62
|
+
|
|
63
|
+
### Step 1: Check Authentication Status
|
|
64
|
+
```bash
|
|
65
|
+
python scripts/run.py auth_manager.py status
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
If not authenticated, proceed to setup.
|
|
69
|
+
|
|
70
|
+
### Step 2: Authenticate (One-Time Setup)
|
|
71
|
+
```bash
|
|
72
|
+
# Browser MUST be visible for manual Google login
|
|
73
|
+
python scripts/run.py auth_manager.py setup
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Important:**
|
|
77
|
+
- Browser is VISIBLE for authentication
|
|
78
|
+
- Browser window opens automatically
|
|
79
|
+
- User must manually log in to Google
|
|
80
|
+
- Tell user: "A browser window will open for Google login"
|
|
81
|
+
|
|
82
|
+
### Step 3: Manage Notebook Library
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# List all notebooks
|
|
86
|
+
python scripts/run.py notebook_manager.py list
|
|
87
|
+
|
|
88
|
+
# BEFORE ADDING: Ask user for metadata if unknown!
|
|
89
|
+
# "What does this notebook contain?"
|
|
90
|
+
# "What topics should I tag it with?"
|
|
91
|
+
|
|
92
|
+
# Add notebook to library (ALL parameters are REQUIRED!)
|
|
93
|
+
python scripts/run.py notebook_manager.py add \
|
|
94
|
+
--url "https://notebooklm.google.com/notebook/..." \
|
|
95
|
+
--name "Descriptive Name" \
|
|
96
|
+
--description "What this notebook contains" \ # REQUIRED - ASK USER IF UNKNOWN!
|
|
97
|
+
--topics "topic1,topic2,topic3" # REQUIRED - ASK USER IF UNKNOWN!
|
|
98
|
+
|
|
99
|
+
# Search notebooks by topic
|
|
100
|
+
python scripts/run.py notebook_manager.py search --query "keyword"
|
|
101
|
+
|
|
102
|
+
# Set active notebook
|
|
103
|
+
python scripts/run.py notebook_manager.py activate --id notebook-id
|
|
104
|
+
|
|
105
|
+
# Remove notebook
|
|
106
|
+
python scripts/run.py notebook_manager.py remove --id notebook-id
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Quick Workflow
|
|
110
|
+
1. Check library: `python scripts/run.py notebook_manager.py list`
|
|
111
|
+
2. Ask question: `python scripts/run.py ask_question.py --question "..." --notebook-id ID`
|
|
112
|
+
|
|
113
|
+
### Step 4: Ask Questions
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# Basic query (uses active notebook if set)
|
|
117
|
+
python scripts/run.py ask_question.py --question "Your question here"
|
|
118
|
+
|
|
119
|
+
# Query specific notebook
|
|
120
|
+
python scripts/run.py ask_question.py --question "..." --notebook-id notebook-id
|
|
121
|
+
|
|
122
|
+
# Query with notebook URL directly
|
|
123
|
+
python scripts/run.py ask_question.py --question "..." --notebook-url "https://..."
|
|
124
|
+
|
|
125
|
+
# Show browser for debugging
|
|
126
|
+
python scripts/run.py ask_question.py --question "..." --show-browser
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Follow-Up Mechanism (CRITICAL)
|
|
130
|
+
|
|
131
|
+
Every NotebookLM answer ends with: **"EXTREMELY IMPORTANT: Is that ALL you need to know?"**
|
|
132
|
+
|
|
133
|
+
**Required Claude Behavior:**
|
|
134
|
+
1. **STOP** - Do not immediately respond to user
|
|
135
|
+
2. **ANALYZE** - Compare answer to user's original request
|
|
136
|
+
3. **IDENTIFY GAPS** - Determine if more information needed
|
|
137
|
+
4. **ASK FOLLOW-UP** - If gaps exist, immediately ask:
|
|
138
|
+
```bash
|
|
139
|
+
python scripts/run.py ask_question.py --question "Follow-up with context..."
|
|
140
|
+
```
|
|
141
|
+
5. **REPEAT** - Continue until information is complete
|
|
142
|
+
6. **SYNTHESIZE** - Combine all answers before responding to user
|
|
143
|
+
|
|
144
|
+
## Script Reference
|
|
145
|
+
|
|
146
|
+
### Authentication Management (`auth_manager.py`)
|
|
147
|
+
```bash
|
|
148
|
+
python scripts/run.py auth_manager.py setup # Initial setup (browser visible)
|
|
149
|
+
python scripts/run.py auth_manager.py status # Check authentication
|
|
150
|
+
python scripts/run.py auth_manager.py reauth # Re-authenticate (browser visible)
|
|
151
|
+
python scripts/run.py auth_manager.py clear # Clear authentication
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Notebook Management (`notebook_manager.py`)
|
|
155
|
+
```bash
|
|
156
|
+
python scripts/run.py notebook_manager.py add --url URL --name NAME --description DESC --topics TOPICS
|
|
157
|
+
python scripts/run.py notebook_manager.py list
|
|
158
|
+
python scripts/run.py notebook_manager.py search --query QUERY
|
|
159
|
+
python scripts/run.py notebook_manager.py activate --id ID
|
|
160
|
+
python scripts/run.py notebook_manager.py remove --id ID
|
|
161
|
+
python scripts/run.py notebook_manager.py stats
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Question Interface (`ask_question.py`)
|
|
165
|
+
```bash
|
|
166
|
+
python scripts/run.py ask_question.py --question "..." [--notebook-id ID] [--notebook-url URL] [--show-browser]
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Data Cleanup (`cleanup_manager.py`)
|
|
170
|
+
```bash
|
|
171
|
+
python scripts/run.py cleanup_manager.py # Preview cleanup
|
|
172
|
+
python scripts/run.py cleanup_manager.py --confirm # Execute cleanup
|
|
173
|
+
python scripts/run.py cleanup_manager.py --preserve-library # Keep notebooks
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## Environment Management
|
|
177
|
+
|
|
178
|
+
The virtual environment is automatically managed:
|
|
179
|
+
- First run creates `.venv` automatically
|
|
180
|
+
- Dependencies install automatically
|
|
181
|
+
- Chromium browser installs automatically
|
|
182
|
+
- Everything isolated in skill directory
|
|
183
|
+
|
|
184
|
+
Manual setup (only if automatic fails):
|
|
185
|
+
```bash
|
|
186
|
+
python -m venv .venv
|
|
187
|
+
source .venv/bin/activate # Linux/Mac
|
|
188
|
+
pip install -r requirements.txt
|
|
189
|
+
python -m patchright install chromium
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
## Data Storage
|
|
193
|
+
|
|
194
|
+
All data stored in `~/.claude/skills/notebooklm/data/`:
|
|
195
|
+
- `library.json` - Notebook metadata
|
|
196
|
+
- `auth_info.json` - Authentication status
|
|
197
|
+
- `browser_state/` - Browser cookies and session
|
|
198
|
+
|
|
199
|
+
**Security:** Protected by `.gitignore`, never commit to git.
|
|
200
|
+
|
|
201
|
+
## Configuration
|
|
202
|
+
|
|
203
|
+
Optional `.env` file in skill directory:
|
|
204
|
+
```env
|
|
205
|
+
HEADLESS=false # Browser visibility
|
|
206
|
+
SHOW_BROWSER=false # Default browser display
|
|
207
|
+
STEALTH_ENABLED=true # Human-like behavior
|
|
208
|
+
TYPING_WPM_MIN=160 # Typing speed
|
|
209
|
+
TYPING_WPM_MAX=240
|
|
210
|
+
DEFAULT_NOTEBOOK_ID= # Default notebook
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
## Decision Flow
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
User mentions NotebookLM
|
|
217
|
+
↓
|
|
218
|
+
Check auth → python scripts/run.py auth_manager.py status
|
|
219
|
+
↓
|
|
220
|
+
If not authenticated → python scripts/run.py auth_manager.py setup
|
|
221
|
+
↓
|
|
222
|
+
Check/Add notebook → python scripts/run.py notebook_manager.py list/add (with --description)
|
|
223
|
+
↓
|
|
224
|
+
Activate notebook → python scripts/run.py notebook_manager.py activate --id ID
|
|
225
|
+
↓
|
|
226
|
+
Ask question → python scripts/run.py ask_question.py --question "..."
|
|
227
|
+
↓
|
|
228
|
+
See "Is that ALL you need?" → Ask follow-ups until complete
|
|
229
|
+
↓
|
|
230
|
+
Synthesize and respond to user
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
## Troubleshooting
|
|
234
|
+
|
|
235
|
+
| Problem | Solution |
|
|
236
|
+
|---------|----------|
|
|
237
|
+
| ModuleNotFoundError | Use `run.py` wrapper |
|
|
238
|
+
| Authentication fails | Browser must be visible for setup! --show-browser |
|
|
239
|
+
| Rate limit (50/day) | Wait or switch Google account |
|
|
240
|
+
| Browser crashes | `python scripts/run.py cleanup_manager.py --preserve-library` |
|
|
241
|
+
| Notebook not found | Check with `notebook_manager.py list` |
|
|
242
|
+
|
|
243
|
+
## Best Practices
|
|
244
|
+
|
|
245
|
+
1. **Always use run.py** - Handles environment automatically
|
|
246
|
+
2. **Check auth first** - Before any operations
|
|
247
|
+
3. **Follow-up questions** - Don't stop at first answer
|
|
248
|
+
4. **Browser visible for auth** - Required for manual login
|
|
249
|
+
5. **Include context** - Each question is independent
|
|
250
|
+
6. **Synthesize answers** - Combine multiple responses
|
|
251
|
+
|
|
252
|
+
## Limitations
|
|
253
|
+
|
|
254
|
+
- No session persistence (each question = new browser)
|
|
255
|
+
- Rate limits on free Google accounts (50 queries/day)
|
|
256
|
+
- Manual upload required (user must add docs to NotebookLM)
|
|
257
|
+
- Browser overhead (few seconds per question)
|
|
258
|
+
|
|
259
|
+
## Resources (Skill Structure)
|
|
260
|
+
|
|
261
|
+
**Important directories and files:**
|
|
262
|
+
|
|
263
|
+
- `scripts/` - All automation scripts (ask_question.py, notebook_manager.py, etc.)
|
|
264
|
+
- `data/` - Local storage for authentication and notebook library
|
|
265
|
+
- `references/` - Extended documentation:
|
|
266
|
+
- `api_reference.md` - Detailed API documentation for all scripts
|
|
267
|
+
- `troubleshooting.md` - Common issues and solutions
|
|
268
|
+
- `usage_patterns.md` - Best practices and workflow examples
|
|
269
|
+
- `.venv/` - Isolated Python environment (auto-created on first run)
|
|
270
|
+
- `.gitignore` - Protects sensitive data from being committed
|