[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7943CPJB2W1089QQ26FJG1A":3,"skill-same:01M7943CPJB2W1089QQ26FJG1A":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7943CPJB2W1089QQ26FJG1A","oraclecloud-cost-tuning",null,"Track OCI spend with the Usage API and set up budget alerts.\nUse when monitoring Oracle Cloud costs, creating budgets, analyzing spend by compartment or service, or optimizing Universal Credits consumption.\nTrigger with \"oraclecloud cost\", \"oci budget\", \"oci usage api\", \"oci spending\", \"oracle cloud cost tuning\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-cost-tuning\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: oraclecloud-cost-tuning\ndescription: |\n  Track OCI spend with the Usage API and set up budget alerts.\n  Use when monitoring Oracle Cloud costs, creating budgets, analyzing spend by compartment or service, or optimizing Universal Credits consumption.\n  Trigger with \"oraclecloud cost\", \"oci budget\", \"oci usage api\", \"oci spending\", \"oracle cloud cost tuning\".\nallowed-tools: Read, Write, Edit, Bash(pip:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, oraclecloud, oci]\ncompatible-with: claude-code\n---\n\n# Oracle Cloud Cost Tuning\n\n## Overview\n\nTrack OCI spending programmatically using the Usage API and set up budget alerts before Universal Credits run out unexpectedly. OCI pricing varies by shape, region, and commitment level, and the Cost Analysis tool in the Console is buried and confusing. This skill uses the Usage API to query spend by compartment, service, and shape, creates budgets with alert rules, and covers optimization strategies including Always Free tier resources, preemptible instances, and reserved capacity.\n\n**Purpose:** Get visibility into OCI spending through code, set proactive budget alerts, and identify cost optimization opportunities.\n\n## Prerequisites\n\n- **OCI tenancy** with an API signing key in `~\u002F.oci\u002Fconfig`\n- **Python 3.8+** with `pip install oci`\n- **Tenancy OCID** (root compartment) for tenancy-wide cost queries\n- **IAM policy** granting `read usage-reports` in the tenancy\n- **Notification topic OCID** for budget alert delivery (see `oraclecloud-observability`)\n\n## Instructions\n\n### Step 1: Query Usage with the Usage API\n\nThe Usage API returns cost and usage data broken down by configurable dimensions:\n\n```python\nimport oci\nfrom datetime import datetime, timedelta\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\nusage_api = oci.usage_api.UsageapiClient(config)\n\n# Query last 30 days of spend by service\nresponse = usage_api.request_summarized_usages(\n    oci.usage_api.models.RequestSummarizedUsagesDetails(\n        tenant_id=config[\"tenancy\"],\n        time_usage_started=(datetime.utcnow() - timedelta(days=30)).isoformat() + \"Z\",\n        time_usage_ended=datetime.utcnow().isoformat() + \"Z\",\n        granularity=\"DAILY\",\n        query_type=\"COST\",\n        group_by=[\"service\"]\n    )\n)\n\ntotal_cost = 0.0\nfor item in response.data.items:\n    cost = item.computed_amount or 0\n    total_cost += cost\n    if cost > 0:\n        print(f\"{item.service}: ${cost:.2f} ({item.currency})\")\n\nprint(f\"\\nTotal 30-day spend: ${total_cost:.2f}\")\n```\n\n### Step 2: Break Down Cost by Compartment and Shape\n\nIdentify which compartments and shapes are driving your bill:\n\n```python\n# Cost by compartment\nresponse = usage_api.request_summarized_usages(\n    oci.usage_api.models.RequestSummarizedUsagesDetails(\n        tenant_id=config[\"tenancy\"],\n        time_usage_started=(datetime.utcnow() - timedelta(days=30)).isoformat() + \"Z\",\n        time_usage_ended=datetime.utcnow().isoformat() + \"Z\",\n        granularity=\"MONTHLY\",\n        query_type=\"COST\",\n        group_by=[\"compartmentName\", \"skuName\"]\n    )\n)\n\nfor item in response.data.items:\n    cost = item.computed_amount or 0\n    if cost > 1.0:  # Filter noise\n        print(f\"{item.compartment_name} | {item.sku_name}: ${cost:.2f}\")\n```\n\n### Step 3: Create a Budget with Alert Rules\n\nBudgets warn you before spend exceeds a threshold. Create them via SDK instead of hunting through the Console:\n\n```python\nbudget_client = oci.budget.BudgetClient(config)\n\n# Create a monthly budget for a specific compartment\nbudget = budget_client.create_budget(\n    oci.budget.models.CreateBudgetDetails(\n        compartment_id=config[\"tenancy\"],\n        target_type=\"COMPARTMENT\",\n        targets=[\"ocid1.compartment.oc1..example\"],\n        amount=500.0,\n        reset_period=\"MONTHLY\",\n        display_name=\"Dev Environment Budget\",\n        description=\"Monthly budget for dev compartment\"\n    )\n).data\n\nprint(f\"Budget created: {budget.id}\")\n\n# Add alert rule at 80% threshold\nbudget_client.create_alert_rule(\n    budget_id=budget.id,\n    create_alert_rule_details=oci.budget.models.CreateAlertRuleDetails(\n        type=\"ACTUAL\",\n        threshold=80.0,\n        threshold_type=\"PERCENTAGE\",\n        display_name=\"80% Warning\",\n        recipients=\"oncall@example.com\",\n        message=\"Dev budget has reached 80% of $500 monthly limit.\"\n    )\n)\n\n# Add critical alert at 95%\nbudget_client.create_alert_rule(\n    budget_id=budget.id,\n    create_alert_rule_details=oci.budget.models.CreateAlertRuleDetails(\n        type=\"ACTUAL\",\n        threshold=95.0,\n        threshold_type=\"PERCENTAGE\",\n        display_name=\"95% Critical\",\n        recipients=\"oncall@example.com\",\n        message=\"CRITICAL: Dev budget at 95%. Review immediately.\"\n    )\n)\nprint(\"Alert rules created: 80% warning + 95% critical\")\n```\n\n### Step 4: Forecast Budget with Projected Spend\n\nSet a forecast-based alert that warns you if your current burn rate will exceed the budget:\n\n```python\nbudget_client.create_alert_rule(\n    budget_id=budget.id,\n    create_alert_rule_details=oci.budget.models.CreateAlertRuleDetails(\n        type=\"FORECAST\",\n        threshold=100.0,\n        threshold_type=\"PERCENTAGE\",\n        display_name=\"Forecast Overspend\",\n        recipients=\"oncall@example.com\",\n        message=\"Projected spend will exceed monthly budget based on current usage.\"\n    )\n)\nprint(\"Forecast alert created: warns if burn rate exceeds budget\")\n```\n\n### Step 5: Cost Optimization Strategies\n\nApply these strategies to reduce OCI spending:\n\n**Always Free tier resources** — run dev\u002Ftest workloads for free:\n- 2 AMD Compute VMs (1\u002F8 OCPU, 1 GB each) or 4 Arm A1 VMs (24 GB total)\n- 200 GB total block storage, 10 GB object storage\n- 1 Autonomous Database (20 GB), 10 Mbps load balancer\n- Monitoring: 500 million ingestion datapoints, 1 billion retrieval datapoints\n\n**Preemptible instances** — up to 50% cheaper for fault-tolerant batch jobs:\n\n```python\ncompute = oci.core.ComputeClient(config)\n\ncompute.launch_instance(\n    oci.core.models.LaunchInstanceDetails(\n        compartment_id=\"ocid1.compartment.oc1..example\",\n        availability_domain=\"Uocm:US-ASHBURN-AD-1\",\n        shape=\"VM.Standard.E4.Flex\",\n        shape_config=oci.core.models.LaunchInstanceShapeConfigDetails(\n            ocpus=4.0,\n            memory_in_gbs=16.0\n        ),\n        preemptible_instance_config=oci.core.models.PreemptibleInstanceConfigDetails(\n            preemption_action=oci.core.models.TerminatePreemptionAction(\n                type=\"TERMINATE\",\n                preserve_boot_volume=False\n            )\n        ),\n        source_details=oci.core.models.InstanceSourceViaImageDetails(\n            image_id=\"ocid1.image.oc1..example\",\n            source_type=\"image\"\n        ),\n        create_vnic_details=oci.core.models.CreateVnicDetails(\n            subnet_id=\"ocid1.subnet.oc1..example\"\n        ),\n        display_name=\"batch-worker-preemptible\"\n    )\n)\nprint(\"Preemptible instance launched — up to 50% cost savings\")\n```\n\n**Reserved capacity** — commit for 1 or 3 years for predictable discounts. Savings vary by shape and term length, typically 30–60% off on-demand pricing.\n\n## Output\n\nSuccessful completion produces:\n- Usage API queries showing cost breakdown by service, compartment, and SKU\n- A monthly budget with alert rules at 80% and 95% thresholds\n- A forecast-based alert for projected overspend\n- Cost optimization patterns: Always Free resources, preemptible instances, and reserved capacity guidance\n\n## Error Handling\n\n| Error | Code | Cause | Solution |\n|-------|------|-------|----------|\n| NotAuthenticated | 401 | Bad API key or wrong tenancy | Verify `~\u002F.oci\u002Fconfig` fields match your tenancy |\n| NotAuthorizedOrNotFound | 404 | Missing `read usage-reports` policy | Add: `Allow group X to read usage-reports in tenancy` |\n| TooManyRequests | 429 | Rate limited on Usage API | Reduce query frequency; cache daily results |\n| InvalidParameter | 400 | Invalid date range or granularity | Ensure dates are ISO format with Z suffix; use DAILY or MONTHLY |\n| InternalError | 500 | OCI Usage API service issue | Check [OCI Status](https:\u002F\u002Focistatus.oraclecloud.com) and retry |\n| ServiceError status -1 | N\u002FA | Timeout on large cost queries | Narrow date range or reduce `group_by` dimensions |\n\n## Examples\n\n**Quick cost check with OCI CLI:**\n\n```bash\n# List all budgets in your tenancy\noci budgets budget list --compartment-id $OCI_TENANCY_OCID\n\n# Get current month spend summary\noci usage-api usage-summary request-summarized-usages \\\n  --tenant-id $OCI_TENANCY_OCID \\\n  --time-usage-started \"$(date -u -d '30 days ago' +%Y-%m-%dT%H:%M:%SZ)\" \\\n  --time-usage-ended \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\" \\\n  --granularity MONTHLY \\\n  --query-type COST\n```\n\n**Daily cost tracker script:**\n\n```python\nimport oci\nfrom datetime import datetime, timedelta\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\nusage_api = oci.usage_api.UsageapiClient(config)\n\n# Yesterday's spend\nyesterday = datetime.utcnow() - timedelta(days=1)\nresponse = usage_api.request_summarized_usages(\n    oci.usage_api.models.RequestSummarizedUsagesDetails(\n        tenant_id=config[\"tenancy\"],\n        time_usage_started=yesterday.replace(hour=0, minute=0).isoformat() + \"Z\",\n        time_usage_ended=yesterday.replace(hour=23, minute=59).isoformat() + \"Z\",\n        granularity=\"DAILY\",\n        query_type=\"COST\",\n        group_by=[\"service\"]\n    )\n)\n\ndaily_total = sum(i.computed_amount or 0 for i in response.data.items)\nprint(f\"Yesterday's spend: ${daily_total:.2f}\")\nfor item in sorted(response.data.items, key=lambda x: x.computed_amount or 0, reverse=True)[:5]:\n    print(f\"  {item.service}: ${item.computed_amount or 0:.2f}\")\n```\n\n## Resources\n\n- [OCI Cost Analysis](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FBilling\u002FConcepts\u002Fcostanalysisoverview.htm) — Console cost tool documentation\n- [OCI Budgets](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FBilling\u002FConcepts\u002Fbudgetsoverview.htm) — budget creation and alert rules\n- [OCI Pricing](https:\u002F\u002Fwww.oracle.com\u002Fcloud\u002Fpricing\u002F) — current pricing by service and shape\n- [OCI Always Free](https:\u002F\u002Fwww.oracle.com\u002Fcloud\u002Ffree\u002F) — permanent free tier resources\n- [OCI Python SDK](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002F) — SDK reference\n\n## Next Steps\n\nAfter cost monitoring is in place, review `oraclecloud-performance-tuning` to right-size instances based on actual metrics, or see `oraclecloud-observability` to route budget alerts through the same notification topics as your infrastructure alarms.\n","# Oracle Cloud Cost Tuning\n\n## Overview\n\nTrack OCI spending programmatically using the Usage API and set up budget alerts before Universal Credits run out unexpectedly. OCI pricing varies by shape, region, and commitment level, and the Cost Analysis tool in the Console is buried and confusing. This skill uses the Usage API to query spend by compartment, service, and shape, creates budgets with alert rules, and covers optimization strategies including Always Free tier resources, preemptible instances, and reserved capacity.\n\n**Purpose:** Get visibility into OCI spending through code, set proactive budget alerts, and identify cost optimization opportunities.\n\n## Prerequisites\n\n- **OCI tenancy** with an API signing key in `~\u002F.oci\u002Fconfig`\n- **Python 3.8+** with `pip install oci`\n- **Tenancy OCID** (root compartment) for tenancy-wide cost queries\n- **IAM policy** granting `read usage-reports` in the tenancy\n- **Notification topic OCID** for budget alert delivery (see `oraclecloud-observability`)\n\n## Instructions\n\n### Step 1: Query Usage with the Usage API\n\nThe Usage API returns cost and usage data broken down by configurable dimensions:\n\n```python\nimport oci\nfrom datetime import datetime, timedelta\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\nusage_api = oci.usage_api.UsageapiClient(config)\n\n# Query last 30 days of spend by service\nresponse = usage_api.request_summarized_usages(\n    oci.usage_api.models.RequestSummarizedUsagesDetails(\n        tenant_id=config[\"tenancy\"],\n        time_usage_started=(datetime.utcnow() - timedelta(days=30)).isoformat() + \"Z\",\n        time_usage_ended=datetime.utcnow().isoformat() + \"Z\",\n        granularity=\"DAILY\",\n        query_type=\"COST\",\n        group_by=[\"service\"]\n    )\n)\n\ntotal_cost = 0.0\nfor item in response.data.items:\n    cost = item.computed_amount or 0\n    total_cost += cost\n    if cost > 0:\n        print(f\"{item.service}: ${cost:.2f} ({item.currency})\")\n\nprint(f\"\\nTotal 30-day spend: ${total_cost:.2f}\")\n```\n\n### Step 2: Break Down Cost by Compartment and Shape\n\nIdentify which compartments and shapes are driving your bill:\n\n```python\n# Cost by compartment\nresponse = usage_api.request_summarized_usages(\n    oci.usage_api.models.RequestSummarizedUsagesDetails(\n        tenant_id=config[\"tenancy\"],\n        time_usage_started=(datetime.utcnow() - timedelta(days=30)).isoformat() + \"Z\",\n        time_usage_ended=datetime.utcnow().isoformat() + \"Z\",\n        granularity=\"MONTHLY\",\n        query_type=\"COST\",\n        group_by=[\"compartmentName\", \"skuName\"]\n    )\n)\n\nfor item in response.data.items:\n    cost = item.computed_amount or 0\n    if cost > 1.0:  # Filter noise\n        print(f\"{item.compartment_name} | {item.sku_name}: ${cost:.2f}\")\n```\n\n### Step 3: Create a Budget with Alert Rules\n\nBudgets warn you before spend exceeds a threshold. Create them via SDK instead of hunting through the Console:\n\n```python\nbudget_client = oci.budget.BudgetClient(config)\n\n# Create a monthly budget for a specific compartment\nbudget = budget_client.create_budget(\n    oci.budget.models.CreateBudgetDetails(\n        compartment_id=config[\"tenancy\"],\n        target_type=\"COMPARTMENT\",\n        targets=[\"ocid1.compartment.oc1..example\"],\n        amount=500.0,\n        reset_period=\"MONTHLY\",\n        display_name=\"Dev Environment Budget\",\n        description=\"Monthly budget for dev compartment\"\n    )\n).data\n\nprint(f\"Budget created: {budget.id}\")\n\n# Add alert rule at 80% threshold\nbudget_client.create_alert_rule(\n    budget_id=budget.id,\n    create_alert_rule_details=oci.budget.models.CreateAlertRuleDetails(\n        type=\"ACTUAL\",\n        threshold=80.0,\n        threshold_type=\"PERCENTAGE\",\n        display_name=\"80% Warning\",\n        recipients=\"oncall@example.com\",\n        message=\"Dev budget has reached 80% of $500 monthly limit.\"\n    )\n)\n\n# Add critical alert at 95%\nbudget_client.create_alert_rule(\n    budget_id=budget.id,\n    create_alert_rule_details=oci.budget.models.CreateAlertRuleDetails(\n        type=\"ACTUAL\",\n        threshold=95.0,\n        threshold_type=\"PERCENTAGE\",\n        display_name=\"95% Critical\",\n        recipients=\"oncall@example.com\",\n        message=\"CRITICAL: Dev budget at 95%. Review immediately.\"\n    )\n)\nprint(\"Alert rules created: 80% warning + 95% critical\")\n```\n\n### Step 4: Forecast Budget with Projected Spend\n\nSet a forecast-based alert that warns you if your current burn rate will exceed the budget:\n\n```python\nbudget_client.create_alert_rule(\n    budget_id=budget.id,\n    create_alert_rule_details=oci.budget.models.CreateAlertRuleDetails(\n        type=\"FORECAST\",\n        threshold=100.0,\n        threshold_type=\"PERCENTAGE\",\n        display_name=\"Forecast Overspend\",\n        recipients=\"oncall@example.com\",\n        message=\"Projected spend will exceed monthly budget based on current usage.\"\n    )\n)\nprint(\"Forecast alert created: warns if burn rate exceeds budget\")\n```\n\n### Step 5: Cost Optimization Strategies\n\nApply these strategies to reduce OCI spending:\n\n**Always Free tier resources** — run dev\u002Ftest workloads for free:\n- 2 AMD Compute VMs (1\u002F8 OCPU, 1 GB each) or 4 Arm A1 VMs (24 GB total)\n- 200 GB total block storage, 10 GB object storage\n- 1 Autonomous Database (20 GB), 10 Mbps load balancer\n- Monitoring: 500 million ingestion datapoints, 1 billion retrieval datapoints\n\n**Preemptible instances** — up to 50% cheaper for fault-tolerant batch jobs:\n\n```python\ncompute = oci.core.ComputeClient(config)\n\ncompute.launch_instance(\n    oci.core.models.LaunchInstanceDetails(\n        compartment_id=\"ocid1.compartment.oc1..example\",\n        availability_domain=\"Uocm:US-ASHBURN-AD-1\",\n        shape=\"VM.Standard.E4.Flex\",\n        shape_config=oci.core.models.LaunchInstanceShapeConfigDetails(\n            ocpus=4.0,\n            memory_in_gbs=16.0\n        ),\n        preemptible_instance_config=oci.core.models.PreemptibleInstanceConfigDetails(\n            preemption_action=oci.core.models.TerminatePreemptionAction(\n                type=\"TERMINATE\",\n                preserve_boot_volume=False\n            )\n        ),\n        source_details=oci.core.models.InstanceSourceViaImageDetails(\n            image_id=\"ocid1.image.oc1..example\",\n            source_type=\"image\"\n        ),\n        create_vnic_details=oci.core.models.CreateVnicDetails(\n            subnet_id=\"ocid1.subnet.oc1..example\"\n        ),\n        display_name=\"batch-worker-preemptible\"\n    )\n)\nprint(\"Preemptible instance launched — up to 50% cost savings\")\n```\n\n**Reserved capacity** — commit for 1 or 3 years for predictable discounts. Savings vary by shape and term length, typically 30–60% off on-demand pricing.\n\n## Output\n\nSuccessful completion produces:\n- Usage API queries showing cost breakdown by service, compartment, and SKU\n- A monthly budget with alert rules at 80% and 95% thresholds\n- A forecast-based alert for projected overspend\n- Cost optimization patterns: Always Free resources, preemptible instances, and reserved capacity guidance\n\n## Error Handling\n\n| Error | Code | Cause | Solution |\n|-------|------|-------|----------|\n| NotAuthenticated | 401 | Bad API key or wrong tenancy | Verify `~\u002F.oci\u002Fconfig` fields match your tenancy |\n| NotAuthorizedOrNotFound | 404 | Missing `read usage-reports` policy | Add: `Allow group X to read usage-reports in tenancy` |\n| TooManyRequests | 429 | Rate limited on Usage API | Reduce query frequency; cache daily results |\n| InvalidParameter | 400 | Invalid date range or granularity | Ensure dates are ISO format with Z suffix; use DAILY or MONTHLY |\n| InternalError | 500 | OCI Usage API service issue | Check [OCI Status](https:\u002F\u002Focistatus.oraclecloud.com) and retry |\n| ServiceError status -1 | N\u002FA | Timeout on large cost queries | Narrow date range or reduce `group_by` dimensions |\n\n## Examples\n\n**Quick cost check with OCI CLI:**\n\n```bash\n# List all budgets in your tenancy\noci budgets budget list --compartment-id $OCI_TENANCY_OCID\n\n# Get current month spend summary\noci usage-api usage-summary request-summarized-usages \\\n  --tenant-id $OCI_TENANCY_OCID \\\n  --time-usage-started \"$(date -u -d '30 days ago' +%Y-%m-%dT%H:%M:%SZ)\" \\\n  --time-usage-ended \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\" \\\n  --granularity MONTHLY \\\n  --query-type COST\n```\n\n**Daily cost tracker script:**\n\n```python\nimport oci\nfrom datetime import datetime, timedelta\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\nusage_api = oci.usage_api.UsageapiClient(config)\n\n# Yesterday's spend\nyesterday = datetime.utcnow() - timedelta(days=1)\nresponse = usage_api.request_summarized_usages(\n    oci.usage_api.models.RequestSummarizedUsagesDetails(\n        tenant_id=config[\"tenancy\"],\n        time_usage_started=yesterday.replace(hour=0, minute=0).isoformat() + \"Z\",\n        time_usage_ended=yesterday.replace(hour=23, minute=59).isoformat() + \"Z\",\n        granularity=\"DAILY\",\n        query_type=\"COST\",\n        group_by=[\"service\"]\n    )\n)\n\ndaily_total = sum(i.computed_amount or 0 for i in response.data.items)\nprint(f\"Yesterday's spend: ${daily_total:.2f}\")\nfor item in sorted(response.data.items, key=lambda x: x.computed_amount or 0, reverse=True)[:5]:\n    print(f\"  {item.service}: ${item.computed_amount or 0:.2f}\")\n```\n\n## Resources\n\n- [OCI Cost Analysis](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FBilling\u002FConcepts\u002Fcostanalysisoverview.htm) — Console cost tool documentation\n- [OCI Budgets](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FBilling\u002FConcepts\u002Fbudgetsoverview.htm) — budget creation and alert rules\n- [OCI Pricing](https:\u002F\u002Fwww.oracle.com\u002Fcloud\u002Fpricing\u002F) — current pricing by service and shape\n- [OCI Always Free](https:\u002F\u002Fwww.oracle.com\u002Fcloud\u002Ffree\u002F) — permanent free tier resources\n- [OCI Python SDK](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002F) — SDK reference\n\n## Next Steps\n\nAfter cost monitoring is in place, review `oraclecloud-performance-tuning` to right-size instances based on actual metrics, or see `oraclecloud-observability` to route budget alerts through the same notification topics as your infrastructure alarms.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","oraclecloud","oci","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Track OCI spend with the Usage API and set up budget alerts.\nUse when monitoring Oracle Cloud costs, creating budgets, analyzing spend by compartment or service, or optimizing Universal Credits consumption.\nTrigger with \"oraclecloud cost\", \"oci budget\", \"oci usage api\", \"oci spending\", \"oracle cloud cost tuning\".\n","Read, Write, Edit, Bash(pip:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-cost-tuning",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-cost-tuning",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-cost-tuning",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-cost-tuning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-cost-tuning\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]