opencode-skills-collection 4.1.15 → 4.1.16
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/bundled-skills/.antigravity-install-manifest.json +2 -1
- package/bundled-skills/00-andruia-consultant/SKILL.md +23 -10
- package/bundled-skills/10-andruia-skill-smith/SKILL.md +18 -14
- package/bundled-skills/20-andruia-niche-intelligence/SKILL.md +40 -15
- package/bundled-skills/360-feedback-system/SKILL.md +7 -10
- package/bundled-skills/3d-web-experience/SKILL.md +91 -47
- package/bundled-skills/acceptance-orchestrator/SKILL.md +6 -7
- package/bundled-skills/access-matrix/SKILL.md +8 -7
- package/bundled-skills/accessibility-compliance-accessibility-audit/SKILL.md +10 -4
- package/bundled-skills/accessibility-compliance-accessibility-audit/resources/implementation-playbook.md +29 -76
- package/bundled-skills/accesslint-audit/SKILL.md +13 -7
- package/bundled-skills/accesslint-diff/SKILL.md +15 -47
- package/bundled-skills/accesslint-scan/SKILL.md +24 -8
- package/bundled-skills/activecampaign-automation/SKILL.md +8 -4
- package/bundled-skills/ad-campaign-analyzer/SKILL.md +11 -9
- package/bundled-skills/address-github-comments/SKILL.md +12 -6
- package/bundled-skills/adhx/SKILL.md +12 -9
- package/bundled-skills/admin-access-register/SKILL.md +20 -26
- package/bundled-skills/advanced-analytics-dashboard/SKILL.md +12 -13
- package/bundled-skills/aegisops-ai/SKILL.md +19 -19
- package/bundled-skills/agent-creator/SKILL.md +13 -14
- package/bundled-skills/agent-evals/SKILL.md +27 -22
- package/bundled-skills/agent-framework-azure-ai-py/SKILL.md +3 -0
- package/bundled-skills/agent-framework-azure-ai-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/agent-framework-azure-ai-py/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/agent-framework-azure-ai-py/references/advanced.md +512 -0
- package/bundled-skills/agent-framework-azure-ai-py/references/mcp.md +301 -0
- package/bundled-skills/agent-framework-azure-ai-py/references/threads.md +300 -0
- package/bundled-skills/agent-framework-azure-ai-py/references/tools.md +278 -0
- package/bundled-skills/agent-manager-skill/SKILL.md +10 -4
- package/bundled-skills/agent-memory/SKILL.md +39 -8
- package/bundled-skills/agent-memory-mcp/SKILL.md +11 -2
- package/bundled-skills/agent-memory-systems/SKILL.md +13 -28
- package/bundled-skills/agent-memory-systems/references/detailed-guide.md +59 -257
- package/bundled-skills/agent-orchestration-improve-agent/SKILL.md +12 -7
- package/bundled-skills/agent-orchestration-multi-agent-optimize/SKILL.md +14 -24
- package/bundled-skills/agent-orchestrator/SKILL.md +30 -20
- package/bundled-skills/agent-orchestrator/references/capability-taxonomy.md +9 -9
- package/bundled-skills/agent-orchestrator/references/orchestration-patterns.md +2 -2
- package/bundled-skills/agent-orchestrator/scripts/match_skills.py +49 -51
- package/bundled-skills/agent-orchestrator/scripts/orchestrate.py +71 -32
- package/bundled-skills/agent-orchestrator/scripts/scan_registry.py +92 -68
- package/bundled-skills/agent-self-scheduling/SKILL.md +11 -8
- package/bundled-skills/agent-squad/alex/SKILL.md +6 -1
- package/bundled-skills/agent-squad/aria/SKILL.md +7 -2
- package/bundled-skills/agent-squad/dep/SKILL.md +11 -4
- package/bundled-skills/agent-squad/luna/SKILL.md +10 -5
- package/bundled-skills/agent-squad/mason/SKILL.md +10 -5
- package/bundled-skills/agent-squad/max/SKILL.md +10 -3
- package/bundled-skills/agent-squad/quinn/SKILL.md +12 -5
- package/bundled-skills/agent-squad/rex/SKILL.md +7 -2
- package/bundled-skills/agentflow/SKILL.md +22 -15
- package/bundled-skills/agentfolio/SKILL.md +3 -2
- package/bundled-skills/agentic-actions-auditor/SKILL.md +35 -27
- package/bundled-skills/agentmail/SKILL.md +33 -58
- package/bundled-skills/agents-md/SKILL.md +1 -3
- package/bundled-skills/agents-v2-py/SKILL.md +57 -58
- package/bundled-skills/agenttrace-session-audit/SKILL.md +3 -2
- package/bundled-skills/agy-auto/SKILL.md +11 -10
- package/bundled-skills/ai-agent-development/SKILL.md +6 -0
- package/bundled-skills/ai-agent-evaluation-benchmarking/SKILL.md +15 -10
- package/bundled-skills/ai-agent-tool-routing/SKILL.md +98 -116
- package/bundled-skills/ai-agents-architect/SKILL.md +2 -2
- package/bundled-skills/ai-analyzer/SKILL.md +25 -10
- package/bundled-skills/ai-code-generation-guardrails/SKILL.md +99 -126
- package/bundled-skills/ai-dev-jobs-mcp/SKILL.md +8 -4
- package/bundled-skills/ai-engineer/SKILL.md +13 -7
- package/bundled-skills/ai-engineering-toolkit/SKILL.md +11 -7
- package/bundled-skills/ai-headshot-studio/SKILL.md +9 -7
- package/bundled-skills/ai-image-generation-studio/SKILL.md +9 -7
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +18 -43
- package/bundled-skills/ai-logo-maker/SKILL.md +8 -4
- package/bundled-skills/ai-loop/SKILL.md +4 -4
- package/bundled-skills/ai-ml/SKILL.md +4 -0
- package/bundled-skills/ai-multilingual-dubbing/SKILL.md +9 -3
- package/bundled-skills/ai-native-cli/SKILL.md +10 -7
- package/bundled-skills/ai-photo-restyler/SKILL.md +8 -4
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +36 -18
- package/bundled-skills/ai-podcast-voiceover/SKILL.md +9 -3
- package/bundled-skills/ai-prompt-regression-testing/SKILL.md +100 -112
- package/bundled-skills/ai-red-teaming/SKILL.md +55 -35
- package/bundled-skills/ai-security-hardening/SKILL.md +17 -25
- package/bundled-skills/ai-sre-incident-response/SKILL.md +8 -8
- package/bundled-skills/ai-studio-image/SKILL.md +8 -0
- package/bundled-skills/akf-trust-metadata/SKILL.md +8 -2
- package/bundled-skills/alerting-oncall/SKILL.md +1 -0
- package/bundled-skills/alerting-oncall/references/details.md +1 -5
- package/bundled-skills/alpha-vantage/SKILL.md +0 -4
- package/bundled-skills/angular-migration/SKILL.md +14 -0
- package/bundled-skills/animejs-animation/SKILL.md +8 -3
- package/bundled-skills/anti-deception/SKILL.md +5 -3
- package/bundled-skills/anti-reversing-techniques/SKILL.md +1 -1
- package/bundled-skills/anti-sleep/SKILL.md +4 -2
- package/bundled-skills/antigravity-design-expert/SKILL.md +3 -3
- package/bundled-skills/antigravity-maintainer-batch-release/SKILL.md +6 -0
- package/bundled-skills/api-analyzer/SKILL.md +7 -29
- package/bundled-skills/api-designer/SKILL.md +9 -0
- package/bundled-skills/api-documentation/SKILL.md +7 -1
- package/bundled-skills/api-sdk-generator/SKILL.md +0 -21
- package/bundled-skills/api-testing-observability-api-mock/resources/implementation-playbook.md +31 -11
- package/bundled-skills/apk-reverse/SKILL.md +14 -0
- package/bundled-skills/apk-reverse/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/apk-reverse/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/apk-reverse/scripts/manifest-summary.ps1 +80 -0
- package/bundled-skills/architecture-review/SKILL.md +4 -4
- package/bundled-skills/arm-cortex-expert/SKILL.md +0 -1
- package/bundled-skills/arrowspace/SKILL.md +23 -21
- package/bundled-skills/ask-questions-if-underspecified/SKILL.md +4 -4
- package/bundled-skills/audit-logging/SKILL.md +10 -77
- package/bundled-skills/automated-triage/SKILL.md +3 -0
- package/bundled-skills/automated-triage/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/automated-triage/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/automated-triage/references/triage-example.md +115 -0
- package/bundled-skills/automated-triage/references/triage-stages.md +141 -0
- package/bundled-skills/avoid-ai-writing/SKILL.md +4 -2
- package/bundled-skills/awareness-stage-mapper/SKILL.md +16 -8
- package/bundled-skills/aws-cdk-development/SKILL.md +7 -0
- package/bundled-skills/aws-cdk-development/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/aws-cdk-development/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/aws-cdk-development/references/cdk-patterns.md +431 -0
- package/bundled-skills/aws-cdk-development/scripts/validate-stack.sh +247 -0
- package/bundled-skills/aws-skills/SKILL.md +16 -21
- package/bundled-skills/aws-sst-development/SKILL.md +3 -0
- package/bundled-skills/aws-sst-development/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/aws-sst-development/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/aws-sst-development/references/authoring.md +506 -0
- package/bundled-skills/aws-sst-development/references/deploy-and-troubleshoot.md +182 -0
- package/bundled-skills/aws-sst-development/references/testing.md +126 -0
- package/bundled-skills/awt-e2e-testing/SKILL.md +7 -1
- package/bundled-skills/azd-deployment/SKILL.md +45 -51
- package/bundled-skills/azure-ai-agents-persistent-java/SKILL.md +35 -19
- package/bundled-skills/azure-ai-projects-py/SKILL.md +7 -0
- package/bundled-skills/azure-ai-projects-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-ai-projects-py/UPSTREAM-NOTICE.md +23 -0
- package/bundled-skills/azure-ai-projects-py/references/agents.md +295 -0
- package/bundled-skills/azure-ai-projects-py/references/api-reference.md +1150 -0
- package/bundled-skills/azure-ai-projects-py/references/async-patterns.md +258 -0
- package/bundled-skills/azure-ai-projects-py/references/built-in-evaluators.md +427 -0
- package/bundled-skills/azure-ai-projects-py/references/connections.md +203 -0
- package/bundled-skills/azure-ai-projects-py/references/custom-evaluators.md +450 -0
- package/bundled-skills/azure-ai-projects-py/references/datasets-indexes.md +177 -0
- package/bundled-skills/azure-ai-projects-py/references/deployments.md +134 -0
- package/bundled-skills/azure-ai-projects-py/references/evaluation.md +349 -0
- package/bundled-skills/azure-ai-projects-py/references/tools.md +464 -0
- package/bundled-skills/azure-ai-projects-py/scripts/run_batch_evaluation.py +409 -0
- package/bundled-skills/azure-ai-transcription-py/SKILL.md +30 -50
- package/bundled-skills/azure-ai-voicelive-py/SKILL.md +3 -0
- package/bundled-skills/azure-ai-voicelive-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-ai-voicelive-py/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/azure-ai-voicelive-py/references/api-reference.md +344 -0
- package/bundled-skills/azure-ai-voicelive-py/references/examples.md +558 -0
- package/bundled-skills/azure-ai-voicelive-py/references/models.md +737 -0
- package/bundled-skills/azure-communication-callingserver-java/SKILL.md +10 -9
- package/bundled-skills/azure-cosmos-db-py/SKILL.md +7 -0
- package/bundled-skills/azure-cosmos-db-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-cosmos-db-py/UPSTREAM-NOTICE.md +20 -0
- package/bundled-skills/azure-cosmos-db-py/assets/conftest_template.py +332 -0
- package/bundled-skills/azure-cosmos-db-py/assets/cosmos_client_template.py +225 -0
- package/bundled-skills/azure-cosmos-db-py/assets/service_template.py +314 -0
- package/bundled-skills/azure-cosmos-db-py/references/client-setup.md +214 -0
- package/bundled-skills/azure-cosmos-db-py/references/error-handling.md +382 -0
- package/bundled-skills/azure-cosmos-db-py/references/partitioning.md +270 -0
- package/bundled-skills/azure-cosmos-db-py/references/service-layer.md +305 -0
- package/bundled-skills/azure-cosmos-db-py/references/testing.md +495 -0
- package/bundled-skills/azure-cosmos-py/SKILL.md +11 -0
- package/bundled-skills/azure-cosmos-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-cosmos-py/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/azure-cosmos-py/references/partitioning.md +346 -0
- package/bundled-skills/azure-cosmos-py/references/query-patterns.md +395 -0
- package/bundled-skills/azure-cosmos-rust/SKILL.md +30 -22
- package/bundled-skills/azure-eventhub-py/SKILL.md +7 -0
- package/bundled-skills/azure-eventhub-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-eventhub-py/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/azure-eventhub-py/references/checkpointing.md +312 -0
- package/bundled-skills/azure-eventhub-py/references/partitions.md +346 -0
- package/bundled-skills/azure-eventhub-py/scripts/setup_consumer.py +422 -0
- package/bundled-skills/azure-eventhub-rust/SKILL.md +28 -13
- package/bundled-skills/azure-identity-rust/SKILL.md +16 -10
- package/bundled-skills/azure-keyvault-keys-rust/SKILL.md +13 -8
- package/bundled-skills/azure-keyvault-secrets-rust/SKILL.md +12 -6
- package/bundled-skills/azure-mgmt-apimanagement-dotnet/SKILL.md +11 -0
- package/bundled-skills/azure-mgmt-apimanagement-dotnet/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-mgmt-apimanagement-dotnet/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/azure-mgmt-apimanagement-dotnet/references/apis-operations.md +168 -0
- package/bundled-skills/azure-mgmt-apimanagement-dotnet/references/products-subscriptions.md +173 -0
- package/bundled-skills/azure-mgmt-apimanagement-dotnet/references/service-management.md +154 -0
- package/bundled-skills/azure-resource-manager-cosmosdb-dotnet/SKILL.md +3 -0
- package/bundled-skills/azure-resource-manager-cosmosdb-dotnet/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-resource-manager-cosmosdb-dotnet/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/azure-resource-manager-cosmosdb-dotnet/references/account-management.md +279 -0
- package/bundled-skills/azure-resource-manager-cosmosdb-dotnet/references/sql-resources.md +373 -0
- package/bundled-skills/azure-resource-manager-cosmosdb-dotnet/references/throughput.md +308 -0
- package/bundled-skills/azure-resource-manager-sql-dotnet/SKILL.md +3 -0
- package/bundled-skills/azure-resource-manager-sql-dotnet/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-resource-manager-sql-dotnet/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/azure-resource-manager-sql-dotnet/references/database-operations.md +268 -0
- package/bundled-skills/azure-resource-manager-sql-dotnet/references/elastic-pools.md +234 -0
- package/bundled-skills/azure-resource-manager-sql-dotnet/references/server-management.md +192 -0
- package/bundled-skills/azure-search-documents-dotnet/SKILL.md +3 -0
- package/bundled-skills/azure-search-documents-dotnet/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-search-documents-dotnet/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/azure-search-documents-dotnet/references/semantic-search.md +241 -0
- package/bundled-skills/azure-search-documents-dotnet/references/vector-search.md +236 -0
- package/bundled-skills/azure-servicebus-py/SKILL.md +7 -0
- package/bundled-skills/azure-servicebus-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-servicebus-py/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/azure-servicebus-py/references/dead-letter.md +418 -0
- package/bundled-skills/azure-servicebus-py/references/patterns.md +405 -0
- package/bundled-skills/azure-servicebus-py/scripts/setup_servicebus.py +384 -0
- package/bundled-skills/azure-speech-to-text-rest-py/SKILL.md +3 -0
- package/bundled-skills/azure-speech-to-text-rest-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/azure-speech-to-text-rest-py/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/azure-speech-to-text-rest-py/references/pronunciation-assessment.md +276 -0
- package/bundled-skills/azure-storage-blob-rust/SKILL.md +29 -21
- package/bundled-skills/baseline-ui/SKILL.md +2 -2
- package/bundled-skills/bash-scripting/SKILL.md +10 -2
- package/bundled-skills/bazel-build-optimization/SKILL.md +0 -1
- package/bundled-skills/bdistill-behavioral-xray/SKILL.md +5 -5
- package/bundled-skills/bdistill-knowledge-extraction/SKILL.md +9 -6
- package/bundled-skills/beautiful-prose/SKILL.md +1 -2
- package/bundled-skills/bevy-ecs-expert/SKILL.md +9 -7
- package/bundled-skills/billing-automation/resources/implementation-playbook.md +56 -513
- package/bundled-skills/binary-analysis-patterns/SKILL.md +0 -1
- package/bundled-skills/biopython/SKILL.md +3 -0
- package/bundled-skills/biopython/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/biopython/UPSTREAM-NOTICE.md +17 -0
- package/bundled-skills/biopython/references/advanced.md +577 -0
- package/bundled-skills/biopython/references/alignment.md +368 -0
- package/bundled-skills/biopython/references/blast.md +455 -0
- package/bundled-skills/biopython/references/databases.md +487 -0
- package/bundled-skills/biopython/references/phylogenetics.md +566 -0
- package/bundled-skills/biopython/references/sequence_io.md +285 -0
- package/bundled-skills/biopython/references/structure.md +564 -0
- package/bundled-skills/blockchain-developer/SKILL.md +0 -1
- package/bundled-skills/blueprint/SKILL.md +6 -8
- package/bundled-skills/brain-to-docs/SKILL.md +4 -4
- package/bundled-skills/brand-growth-system-builder/SKILL.md +10 -0
- package/bundled-skills/brand-perception-psychologist/SKILL.md +15 -7
- package/bundled-skills/browser-bridge/SKILL.md +101 -0
- package/bundled-skills/build/SKILL.md +15 -10
- package/bundled-skills/build/references/detailed-guide.md +38 -14
- package/bundled-skills/burpsuite-project-parser/SKILL.md +7 -0
- package/bundled-skills/buywhere-product-catalog/SKILL.md +6 -5
- package/bundled-skills/c-pro/SKILL.md +8 -6
- package/bundled-skills/c4-architecture-c4-architecture/SKILL.md +0 -1
- package/bundled-skills/c4-code/SKILL.md +0 -1
- package/bundled-skills/c4-component/SKILL.md +0 -1
- package/bundled-skills/c4-container/SKILL.md +0 -1
- package/bundled-skills/c4-context/SKILL.md +0 -1
- package/bundled-skills/cdk-patterns/SKILL.md +7 -0
- package/bundled-skills/changelog-entry/SKILL.md +6 -4
- package/bundled-skills/check-identity-pack/SKILL.md +7 -8
- package/bundled-skills/chrome-extension-developer/SKILL.md +8 -4
- package/bundled-skills/ci-cd-and-automation/SKILL.md +15 -3
- package/bundled-skills/cirq/SKILL.md +3 -0
- package/bundled-skills/cirq/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/cirq/UPSTREAM-NOTICE.md +16 -0
- package/bundled-skills/cirq/references/building.md +307 -0
- package/bundled-skills/cirq/references/experiments.md +572 -0
- package/bundled-skills/cirq/references/hardware.md +527 -0
- package/bundled-skills/cirq/references/noise.md +514 -0
- package/bundled-skills/cirq/references/simulation.md +353 -0
- package/bundled-skills/cirq/references/transformation.md +416 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +16 -9
- package/bundled-skills/clarvia-aeo-check/SKILL.md +9 -9
- package/bundled-skills/claude-ally-health/SKILL.md +17 -6
- package/bundled-skills/claude-code-guide/SKILL.md +9 -5
- package/bundled-skills/claude-scientific-skills/SKILL.md +15 -3
- package/bundled-skills/claude-speed-reader/SKILL.md +13 -3
- package/bundled-skills/claude-win11-speckit-update-skill/SKILL.md +13 -7
- package/bundled-skills/cline-pilot/SKILL.md +10 -0
- package/bundled-skills/closed-loop-delivery/SKILL.md +7 -7
- package/bundled-skills/cloud-architect/SKILL.md +0 -1
- package/bundled-skills/cloudflare-workers-expert/SKILL.md +6 -5
- package/bundled-skills/cloudformation-best-practices/SKILL.md +4 -3
- package/bundled-skills/cmux/SKILL.md +8 -0
- package/bundled-skills/code-refactoring-context-restore/SKILL.md +1 -1
- package/bundled-skills/code-review-ai-ai-review/SKILL.md +8 -1
- package/bundled-skills/code-review-and-quality/SKILL.md +9 -0
- package/bundled-skills/code-reviewer/SKILL.md +0 -1
- package/bundled-skills/codex-review/SKILL.md +3 -2
- package/bundled-skills/commit/SKILL.md +12 -11
- package/bundled-skills/comprehensive-review-full-review/SKILL.md +0 -1
- package/bundled-skills/computer-vision-expert/SKILL.md +9 -8
- package/bundled-skills/concise-planning/SKILL.md +7 -7
- package/bundled-skills/conductor-implement/SKILL.md +0 -1
- package/bundled-skills/conductor-new-track/SKILL.md +0 -1
- package/bundled-skills/conductor-revert/SKILL.md +0 -1
- package/bundled-skills/conductor-setup/SKILL.md +42 -25
- package/bundled-skills/conductor-status/SKILL.md +0 -1
- package/bundled-skills/conductor-validator/SKILL.md +15 -19
- package/bundled-skills/constant-time-analysis/SKILL.md +3 -0
- package/bundled-skills/constant-time-analysis/UPSTREAM-LICENSE.txt +427 -0
- package/bundled-skills/constant-time-analysis/UPSTREAM-NOTICE.md +18 -0
- package/bundled-skills/constant-time-analysis/references/compiled.md +129 -0
- package/bundled-skills/constant-time-analysis/references/javascript.md +136 -0
- package/bundled-skills/constant-time-analysis/references/kotlin.md +252 -0
- package/bundled-skills/constant-time-analysis/references/php.md +172 -0
- package/bundled-skills/constant-time-analysis/references/python.md +179 -0
- package/bundled-skills/constant-time-analysis/references/ruby.md +198 -0
- package/bundled-skills/constant-time-analysis/references/swift.md +288 -0
- package/bundled-skills/constant-time-analysis/references/vm-compiled.md +354 -0
- package/bundled-skills/container-hardening/SKILL.md +23 -24
- package/bundled-skills/content-marketer/SKILL.md +0 -1
- package/bundled-skills/context-kit/SKILL.md +8 -0
- package/bundled-skills/context-management-context-restore/SKILL.md +1 -1
- package/bundled-skills/context-management-context-save/SKILL.md +0 -1
- package/bundled-skills/context-manager/SKILL.md +0 -1
- package/bundled-skills/context7-auto-research/SKILL.md +3 -3
- package/bundled-skills/copy-editing/SKILL.md +4 -0
- package/bundled-skills/copywriting-psychologist/SKILL.md +16 -8
- package/bundled-skills/cost-optimization/SKILL.md +11 -1
- package/bundled-skills/cost-optimization/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/cost-optimization/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/cost-optimization/references/tagging-standards.md +23 -0
- package/bundled-skills/cowork-to-code-bridge/SKILL.md +9 -0
- package/bundled-skills/create-issue-gate/SKILL.md +5 -5
- package/bundled-skills/create-pr/SKILL.md +2 -0
- package/bundled-skills/crossframe-suite/SKILL.md +8 -0
- package/bundled-skills/crypto-bd-agent/SKILL.md +1 -2
- package/bundled-skills/csharp-pro/SKILL.md +5 -7
- package/bundled-skills/csv-manual-export/SKILL.md +1 -2
- package/bundled-skills/customer-psychographic-profiler/SKILL.md +15 -7
- package/bundled-skills/customer-support/SKILL.md +0 -1
- package/bundled-skills/data-engineering-data-driven-feature/SKILL.md +0 -1
- package/bundled-skills/data-privacy-controls/SKILL.md +7 -8
- package/bundled-skills/database-admin/SKILL.md +0 -1
- package/bundled-skills/database-design/SKILL.md +5 -1
- package/bundled-skills/database-design/database-selection.md +1 -1
- package/bundled-skills/database-design/orm-selection.md +1 -1
- package/bundled-skills/database-design/scripts/schema_validator.py +17 -8
- package/bundled-skills/database-migration/SKILL.md +14 -1
- package/bundled-skills/database-migrations-sql-migrations/resources/implementation-playbook.md +31 -283
- package/bundled-skills/database-optimizer/SKILL.md +0 -1
- package/bundled-skills/debug-buttercup/SKILL.md +8 -0
- package/bundled-skills/debugger/SKILL.md +4 -3
- package/bundled-skills/debugging-toolkit/SKILL.md +2 -2
- package/bundled-skills/debugging-toolkit-smart-debug/SKILL.md +14 -10
- package/bundled-skills/deep-research/SKILL.md +24 -13
- package/bundled-skills/deep-research/UPSTREAM-LICENSE.txt +190 -0
- package/bundled-skills/deep-research/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/deep-research/requirements.txt +2 -0
- package/bundled-skills/deep-research/scripts/research.py +802 -0
- package/bundled-skills/defi-protocol-templates/SKILL.md +16 -1
- package/bundled-skills/defuddle/SKILL.md +9 -6
- package/bundled-skills/delegating-to-agents/SKILL.md +12 -13
- package/bundled-skills/dependency-management-deps-audit/resources/implementation-playbook.md +32 -289
- package/bundled-skills/dependency-upgrade/SKILL.md +14 -1
- package/bundled-skills/deployment-pipeline-design/SKILL.md +11 -111
- package/bundled-skills/deployment-validation-config-validate/SKILL.md +1 -1
- package/bundled-skills/deprecation-and-migration/SKILL.md +2 -2
- package/bundled-skills/design-orchestration/SKILL.md +4 -4
- package/bundled-skills/design-spells/SKILL.md +4 -4
- package/bundled-skills/detect-ai-text/SKILL.md +4 -4
- package/bundled-skills/deterministic-design/SKILL.md +5 -4
- package/bundled-skills/devcontainer-setup/SKILL.md +3 -0
- package/bundled-skills/devcontainer-setup/UPSTREAM-LICENSE.txt +427 -0
- package/bundled-skills/devcontainer-setup/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/devcontainer-setup/references/dockerfile-best-practices.md +102 -0
- package/bundled-skills/devcontainer-setup/references/features-vs-dockerfile.md +22 -0
- package/bundled-skills/diagram-generator/SKILL.md +6 -0
- package/bundled-skills/diagram-generator/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/diagram-generator/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/diagram-generator/scripts/render_diagram.py +169 -0
- package/bundled-skills/django-access-review/SKILL.md +20 -12
- package/bundled-skills/django-perf-review/SKILL.md +1 -1
- package/bundled-skills/doc-coauthoring/SKILL.md +1 -1
- package/bundled-skills/doc2math/SKILL.md +10 -9
- package/bundled-skills/docker-compose/SKILL.md +17 -11
- package/bundled-skills/docker-expert/SKILL.md +57 -53
- package/bundled-skills/docker-management/SKILL.md +17 -13
- package/bundled-skills/docs-architect/SKILL.md +0 -1
- package/bundled-skills/docs-generator/SKILL.md +7 -1
- package/bundled-skills/docs-generator/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/docs-generator/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/docs-generator/scripts/case-init.ps1 +379 -0
- package/bundled-skills/docs-generator/scripts/lib/HostRuntime.ps1 +58 -0
- package/bundled-skills/docs-generator/scripts/lib/WorkRoot.ps1 +33 -0
- package/bundled-skills/documentation/SKILL.md +5 -1
- package/bundled-skills/documentation-and-adrs/SKILL.md +7 -5
- package/bundled-skills/documentation-templates/SKILL.md +8 -6
- package/bundled-skills/dotnet-architect/SKILL.md +0 -1
- package/bundled-skills/doubt-driven-development/SKILL.md +8 -0
- package/bundled-skills/dx-optimizer/SKILL.md +8 -8
- package/bundled-skills/e2e-testing/SKILL.md +4 -0
- package/bundled-skills/eas-workflows/SKILL.md +60 -27
- package/bundled-skills/eas-workflows/agents/openai.yaml +1 -1
- package/bundled-skills/eas-workflows/scripts/fetch.js +131 -82
- package/bundled-skills/eas-workflows/scripts/package.json +4 -0
- package/bundled-skills/elixir-pro/SKILL.md +5 -7
- package/bundled-skills/emblemai-crypto-wallet/SKILL.md +7 -6
- package/bundled-skills/emotional-arc-designer/SKILL.md +16 -8
- package/bundled-skills/error-debugging-multi-agent-review/SKILL.md +1 -1
- package/bundled-skills/error-detective/SKILL.md +7 -3
- package/bundled-skills/error-diagnostics-smart-debug/SKILL.md +14 -10
- package/bundled-skills/error-handling-patterns/resources/implementation-playbook.md +21 -72
- package/bundled-skills/event-sourcing-architect/SKILL.md +4 -3
- package/bundled-skills/exa-search/SKILL.md +4 -2
- package/bundled-skills/executing-plans/SKILL.md +8 -8
- package/bundled-skills/expo-ui-jetpack-compose/SKILL.md +4 -7
- package/bundled-skills/expo-ui-swift-ui/SKILL.md +5 -8
- package/bundled-skills/fact-check-x-unified/SKILL.md +25 -15
- package/bundled-skills/fact-check-x-unified/UPSTREAM-NOTICE.md +9 -0
- package/bundled-skills/fact-check-x-unified/scripts/fact_check_x.py +10 -5
- package/bundled-skills/fact-check-x-unified/scripts/trusted_search_config.py +49 -8
- package/bundled-skills/fact-check-x-unified/tests/smoke_test.py +1 -1
- package/bundled-skills/fact-check-x-unified/tests/trusted_search_config_test.py +8 -2
- package/bundled-skills/fal-audio/SKILL.md +16 -6
- package/bundled-skills/fal-generate/SKILL.md +16 -6
- package/bundled-skills/fal-image-edit/SKILL.md +16 -6
- package/bundled-skills/fal-platform/SKILL.md +12 -4
- package/bundled-skills/fal-upscale/SKILL.md +12 -4
- package/bundled-skills/fal-workflow/SKILL.md +24 -6
- package/bundled-skills/family-health-analyzer/SKILL.md +17 -16
- package/bundled-skills/fastapi-router-py/SKILL.md +3 -0
- package/bundled-skills/fastapi-router-py/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/fastapi-router-py/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/fastapi-router-py/assets/template.py +147 -0
- package/bundled-skills/fda-food-safety-auditor/SKILL.md +9 -8
- package/bundled-skills/fda-medtech-compliance-auditor/SKILL.md +8 -8
- package/bundled-skills/ffuf-claude-skill/SKILL.md +18 -3
- package/bundled-skills/file-organizer/SKILL.md +1 -1
- package/bundled-skills/find-bugs/SKILL.md +4 -4
- package/bundled-skills/find-matching-tenders/SKILL.md +12 -11
- package/bundled-skills/firecrawl-scraper/SKILL.md +4 -2
- package/bundled-skills/firmware-analyst/SKILL.md +10 -1
- package/bundled-skills/fix-review/SKILL.md +5 -1
- package/bundled-skills/fp-either-ref/SKILL.md +10 -4
- package/bundled-skills/fp-option-ref/SKILL.md +12 -6
- package/bundled-skills/fp-pipe-ref/SKILL.md +7 -1
- package/bundled-skills/fp-taskeither-ref/SKILL.md +28 -10
- package/bundled-skills/fp-types-ref/SKILL.md +8 -2
- package/bundled-skills/framework-migration-legacy-modernize/SKILL.md +0 -1
- package/bundled-skills/free-design-resources/SKILL.md +8 -0
- package/bundled-skills/frontend-api-integration-patterns/SKILL.md +11 -8
- package/bundled-skills/frontend-data-contracts/SKILL.md +5 -1
- package/bundled-skills/frontend-mobile-development-component-scaffold/SKILL.md +1 -1
- package/bundled-skills/frontend-mobile-security-xss-scan/SKILL.md +1 -1
- package/bundled-skills/frontend-slides/SKILL.md +1 -0
- package/bundled-skills/frontend-slides-frontend-slides/SKILL.md +15 -0
- package/bundled-skills/frontend-slides-frontend-slides/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/frontend-slides-frontend-slides/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/frontend-slides-frontend-slides/scripts/export-pdf.sh +390 -0
- package/bundled-skills/frontend-slides-frontend-slides/scripts/extract-pptx.py +96 -0
- package/bundled-skills/frontend-slides-frontend-slides/scripts/lib/confined-server.mjs +113 -0
- package/bundled-skills/frontend-ui-engineering/SKILL.md +8 -0
- package/bundled-skills/full-output-enforcement/SKILL.md +20 -9
- package/bundled-skills/full-stack-orchestration-full-stack-feature/SKILL.md +0 -1
- package/bundled-skills/game-development/2d-games/SKILL.md +3 -3
- package/bundled-skills/game-development/3d-games/SKILL.md +8 -4
- package/bundled-skills/game-development/game-design/SKILL.md +8 -4
- package/bundled-skills/game-development/mobile-games/SKILL.md +10 -6
- package/bundled-skills/game-development/multiplayer/SKILL.md +9 -5
- package/bundled-skills/game-development/pc-games/SKILL.md +6 -2
- package/bundled-skills/game-development/vr-ar/SKILL.md +12 -6
- package/bundled-skills/gh-review-requests/SKILL.md +14 -42
- package/bundled-skills/gha-security-review/SKILL.md +3 -0
- package/bundled-skills/gha-security-review/UPSTREAM-LICENSE.txt +190 -0
- package/bundled-skills/gha-security-review/UPSTREAM-NOTICE.md +19 -0
- package/bundled-skills/gha-security-review/references/ai-prompt-injection-via-ci.md +181 -0
- package/bundled-skills/gha-security-review/references/comment-triggered-commands.md +195 -0
- package/bundled-skills/gha-security-review/references/credential-escalation.md +225 -0
- package/bundled-skills/gha-security-review/references/expression-injection.md +287 -0
- package/bundled-skills/gha-security-review/references/permissions-and-secrets.md +265 -0
- package/bundled-skills/gha-security-review/references/pwn-request.md +212 -0
- package/bundled-skills/gha-security-review/references/real-world-attacks.md +298 -0
- package/bundled-skills/gha-security-review/references/runner-infrastructure.md +268 -0
- package/bundled-skills/gha-security-review/references/supply-chain.md +225 -0
- package/bundled-skills/git-advanced-workflows/SKILL.md +19 -12
- package/bundled-skills/git-commit-message/SKILL.md +2 -2
- package/bundled-skills/git-pr-review/SKILL.md +6 -9
- package/bundled-skills/git-pr-workflows-onboard/SKILL.md +0 -1
- package/bundled-skills/git-pr-workflows-pr-enhance/SKILL.md +1 -1
- package/bundled-skills/github-actions/SKILL.md +20 -24
- package/bundled-skills/github-actions-debugger/SKILL.md +7 -3
- package/bundled-skills/github-issue-creator/SKILL.md +12 -12
- package/bundled-skills/gitlab-ci-patterns/SKILL.md +5 -7
- package/bundled-skills/global-chat-agent-discovery/SKILL.md +12 -7
- package/bundled-skills/gmail-automation/SKILL.md +9 -0
- package/bundled-skills/godot-4-migration/SKILL.md +12 -4
- package/bundled-skills/google-calendar-automation/SKILL.md +23 -145
- package/bundled-skills/google-docs-automation/SKILL.md +1 -1
- package/bundled-skills/google-drive-automation/SKILL.md +9 -0
- package/bundled-skills/google-sheets-automation/SKILL.md +1 -1
- package/bundled-skills/google-slides-automation/SKILL.md +1 -1
- package/bundled-skills/graphql-architect/SKILL.md +0 -1
- package/bundled-skills/grill-me/SKILL.md +3 -1
- package/bundled-skills/grill-with-docs/SKILL.md +3 -1
- package/bundled-skills/grilling/SKILL.md +1 -1
- package/bundled-skills/handoff/SKILL.md +5 -1
- package/bundled-skills/haskell-pro/SKILL.md +3 -4
- package/bundled-skills/headline-psychologist/SKILL.md +15 -7
- package/bundled-skills/hf-mem/SKILL.md +9 -1
- package/bundled-skills/hosted-agents-v2-py/SKILL.md +56 -57
- package/bundled-skills/hr-pro/SKILL.md +0 -1
- package/bundled-skills/hugging-face-jobs/SKILL.md +0 -1
- package/bundled-skills/hugging-face-tool-builder/SKILL.md +16 -2
- package/bundled-skills/hybrid-cloud-architect/SKILL.md +0 -1
- package/bundled-skills/hybrid-cloud-networking/SKILL.md +11 -1
- package/bundled-skills/hybrid-cloud-networking/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/hybrid-cloud-networking/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/hybrid-cloud-networking/references/direct-connect.md +17 -0
- package/bundled-skills/hyperexecute-skill/SKILL.md +7 -0
- package/bundled-skills/hyperexecute-skill/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/hyperexecute-skill/UPSTREAM-NOTICE.md +16 -0
- package/bundled-skills/hyperexecute-skill/scripts/build-command.js +57 -0
- package/bundled-skills/hyperexecute-skill/scripts/doctor.js +81 -0
- package/bundled-skills/hyperexecute-skill/scripts/summarize-artifacts.js +63 -0
- package/bundled-skills/hyperexecute-skill/scripts/validate-config.js +72 -0
- package/bundled-skills/iconsax-library/SKILL.md +6 -4
- package/bundled-skills/ida-reverse/SKILL.md +13 -0
- package/bundled-skills/ida-reverse/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/ida-reverse/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/ida-reverse/scripts/IdaOpenHelpers.ps1 +115 -0
- package/bundled-skills/ida-reverse/scripts/open.ps1 +378 -0
- package/bundled-skills/ida-reverse/scripts/start-gui.ps1 +105 -0
- package/bundled-skills/idea-evaluator/idea-evaluator-con/SKILL.md +4 -2
- package/bundled-skills/idea-evaluator/idea-evaluator-pro/SKILL.md +5 -3
- package/bundled-skills/identity-mirror/SKILL.md +15 -7
- package/bundled-skills/imagen/SKILL.md +15 -5
- package/bundled-skills/imagen/UPSTREAM-LICENSE.txt +190 -0
- package/bundled-skills/imagen/UPSTREAM-NOTICE.md +5 -0
- package/bundled-skills/imagen/scripts/generate_image.py +241 -0
- package/bundled-skills/implement/SKILL.md +4 -4
- package/bundled-skills/incident-response-incident-response/SKILL.md +0 -1
- package/bundled-skills/incident-response-smart-fix/SKILL.md +1 -1
- package/bundled-skills/incident-runbook-templates/SKILL.md +22 -16
- package/bundled-skills/incremental-implementation/SKILL.md +8 -0
- package/bundled-skills/infinite-gratitude/SKILL.md +6 -2
- package/bundled-skills/internal-comms/SKILL.md +1 -1
- package/bundled-skills/interview-coach/SKILL.md +7 -4
- package/bundled-skills/istio-traffic-management/SKILL.md +0 -1
- package/bundled-skills/iterate-pr/SKILL.md +9 -0
- package/bundled-skills/java-pro/SKILL.md +0 -1
- package/bundled-skills/javascript-pro/SKILL.md +1 -1
- package/bundled-skills/javascript-typescript-typescript-scaffold/SKILL.md +1 -1
- package/bundled-skills/julia-pro/SKILL.md +0 -1
- package/bundled-skills/k8s-security-policies/SKILL.md +8 -1
- package/bundled-skills/kotler-macro-analyzer/SKILL.md +4 -0
- package/bundled-skills/kotlin-coroutines-expert/SKILL.md +8 -5
- package/bundled-skills/kubernetes-deployment/SKILL.md +5 -1
- package/bundled-skills/kubernetes-hardening/SKILL.md +9 -1
- package/bundled-skills/langchain-architecture/SKILL.md +15 -1
- package/bundled-skills/legacy-modernizer/SKILL.md +4 -5
- package/bundled-skills/legal-advisor/SKILL.md +9 -6
- package/bundled-skills/lightning-architecture-review/SKILL.md +6 -6
- package/bundled-skills/lightning-channel-factories/SKILL.md +6 -6
- package/bundled-skills/lightning-factory-explainer/SKILL.md +5 -5
- package/bundled-skills/linkerd-patterns/SKILL.md +0 -1
- package/bundled-skills/linux-hardening/SKILL.md +24 -23
- package/bundled-skills/llm-application-dev-ai-assistant/SKILL.md +1 -1
- package/bundled-skills/llm-application-dev-langchain-agent/SKILL.md +0 -1
- package/bundled-skills/llm-application-dev-prompt-optimize/SKILL.md +1 -1
- package/bundled-skills/llm-evaluation/SKILL.md +50 -62
- package/bundled-skills/llm-evaluation/references/benchmarking.md +35 -0
- package/bundled-skills/logic-review/SKILL.md +8 -0
- package/bundled-skills/longbridge/SKILL.md +8 -4
- package/bundled-skills/longbridge-content/SKILL.md +3 -0
- package/bundled-skills/longbridge-content/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/longbridge-content/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/longbridge-content/references/filing.md +48 -0
- package/bundled-skills/longbridge-content/references/news.md +118 -0
- package/bundled-skills/longbridge-content/references/regulatory-kb.md +128 -0
- package/bundled-skills/longbridge-content/references/sec-filings.md +113 -0
- package/bundled-skills/longbridge-content/references/topic.md +53 -0
- package/bundled-skills/longbridge-fundamentals/SKILL.md +3 -0
- package/bundled-skills/longbridge-fundamentals/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/longbridge-fundamentals/UPSTREAM-NOTICE.md +31 -0
- package/bundled-skills/longbridge-fundamentals/references/behavioral-finance.md +108 -0
- package/bundled-skills/longbridge-fundamentals/references/business-segments.md +50 -0
- package/bundled-skills/longbridge-fundamentals/references/company.md +39 -0
- package/bundled-skills/longbridge-fundamentals/references/compare.md +49 -0
- package/bundled-skills/longbridge-fundamentals/references/corp-action.md +42 -0
- package/bundled-skills/longbridge-fundamentals/references/corporate-events.md +89 -0
- package/bundled-skills/longbridge-fundamentals/references/corporate.md +64 -0
- package/bundled-skills/longbridge-fundamentals/references/dcf.md +103 -0
- package/bundled-skills/longbridge-fundamentals/references/dividend.md +51 -0
- package/bundled-skills/longbridge-fundamentals/references/executive.md +39 -0
- package/bundled-skills/longbridge-fundamentals/references/financial-report.md +88 -0
- package/bundled-skills/longbridge-fundamentals/references/financial-statement.md +49 -0
- package/bundled-skills/longbridge-fundamentals/references/industry-valuation.md +86 -0
- package/bundled-skills/longbridge-fundamentals/references/invest-relation.md +39 -0
- package/bundled-skills/longbridge-fundamentals/references/main-business-analysis.md +654 -0
- package/bundled-skills/longbridge-fundamentals/references/operating.md +42 -0
- package/bundled-skills/longbridge-fundamentals/references/smallcap-growth.md +72 -0
- package/bundled-skills/longbridge-fundamentals/references/valuation-methodology.md +86 -0
- package/bundled-skills/longbridge-fundamentals/references/valuation-rank.md +57 -0
- package/bundled-skills/longbridge-fundamentals/references/valuation.md +86 -0
- package/bundled-skills/longbridge-fundamentals/references/value-screen.md +71 -0
- package/bundled-skills/longbridge-market-data/SKILL.md +3 -0
- package/bundled-skills/longbridge-market-data/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/longbridge-market-data/UPSTREAM-NOTICE.md +28 -0
- package/bundled-skills/longbridge-market-data/references/adr-premium.md +63 -0
- package/bundled-skills/longbridge-market-data/references/ah-premium.md +67 -0
- package/bundled-skills/longbridge-market-data/references/capital.md +48 -0
- package/bundled-skills/longbridge-market-data/references/depth.md +40 -0
- package/bundled-skills/longbridge-market-data/references/exchange-rate.md +35 -0
- package/bundled-skills/longbridge-market-data/references/fx-carry.md +59 -0
- package/bundled-skills/longbridge-market-data/references/intraday.md +47 -0
- package/bundled-skills/longbridge-market-data/references/ipo.md +48 -0
- package/bundled-skills/longbridge-market-data/references/kline.md +62 -0
- package/bundled-skills/longbridge-market-data/references/market-status.md +35 -0
- package/bundled-skills/longbridge-market-data/references/market-temp.md +53 -0
- package/bundled-skills/longbridge-market-data/references/participants.md +35 -0
- package/bundled-skills/longbridge-market-data/references/quote.md +78 -0
- package/bundled-skills/longbridge-market-data/references/security-list.md +36 -0
- package/bundled-skills/longbridge-market-data/references/subscriptions.md +23 -0
- package/bundled-skills/longbridge-market-data/references/trade-stats.md +39 -0
- package/bundled-skills/longbridge-market-data/references/trades.md +44 -0
- package/bundled-skills/longbridge-market-data/references/trading.md +40 -0
- package/bundled-skills/loss-aversion-designer/SKILL.md +15 -7
- package/bundled-skills/m365-agents-dotnet/SKILL.md +8 -0
- package/bundled-skills/m365-agents-py/SKILL.md +8 -0
- package/bundled-skills/m365-agents-ts/SKILL.md +8 -0
- package/bundled-skills/machine-learning-ops-ml-pipeline/SKILL.md +0 -1
- package/bundled-skills/macos-screen-recorder/SKILL.md +5 -1
- package/bundled-skills/magic-animator/SKILL.md +4 -2
- package/bundled-skills/magic-ui-generator/SKILL.md +7 -5
- package/bundled-skills/makepad-animation/SKILL.md +8 -0
- package/bundled-skills/makepad-basics/SKILL.md +9 -0
- package/bundled-skills/makepad-deployment/SKILL.md +18 -0
- package/bundled-skills/makepad-dsl/SKILL.md +9 -0
- package/bundled-skills/makepad-event-action/SKILL.md +9 -0
- package/bundled-skills/makepad-font/SKILL.md +8 -0
- package/bundled-skills/makepad-layout/SKILL.md +9 -0
- package/bundled-skills/makepad-platform/SKILL.md +8 -0
- package/bundled-skills/makepad-reference/SKILL.md +5 -3
- package/bundled-skills/makepad-shaders/SKILL.md +9 -0
- package/bundled-skills/makepad-skills/SKILL.md +11 -5
- package/bundled-skills/makepad-splash/SKILL.md +8 -0
- package/bundled-skills/makepad-widgets/SKILL.md +10 -0
- package/bundled-skills/manifest/SKILL.md +20 -113
- package/bundled-skills/markdown-rendering/SKILL.md +3 -3
- package/bundled-skills/market-sizing-analysis/SKILL.md +13 -24
- package/bundled-skills/market-sizing-analysis/examples/saas-market-sizing.md +20 -337
- package/bundled-skills/market-sizing-analysis/references/data-sources.md +10 -22
- package/bundled-skills/markstream-angular/SKILL.md +3 -1
- package/bundled-skills/markstream-nuxt/SKILL.md +3 -1
- package/bundled-skills/markstream-react/SKILL.md +5 -1
- package/bundled-skills/markstream-svelte/SKILL.md +3 -1
- package/bundled-skills/markstream-vue/SKILL.md +3 -1
- package/bundled-skills/markstream-vue2/SKILL.md +5 -1
- package/bundled-skills/markstream-vue2-cli/SKILL.md +5 -1
- package/bundled-skills/markstream-vue2-vite/SKILL.md +5 -1
- package/bundled-skills/matplotlib/SKILL.md +5 -0
- package/bundled-skills/matplotlib/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/matplotlib/UPSTREAM-NOTICE.md +16 -0
- package/bundled-skills/matplotlib/references/api_reference.md +412 -0
- package/bundled-skills/matplotlib/references/common_issues.md +563 -0
- package/bundled-skills/matplotlib/references/plot_types.md +476 -0
- package/bundled-skills/matplotlib/references/styling_guide.md +589 -0
- package/bundled-skills/matplotlib/scripts/plot_template.py +401 -0
- package/bundled-skills/matplotlib/scripts/style_configurator.py +412 -0
- package/bundled-skills/mcp-server-security/SKILL.md +17 -11
- package/bundled-skills/mcp-server-security/references/details.md +51 -90
- package/bundled-skills/memory-forensics/SKILL.md +0 -1
- package/bundled-skills/mermaid-expert/SKILL.md +5 -4
- package/bundled-skills/minecraft-bukkit-pro/SKILL.md +0 -1
- package/bundled-skills/mirrord/SKILL.md +5 -3
- package/bundled-skills/ml-engineer/SKILL.md +0 -1
- package/bundled-skills/ml-pipeline-workflow/SKILL.md +10 -1
- package/bundled-skills/mlops-engineer/SKILL.md +0 -1
- package/bundled-skills/mobile-security-coder/SKILL.md +0 -1
- package/bundled-skills/monopoly/SKILL.md +12 -0
- package/bundled-skills/monopoly/security-checklist/SKILL.md +9 -7
- package/bundled-skills/monorepo-architect/SKILL.md +5 -4
- package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +4 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/UPSTREAM-NOTICE.md +19 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/common-root-causes.md +79 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/data-exploration.md +149 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/etl-failure-investigation.md +67 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/field-anomaly-investigation.md +107 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/freshness-investigation.md +67 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/intake-no-incident.md +67 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/query-change-investigation.md +55 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/schema-investigation.md +48 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/references/volume-investigation.md +53 -0
- package/bundled-skills/monte-carlo-asset-health/SKILL.md +4 -0
- package/bundled-skills/monte-carlo-asset-health/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/monte-carlo-asset-health/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/monte-carlo-asset-health/references/parameters.md +111 -0
- package/bundled-skills/monte-carlo-asset-health/references/workflows.md +132 -0
- package/bundled-skills/monte-carlo-monitoring-advisor/SKILL.md +3 -0
- package/bundled-skills/monte-carlo-monitoring-advisor/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/monte-carlo-monitoring-advisor/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/monte-carlo-monitoring-advisor/references/agent-monitor-creation.md +471 -0
- package/bundled-skills/monte-carlo-monitoring-advisor/references/data-monitor-creation.md +272 -0
- package/bundled-skills/monte-carlo-performance-diagnosis/SKILL.md +3 -0
- package/bundled-skills/monte-carlo-performance-diagnosis/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/monte-carlo-performance-diagnosis/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/monte-carlo-performance-diagnosis/references/investigation-tiers.md +110 -0
- package/bundled-skills/monte-carlo-performance-diagnosis/references/query-analysis.md +50 -0
- package/bundled-skills/monte-carlo-remediation/SKILL.md +3 -0
- package/bundled-skills/monte-carlo-remediation/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/monte-carlo-remediation/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/monte-carlo-remediation/references/patterns.md +295 -0
- package/bundled-skills/monte-carlo-remediation/references/safety.md +160 -0
- package/bundled-skills/monte-carlo-remediation/references/tool-discovery.md +172 -0
- package/bundled-skills/monte-carlo-storage-cost-analysis/SKILL.md +3 -0
- package/bundled-skills/monte-carlo-storage-cost-analysis/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/monte-carlo-storage-cost-analysis/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/monte-carlo-storage-cost-analysis/references/output-structure.md +93 -0
- package/bundled-skills/mtls-configuration/SKILL.md +0 -1
- package/bundled-skills/multi-cloud-architecture/SKILL.md +3 -1
- package/bundled-skills/multi-cloud-architecture/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/multi-cloud-architecture/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/multi-cloud-architecture/references/multi-cloud-patterns.md +26 -0
- package/bundled-skills/multi-cloud-architecture/references/service-comparison.md +35 -0
- package/bundled-skills/nanobanana-ppt-skills/SKILL.md +13 -4
- package/bundled-skills/native-data-fetching/references/detailed-guide.md +42 -23
- package/bundled-skills/native-data-fetching/references/expo-router-loaders.md +36 -29
- package/bundled-skills/nerdzao-elite/SKILL.md +9 -5
- package/bundled-skills/nerdzao-elite-gemini-high/SKILL.md +7 -3
- package/bundled-skills/network-engineer/SKILL.md +0 -1
- package/bundled-skills/networkx/SKILL.md +3 -0
- package/bundled-skills/networkx/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/networkx/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/networkx/references/algorithms.md +383 -0
- package/bundled-skills/networkx/references/generators.md +378 -0
- package/bundled-skills/networkx/references/graph-basics.md +283 -0
- package/bundled-skills/networkx/references/io.md +441 -0
- package/bundled-skills/networkx/references/visualization.md +529 -0
- package/bundled-skills/new-rails-project/SKILL.md +4 -2
- package/bundled-skills/news-sentiment-engine/SKILL.md +13 -28
- package/bundled-skills/nft-standards/SKILL.md +15 -1
- package/bundled-skills/nsfw-ai-spicyapi/SKILL.md +8 -0
- package/bundled-skills/nx-workspace-patterns/SKILL.md +0 -1
- package/bundled-skills/objection-preemptor/SKILL.md +15 -7
- package/bundled-skills/observability-monitoring-monitor-setup/SKILL.md +1 -1
- package/bundled-skills/obsidian-cli/SKILL.md +4 -2
- package/bundled-skills/odoo-module-developer/SKILL.md +4 -1
- package/bundled-skills/odoo-orm-expert/SKILL.md +4 -2
- package/bundled-skills/odw/SKILL.md +8 -0
- package/bundled-skills/offensive-osint/SKILL.md +76 -70
- package/bundled-skills/offensive-osint/UPSTREAM-LICENSE.txt +395 -0
- package/bundled-skills/offensive-osint/UPSTREAM-NOTICE.md +26 -0
- package/bundled-skills/offensive-osint/references/breach-and-credentials.md +130 -0
- package/bundled-skills/offensive-osint/references/dork-corpus.md +182 -0
- package/bundled-skills/offensive-osint/references/helpers-and-automation.md +266 -0
- package/bundled-skills/offensive-osint/references/identity-fabric.md +309 -0
- package/bundled-skills/offensive-osint/references/people-osint.md +107 -0
- package/bundled-skills/offensive-osint/references/probes-and-wordlists.md +1269 -0
- package/bundled-skills/offensive-osint/references/recon-stack.md +284 -0
- package/bundled-skills/offensive-osint/references/recon-techniques.md +343 -0
- package/bundled-skills/offensive-osint/references/saas-public-surfaces.md +140 -0
- package/bundled-skills/offensive-osint/references/secret-patterns.md +71 -0
- package/bundled-skills/offensive-osint/references/secret-validators.md +334 -0
- package/bundled-skills/offensive-osint/references/sector-notes.md +74 -0
- package/bundled-skills/offensive-osint/references/severity-matrix.md +112 -0
- package/bundled-skills/offensive-osint/references/specialized-osint.md +204 -0
- package/bundled-skills/offensive-osint/references/tooling-install.md +190 -0
- package/bundled-skills/offers/SKILL.md +1 -1
- package/bundled-skills/omp-delegate/SKILL.md +5 -1
- package/bundled-skills/omp-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/omp-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/omp-delegate/scripts/relay.mjs +823 -0
- package/bundled-skills/on-call-handoff-patterns/SKILL.md +2 -2
- package/bundled-skills/onboarding/SKILL.md +1 -1
- package/bundled-skills/onboarding-cro/SKILL.md +1 -1
- package/bundled-skills/open-source-marketing/SKILL.md +1 -1
- package/bundled-skills/opencode-delegate/SKILL.md +5 -1
- package/bundled-skills/opencode-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/opencode-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/opencode-delegate/scripts/relay.mjs +781 -0
- package/bundled-skills/page-cro/SKILL.md +14 -110
- package/bundled-skills/payment-integration/SKILL.md +0 -1
- package/bundled-skills/paypal-integration/SKILL.md +3 -1
- package/bundled-skills/pentest-tools/src-hunter/SKILL.md +8 -0
- package/bundled-skills/performance-engineer/SKILL.md +1 -1
- package/bundled-skills/performance-optimization/SKILL.md +8 -0
- package/bundled-skills/performance-testing-review-ai-review/SKILL.md +8 -1
- package/bundled-skills/performance-testing-review-multi-agent-review/SKILL.md +1 -1
- package/bundled-skills/php-pro/SKILL.md +0 -1
- package/bundled-skills/pi-delegate/SKILL.md +5 -1
- package/bundled-skills/pi-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/pi-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/pi-delegate/scripts/relay.mjs +822 -0
- package/bundled-skills/pitch-psychologist/SKILL.md +18 -10
- package/bundled-skills/planning-and-task-breakdown/SKILL.md +8 -0
- package/bundled-skills/playwright-java/SKILL.md +14 -0
- package/bundled-skills/podcast-generation/SKILL.md +3 -0
- package/bundled-skills/podcast-generation/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/podcast-generation/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/podcast-generation/references/architecture.md +87 -0
- package/bundled-skills/podcast-generation/references/code-examples.md +189 -0
- package/bundled-skills/podcast-generation/scripts/pcm_to_wav.py +73 -0
- package/bundled-skills/polars/SKILL.md +3 -0
- package/bundled-skills/polars/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/polars/UPSTREAM-NOTICE.md +16 -0
- package/bundled-skills/polars/references/best_practices.md +649 -0
- package/bundled-skills/polars/references/core_concepts.md +378 -0
- package/bundled-skills/polars/references/io_guide.md +557 -0
- package/bundled-skills/polars/references/operations.md +602 -0
- package/bundled-skills/polars/references/pandas_migration.md +417 -0
- package/bundled-skills/polars/references/transformations.md +549 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/SKILL.md +3 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/UPSTREAM-NOTICE.md +18 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/references/amendments.md +146 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/references/protocol-spec.md +506 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/references/routing.md +227 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/references/templates.md +438 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/references/troubleshooting.md +216 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/scripts/init_polis.py +559 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/scripts/route_contract.py +19 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/templates/POLIS_CONSTITUTION.md +293 -0
- package/bundled-skills/posix-shell-pro/SKILL.md +0 -1
- package/bundled-skills/power-user-cultivation/SKILL.md +1 -1
- package/bundled-skills/presentation-deck/SKILL.md +4 -4
- package/bundled-skills/presentation-deck/references/related-skills.md +1 -1
- package/bundled-skills/price-psychology-strategist/SKILL.md +16 -8
- package/bundled-skills/pricing/SKILL.md +1 -1
- package/bundled-skills/product-marketing/SKILL.md +1 -1
- package/bundled-skills/prometheus-configuration/SKILL.md +11 -1
- package/bundled-skills/prompt-engineering-patterns/SKILL.md +0 -1
- package/bundled-skills/public-relations/SKILL.md +1 -1
- package/bundled-skills/pubmed-database/SKILL.md +10 -0
- package/bundled-skills/pypict-skill/SKILL.md +18 -5
- package/bundled-skills/python-testing-patterns/resources/implementation-playbook.md +7 -2
- package/bundled-skills/qiskit/SKILL.md +3 -0
- package/bundled-skills/qiskit/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/qiskit/UPSTREAM-NOTICE.md +18 -0
- package/bundled-skills/qiskit/references/algorithms.md +607 -0
- package/bundled-skills/qiskit/references/backends.md +433 -0
- package/bundled-skills/qiskit/references/circuits.md +197 -0
- package/bundled-skills/qiskit/references/patterns.md +533 -0
- package/bundled-skills/qiskit/references/primitives.md +277 -0
- package/bundled-skills/qiskit/references/setup.md +99 -0
- package/bundled-skills/qiskit/references/transpilation.md +286 -0
- package/bundled-skills/qiskit/references/visualization.md +415 -0
- package/bundled-skills/qoder-delegate/SKILL.md +5 -1
- package/bundled-skills/qoder-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/qoder-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/qoder-delegate/scripts/relay.mjs +698 -0
- package/bundled-skills/quant-analyst/SKILL.md +0 -1
- package/bundled-skills/radare2/SKILL.md +9 -0
- package/bundled-skills/react-flow-node-ts/SKILL.md +3 -0
- package/bundled-skills/react-flow-node-ts/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/react-flow-node-ts/UPSTREAM-NOTICE.md +12 -0
- package/bundled-skills/react-flow-node-ts/assets/template.tsx +108 -0
- package/bundled-skills/react-flow-node-ts/assets/types.template.ts +34 -0
- package/bundled-skills/react-state-management/SKILL.md +0 -1
- package/bundled-skills/read-all-adrs/SKILL.md +3 -4
- package/bundled-skills/recsys-pipeline-architect/SKILL.md +8 -0
- package/bundled-skills/reference-builder/SKILL.md +0 -1
- package/bundled-skills/risk-manager/SKILL.md +0 -1
- package/bundled-skills/robius-app-architecture/SKILL.md +10 -0
- package/bundled-skills/robius-event-action/SKILL.md +10 -0
- package/bundled-skills/robius-matrix-integration/SKILL.md +10 -0
- package/bundled-skills/robius-state-management/SKILL.md +10 -0
- package/bundled-skills/robius-widget-patterns/SKILL.md +10 -0
- package/bundled-skills/ruby-pro/SKILL.md +0 -1
- package/bundled-skills/scala-pro/SKILL.md +0 -1
- package/bundled-skills/scanpy/SKILL.md +3 -0
- package/bundled-skills/scanpy/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/scanpy/UPSTREAM-NOTICE.md +15 -0
- package/bundled-skills/scanpy/assets/analysis_template.py +295 -0
- package/bundled-skills/scanpy/references/api_reference.md +251 -0
- package/bundled-skills/scanpy/references/plotting_guide.md +352 -0
- package/bundled-skills/scanpy/references/standard_workflow.md +206 -0
- package/bundled-skills/scanpy/scripts/qc_analysis.py +200 -0
- package/bundled-skills/scarcity-urgency-psychologist/SKILL.md +15 -7
- package/bundled-skills/score-eval/SKILL.md +29 -18
- package/bundled-skills/search-specialist/SKILL.md +0 -1
- package/bundled-skills/security-bluebook-builder/SKILL.md +9 -1
- package/bundled-skills/security-compliance-compliance-check/resources/implementation-playbook.md +46 -177
- package/bundled-skills/security-requirement-extraction/resources/implementation-playbook.md +8 -6
- package/bundled-skills/senior-fullstack/SKILL.md +24 -200
- package/bundled-skills/senior-fullstack/references/architecture_patterns.md +4 -100
- package/bundled-skills/senior-fullstack/references/development_workflows.md +4 -100
- package/bundled-skills/senior-fullstack/references/tech_stack_guide.md +4 -100
- package/bundled-skills/senior-fullstack/scripts/code_quality_analyzer.py +5 -13
- package/bundled-skills/senior-fullstack/scripts/fullstack_scaffolder.py +5 -13
- package/bundled-skills/senior-fullstack/scripts/project_scaffolder.py +5 -13
- package/bundled-skills/seo-authority-builder/SKILL.md +0 -1
- package/bundled-skills/seo-cannibalization-detector/SKILL.md +6 -2
- package/bundled-skills/seo-content/SKILL.md +8 -0
- package/bundled-skills/seo-content-auditor/SKILL.md +3 -1
- package/bundled-skills/seo-directory-backlinks/SKILL.md +8 -0
- package/bundled-skills/seo-image-gen/SKILL.md +14 -0
- package/bundled-skills/seo-keyword-strategist/SKILL.md +0 -1
- package/bundled-skills/seo-meta-optimizer/SKILL.md +0 -1
- package/bundled-skills/seo-schema/SKILL.md +8 -0
- package/bundled-skills/seo-snippet-hunter/SKILL.md +0 -1
- package/bundled-skills/seo-structure-architect/SKILL.md +6 -2
- package/bundled-skills/sequence-psychologist/SKILL.md +15 -7
- package/bundled-skills/service-mesh-expert/SKILL.md +0 -1
- package/bundled-skills/service-mesh-observability/SKILL.md +0 -1
- package/bundled-skills/sharp-edges/SKILL.md +3 -0
- package/bundled-skills/sharp-edges/UPSTREAM-LICENSE.txt +427 -0
- package/bundled-skills/sharp-edges/UPSTREAM-NOTICE.md +26 -0
- package/bundled-skills/sharp-edges/references/auth-patterns.md +252 -0
- package/bundled-skills/sharp-edges/references/case-studies.md +274 -0
- package/bundled-skills/sharp-edges/references/config-patterns.md +333 -0
- package/bundled-skills/sharp-edges/references/crypto-apis.md +190 -0
- package/bundled-skills/sharp-edges/references/lang-c.md +205 -0
- package/bundled-skills/sharp-edges/references/lang-csharp.md +285 -0
- package/bundled-skills/sharp-edges/references/lang-go.md +270 -0
- package/bundled-skills/sharp-edges/references/lang-java.md +263 -0
- package/bundled-skills/sharp-edges/references/lang-javascript.md +269 -0
- package/bundled-skills/sharp-edges/references/lang-kotlin.md +265 -0
- package/bundled-skills/sharp-edges/references/lang-php.md +245 -0
- package/bundled-skills/sharp-edges/references/lang-python.md +274 -0
- package/bundled-skills/sharp-edges/references/lang-ruby.md +273 -0
- package/bundled-skills/sharp-edges/references/lang-rust.md +272 -0
- package/bundled-skills/sharp-edges/references/lang-swift.md +287 -0
- package/bundled-skills/sharp-edges/references/language-specific.md +588 -0
- package/bundled-skills/shellcheck-configuration/SKILL.md +0 -1
- package/bundled-skills/shipping-and-launch/SKILL.md +11 -0
- package/bundled-skills/skill-scanner/SKILL.md +23 -14
- package/bundled-skills/skill-scanner/UPSTREAM-LICENSE.txt +190 -0
- package/bundled-skills/skill-scanner/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/skill-scanner/references/dangerous-code-patterns.md +194 -0
- package/bundled-skills/skill-scanner/references/permission-analysis.md +93 -0
- package/bundled-skills/skill-scanner/references/prompt-injection-patterns.md +157 -0
- package/bundled-skills/skill-scanner/scripts/scan_skill.py +800 -0
- package/bundled-skills/skill-seekers/SKILL.md +16 -20
- package/bundled-skills/slideops/SKILL.md +3 -0
- package/bundled-skills/slideops/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/slideops/UPSTREAM-NOTICE.md +16 -0
- package/bundled-skills/slideops/assets/template.html +536 -0
- package/bundled-skills/slideops/references/automation.md +185 -0
- package/bundled-skills/slideops/references/diagrams.md +92 -0
- package/bundled-skills/slideops/references/verification.md +124 -0
- package/bundled-skills/slideops/scripts/check.py +501 -0
- package/bundled-skills/slideops/scripts/cite.py +143 -0
- package/bundled-skills/social-proof-architect/SKILL.md +16 -8
- package/bundled-skills/spark-optimization/SKILL.md +0 -1
- package/bundled-skills/speckit-updater/SKILL.md +7 -0
- package/bundled-skills/speed/SKILL.md +16 -14
- package/bundled-skills/sred-project-organizer/SKILL.md +7 -0
- package/bundled-skills/startup-analyst/SKILL.md +0 -1
- package/bundled-skills/startup-business-analyst-business-case/SKILL.md +0 -1
- package/bundled-skills/startup-business-analyst-financial-projections/SKILL.md +0 -1
- package/bundled-skills/startup-business-analyst-market-opportunity/SKILL.md +0 -1
- package/bundled-skills/startup-financial-modeling/SKILL.md +16 -25
- package/bundled-skills/subject-line-psychologist/SKILL.md +15 -7
- package/bundled-skills/superpowers-lab/SKILL.md +15 -20
- package/bundled-skills/supply-chain-security/SKILL.md +6 -14
- package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +3 -39
- package/bundled-skills/swiftui-ui-patterns/SKILL.md +4 -0
- package/bundled-skills/swiftui-ui-patterns/references/async-state.md +14 -8
- package/bundled-skills/swiftui-ui-patterns/references/controls.md +1 -1
- package/bundled-skills/swiftui-ui-patterns/references/form.md +22 -4
- package/bundled-skills/swiftui-ui-patterns/references/lightweight-clients.md +3 -3
- package/bundled-skills/swiftui-ui-patterns/references/list.md +2 -2
- package/bundled-skills/swiftui-ui-patterns/references/matched-transitions.md +3 -1
- package/bundled-skills/swiftui-ui-patterns/references/media.md +3 -0
- package/bundled-skills/swiftui-ui-patterns/references/overlay.md +8 -3
- package/bundled-skills/swiftui-ui-patterns/references/performance.md +2 -5
- package/bundled-skills/swiftui-ui-patterns/references/scroll-reveal.md +3 -1
- package/bundled-skills/swiftui-ui-patterns/references/searchable.md +23 -7
- package/bundled-skills/swiftui-ui-patterns/references/sheets.md +16 -10
- package/bundled-skills/swiftui-ui-patterns/references/split-views.md +4 -1
- package/bundled-skills/systematic-debugging/condition-based-waiting-example.ts +30 -144
- package/bundled-skills/systematic-debugging/condition-based-waiting.md +1 -1
- package/bundled-skills/tdd-orchestrator/SKILL.md +0 -1
- package/bundled-skills/team-composition-analysis/SKILL.md +9 -1
- package/bundled-skills/technical-tutorials/SKILL.md +1 -1
- package/bundled-skills/temporal-python-pro/SKILL.md +0 -1
- package/bundled-skills/temporal-python-testing/SKILL.md +0 -1
- package/bundled-skills/terraform-module-library/SKILL.md +11 -1
- package/bundled-skills/test-automator/SKILL.md +0 -1
- package/bundled-skills/testing-patterns/SKILL.md +6 -6
- package/bundled-skills/trust-calibrator/SKILL.md +15 -7
- package/bundled-skills/tune-monitor/SKILL.md +3 -0
- package/bundled-skills/tune-monitor/UPSTREAM-LICENSE.txt +201 -0
- package/bundled-skills/tune-monitor/UPSTREAM-NOTICE.md +14 -0
- package/bundled-skills/tune-monitor/references/custom-sql-monitor.md +112 -0
- package/bundled-skills/tune-monitor/references/metric-monitor.md +118 -0
- package/bundled-skills/tune-monitor/references/table-monitor.md +138 -0
- package/bundled-skills/tune-monitor/references/validation-monitor.md +132 -0
- package/bundled-skills/turborepo-caching/SKILL.md +0 -1
- package/bundled-skills/tutorial-engineer/SKILL.md +0 -1
- package/bundled-skills/typescript-expert/SKILL.md +10 -8
- package/bundled-skills/typescript-expert/scripts/ts_diagnostic.py +48 -15
- package/bundled-skills/ui-ux-designer/SKILL.md +0 -1
- package/bundled-skills/ui-visual-validator/SKILL.md +0 -1
- package/bundled-skills/uniprot-database/SKILL.md +8 -0
- package/bundled-skills/unity-developer/SKILL.md +0 -1
- package/bundled-skills/usage-based-pricing/SKILL.md +1 -1
- package/bundled-skills/using-agent-skills/SKILL.md +4 -1
- package/bundled-skills/using-agent-skills/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/using-agent-skills/UPSTREAM-NOTICE.md +11 -0
- package/bundled-skills/using-agent-skills/references/definition-of-done.md +67 -0
- package/bundled-skills/using-neon/SKILL.md +21 -0
- package/bundled-skills/ux-persuasion-engineer/SKILL.md +15 -7
- package/bundled-skills/variant-analysis/SKILL.md +10 -0
- package/bundled-skills/vexor-cli/SKILL.md +8 -0
- package/bundled-skills/vibe-delegate/SKILL.md +5 -1
- package/bundled-skills/vibe-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/vibe-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/vibe-delegate/scripts/relay.mjs +773 -0
- package/bundled-skills/video-content-extractor/SKILL.md +8 -0
- package/bundled-skills/visual-emotion-engineer/SKILL.md +16 -8
- package/bundled-skills/warp-delegate/SKILL.md +5 -1
- package/bundled-skills/warp-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/warp-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/warp-delegate/scripts/relay.mjs +837 -0
- package/bundled-skills/wcag-audit-patterns/resources/implementation-playbook.md +14 -33
- package/bundled-skills/web-performance-optimization/SKILL.md +15 -15
- package/bundled-skills/web-performance-optimization/references/detailed-guide.md +12 -7
- package/bundled-skills/web3-testing/SKILL.md +16 -1
- package/bundled-skills/workflow-orchestration-patterns/SKILL.md +1 -2
- package/bundled-skills/zcode-delegate/SKILL.md +11 -3
- package/bundled-skills/zcode-delegate/UPSTREAM-LICENSE.txt +21 -0
- package/bundled-skills/zcode-delegate/UPSTREAM-NOTICE.md +13 -0
- package/bundled-skills/zcode-delegate/references/dispatch-and-poll.md +4 -4
- package/bundled-skills/zcode-delegate/scripts/relay.mjs +1043 -0
- package/package.json +1 -1
- package/skills_index.json +168 -154
- package/bundled-skills/api-security-testing/SKILL.md +0 -176
|
@@ -0,0 +1,802 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Gemini Deep Research Skill - Execute autonomous multi-step research tasks.
|
|
4
|
+
|
|
5
|
+
Uses Google's Deep Research Agent for comprehensive, cited research reports.
|
|
6
|
+
AAS adaptation: explicit private cache, bounded inputs/streaming, current Interactions schema, no automatic credential loading. See UPSTREAM-NOTICE.md.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import argparse
|
|
10
|
+
import asyncio
|
|
11
|
+
import json
|
|
12
|
+
import os
|
|
13
|
+
import re
|
|
14
|
+
import sys
|
|
15
|
+
import stat
|
|
16
|
+
import tempfile
|
|
17
|
+
from urllib.parse import quote
|
|
18
|
+
from datetime import datetime, timezone
|
|
19
|
+
from pathlib import Path
|
|
20
|
+
from typing import Any, AsyncIterator, Callable, Dict, List, Optional
|
|
21
|
+
|
|
22
|
+
try:
|
|
23
|
+
import httpx
|
|
24
|
+
except ImportError:
|
|
25
|
+
httpx = None # --help and local history do not require a network client
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class DeepResearchError(Exception):
|
|
30
|
+
"""Custom exception for Deep Research API errors."""
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def checked_interaction_id(value):
|
|
35
|
+
if not isinstance(value, str) or not re.fullmatch(r"[A-Za-z0-9_-]{1,256}", value):
|
|
36
|
+
raise DeepResearchError("Invalid or missing interaction ID")
|
|
37
|
+
return value
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def extract_report_text(data):
|
|
41
|
+
"""Read the final model-output step, with an explicit legacy outputs fallback."""
|
|
42
|
+
if not isinstance(data, dict):
|
|
43
|
+
raise DeepResearchError("Provider response is not an interaction object")
|
|
44
|
+
steps = data.get("steps") or []
|
|
45
|
+
if not isinstance(steps, list):
|
|
46
|
+
raise DeepResearchError("Malformed interaction steps")
|
|
47
|
+
output_steps = [step for step in steps if isinstance(step, dict) and step.get("type") == "model_output"]
|
|
48
|
+
if output_steps:
|
|
49
|
+
content = output_steps[-1].get("content") or []
|
|
50
|
+
if not isinstance(content, list):
|
|
51
|
+
raise DeepResearchError("Malformed model output content")
|
|
52
|
+
return "\n".join(part["text"] for part in content if isinstance(part, dict) and part.get("type") == "text" and isinstance(part.get("text"), str))
|
|
53
|
+
outputs = data.get("outputs") or []
|
|
54
|
+
if not isinstance(outputs, list):
|
|
55
|
+
raise DeepResearchError("Malformed legacy outputs")
|
|
56
|
+
return "\n".join(part["text"] for part in outputs if isinstance(part, dict) and isinstance(part.get("text"), str))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class HistoryManager:
|
|
60
|
+
"""Manage local research history cache."""
|
|
61
|
+
|
|
62
|
+
def __init__(self, cache_dir: Optional[str] = None):
|
|
63
|
+
selected = cache_dir or os.getenv("DEEP_RESEARCH_CACHE_DIR")
|
|
64
|
+
if not selected or not Path(selected).expanduser().is_absolute():
|
|
65
|
+
raise DeepResearchError("Set DEEP_RESEARCH_CACHE_DIR to an explicit private absolute directory")
|
|
66
|
+
self.cache_dir = Path(selected).expanduser()
|
|
67
|
+
self.history_file = self.cache_dir / "history.json"
|
|
68
|
+
self._ensure_cache_dir()
|
|
69
|
+
|
|
70
|
+
def _ensure_cache_dir(self):
|
|
71
|
+
"""Create cache directory if it doesn't exist."""
|
|
72
|
+
if self.cache_dir.is_symlink():
|
|
73
|
+
raise DeepResearchError("Linked cache directory rejected")
|
|
74
|
+
self.cache_dir.mkdir(parents=True, exist_ok=True, mode=0o700)
|
|
75
|
+
if os.name != "nt" and self.cache_dir.stat().st_mode & 0o077:
|
|
76
|
+
raise DeepResearchError("Cache directory permissions must be owner-only")
|
|
77
|
+
|
|
78
|
+
def _load_history(self) -> Dict:
|
|
79
|
+
"""Load history from file."""
|
|
80
|
+
if not self.history_file.exists() and not self.history_file.is_symlink():
|
|
81
|
+
return {"interactions": []}
|
|
82
|
+
try:
|
|
83
|
+
fd = os.open(self.history_file, os.O_RDONLY | getattr(os, "O_NOFOLLOW", 0) | getattr(os, "O_NONBLOCK", 0))
|
|
84
|
+
try:
|
|
85
|
+
info = os.fstat(fd)
|
|
86
|
+
if self.history_file.is_symlink() or not stat.S_ISREG(info.st_mode) or (os.name != "nt" and info.st_mode & 0o077):
|
|
87
|
+
raise DeepResearchError("History must be a private regular file")
|
|
88
|
+
with os.fdopen(fd, "rb", closefd=False) as handle:
|
|
89
|
+
data = handle.read(512 * 1024 + 1)
|
|
90
|
+
finally:
|
|
91
|
+
os.close(fd)
|
|
92
|
+
if len(data) > 512 * 1024:
|
|
93
|
+
raise DeepResearchError("History exceeds byte limit")
|
|
94
|
+
value = json.loads(data)
|
|
95
|
+
rows = value.get("interactions") if isinstance(value, dict) else None
|
|
96
|
+
if not isinstance(rows, list) or len(rows) > 50 or any(not isinstance(row, dict) or not isinstance(row.get("id"), str) for row in rows):
|
|
97
|
+
raise DeepResearchError("Malformed research history; preserve and review it")
|
|
98
|
+
for row in rows:
|
|
99
|
+
checked_interaction_id(row["id"])
|
|
100
|
+
row["query"] = "[not stored]" # do not display legacy private query strings
|
|
101
|
+
return value
|
|
102
|
+
except (OSError, ValueError) as error:
|
|
103
|
+
raise DeepResearchError("History unreadable or malformed; not silently discarded") from error
|
|
104
|
+
|
|
105
|
+
def _save_history(self, history: Dict):
|
|
106
|
+
"""Atomically store bounded private history, without raw query text."""
|
|
107
|
+
if self.history_file.is_symlink():
|
|
108
|
+
raise DeepResearchError("Linked history file rejected")
|
|
109
|
+
payload = json.dumps(history, indent=2)
|
|
110
|
+
if len(payload.encode("utf-8")) > 512 * 1024:
|
|
111
|
+
raise DeepResearchError("History exceeds byte limit")
|
|
112
|
+
temporary = None
|
|
113
|
+
try:
|
|
114
|
+
with tempfile.NamedTemporaryFile("w", encoding="utf-8", dir=self.cache_dir, delete=False) as handle:
|
|
115
|
+
temporary = handle.name
|
|
116
|
+
handle.write(payload)
|
|
117
|
+
handle.write("\n")
|
|
118
|
+
os.replace(temporary, self.history_file)
|
|
119
|
+
finally:
|
|
120
|
+
if temporary and os.path.exists(temporary):
|
|
121
|
+
os.unlink(temporary)
|
|
122
|
+
|
|
123
|
+
def add_interaction(self, interaction_id: str, query: str, status: str = "started"):
|
|
124
|
+
"""Add or update an interaction in history."""
|
|
125
|
+
history = self._load_history()
|
|
126
|
+
|
|
127
|
+
# Check if interaction already exists
|
|
128
|
+
for item in history["interactions"]:
|
|
129
|
+
if item["id"] == interaction_id:
|
|
130
|
+
item["status"] = status
|
|
131
|
+
item["updated_at"] = datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")
|
|
132
|
+
self._save_history(history)
|
|
133
|
+
return
|
|
134
|
+
|
|
135
|
+
# Add new interaction
|
|
136
|
+
history["interactions"].insert(0, {
|
|
137
|
+
"id": interaction_id,
|
|
138
|
+
"query": "[not stored]",
|
|
139
|
+
"started_at": datetime.now(timezone.utc).isoformat().replace("+00:00", "Z"),
|
|
140
|
+
"status": status
|
|
141
|
+
})
|
|
142
|
+
|
|
143
|
+
# Keep only last 50 interactions
|
|
144
|
+
history["interactions"] = history["interactions"][:50]
|
|
145
|
+
self._save_history(history)
|
|
146
|
+
|
|
147
|
+
def update_status(self, interaction_id: str, status: str):
|
|
148
|
+
"""Update the status of an interaction."""
|
|
149
|
+
history = self._load_history()
|
|
150
|
+
for item in history["interactions"]:
|
|
151
|
+
if item["id"] == interaction_id:
|
|
152
|
+
item["status"] = status
|
|
153
|
+
item["updated_at"] = datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")
|
|
154
|
+
if status == "completed":
|
|
155
|
+
item["completed_at"] = datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")
|
|
156
|
+
break
|
|
157
|
+
self._save_history(history)
|
|
158
|
+
|
|
159
|
+
def get_recent(self, limit: int = 10) -> List[Dict]:
|
|
160
|
+
"""Get recent interactions."""
|
|
161
|
+
history = self._load_history()
|
|
162
|
+
if not 1 <= limit <= 50:
|
|
163
|
+
raise DeepResearchError("History limit must be 1..50")
|
|
164
|
+
return history["interactions"][:limit]
|
|
165
|
+
|
|
166
|
+
def get_interaction(self, interaction_id: str) -> Optional[Dict]:
|
|
167
|
+
"""Get a specific interaction by ID."""
|
|
168
|
+
history = self._load_history()
|
|
169
|
+
for item in history["interactions"]:
|
|
170
|
+
if item["id"] == interaction_id:
|
|
171
|
+
return item
|
|
172
|
+
return None
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class DeepResearchClient:
|
|
176
|
+
"""Client for Gemini Deep Research API."""
|
|
177
|
+
|
|
178
|
+
BASE_URL = "https://generativelanguage.googleapis.com/v1beta/interactions"
|
|
179
|
+
AGENT = "deep-research-preview-04-2026"
|
|
180
|
+
|
|
181
|
+
def __init__(self, api_key: Optional[str] = None):
|
|
182
|
+
self.api_key = api_key or os.getenv("GEMINI_API_KEY")
|
|
183
|
+
if not self.api_key:
|
|
184
|
+
raise DeepResearchError(
|
|
185
|
+
"GEMINI_API_KEY not set. Set it in .env or environment variables."
|
|
186
|
+
)
|
|
187
|
+
self._client = None
|
|
188
|
+
self.timeout = int(os.getenv("DEEP_RESEARCH_TIMEOUT", "600"))
|
|
189
|
+
self.poll_interval = int(os.getenv("DEEP_RESEARCH_POLL_INTERVAL", "10"))
|
|
190
|
+
if not 1 <= self.timeout <= 3600 or not 1 <= self.poll_interval <= 60:
|
|
191
|
+
raise DeepResearchError("Timeout must be 1..3600 seconds and polling 1..60 seconds")
|
|
192
|
+
self.history = HistoryManager()
|
|
193
|
+
self.history._load_history() # validate local state before any paid job is submitted
|
|
194
|
+
|
|
195
|
+
async def _get_client(self):
|
|
196
|
+
"""Get or create the HTTP client."""
|
|
197
|
+
if httpx is None:
|
|
198
|
+
raise DeepResearchError("Install the reviewed httpx dependency before network use")
|
|
199
|
+
if self._client is None or self._client.is_closed:
|
|
200
|
+
self._client = httpx.AsyncClient(timeout=60.0, follow_redirects=False)
|
|
201
|
+
return self._client
|
|
202
|
+
|
|
203
|
+
async def close(self):
|
|
204
|
+
"""Close the HTTP client."""
|
|
205
|
+
if self._client and not self._client.is_closed:
|
|
206
|
+
await self._client.aclose()
|
|
207
|
+
|
|
208
|
+
def _build_prompt(self, query: str, format_spec: Optional[str] = None) -> str:
|
|
209
|
+
"""Build the research prompt with optional format specification."""
|
|
210
|
+
if not isinstance(query, str) or not query.strip() or len(query.encode("utf-8")) > 32 * 1024:
|
|
211
|
+
raise DeepResearchError("Query must be nonempty and at most 32KiB")
|
|
212
|
+
if format_spec and len(format_spec.encode("utf-8")) > 8 * 1024:
|
|
213
|
+
raise DeepResearchError("Format specification exceeds 8KiB")
|
|
214
|
+
prompt = query
|
|
215
|
+
|
|
216
|
+
if format_spec:
|
|
217
|
+
prompt += f"\n\nFormat the output with the following structure:\n{format_spec}"
|
|
218
|
+
|
|
219
|
+
return prompt
|
|
220
|
+
|
|
221
|
+
async def start_research(
|
|
222
|
+
self,
|
|
223
|
+
query: str,
|
|
224
|
+
format_spec: Optional[str] = None,
|
|
225
|
+
previous_interaction_id: Optional[str] = None
|
|
226
|
+
) -> str:
|
|
227
|
+
"""
|
|
228
|
+
Start a research task.
|
|
229
|
+
|
|
230
|
+
Args:
|
|
231
|
+
query: The research query
|
|
232
|
+
format_spec: Optional output format specification
|
|
233
|
+
previous_interaction_id: Optional ID to continue from previous research
|
|
234
|
+
|
|
235
|
+
Returns:
|
|
236
|
+
Interaction ID for polling results
|
|
237
|
+
"""
|
|
238
|
+
prompt = self._build_prompt(query, format_spec)
|
|
239
|
+
client = await self._get_client()
|
|
240
|
+
|
|
241
|
+
payload: Dict[str, Any] = {
|
|
242
|
+
"input": prompt,
|
|
243
|
+
"agent": self.AGENT,
|
|
244
|
+
"background": True
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if previous_interaction_id:
|
|
248
|
+
payload["previous_interaction_id"] = checked_interaction_id(previous_interaction_id)
|
|
249
|
+
|
|
250
|
+
try:
|
|
251
|
+
response = await client.post(
|
|
252
|
+
self.BASE_URL,
|
|
253
|
+
headers={
|
|
254
|
+
"Content-Type": "application/json",
|
|
255
|
+
"x-goog-api-key": str(self.api_key)
|
|
256
|
+
},
|
|
257
|
+
json=payload
|
|
258
|
+
)
|
|
259
|
+
|
|
260
|
+
if response.status_code != 200:
|
|
261
|
+
raise DeepResearchError(f"API error {response.status_code}; provider error body omitted")
|
|
262
|
+
|
|
263
|
+
if len(response.content) > 2 * 1024 * 1024:
|
|
264
|
+
raise DeepResearchError("Provider response exceeds 2MiB parsing limit")
|
|
265
|
+
data = response.json()
|
|
266
|
+
if not isinstance(data, dict):
|
|
267
|
+
raise DeepResearchError("Provider response is not an interaction object")
|
|
268
|
+
interaction_id = data.get("id") or data.get("name", "").split("/")[-1]
|
|
269
|
+
|
|
270
|
+
interaction_id = checked_interaction_id(interaction_id)
|
|
271
|
+
|
|
272
|
+
# Track in history
|
|
273
|
+
self.history.add_interaction(interaction_id, query, "started")
|
|
274
|
+
|
|
275
|
+
return interaction_id
|
|
276
|
+
|
|
277
|
+
except (httpx.HTTPError, ValueError) as e:
|
|
278
|
+
raise DeepResearchError("Request failed; submission may be indeterminate. Check existing interaction evidence before resubmitting") from e
|
|
279
|
+
|
|
280
|
+
async def get_status(self, interaction_id: str) -> Dict[str, Any]:
|
|
281
|
+
"""
|
|
282
|
+
Get the status of a research task.
|
|
283
|
+
|
|
284
|
+
Returns:
|
|
285
|
+
Dict with 'status' and optionally 'result' or 'error'
|
|
286
|
+
"""
|
|
287
|
+
client = await self._get_client()
|
|
288
|
+
|
|
289
|
+
try:
|
|
290
|
+
response = await client.get(
|
|
291
|
+
f"{self.BASE_URL}/{checked_interaction_id(interaction_id)}",
|
|
292
|
+
headers={"x-goog-api-key": str(self.api_key)},
|
|
293
|
+
timeout=30.0
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
if response.status_code != 200:
|
|
297
|
+
return {"status": "error", "error": f"API error: {response.status_code}"}
|
|
298
|
+
|
|
299
|
+
if len(response.content) > 2 * 1024 * 1024:
|
|
300
|
+
raise DeepResearchError("Provider response exceeds 2MiB parsing limit")
|
|
301
|
+
data = response.json()
|
|
302
|
+
if not isinstance(data, dict):
|
|
303
|
+
raise DeepResearchError("Provider response is not an interaction object")
|
|
304
|
+
status = data.get("status", "unknown")
|
|
305
|
+
|
|
306
|
+
if status == "completed":
|
|
307
|
+
text = extract_report_text(data)
|
|
308
|
+
if not text:
|
|
309
|
+
return {"status": "error", "error": "Completed interaction has no text report"}
|
|
310
|
+
return {"status": "completed", "result": text, "raw": data}
|
|
311
|
+
elif status in {"failed", "cancelled", "canceled", "expired"}:
|
|
312
|
+
return {"status": status, "error": "Provider reported a terminal non-success state"}
|
|
313
|
+
else:
|
|
314
|
+
return {"status": status, "raw": data}
|
|
315
|
+
|
|
316
|
+
except (httpx.HTTPError, ValueError, DeepResearchError):
|
|
317
|
+
return {"status": "error", "error": "Status retrieval failed; preserve the existing interaction ID"}
|
|
318
|
+
|
|
319
|
+
async def wait_for_completion(
|
|
320
|
+
self,
|
|
321
|
+
interaction_id: str,
|
|
322
|
+
timeout: Optional[int] = None,
|
|
323
|
+
poll_interval: Optional[int] = None,
|
|
324
|
+
progress_callback: Optional[Callable[[int, float, str], None]] = None
|
|
325
|
+
) -> Dict[str, Any]:
|
|
326
|
+
"""
|
|
327
|
+
Wait for research to complete with polling.
|
|
328
|
+
|
|
329
|
+
Args:
|
|
330
|
+
interaction_id: The interaction ID to poll
|
|
331
|
+
timeout: Maximum wait time in seconds
|
|
332
|
+
poll_interval: Seconds between polls
|
|
333
|
+
progress_callback: Optional callback for progress updates
|
|
334
|
+
|
|
335
|
+
Returns:
|
|
336
|
+
Dict with research result or error
|
|
337
|
+
"""
|
|
338
|
+
timeout = self.timeout if timeout is None else timeout
|
|
339
|
+
poll_interval = self.poll_interval if poll_interval is None else poll_interval
|
|
340
|
+
if not 1 <= timeout <= 3600 or not 1 <= poll_interval <= 60:
|
|
341
|
+
raise DeepResearchError("Invalid timeout or polling interval")
|
|
342
|
+
start_time = asyncio.get_event_loop().time()
|
|
343
|
+
poll_count = 0
|
|
344
|
+
|
|
345
|
+
while True:
|
|
346
|
+
elapsed = asyncio.get_event_loop().time() - start_time
|
|
347
|
+
if elapsed > timeout:
|
|
348
|
+
self.history.update_status(interaction_id, "timeout")
|
|
349
|
+
return {"status": "timeout", "error": f"Research timed out after {timeout}s; remote job is not cancelled"}
|
|
350
|
+
|
|
351
|
+
result = await self.get_status(interaction_id)
|
|
352
|
+
poll_count += 1
|
|
353
|
+
|
|
354
|
+
if progress_callback:
|
|
355
|
+
progress_callback(poll_count, elapsed, result.get("status", "unknown"))
|
|
356
|
+
|
|
357
|
+
if result["status"] == "completed":
|
|
358
|
+
self.history.update_status(interaction_id, "completed")
|
|
359
|
+
return result
|
|
360
|
+
elif result["status"] in ["failed", "error", "cancelled", "canceled", "expired"]:
|
|
361
|
+
self.history.update_status(interaction_id, "failed")
|
|
362
|
+
return result
|
|
363
|
+
|
|
364
|
+
await asyncio.sleep(poll_interval)
|
|
365
|
+
|
|
366
|
+
async def stream_research(
|
|
367
|
+
self,
|
|
368
|
+
query: str,
|
|
369
|
+
format_spec: Optional[str] = None
|
|
370
|
+
) -> AsyncIterator[Dict[str, Any]]:
|
|
371
|
+
"""
|
|
372
|
+
Stream research progress in real-time.
|
|
373
|
+
|
|
374
|
+
Yields:
|
|
375
|
+
Dict with event type and content
|
|
376
|
+
"""
|
|
377
|
+
prompt = self._build_prompt(query, format_spec)
|
|
378
|
+
client = await self._get_client()
|
|
379
|
+
|
|
380
|
+
try:
|
|
381
|
+
async with client.stream(
|
|
382
|
+
"POST",
|
|
383
|
+
f"{self.BASE_URL}?alt=sse",
|
|
384
|
+
headers={
|
|
385
|
+
"Content-Type": "application/json",
|
|
386
|
+
"x-goog-api-key": str(self.api_key)
|
|
387
|
+
},
|
|
388
|
+
json={
|
|
389
|
+
"input": prompt,
|
|
390
|
+
"agent": self.AGENT,
|
|
391
|
+
"background": True,
|
|
392
|
+
"stream": True,
|
|
393
|
+
"agent_config": {
|
|
394
|
+
"type": "deep-research",
|
|
395
|
+
"thinking_summaries": "auto"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
timeout=httpx.Timeout(float(self.timeout)) # finite read/connect limits; no automatic new paid submission
|
|
399
|
+
) as response:
|
|
400
|
+
if response.status_code != 200:
|
|
401
|
+
yield {"type": "error", "error": f"Stream rejected (HTTP {response.status_code})"}
|
|
402
|
+
return
|
|
403
|
+
interaction_id = None
|
|
404
|
+
complete = False
|
|
405
|
+
buffer = ""
|
|
406
|
+
received = 0
|
|
407
|
+
start = asyncio.get_event_loop().time()
|
|
408
|
+
|
|
409
|
+
async for chunk in response.aiter_text():
|
|
410
|
+
received += len(chunk.encode("utf-8"))
|
|
411
|
+
if received > 4 * 1024 * 1024 or asyncio.get_event_loop().time() - start > self.timeout:
|
|
412
|
+
yield {"type": "error", "error": "Stream limit reached; remote job may continue. Query its existing ID"}
|
|
413
|
+
return
|
|
414
|
+
buffer += chunk.replace("\r\n", "\n")
|
|
415
|
+
if len(buffer) > 1024 * 1024:
|
|
416
|
+
yield {"type": "error", "error": "SSE event exceeds limit"}
|
|
417
|
+
return
|
|
418
|
+
|
|
419
|
+
# Parse SSE events
|
|
420
|
+
while "\n\n" in buffer:
|
|
421
|
+
event_str, buffer = buffer.split("\n\n", 1)
|
|
422
|
+
|
|
423
|
+
if not event_str.strip():
|
|
424
|
+
continue
|
|
425
|
+
|
|
426
|
+
# Parse SSE format
|
|
427
|
+
data_line = None
|
|
428
|
+
for line in event_str.split("\n"):
|
|
429
|
+
if line.startswith("data: "):
|
|
430
|
+
data_line = line[6:]
|
|
431
|
+
break
|
|
432
|
+
|
|
433
|
+
if not data_line:
|
|
434
|
+
continue
|
|
435
|
+
|
|
436
|
+
try:
|
|
437
|
+
event = json.loads(data_line)
|
|
438
|
+
if not isinstance(event, dict):
|
|
439
|
+
raise DeepResearchError("Malformed SSE event")
|
|
440
|
+
except (json.JSONDecodeError, DeepResearchError):
|
|
441
|
+
yield {"type": "error", "error": "Malformed provider stream; preserve its interaction ID"}
|
|
442
|
+
return
|
|
443
|
+
|
|
444
|
+
event_type = event.get("event_type", "")
|
|
445
|
+
|
|
446
|
+
if event_type in {"interaction.created", "interaction.start"}:
|
|
447
|
+
interaction_id = event.get("interaction", {}).get("id")
|
|
448
|
+
if interaction_id:
|
|
449
|
+
self.history.add_interaction(interaction_id, query, "streaming")
|
|
450
|
+
yield {"type": "start", "interaction_id": interaction_id}
|
|
451
|
+
|
|
452
|
+
elif event_type in {"step.delta", "content.delta"}:
|
|
453
|
+
delta = event.get("delta", {})
|
|
454
|
+
delta_type = delta.get("type")
|
|
455
|
+
|
|
456
|
+
if delta_type == "text":
|
|
457
|
+
yield {"type": "text", "content": delta.get("text", "")}
|
|
458
|
+
elif delta_type == "thought_summary":
|
|
459
|
+
content = delta.get("content", {})
|
|
460
|
+
yield {"type": "thought", "content": content.get("text", "")}
|
|
461
|
+
|
|
462
|
+
elif event_type in {"interaction.completed", "interaction.complete"}:
|
|
463
|
+
complete = True
|
|
464
|
+
if interaction_id:
|
|
465
|
+
self.history.update_status(interaction_id, "completed")
|
|
466
|
+
yield {"type": "complete"}
|
|
467
|
+
|
|
468
|
+
elif event_type in {"interaction.error", "error"}:
|
|
469
|
+
if interaction_id:
|
|
470
|
+
self.history.update_status(interaction_id, "failed")
|
|
471
|
+
yield {"type": "error", "error": "Provider stream error; preserve the existing interaction ID"}
|
|
472
|
+
return
|
|
473
|
+
|
|
474
|
+
if not complete:
|
|
475
|
+
yield {"type": "error", "error": "Stream ended without completion; query the existing interaction ID, do not create a replacement job"}
|
|
476
|
+
except httpx.HTTPError:
|
|
477
|
+
yield {"type": "error", "error": "Stream transport failed; remote work may continue"}
|
|
478
|
+
|
|
479
|
+
def parse_result(self, text: str) -> Optional[Dict]:
|
|
480
|
+
"""
|
|
481
|
+
Parse research result text into structured data if JSON.
|
|
482
|
+
|
|
483
|
+
Args:
|
|
484
|
+
text: Raw text output from Gemini
|
|
485
|
+
|
|
486
|
+
Returns:
|
|
487
|
+
Parsed JSON data or None if not JSON
|
|
488
|
+
"""
|
|
489
|
+
if not text:
|
|
490
|
+
return None
|
|
491
|
+
|
|
492
|
+
# Try direct JSON parsing
|
|
493
|
+
try:
|
|
494
|
+
return json.loads(text)
|
|
495
|
+
except json.JSONDecodeError:
|
|
496
|
+
pass
|
|
497
|
+
|
|
498
|
+
# Try extracting JSON from markdown code blocks
|
|
499
|
+
json_match = re.search(r'```(?:json)?\s*(\{.*?\})\s*```', text, re.DOTALL)
|
|
500
|
+
if json_match:
|
|
501
|
+
try:
|
|
502
|
+
return json.loads(json_match.group(1))
|
|
503
|
+
except json.JSONDecodeError:
|
|
504
|
+
pass
|
|
505
|
+
|
|
506
|
+
# Try finding JSON object pattern
|
|
507
|
+
json_match = re.search(r'\{[^{}]*"[^"]+"\s*:[^{}]*\}', text, re.DOTALL)
|
|
508
|
+
if json_match:
|
|
509
|
+
try:
|
|
510
|
+
return json.loads(json_match.group(0))
|
|
511
|
+
except json.JSONDecodeError:
|
|
512
|
+
pass
|
|
513
|
+
|
|
514
|
+
return None
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
def print_progress(poll_count: int, elapsed: float, status: str):
|
|
518
|
+
"""Print progress update during polling."""
|
|
519
|
+
mins = int(elapsed // 60)
|
|
520
|
+
secs = int(elapsed % 60)
|
|
521
|
+
print(f"\r[{mins:02d}:{secs:02d}] Poll #{poll_count} - Status: {status}", end="", flush=True)
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
async def cmd_research(args):
|
|
525
|
+
"""Execute a research query."""
|
|
526
|
+
client = DeepResearchClient()
|
|
527
|
+
|
|
528
|
+
try:
|
|
529
|
+
if args.stream:
|
|
530
|
+
# Streaming mode
|
|
531
|
+
print(f"Starting streaming research...\n")
|
|
532
|
+
full_text = ""
|
|
533
|
+
|
|
534
|
+
async for event in client.stream_research(args.query, args.format):
|
|
535
|
+
if event["type"] == "start":
|
|
536
|
+
print(f"Interaction ID: {event['interaction_id']}\n")
|
|
537
|
+
elif event["type"] == "thought":
|
|
538
|
+
print(f"\n[Thinking] {event['content']}\n", file=sys.stderr)
|
|
539
|
+
elif event["type"] == "text":
|
|
540
|
+
print(event["content"], end="", flush=True)
|
|
541
|
+
full_text += event["content"]
|
|
542
|
+
elif event["type"] == "complete":
|
|
543
|
+
print("\n\n[Research Complete]")
|
|
544
|
+
elif event["type"] == "error":
|
|
545
|
+
print(f"\n[Error] {event['error']}", file=sys.stderr)
|
|
546
|
+
return 1
|
|
547
|
+
|
|
548
|
+
# Output JSON if requested
|
|
549
|
+
if args.json and full_text:
|
|
550
|
+
parsed = client.parse_result(full_text)
|
|
551
|
+
if parsed:
|
|
552
|
+
print("\n\n--- Parsed JSON ---")
|
|
553
|
+
print(json.dumps(parsed, indent=2))
|
|
554
|
+
else:
|
|
555
|
+
# Polling mode
|
|
556
|
+
previous_id = args.continue_from if hasattr(args, 'continue_from') else None
|
|
557
|
+
|
|
558
|
+
print(f"Starting research task...")
|
|
559
|
+
interaction_id = await client.start_research(
|
|
560
|
+
args.query,
|
|
561
|
+
args.format,
|
|
562
|
+
previous_id
|
|
563
|
+
)
|
|
564
|
+
print(f"Interaction ID: {interaction_id}")
|
|
565
|
+
print("Duration and cost depend on current provider usage; local waiting is bounded\n")
|
|
566
|
+
|
|
567
|
+
if args.no_wait:
|
|
568
|
+
print(f"Research started. Check status with: --status {interaction_id}")
|
|
569
|
+
return 0
|
|
570
|
+
|
|
571
|
+
print("Waiting for completion (Ctrl+C stops local waiting, not the remote job)...")
|
|
572
|
+
result = await client.wait_for_completion(
|
|
573
|
+
interaction_id,
|
|
574
|
+
progress_callback=print_progress
|
|
575
|
+
)
|
|
576
|
+
print() # New line after progress
|
|
577
|
+
|
|
578
|
+
if result["status"] == "completed":
|
|
579
|
+
text = result.get("result", "")
|
|
580
|
+
|
|
581
|
+
if args.json:
|
|
582
|
+
parsed = client.parse_result(text)
|
|
583
|
+
if parsed:
|
|
584
|
+
print(json.dumps(parsed, indent=2))
|
|
585
|
+
else:
|
|
586
|
+
print(json.dumps({"text": text}, indent=2))
|
|
587
|
+
elif args.raw:
|
|
588
|
+
print(json.dumps(result.get("raw", {}), indent=2))
|
|
589
|
+
else:
|
|
590
|
+
print("\n--- Research Result ---\n")
|
|
591
|
+
print(text)
|
|
592
|
+
|
|
593
|
+
return 0
|
|
594
|
+
else:
|
|
595
|
+
print(f"\nResearch failed: {result.get('error', 'Unknown error')}")
|
|
596
|
+
return 1
|
|
597
|
+
|
|
598
|
+
except DeepResearchError as e:
|
|
599
|
+
print(f"Error: {e}", file=sys.stderr)
|
|
600
|
+
return 1
|
|
601
|
+
except KeyboardInterrupt:
|
|
602
|
+
print("\n\nLocal waiting interrupted; the remote job may still be running.")
|
|
603
|
+
return 130
|
|
604
|
+
finally:
|
|
605
|
+
await client.close()
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
async def cmd_status(args):
|
|
609
|
+
"""Check status of a research task."""
|
|
610
|
+
client = DeepResearchClient()
|
|
611
|
+
|
|
612
|
+
try:
|
|
613
|
+
result = await client.get_status(args.interaction_id)
|
|
614
|
+
|
|
615
|
+
if args.json:
|
|
616
|
+
print(json.dumps(result, indent=2))
|
|
617
|
+
else:
|
|
618
|
+
print(f"Status: {result['status']}")
|
|
619
|
+
|
|
620
|
+
if result["status"] == "completed":
|
|
621
|
+
text = result.get("result", "")
|
|
622
|
+
if text:
|
|
623
|
+
print(f"\n--- Result Preview ---\n{text[:500]}...")
|
|
624
|
+
elif result["status"] in ["failed", "error", "cancelled", "canceled", "expired"]:
|
|
625
|
+
print(f"Error: {result.get('error', 'Unknown')}")
|
|
626
|
+
|
|
627
|
+
return 0 if result["status"] in {"completed", "in_progress", "queued"} else 1
|
|
628
|
+
|
|
629
|
+
except DeepResearchError as e:
|
|
630
|
+
print(f"Error: {e}", file=sys.stderr)
|
|
631
|
+
return 1
|
|
632
|
+
finally:
|
|
633
|
+
await client.close()
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
async def cmd_wait(args):
|
|
637
|
+
"""Wait for a research task to complete."""
|
|
638
|
+
client = DeepResearchClient()
|
|
639
|
+
|
|
640
|
+
try:
|
|
641
|
+
print(f"Waiting for {args.interaction_id}...")
|
|
642
|
+
result = await client.wait_for_completion(
|
|
643
|
+
args.interaction_id,
|
|
644
|
+
progress_callback=print_progress
|
|
645
|
+
)
|
|
646
|
+
print()
|
|
647
|
+
|
|
648
|
+
if result["status"] == "completed":
|
|
649
|
+
text = result.get("result", "")
|
|
650
|
+
|
|
651
|
+
if args.json:
|
|
652
|
+
parsed = client.parse_result(text)
|
|
653
|
+
if parsed:
|
|
654
|
+
print(json.dumps(parsed, indent=2))
|
|
655
|
+
else:
|
|
656
|
+
print(json.dumps({"text": text}, indent=2))
|
|
657
|
+
else:
|
|
658
|
+
print("\n--- Research Result ---\n")
|
|
659
|
+
print(text)
|
|
660
|
+
|
|
661
|
+
return 0
|
|
662
|
+
else:
|
|
663
|
+
print(f"Research failed: {result.get('error', 'Unknown error')}")
|
|
664
|
+
return 1
|
|
665
|
+
|
|
666
|
+
except DeepResearchError as e:
|
|
667
|
+
print(f"Error: {e}", file=sys.stderr)
|
|
668
|
+
return 1
|
|
669
|
+
except KeyboardInterrupt:
|
|
670
|
+
print("\n\nLocal waiting interrupted; the remote job may still be running.")
|
|
671
|
+
return 130
|
|
672
|
+
finally:
|
|
673
|
+
await client.close()
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
async def cmd_list(args):
|
|
677
|
+
"""List recent research tasks."""
|
|
678
|
+
history = HistoryManager()
|
|
679
|
+
interactions = history.get_recent(args.limit)
|
|
680
|
+
|
|
681
|
+
if not interactions:
|
|
682
|
+
print("No research history found.")
|
|
683
|
+
return 0
|
|
684
|
+
|
|
685
|
+
if args.json:
|
|
686
|
+
print(json.dumps(interactions, indent=2))
|
|
687
|
+
else:
|
|
688
|
+
print(f"Recent research tasks (last {len(interactions)}):\n")
|
|
689
|
+
for item in interactions:
|
|
690
|
+
status_icon = {
|
|
691
|
+
"completed": "[ok]",
|
|
692
|
+
"failed": "[!!]",
|
|
693
|
+
"started": "[..]",
|
|
694
|
+
"streaming": "[>>]",
|
|
695
|
+
"timeout": "[to]"
|
|
696
|
+
}.get(item.get("status", ""), "[??]")
|
|
697
|
+
|
|
698
|
+
print(f"{status_icon} {item['id'][:12]}...")
|
|
699
|
+
print(f" Query: {item['query'][:60]}{'...' if len(item['query']) > 60 else ''}")
|
|
700
|
+
print(f" Started: {item.get('started_at', 'N/A')}")
|
|
701
|
+
if item.get("completed_at"):
|
|
702
|
+
print(f" Completed: {item['completed_at']}")
|
|
703
|
+
print()
|
|
704
|
+
|
|
705
|
+
return 0
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
def main():
|
|
709
|
+
parser = argparse.ArgumentParser(
|
|
710
|
+
description="Gemini Deep Research - Autonomous multi-step research agent",
|
|
711
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
712
|
+
epilog="""
|
|
713
|
+
Examples:
|
|
714
|
+
# Start a research task and wait for results
|
|
715
|
+
%(prog)s --query "Research the history of Kubernetes"
|
|
716
|
+
|
|
717
|
+
# With structured output format
|
|
718
|
+
%(prog)s --query "Compare Python web frameworks" \\
|
|
719
|
+
--format "1. Executive Summary\\n2. Comparison Table\\n3. Recommendations"
|
|
720
|
+
|
|
721
|
+
# Stream progress in real-time
|
|
722
|
+
%(prog)s --query "Analyze EV battery market" --stream
|
|
723
|
+
|
|
724
|
+
# Start without waiting
|
|
725
|
+
%(prog)s --query "Research topic" --no-wait
|
|
726
|
+
|
|
727
|
+
# Check status of running research
|
|
728
|
+
%(prog)s --status abc123
|
|
729
|
+
|
|
730
|
+
# Continue from previous research
|
|
731
|
+
%(prog)s --query "Elaborate on point 2" --continue abc123
|
|
732
|
+
|
|
733
|
+
# List recent research
|
|
734
|
+
%(prog)s --list
|
|
735
|
+
|
|
736
|
+
Note: Paid external research requires account/data/budget authorization. Timeout or Ctrl+C does not cancel remote work.
|
|
737
|
+
"""
|
|
738
|
+
)
|
|
739
|
+
|
|
740
|
+
# Main commands (mutually exclusive)
|
|
741
|
+
cmd_group = parser.add_mutually_exclusive_group(required=True)
|
|
742
|
+
cmd_group.add_argument("--query", "-q", help="Research query to execute")
|
|
743
|
+
cmd_group.add_argument("--status", "-s", dest="interaction_id", metavar="ID",
|
|
744
|
+
help="Check status of a research task")
|
|
745
|
+
cmd_group.add_argument("--wait", "-w", dest="wait_id", metavar="ID",
|
|
746
|
+
help="Wait for a research task to complete")
|
|
747
|
+
cmd_group.add_argument("--list", "-l", action="store_true",
|
|
748
|
+
help="List recent research tasks")
|
|
749
|
+
|
|
750
|
+
# Query options
|
|
751
|
+
parser.add_argument("--format", "-f", metavar="SPEC",
|
|
752
|
+
help="Output format specification")
|
|
753
|
+
parser.add_argument("--continue", dest="continue_from", metavar="ID",
|
|
754
|
+
help="Continue from previous research interaction")
|
|
755
|
+
parser.add_argument("--stream", action="store_true",
|
|
756
|
+
help="Stream progress in real-time")
|
|
757
|
+
parser.add_argument("--no-wait", action="store_true",
|
|
758
|
+
help="Start research without waiting for completion")
|
|
759
|
+
|
|
760
|
+
# Output options
|
|
761
|
+
parser.add_argument("--json", "-j", action="store_true",
|
|
762
|
+
help="Output results as JSON")
|
|
763
|
+
parser.add_argument("--raw", "-r", action="store_true",
|
|
764
|
+
help="Output raw API response")
|
|
765
|
+
|
|
766
|
+
# List options
|
|
767
|
+
parser.add_argument("--limit", type=int, default=10,
|
|
768
|
+
help="Number of recent tasks to show (default: 10)")
|
|
769
|
+
|
|
770
|
+
args = parser.parse_args()
|
|
771
|
+
|
|
772
|
+
if args.stream and args.no_wait:
|
|
773
|
+
parser.error("--stream and --no-wait are mutually exclusive")
|
|
774
|
+
if not args.query and (args.stream or args.no_wait or args.continue_from or args.format):
|
|
775
|
+
parser.error("Query options require --query")
|
|
776
|
+
|
|
777
|
+
try:
|
|
778
|
+
# Route to appropriate command
|
|
779
|
+
if args.query:
|
|
780
|
+
exit_code = asyncio.run(cmd_research(args))
|
|
781
|
+
elif args.interaction_id:
|
|
782
|
+
exit_code = asyncio.run(cmd_status(args))
|
|
783
|
+
elif args.wait_id:
|
|
784
|
+
args.interaction_id = args.wait_id
|
|
785
|
+
exit_code = asyncio.run(cmd_wait(args))
|
|
786
|
+
elif args.list:
|
|
787
|
+
exit_code = asyncio.run(cmd_list(args))
|
|
788
|
+
else:
|
|
789
|
+
parser.print_help()
|
|
790
|
+
exit_code = 1
|
|
791
|
+
except (DeepResearchError, ValueError, OSError) as error:
|
|
792
|
+
print(f"Local configuration or response error: {error}", file=sys.stderr)
|
|
793
|
+
exit_code = 1
|
|
794
|
+
except KeyboardInterrupt:
|
|
795
|
+
print("Local waiting interrupted; remote work may continue", file=sys.stderr)
|
|
796
|
+
exit_code = 130
|
|
797
|
+
|
|
798
|
+
sys.exit(exit_code)
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
if __name__ == "__main__":
|
|
802
|
+
main()
|