opencode-skills-collection 4.0.68 → 4.0.70
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 +304 -1
- package/bundled-skills/access-review/SKILL.md +394 -0
- package/bundled-skills/access-review/references/details.md +121 -0
- package/bundled-skills/agent-evals/SKILL.md +420 -0
- package/bundled-skills/agent-observability/SKILL.md +346 -0
- package/bundled-skills/agent-observability/references/details.md +786 -0
- package/bundled-skills/ai-agent-security/SKILL.md +393 -0
- package/bundled-skills/ai-agent-security/references/details.md +912 -0
- package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
- package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
- package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
- package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
- package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
- package/bundled-skills/alerting-oncall/SKILL.md +458 -0
- package/bundled-skills/alerting-oncall/references/details.md +84 -0
- package/bundled-skills/api-integration-architect/SKILL.md +241 -0
- package/bundled-skills/apify-generate-output-schema/SKILL.md +438 -0
- package/bundled-skills/apify-integration-development/SKILL.md +168 -0
- package/bundled-skills/apify-integration-development/references/ai-framework-package.md +158 -0
- package/bundled-skills/apify-integration-development/references/ai-harness-plugin.md +192 -0
- package/bundled-skills/apify-integration-development/references/sdk-integration.md +236 -0
- package/bundled-skills/apify-integration-development/references/workflow-automation.md +163 -0
- package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
- package/bundled-skills/architecture-review/README.md +42 -0
- package/bundled-skills/architecture-review/SKILL.md +77 -0
- package/bundled-skills/architecture-review/examples.md +11 -0
- package/bundled-skills/architecture-review/reference/best-practices.md +7 -0
- package/bundled-skills/architecture-review/reference/capabilities.md +20 -0
- package/bundled-skills/architecture-review/reference/fallbacks.md +11 -0
- package/bundled-skills/architecture-review/reference/graph.md +15 -0
- package/bundled-skills/architecture-review/reference/mcp.md +14 -0
- package/bundled-skills/architecture-review/reference/workflow.md +15 -0
- package/bundled-skills/architecture-review/templates/architecture-review.md +21 -0
- package/bundled-skills/argocd-gitops/SKILL.md +469 -0
- package/bundled-skills/arm-templates/SKILL.md +438 -0
- package/bundled-skills/arm-templates/references/details.md +64 -0
- package/bundled-skills/asset-inventory/SKILL.md +412 -0
- package/bundled-skills/asset-inventory/references/details.md +127 -0
- package/bundled-skills/audit-logging/SKILL.md +476 -0
- package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
- package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
- package/bundled-skills/aws-ec2/SKILL.md +426 -0
- package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
- package/bundled-skills/aws-iam/SKILL.md +463 -0
- package/bundled-skills/aws-lambda/SKILL.md +428 -0
- package/bundled-skills/aws-rds/SKILL.md +380 -0
- package/bundled-skills/aws-s3/SKILL.md +434 -0
- package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
- package/bundled-skills/aws-vpc/SKILL.md +436 -0
- package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
- package/bundled-skills/azure-aks/SKILL.md +423 -0
- package/bundled-skills/azure-devops/SKILL.md +457 -0
- package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
- package/bundled-skills/azure-keyvault/SKILL.md +455 -0
- package/bundled-skills/azure-keyvault/references/details.md +83 -0
- package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
- package/bundled-skills/azure-networking/SKILL.md +448 -0
- package/bundled-skills/azure-networking/references/details.md +135 -0
- package/bundled-skills/azure-sql/SKILL.md +413 -0
- package/bundled-skills/azure-sql/references/details.md +113 -0
- package/bundled-skills/azure-vms/SKILL.md +402 -0
- package/bundled-skills/azure-vms/references/details.md +134 -0
- package/bundled-skills/backup-recovery/SKILL.md +388 -0
- package/bundled-skills/bb-methodology/SKILL.md +451 -0
- package/bundled-skills/bb-methodology/references/details.md +120 -0
- package/bundled-skills/block-storage/SKILL.md +371 -0
- package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
- package/bundled-skills/blue-green-deploy/references/details.md +90 -0
- package/bundled-skills/bug-bounty/SKILL.md +447 -0
- package/bundled-skills/bug-bounty/references/details.md +1316 -0
- package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
- package/bundled-skills/business-continuity/SKILL.md +463 -0
- package/bundled-skills/career-ops/SKILL.md +186 -0
- package/bundled-skills/cdn-setup/SKILL.md +374 -0
- package/bundled-skills/change-management/SKILL.md +438 -0
- package/bundled-skills/change-management/references/details.md +105 -0
- package/bundled-skills/circleci/SKILL.md +475 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
- package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
- package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
- package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
- package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
- package/bundled-skills/cloudformation/SKILL.md +461 -0
- package/bundled-skills/code-review-sensei/SKILL.md +177 -0
- package/bundled-skills/codebase-onboarding/README.md +42 -0
- package/bundled-skills/codebase-onboarding/SKILL.md +77 -0
- package/bundled-skills/codebase-onboarding/examples.md +11 -0
- package/bundled-skills/codebase-onboarding/reference/best-practices.md +7 -0
- package/bundled-skills/codebase-onboarding/reference/capabilities.md +20 -0
- package/bundled-skills/codebase-onboarding/reference/fallbacks.md +11 -0
- package/bundled-skills/codebase-onboarding/reference/graph.md +15 -0
- package/bundled-skills/codebase-onboarding/reference/mcp.md +14 -0
- package/bundled-skills/codebase-onboarding/reference/workflow.md +15 -0
- package/bundled-skills/codebase-onboarding/templates/repository-onboarding.md +21 -0
- package/bundled-skills/connection-auth-rules/SKILL.md +199 -0
- package/bundled-skills/connection-auth-rules/fetch_schema.py +320 -0
- package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
- package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/bundled-skills/container-hardening/SKILL.md +126 -0
- package/bundled-skills/container-registries/SKILL.md +435 -0
- package/bundled-skills/container-scanning/SKILL.md +416 -0
- package/bundled-skills/convex-backend/SKILL.md +338 -0
- package/bundled-skills/dast-scanning/SKILL.md +437 -0
- package/bundled-skills/database-backups/SKILL.md +425 -0
- package/bundled-skills/datadog/SKILL.md +487 -0
- package/bundled-skills/dependency-analysis/README.md +42 -0
- package/bundled-skills/dependency-analysis/SKILL.md +76 -0
- package/bundled-skills/dependency-analysis/examples.md +11 -0
- package/bundled-skills/dependency-analysis/reference/best-practices.md +7 -0
- package/bundled-skills/dependency-analysis/reference/capabilities.md +20 -0
- package/bundled-skills/dependency-analysis/reference/fallbacks.md +11 -0
- package/bundled-skills/dependency-analysis/reference/graph.md +15 -0
- package/bundled-skills/dependency-analysis/reference/mcp.md +14 -0
- package/bundled-skills/dependency-analysis/reference/workflow.md +15 -0
- package/bundled-skills/dependency-analysis/templates/dependency-review.md +21 -0
- package/bundled-skills/dependency-scanning/SKILL.md +457 -0
- package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
- package/bundled-skills/devops-pipeline-builder/SKILL.md +200 -0
- package/bundled-skills/disaster-recovery/SKILL.md +374 -0
- package/bundled-skills/disaster-recovery/references/details.md +219 -0
- package/bundled-skills/dns-management/SKILL.md +375 -0
- package/bundled-skills/docker-compose/SKILL.md +482 -0
- package/bundled-skills/docker-management/SKILL.md +426 -0
- package/bundled-skills/eas-app-stores/SKILL.md +197 -0
- package/bundled-skills/eas-app-stores/agents/openai.yaml +4 -0
- package/bundled-skills/eas-app-stores/references/app-store-metadata.md +497 -0
- package/bundled-skills/eas-app-stores/references/ios-app-store.md +376 -0
- package/bundled-skills/eas-app-stores/references/native-ios.md +167 -0
- package/bundled-skills/eas-app-stores/references/play-store.md +244 -0
- package/bundled-skills/eas-app-stores/references/testflight.md +62 -0
- package/bundled-skills/eas-app-stores/references/workflows.md +120 -0
- package/bundled-skills/eas-hosting/SKILL.md +448 -0
- package/bundled-skills/eas-hosting/agents/openai.yaml +4 -0
- package/bundled-skills/eas-observe/SKILL.md +75 -0
- package/bundled-skills/eas-observe/agents/openai.yaml +4 -0
- package/bundled-skills/eas-observe/references/metrics.md +98 -0
- package/bundled-skills/eas-observe/references/queries.md +403 -0
- package/bundled-skills/eas-observe/references/setup.md +476 -0
- package/bundled-skills/eas-observe/references/third-party.md +136 -0
- package/bundled-skills/eas-simulator/SKILL.md +251 -0
- package/bundled-skills/eas-simulator/agents/openai.yaml +4 -0
- package/bundled-skills/eas-simulator/references/controllers.md +135 -0
- package/bundled-skills/eas-simulator/references/run-your-app.md +240 -0
- package/bundled-skills/eas-simulator/references/troubleshooting.md +47 -0
- package/bundled-skills/eas-workflows/SKILL.md +119 -0
- package/bundled-skills/eas-workflows/agents/openai.yaml +4 -0
- package/bundled-skills/eas-workflows/scripts/fetch.js +109 -0
- package/bundled-skills/ebpf-observability/SKILL.md +436 -0
- package/bundled-skills/ebpf-observability/references/details.md +542 -0
- package/bundled-skills/elk-stack/SKILL.md +487 -0
- package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
- package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
- package/bundled-skills/expo-animation/LICENSE +21 -0
- package/bundled-skills/expo-animation/RECIPES.md +385 -0
- package/bundled-skills/expo-animation/SKILL.md +295 -0
- package/bundled-skills/expo-animation/agents/openai.yaml +4 -0
- package/bundled-skills/fact-check-x-unified/SKILL.md +178 -0
- package/bundled-skills/fact-check-x-unified/agents/openai.yaml +4 -0
- package/bundled-skills/fact-check-x-unified/references/acceptance-criteria.md +44 -0
- package/bundled-skills/fact-check-x-unified/references/contracts.md +39 -0
- package/bundled-skills/fact-check-x-unified/scripts/common.py +31 -0
- package/bundled-skills/fact-check-x-unified/scripts/fact_check_x.py +1832 -0
- package/bundled-skills/fact-check-x-unified/scripts/trusted_search_config.py +324 -0
- package/bundled-skills/fact-check-x-unified/tests/anchor_downgrade_test.py +90 -0
- package/bundled-skills/fact-check-x-unified/tests/multi_platform_test.py +369 -0
- package/bundled-skills/fact-check-x-unified/tests/smoke_test.py +740 -0
- package/bundled-skills/fact-check-x-unified/tests/stage_checkpoint_test.py +103 -0
- package/bundled-skills/fact-check-x-unified/tests/trusted_search_config_test.py +156 -0
- package/bundled-skills/feature-flags/SKILL.md +426 -0
- package/bundled-skills/feature-flags/references/details.md +86 -0
- package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
- package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
- package/bundled-skills/firewall-config/SKILL.md +479 -0
- package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
- package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
- package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
- package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
- package/bundled-skills/gcp-compute/SKILL.md +319 -0
- package/bundled-skills/gcp-gke/SKILL.md +307 -0
- package/bundled-skills/gcp-networking/SKILL.md +293 -0
- package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
- package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
- package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
- package/bundled-skills/gdpr-compliance/references/details.md +145 -0
- package/bundled-skills/geo-audit/SKILL.md +368 -0
- package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
- package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
- package/bundled-skills/geo-citability/SKILL.md +350 -0
- package/bundled-skills/geo-compare/SKILL.md +340 -0
- package/bundled-skills/geo-content/SKILL.md +383 -0
- package/bundled-skills/geo-crawlers/SKILL.md +408 -0
- package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
- package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
- package/bundled-skills/geo-proposal/SKILL.md +378 -0
- package/bundled-skills/geo-prospect/SKILL.md +225 -0
- package/bundled-skills/geo-report/SKILL.md +436 -0
- package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
- package/bundled-skills/geo-schema/SKILL.md +408 -0
- package/bundled-skills/geo-technical/SKILL.md +78 -0
- package/bundled-skills/geo-technical/references/details.md +543 -0
- package/bundled-skills/git-workflow/SKILL.md +460 -0
- package/bundled-skills/github-actions/SKILL.md +368 -0
- package/bundled-skills/gitlab-ci/SKILL.md +340 -0
- package/bundled-skills/gpt-taste/SKILL.md +8 -1
- package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
- package/bundled-skills/gpu-server-management/SKILL.md +236 -0
- package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
- package/bundled-skills/helm-charts/SKILL.md +469 -0
- package/bundled-skills/hf-cli/SKILL.md +263 -0
- package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
- package/bundled-skills/huggingface-community-evals/SKILL.md +228 -0
- package/bundled-skills/huggingface-community-evals/examples/.env.example +3 -0
- package/bundled-skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
- package/bundled-skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
- package/bundled-skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
- package/bundled-skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
- package/bundled-skills/huggingface-datasets/SKILL.md +130 -0
- package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
- package/bundled-skills/hunt-ato/SKILL.md +184 -0
- package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
- package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
- package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
- package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
- package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
- package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
- package/bundled-skills/hunt-cicd/SKILL.md +311 -0
- package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
- package/bundled-skills/hunt-cors/SKILL.md +335 -0
- package/bundled-skills/hunt-dom/SKILL.md +323 -0
- package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
- package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
- package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
- package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
- package/bundled-skills/hunt-grpc/SKILL.md +317 -0
- package/bundled-skills/hunt-host-header/SKILL.md +309 -0
- package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
- package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
- package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
- package/bundled-skills/hunt-idor/SKILL.md +434 -0
- package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
- package/bundled-skills/hunt-k8s/SKILL.md +337 -0
- package/bundled-skills/hunt-laravel/SKILL.md +255 -0
- package/bundled-skills/hunt-ldap/SKILL.md +351 -0
- package/bundled-skills/hunt-lfi/SKILL.md +311 -0
- package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
- package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
- package/bundled-skills/hunt-misc/SKILL.md +378 -0
- package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
- package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
- package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
- package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
- package/bundled-skills/hunt-oauth/SKILL.md +459 -0
- package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
- package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
- package/bundled-skills/hunt-race-condition/references/details.md +159 -0
- package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
- package/bundled-skills/hunt-rce/SKILL.md +444 -0
- package/bundled-skills/hunt-rce/references/details.md +110 -0
- package/bundled-skills/hunt-saml/SKILL.md +156 -0
- package/bundled-skills/hunt-session/SKILL.md +342 -0
- package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
- package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
- package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
- package/bundled-skills/hunt-springboot/SKILL.md +285 -0
- package/bundled-skills/hunt-sqli/SKILL.md +466 -0
- package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
- package/bundled-skills/hunt-ssrf/references/details.md +179 -0
- package/bundled-skills/hunt-ssti/SKILL.md +163 -0
- package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
- package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
- package/bundled-skills/hunt-xxe/SKILL.md +466 -0
- package/bundled-skills/i-have-adhd/SKILL.md +170 -0
- package/bundled-skills/identity-access-management/SKILL.md +382 -0
- package/bundled-skills/identity-access-management/references/details.md +524 -0
- package/bundled-skills/incident-management/SKILL.md +484 -0
- package/bundled-skills/incident-response/SKILL.md +448 -0
- package/bundled-skills/incident-response/references/details.md +113 -0
- package/bundled-skills/interview-me/SKILL.md +248 -0
- package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
- package/bundled-skills/jenkins/SKILL.md +462 -0
- package/bundled-skills/jev-social/SKILL.md +182 -0
- package/bundled-skills/jev-use/SKILL.md +158 -0
- package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
- package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
- package/bundled-skills/kubernetes-ops/references/details.md +108 -0
- package/bundled-skills/kustomize/SKILL.md +478 -0
- package/bundled-skills/linux-administration/SKILL.md +367 -0
- package/bundled-skills/linux-hardening/SKILL.md +154 -0
- package/bundled-skills/llm-app-security/SKILL.md +389 -0
- package/bundled-skills/llm-app-security/references/details.md +674 -0
- package/bundled-skills/llm-caching/SKILL.md +334 -0
- package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
- package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
- package/bundled-skills/llm-gateway/SKILL.md +282 -0
- package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
- package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
- package/bundled-skills/load-balancing/SKILL.md +403 -0
- package/bundled-skills/loki-logging/SKILL.md +479 -0
- package/bundled-skills/longbridge-derivatives/SKILL.md +117 -0
- package/bundled-skills/longbridge-derivatives/references/option.md +36 -0
- package/bundled-skills/longbridge-derivatives/references/options-advanced.md +101 -0
- package/bundled-skills/longbridge-derivatives/references/options-pnl.md +74 -0
- package/bundled-skills/longbridge-derivatives/references/options-strategy.md +82 -0
- package/bundled-skills/longbridge-derivatives/references/options-volatility.md +70 -0
- package/bundled-skills/longbridge-derivatives/references/warrant.md +12 -0
- package/bundled-skills/longbridge-quant/SKILL.md +151 -0
- package/bundled-skills/longbridge-quant/references/correlation.md +51 -0
- package/bundled-skills/longbridge-quant/references/execution-model.md +68 -0
- package/bundled-skills/longbridge-quant/references/factor-research.md +95 -0
- package/bundled-skills/longbridge-quant/references/factor-screen.md +101 -0
- package/bundled-skills/longbridge-quant/references/hedging.md +136 -0
- package/bundled-skills/longbridge-quant/references/ml-strategy.md +77 -0
- package/bundled-skills/longbridge-quant/references/multifactor.md +68 -0
- package/bundled-skills/longbridge-quant/references/pairs-trading.md +61 -0
- package/bundled-skills/longbridge-quant/references/quant-cli.md +133 -0
- package/bundled-skills/longbridge-quant/references/quant-stats.md +150 -0
- package/bundled-skills/longbridge-quant/references/seasonality.md +50 -0
- package/bundled-skills/longbridge-quant/references/strategy-optimizer.md +68 -0
- package/bundled-skills/longbridge-quant/references/volatility-strategy.md +52 -0
- package/bundled-skills/longbridge-research/SKILL.md +187 -0
- package/bundled-skills/longbridge-research/references/company-profile.md +96 -0
- package/bundled-skills/longbridge-research/references/company-tearsheet.md +82 -0
- package/bundled-skills/longbridge-research/references/competitive-analysis.md +81 -0
- package/bundled-skills/longbridge-research/references/consensus.md +92 -0
- package/bundled-skills/longbridge-research/references/coverage-initiation.md +76 -0
- package/bundled-skills/longbridge-research/references/defi-yield.md +60 -0
- package/bundled-skills/longbridge-research/references/finance-calendar.md +165 -0
- package/bundled-skills/longbridge-research/references/financial-planning.md +77 -0
- package/bundled-skills/longbridge-research/references/forecast-eps.md +39 -0
- package/bundled-skills/longbridge-research/references/fund-holder.md +44 -0
- package/bundled-skills/longbridge-research/references/hkipo-analysis.md +101 -0
- package/bundled-skills/longbridge-research/references/industry-peers.md +46 -0
- package/bundled-skills/longbridge-research/references/industry-rank.md +62 -0
- package/bundled-skills/longbridge-research/references/insider-trades.md +48 -0
- package/bundled-skills/longbridge-research/references/institution-rating.md +62 -0
- package/bundled-skills/longbridge-research/references/investment-ideas.md +69 -0
- package/bundled-skills/longbridge-research/references/investment-proposal.md +95 -0
- package/bundled-skills/longbridge-research/references/investors.md +87 -0
- package/bundled-skills/longbridge-research/references/onchain.md +70 -0
- package/bundled-skills/longbridge-research/references/post-investment.md +76 -0
- package/bundled-skills/longbridge-research/references/shareholder.md +72 -0
- package/bundled-skills/longbridge-research/references/short-positions.md +50 -0
- package/bundled-skills/longbridge-research/references/short-trades.md +50 -0
- package/bundled-skills/longbridge-research/references/stock-research.md +61 -0
- package/bundled-skills/longbridge-research/references/thesis-tracker.md +64 -0
- package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
- package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
- package/bundled-skills/makepad-2-0-animation/SKILL.md +318 -0
- package/bundled-skills/makepad-2-0-animation/references/animator-reference.md +433 -0
- package/bundled-skills/makepad-2-0-dsl/SKILL.md +492 -0
- package/bundled-skills/makepad-2-0-dsl/references/dsl-syntax-reference.md +511 -0
- package/bundled-skills/makepad-2-0-dsl/references/extended-guide.md +56 -0
- package/bundled-skills/makepad-2-0-dsl/references/property-system.md +757 -0
- package/bundled-skills/makepad-2-0-events/SKILL.md +497 -0
- package/bundled-skills/makepad-2-0-events/references/event-patterns.md +802 -0
- package/bundled-skills/makepad-2-0-events/references/extended-guide.md +590 -0
- package/bundled-skills/makepad-2-0-layout/SKILL.md +499 -0
- package/bundled-skills/makepad-2-0-layout/references/extended-guide.md +243 -0
- package/bundled-skills/makepad-2-0-layout/references/layout-patterns.md +881 -0
- package/bundled-skills/makepad-2-0-widgets/SKILL.md +261 -0
- package/bundled-skills/makepad-2-0-widgets/references/widget-advanced.md +648 -0
- package/bundled-skills/makepad-2-0-widgets/references/widget-catalog.md +547 -0
- package/bundled-skills/mcp-server-security/SKILL.md +356 -0
- package/bundled-skills/mcp-server-security/references/details.md +745 -0
- package/bundled-skills/mdm-device-management/SKILL.md +404 -0
- package/bundled-skills/mdm-device-management/references/details.md +410 -0
- package/bundled-skills/meeting-distiller-pro/SKILL.md +120 -0
- package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
- package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
- package/bundled-skills/model-registry-governance/SKILL.md +452 -0
- package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
- package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
- package/bundled-skills/mongodb/SKILL.md +436 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +12 -1
- package/bundled-skills/monte-carlo-asset-health/SKILL.md +12 -1
- package/bundled-skills/monte-carlo-context-detection/SKILL.md +170 -0
- package/bundled-skills/monte-carlo-context-detection/references/signal-definitions.md +46 -0
- package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
- package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
- package/bundled-skills/mysql/SKILL.md +390 -0
- package/bundled-skills/new-relic/SKILL.md +472 -0
- package/bundled-skills/nfs-storage/SKILL.md +356 -0
- package/bundled-skills/object-storage/SKILL.md +378 -0
- package/bundled-skills/offensive-osint/SKILL.md +443 -0
- package/bundled-skills/okta-attack/SKILL.md +436 -0
- package/bundled-skills/ollama-stack/SKILL.md +379 -0
- package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
- package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
- package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
- package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
- package/bundled-skills/openshift/SKILL.md +485 -0
- package/bundled-skills/opentelemetry/SKILL.md +438 -0
- package/bundled-skills/opentelemetry/references/details.md +78 -0
- package/bundled-skills/opentofu-migration/SKILL.md +349 -0
- package/bundled-skills/osint-methodology/SKILL.md +460 -0
- package/bundled-skills/osint-methodology/references/details.md +1350 -0
- package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
- package/bundled-skills/penetration-testing/SKILL.md +152 -0
- package/bundled-skills/performance-tuning/SKILL.md +381 -0
- package/bundled-skills/planetscale/SKILL.md +297 -0
- package/bundled-skills/platform-engineering/SKILL.md +348 -0
- package/bundled-skills/platform-engineering/references/details.md +944 -0
- package/bundled-skills/podman/SKILL.md +405 -0
- package/bundled-skills/policy-as-code/SKILL.md +434 -0
- package/bundled-skills/policy-as-code/references/details.md +204 -0
- package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
- package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
- package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
- package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
- package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
- package/bundled-skills/rag-observability-evals/references/details.md +92 -0
- package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
- package/bundled-skills/redis/SKILL.md +421 -0
- package/bundled-skills/redteam-report-template/SKILL.md +370 -0
- package/bundled-skills/remotion-captions/SKILL.md +57 -0
- package/bundled-skills/remotion-captions/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-captions/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-captions/display-captions.md +190 -0
- package/bundled-skills/remotion-captions/import-srt-captions.md +73 -0
- package/bundled-skills/remotion-captions/transcribe-captions.md +70 -0
- package/bundled-skills/remotion-create/SKILL.md +106 -0
- package/bundled-skills/remotion-create/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-create/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-create/tailwind.md +11 -0
- package/bundled-skills/remotion-create/video-layout.md +9 -0
- package/bundled-skills/remotion-docs/SKILL.md +67 -0
- package/bundled-skills/remotion-docs/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-docs/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-interactivity/SKILL.md +270 -0
- package/bundled-skills/remotion-interactivity/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-interactivity/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-render/SKILL.md +48 -0
- package/bundled-skills/remotion-render/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-render/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-render/transparent-videos.md +106 -0
- package/bundled-skills/report-writing/SKILL.md +426 -0
- package/bundled-skills/report-writing/references/details.md +187 -0
- package/bundled-skills/reverse-proxy/SKILL.md +420 -0
- package/bundled-skills/runbook-creation/SKILL.md +438 -0
- package/bundled-skills/runbook-creation/references/details.md +71 -0
- package/bundled-skills/saas-pricing-strategist/SKILL.md +169 -0
- package/bundled-skills/saas-security-posture/SKILL.md +415 -0
- package/bundled-skills/sast-scanning/SKILL.md +444 -0
- package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
- package/bundled-skills/score-eval/SKILL.md +35 -0
- package/bundled-skills/security-arsenal/SKILL.md +446 -0
- package/bundled-skills/security-arsenal/references/details.md +540 -0
- package/bundled-skills/security-automation/SKILL.md +146 -0
- package/bundled-skills/semantic-versioning/SKILL.md +434 -0
- package/bundled-skills/semantic-versioning/references/details.md +83 -0
- package/bundled-skills/service-mesh/SKILL.md +422 -0
- package/bundled-skills/soc2-compliance/SKILL.md +409 -0
- package/bundled-skills/sops-encryption/SKILL.md +124 -0
- package/bundled-skills/sre-dashboards/SKILL.md +143 -0
- package/bundled-skills/ssh-configuration/SKILL.md +324 -0
- package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
- package/bundled-skills/ssl-tls-management/references/details.md +99 -0
- package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
- package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
- package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
- package/bundled-skills/systemd-services/SKILL.md +379 -0
- package/bundled-skills/terraform-aws/SKILL.md +125 -0
- package/bundled-skills/terraform-azure/SKILL.md +415 -0
- package/bundled-skills/terraform-azure/references/details.md +231 -0
- package/bundled-skills/terraform-gcp/SKILL.md +369 -0
- package/bundled-skills/threat-modeling/SKILL.md +487 -0
- package/bundled-skills/user-management/SKILL.md +383 -0
- package/bundled-skills/using-agent-skills/SKILL.md +220 -0
- package/bundled-skills/vector-database-ops/SKILL.md +300 -0
- package/bundled-skills/vendor-management/SKILL.md +439 -0
- package/bundled-skills/vendor-management/references/details.md +109 -0
- package/bundled-skills/vercel-deployments/SKILL.md +296 -0
- package/bundled-skills/vllm-server/SKILL.md +236 -0
- package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
- package/bundled-skills/vpn-setup/SKILL.md +452 -0
- package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
- package/bundled-skills/waf-setup/SKILL.md +354 -0
- package/bundled-skills/waf-setup/references/details.md +211 -0
- package/bundled-skills/web2-recon/SKILL.md +440 -0
- package/bundled-skills/web2-recon/references/details.md +319 -0
- package/bundled-skills/web3-audit/SKILL.md +445 -0
- package/bundled-skills/web3-audit/references/details.md +224 -0
- package/bundled-skills/windows-hardening/SKILL.md +454 -0
- package/bundled-skills/windows-hardening/references/details.md +204 -0
- package/bundled-skills/windows-server/SKILL.md +318 -0
- package/bundled-skills/writing-guidelines/SKILL.md +60 -0
- package/bundled-skills/zero-trust/SKILL.md +461 -0
- package/package.json +1 -1
- package/skills_index.json +7874 -277
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: azure-vms
|
|
3
|
+
description: Manage Azure Virtual Machines and scale sets. Configure availability
|
|
4
|
+
sets and managed disks. Use when deploying compute resources on Azure.
|
|
5
|
+
category: devops
|
|
6
|
+
risk: critical
|
|
7
|
+
source: https://github.com/BagelHole/DevOps-Security-Agent-Skills
|
|
8
|
+
source_repo: BagelHole/DevOps-Security-Agent-Skills
|
|
9
|
+
source_type: community
|
|
10
|
+
date_added: '2026-09-20'
|
|
11
|
+
license: MIT
|
|
12
|
+
license_source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/blob/main/LICENSE
|
|
13
|
+
compatibility: Requires the relevant OS/platform tooling and privileged access where
|
|
14
|
+
noted. Docs-only; helper scripts and templates not bundled.
|
|
15
|
+
metadata:
|
|
16
|
+
author: devops-skills
|
|
17
|
+
version: '1.0'
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Azure Virtual Machines
|
|
21
|
+
|
|
22
|
+
Deploy and manage Azure VMs, availability sets, scale sets, custom images, and managed disks. Covers VM creation, sizing, disk management, auto-scaling, and Terraform configurations for production environments.
|
|
23
|
+
|
|
24
|
+
## Prerequisites
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Install Azure CLI
|
|
28
|
+
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
|
29
|
+
|
|
30
|
+
# Login and set subscription
|
|
31
|
+
az login
|
|
32
|
+
az account set --subscription "my-subscription-id"
|
|
33
|
+
|
|
34
|
+
# Create resource group
|
|
35
|
+
az group create --name compute-rg --location eastus
|
|
36
|
+
|
|
37
|
+
# List available VM sizes in a region
|
|
38
|
+
az vm list-sizes --location eastus --output table
|
|
39
|
+
|
|
40
|
+
# List available VM images
|
|
41
|
+
az vm image list --output table
|
|
42
|
+
az vm image list --publisher Canonical --offer 0001-com-ubuntu-server-jammy --all --output table
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## VM Creation
|
|
46
|
+
|
|
47
|
+
### Linux VM with SSH Key
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
az vm create \
|
|
51
|
+
--resource-group compute-rg \
|
|
52
|
+
--name myapp-vm \
|
|
53
|
+
--image Ubuntu2204 \
|
|
54
|
+
--size Standard_D4s_v5 \
|
|
55
|
+
--admin-username azureuser \
|
|
56
|
+
--generate-ssh-keys \
|
|
57
|
+
--vnet-name myapp-vnet \
|
|
58
|
+
--subnet app-subnet \
|
|
59
|
+
--nsg "" \
|
|
60
|
+
--public-ip-address "" \
|
|
61
|
+
--os-disk-size-gb 64 \
|
|
62
|
+
--os-disk-caching ReadWrite \
|
|
63
|
+
--storage-sku Premium_LRS \
|
|
64
|
+
--zone 1 \
|
|
65
|
+
--assign-identity \
|
|
66
|
+
--tags environment=prod team=platform app=myapp
|
|
67
|
+
|
|
68
|
+
# SSH into the VM (if public IP assigned)
|
|
69
|
+
ssh azureuser@$(az vm show -g compute-rg -n myapp-vm -d --query publicIps -o tsv)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Windows VM
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
az vm create \
|
|
76
|
+
--resource-group compute-rg \
|
|
77
|
+
--name myapp-win-vm \
|
|
78
|
+
--image Win2022Datacenter \
|
|
79
|
+
--size Standard_D4s_v5 \
|
|
80
|
+
--admin-username azureadmin \
|
|
81
|
+
--admin-password 'S3cur3P@ssw0rd!' \
|
|
82
|
+
--vnet-name myapp-vnet \
|
|
83
|
+
--subnet app-subnet \
|
|
84
|
+
--public-ip-address "" \
|
|
85
|
+
--os-disk-size-gb 128 \
|
|
86
|
+
--storage-sku Premium_LRS \
|
|
87
|
+
--zone 1
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### VM with Cloud-Init
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# cloud-init.yaml
|
|
94
|
+
# #cloud-config
|
|
95
|
+
# package_update: true
|
|
96
|
+
# packages:
|
|
97
|
+
# - nginx
|
|
98
|
+
# - docker.io
|
|
99
|
+
# runcmd:
|
|
100
|
+
# - systemctl enable nginx
|
|
101
|
+
# - systemctl start nginx
|
|
102
|
+
# - usermod -aG docker azureuser
|
|
103
|
+
|
|
104
|
+
az vm create \
|
|
105
|
+
--resource-group compute-rg \
|
|
106
|
+
--name web-vm \
|
|
107
|
+
--image Ubuntu2204 \
|
|
108
|
+
--size Standard_B2s \
|
|
109
|
+
--admin-username azureuser \
|
|
110
|
+
--generate-ssh-keys \
|
|
111
|
+
--custom-data cloud-init.yaml \
|
|
112
|
+
--tags role=web
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## VM Size Guide
|
|
116
|
+
|
|
117
|
+
| Family | Example Sizes | Use Case |
|
|
118
|
+
|--------|---------------|----------|
|
|
119
|
+
| B-series | Standard_B1s, Standard_B2s | Dev/test, low-traffic web servers |
|
|
120
|
+
| D-series | Standard_D4s_v5, Standard_D8s_v5 | General purpose, most production workloads |
|
|
121
|
+
| E-series | Standard_E4s_v5, Standard_E16s_v5 | Memory-intensive (databases, caching) |
|
|
122
|
+
| F-series | Standard_F4s_v2, Standard_F16s_v2 | CPU-intensive (batch processing, analytics) |
|
|
123
|
+
| L-series | Standard_L8s_v3, Standard_L32s_v3 | Storage-optimized (big data, SQL) |
|
|
124
|
+
| N-series | Standard_NC6s_v3, Standard_NC24ads_A100_v4 | GPU workloads (ML training, rendering) |
|
|
125
|
+
| M-series | Standard_M128s | SAP HANA, large in-memory workloads |
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Find VM sizes with specific capabilities
|
|
129
|
+
az vm list-sizes --location eastus \
|
|
130
|
+
--query "[?numberOfCores >= \`4\` && memoryInMb >= \`16000\`]" \
|
|
131
|
+
--output table
|
|
132
|
+
|
|
133
|
+
# Check VM size availability in a zone
|
|
134
|
+
az vm list-skus --location eastus \
|
|
135
|
+
--size Standard_D4s_v5 \
|
|
136
|
+
--output table
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Managed Disks
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
# Add a data disk to existing VM
|
|
143
|
+
az vm disk attach \
|
|
144
|
+
--resource-group compute-rg \
|
|
145
|
+
--vm-name myapp-vm \
|
|
146
|
+
--name myapp-data-disk \
|
|
147
|
+
--size-gb 256 \
|
|
148
|
+
--sku Premium_LRS \
|
|
149
|
+
--new \
|
|
150
|
+
--lun 0
|
|
151
|
+
|
|
152
|
+
# Create a standalone managed disk
|
|
153
|
+
az disk create \
|
|
154
|
+
--resource-group compute-rg \
|
|
155
|
+
--name shared-data-disk \
|
|
156
|
+
--size-gb 512 \
|
|
157
|
+
--sku Premium_LRS \
|
|
158
|
+
--zone 1
|
|
159
|
+
|
|
160
|
+
# Resize a disk (VM must be deallocated)
|
|
161
|
+
az vm deallocate --resource-group compute-rg --name myapp-vm
|
|
162
|
+
az disk update \
|
|
163
|
+
--resource-group compute-rg \
|
|
164
|
+
--name myapp-data-disk \
|
|
165
|
+
--size-gb 512
|
|
166
|
+
az vm start --resource-group compute-rg --name myapp-vm
|
|
167
|
+
|
|
168
|
+
# Snapshot a disk for backup
|
|
169
|
+
az snapshot create \
|
|
170
|
+
--resource-group compute-rg \
|
|
171
|
+
--name myapp-disk-snapshot \
|
|
172
|
+
--source myapp-data-disk
|
|
173
|
+
|
|
174
|
+
# Create disk from snapshot
|
|
175
|
+
az disk create \
|
|
176
|
+
--resource-group compute-rg \
|
|
177
|
+
--name myapp-disk-from-snap \
|
|
178
|
+
--source myapp-disk-snapshot \
|
|
179
|
+
--sku Premium_LRS
|
|
180
|
+
|
|
181
|
+
# List disks attached to a VM
|
|
182
|
+
az vm show \
|
|
183
|
+
--resource-group compute-rg \
|
|
184
|
+
--name myapp-vm \
|
|
185
|
+
--query "storageProfile.dataDisks" \
|
|
186
|
+
--output table
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
## Custom Images
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
# Generalize the VM (run inside the VM first)
|
|
193
|
+
# sudo waagent -deprovision+user -force
|
|
194
|
+
|
|
195
|
+
# Deallocate and generalize
|
|
196
|
+
az vm deallocate --resource-group compute-rg --name myapp-vm
|
|
197
|
+
az vm generalize --resource-group compute-rg --name myapp-vm
|
|
198
|
+
|
|
199
|
+
# Create image from VM
|
|
200
|
+
az image create \
|
|
201
|
+
--resource-group compute-rg \
|
|
202
|
+
--name myapp-golden-image \
|
|
203
|
+
--source myapp-vm \
|
|
204
|
+
--os-type Linux
|
|
205
|
+
|
|
206
|
+
# Create VM from custom image
|
|
207
|
+
az vm create \
|
|
208
|
+
--resource-group compute-rg \
|
|
209
|
+
--name myapp-from-image \
|
|
210
|
+
--image myapp-golden-image \
|
|
211
|
+
--size Standard_D4s_v5 \
|
|
212
|
+
--admin-username azureuser \
|
|
213
|
+
--generate-ssh-keys
|
|
214
|
+
|
|
215
|
+
# Use Azure Compute Gallery for shared images
|
|
216
|
+
az sig create \
|
|
217
|
+
--resource-group compute-rg \
|
|
218
|
+
--gallery-name myAppGallery
|
|
219
|
+
|
|
220
|
+
az sig image-definition create \
|
|
221
|
+
--resource-group compute-rg \
|
|
222
|
+
--gallery-name myAppGallery \
|
|
223
|
+
--gallery-image-definition myapp-image \
|
|
224
|
+
--publisher myorg \
|
|
225
|
+
--offer myapp \
|
|
226
|
+
--sku 1.0 \
|
|
227
|
+
--os-type Linux \
|
|
228
|
+
--os-state Generalized
|
|
229
|
+
|
|
230
|
+
az sig image-version create \
|
|
231
|
+
--resource-group compute-rg \
|
|
232
|
+
--gallery-name myAppGallery \
|
|
233
|
+
--gallery-image-definition myapp-image \
|
|
234
|
+
--gallery-image-version 1.0.0 \
|
|
235
|
+
--managed-image myapp-golden-image \
|
|
236
|
+
--target-regions eastus westus \
|
|
237
|
+
--replica-count 2
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
## Availability Sets and Zones
|
|
241
|
+
|
|
242
|
+
```bash
|
|
243
|
+
# Create availability set
|
|
244
|
+
az vm availability-set create \
|
|
245
|
+
--resource-group compute-rg \
|
|
246
|
+
--name myapp-avset \
|
|
247
|
+
--platform-fault-domain-count 3 \
|
|
248
|
+
--platform-update-domain-count 5
|
|
249
|
+
|
|
250
|
+
# Create VM in availability set
|
|
251
|
+
az vm create \
|
|
252
|
+
--resource-group compute-rg \
|
|
253
|
+
--name myapp-vm-1 \
|
|
254
|
+
--image Ubuntu2204 \
|
|
255
|
+
--size Standard_D4s_v5 \
|
|
256
|
+
--availability-set myapp-avset \
|
|
257
|
+
--admin-username azureuser \
|
|
258
|
+
--generate-ssh-keys
|
|
259
|
+
|
|
260
|
+
# Create VMs across availability zones
|
|
261
|
+
for zone in 1 2 3; do
|
|
262
|
+
az vm create \
|
|
263
|
+
--resource-group compute-rg \
|
|
264
|
+
--name "myapp-vm-zone${zone}" \
|
|
265
|
+
--image Ubuntu2204 \
|
|
266
|
+
--size Standard_D4s_v5 \
|
|
267
|
+
--zone "$zone" \
|
|
268
|
+
--admin-username azureuser \
|
|
269
|
+
--generate-ssh-keys \
|
|
270
|
+
--no-wait
|
|
271
|
+
done
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
## Virtual Machine Scale Sets
|
|
275
|
+
|
|
276
|
+
```bash
|
|
277
|
+
# Create VMSS with autoscaling
|
|
278
|
+
az vmss create \
|
|
279
|
+
--resource-group compute-rg \
|
|
280
|
+
--name myapp-vmss \
|
|
281
|
+
--image Ubuntu2204 \
|
|
282
|
+
--vm-sku Standard_D4s_v5 \
|
|
283
|
+
--instance-count 2 \
|
|
284
|
+
--admin-username azureuser \
|
|
285
|
+
--generate-ssh-keys \
|
|
286
|
+
--vnet-name myapp-vnet \
|
|
287
|
+
--subnet app-subnet \
|
|
288
|
+
--upgrade-policy-mode Rolling \
|
|
289
|
+
--health-probe "/" \
|
|
290
|
+
--load-balancer myapp-lb \
|
|
291
|
+
--zones 1 2 3 \
|
|
292
|
+
--custom-data cloud-init.yaml \
|
|
293
|
+
--tags environment=prod
|
|
294
|
+
|
|
295
|
+
# Configure autoscale rules
|
|
296
|
+
az monitor autoscale create \
|
|
297
|
+
--resource-group compute-rg \
|
|
298
|
+
--resource myapp-vmss \
|
|
299
|
+
--resource-type Microsoft.Compute/virtualMachineScaleSets \
|
|
300
|
+
--name myapp-autoscale \
|
|
301
|
+
--min-count 2 \
|
|
302
|
+
--max-count 20 \
|
|
303
|
+
--count 3
|
|
304
|
+
|
|
305
|
+
# Scale out when CPU > 70%
|
|
306
|
+
az monitor autoscale rule create \
|
|
307
|
+
--resource-group compute-rg \
|
|
308
|
+
--autoscale-name myapp-autoscale \
|
|
309
|
+
--condition "Percentage CPU > 70 avg 5m" \
|
|
310
|
+
--scale out 2
|
|
311
|
+
|
|
312
|
+
# Scale in when CPU < 30%
|
|
313
|
+
az monitor autoscale rule create \
|
|
314
|
+
--resource-group compute-rg \
|
|
315
|
+
--autoscale-name myapp-autoscale \
|
|
316
|
+
--condition "Percentage CPU < 30 avg 10m" \
|
|
317
|
+
--scale in 1
|
|
318
|
+
|
|
319
|
+
# Manual scale
|
|
320
|
+
az vmss scale \
|
|
321
|
+
--resource-group compute-rg \
|
|
322
|
+
--name myapp-vmss \
|
|
323
|
+
--new-capacity 5
|
|
324
|
+
|
|
325
|
+
# Update VMSS image
|
|
326
|
+
az vmss update \
|
|
327
|
+
--resource-group compute-rg \
|
|
328
|
+
--name myapp-vmss \
|
|
329
|
+
--set virtualMachineProfile.storageProfile.imageReference.version=latest
|
|
330
|
+
|
|
331
|
+
# Rolling upgrade of instances
|
|
332
|
+
az vmss rolling-upgrade start \
|
|
333
|
+
--resource-group compute-rg \
|
|
334
|
+
--name myapp-vmss
|
|
335
|
+
|
|
336
|
+
# List VMSS instances
|
|
337
|
+
az vmss list-instances \
|
|
338
|
+
--resource-group compute-rg \
|
|
339
|
+
--name myapp-vmss \
|
|
340
|
+
--output table
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
## VM Management Operations
|
|
344
|
+
|
|
345
|
+
```bash
|
|
346
|
+
# Start / Stop / Restart / Deallocate
|
|
347
|
+
az vm start --resource-group compute-rg --name myapp-vm
|
|
348
|
+
az vm stop --resource-group compute-rg --name myapp-vm
|
|
349
|
+
az vm restart --resource-group compute-rg --name myapp-vm
|
|
350
|
+
az vm deallocate --resource-group compute-rg --name myapp-vm
|
|
351
|
+
|
|
352
|
+
# Run command on a VM
|
|
353
|
+
az vm run-command invoke \
|
|
354
|
+
--resource-group compute-rg \
|
|
355
|
+
--name myapp-vm \
|
|
356
|
+
--command-id RunShellScript \
|
|
357
|
+
--scripts "df -h && free -m && uptime"
|
|
358
|
+
|
|
359
|
+
# Enable boot diagnostics
|
|
360
|
+
az vm boot-diagnostics enable \
|
|
361
|
+
--resource-group compute-rg \
|
|
362
|
+
--name myapp-vm
|
|
363
|
+
|
|
364
|
+
# Get boot diagnostics log
|
|
365
|
+
az vm boot-diagnostics get-boot-log \
|
|
366
|
+
--resource-group compute-rg \
|
|
367
|
+
--name myapp-vm
|
|
368
|
+
|
|
369
|
+
# Enable Azure Backup
|
|
370
|
+
az backup protection enable-for-vm \
|
|
371
|
+
--resource-group compute-rg \
|
|
372
|
+
--vault-name myapp-vault \
|
|
373
|
+
--vm myapp-vm \
|
|
374
|
+
--policy-name DefaultPolicy
|
|
375
|
+
|
|
376
|
+
# Resize a VM
|
|
377
|
+
az vm resize \
|
|
378
|
+
--resource-group compute-rg \
|
|
379
|
+
--name myapp-vm \
|
|
380
|
+
--size Standard_D8s_v5
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
## Contents
|
|
385
|
+
|
|
386
|
+
- [Terraform Configuration](references/details.md)
|
|
387
|
+
- [Troubleshooting](references/details.md)
|
|
388
|
+
- [Related Skills](references/details.md)
|
|
389
|
+
|
|
390
|
+
## When to Use
|
|
391
|
+
|
|
392
|
+
- You need full control over the operating system and runtime environment.
|
|
393
|
+
- Your application requires specific OS configurations or kernel modules.
|
|
394
|
+
- You are running legacy applications that cannot be containerized.
|
|
395
|
+
- You need GPU-accelerated compute for ML training or rendering.
|
|
396
|
+
- You need high-availability compute with availability zones or scale sets.
|
|
397
|
+
|
|
398
|
+
## Limitations
|
|
399
|
+
|
|
400
|
+
- Infrastructure commands can disrupt services: confirm target host/scope and have backups/snapshots before mutating state.
|
|
401
|
+
- Docs-only import: upstream scripts and templates not bundled.
|
|
402
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Details (moved from SKILL.md)
|
|
2
|
+
|
|
3
|
+
> Extended reference content for `azure-vms`, kept under `references/` so the entrypoint stays within the audit budget.
|
|
4
|
+
|
|
5
|
+
## Terraform Configuration
|
|
6
|
+
|
|
7
|
+
```hcl
|
|
8
|
+
resource "azurerm_linux_virtual_machine" "main" {
|
|
9
|
+
name = "myapp-vm"
|
|
10
|
+
resource_group_name = azurerm_resource_group.main.name
|
|
11
|
+
location = azurerm_resource_group.main.location
|
|
12
|
+
size = "Standard_D4s_v5"
|
|
13
|
+
admin_username = "azureuser"
|
|
14
|
+
zone = "1"
|
|
15
|
+
network_interface_ids = [azurerm_network_interface.main.id]
|
|
16
|
+
|
|
17
|
+
admin_ssh_key {
|
|
18
|
+
username = "azureuser"
|
|
19
|
+
public_key = file("~/.ssh/id_rsa.pub")
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
os_disk {
|
|
23
|
+
caching = "ReadWrite"
|
|
24
|
+
storage_account_type = "Premium_LRS"
|
|
25
|
+
disk_size_gb = 64
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
source_image_reference {
|
|
29
|
+
publisher = "Canonical"
|
|
30
|
+
offer = "0001-com-ubuntu-server-jammy"
|
|
31
|
+
sku = "22_04-lts-gen2"
|
|
32
|
+
version = "latest"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
identity {
|
|
36
|
+
type = "SystemAssigned"
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
tags = var.tags
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
resource "azurerm_managed_disk" "data" {
|
|
43
|
+
name = "myapp-data-disk"
|
|
44
|
+
resource_group_name = azurerm_resource_group.main.name
|
|
45
|
+
location = azurerm_resource_group.main.location
|
|
46
|
+
storage_account_type = "Premium_LRS"
|
|
47
|
+
create_option = "Empty"
|
|
48
|
+
disk_size_gb = 256
|
|
49
|
+
zone = "1"
|
|
50
|
+
tags = var.tags
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
resource "azurerm_virtual_machine_data_disk_attachment" "data" {
|
|
54
|
+
managed_disk_id = azurerm_managed_disk.data.id
|
|
55
|
+
virtual_machine_id = azurerm_linux_virtual_machine.main.id
|
|
56
|
+
lun = 0
|
|
57
|
+
caching = "ReadOnly"
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
resource "azurerm_linux_virtual_machine_scale_set" "main" {
|
|
61
|
+
name = "myapp-vmss"
|
|
62
|
+
resource_group_name = azurerm_resource_group.main.name
|
|
63
|
+
location = azurerm_resource_group.main.location
|
|
64
|
+
sku = "Standard_D4s_v5"
|
|
65
|
+
instances = 3
|
|
66
|
+
admin_username = "azureuser"
|
|
67
|
+
zones = [1, 2, 3]
|
|
68
|
+
|
|
69
|
+
admin_ssh_key {
|
|
70
|
+
username = "azureuser"
|
|
71
|
+
public_key = file("~/.ssh/id_rsa.pub")
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
source_image_reference {
|
|
75
|
+
publisher = "Canonical"
|
|
76
|
+
offer = "0001-com-ubuntu-server-jammy"
|
|
77
|
+
sku = "22_04-lts-gen2"
|
|
78
|
+
version = "latest"
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
os_disk {
|
|
82
|
+
caching = "ReadWrite"
|
|
83
|
+
storage_account_type = "Premium_LRS"
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
network_interface {
|
|
87
|
+
name = "vmss-nic"
|
|
88
|
+
primary = true
|
|
89
|
+
|
|
90
|
+
ip_configuration {
|
|
91
|
+
name = "internal"
|
|
92
|
+
primary = true
|
|
93
|
+
subnet_id = azurerm_subnet.app.id
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
automatic_os_upgrade_policy {
|
|
98
|
+
disable_automatic_rollback = false
|
|
99
|
+
enable_automatic_os_upgrade = true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
rolling_upgrade_policy {
|
|
103
|
+
max_batch_instance_percent = 20
|
|
104
|
+
max_unhealthy_instance_percent = 20
|
|
105
|
+
max_unhealthy_upgraded_instance_percent = 5
|
|
106
|
+
pause_time_between_batches = "PT0S"
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
tags = var.tags
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## Troubleshooting
|
|
115
|
+
|
|
116
|
+
| Symptom | Cause | Fix |
|
|
117
|
+
|---------|-------|-----|
|
|
118
|
+
| VM fails to start | Quota exceeded in region | Check quota with `az vm list-usage --location eastus`; request increase |
|
|
119
|
+
| SSH connection refused | NSG blocking port 22 or VM not running | Check NSG rules and VM power state; use Azure Bastion for private VMs |
|
|
120
|
+
| VM disk full | OS disk too small or logs not rotated | Resize disk after deallocating; configure log rotation |
|
|
121
|
+
| VM performance is slow | Wrong VM size or disk throttling | Check metrics with `az monitor metrics list`; upgrade size or disk tier |
|
|
122
|
+
| Scale set not scaling out | Autoscale rule threshold not met | Review autoscale settings; verify metric thresholds match workload |
|
|
123
|
+
| Custom image VM boot fails | Image not properly generalized | Re-run `waagent -deprovision` before capturing; check boot diagnostics |
|
|
124
|
+
| VMSS rolling upgrade stuck | Health probe failing on new instances | Fix application health endpoint; check `az vmss rolling-upgrade get-latest` |
|
|
125
|
+
| Spot VM evicted unexpectedly | Azure reclaimed capacity | Use eviction policy `Deallocate` and set up eviction notifications |
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
## Related Skills
|
|
129
|
+
|
|
130
|
+
- `azure-networking` -- VNet and NSG configuration for VM connectivity.
|
|
131
|
+
- `azure-aks` -- Container alternative when VMs are not required.
|
|
132
|
+
- `arm-templates` -- Bicep-based VM deployment templates.
|
|
133
|
+
- `terraform-azure` -- Terraform-based VM and VMSS provisioning.
|
|
134
|
+
|