All skills
simota avatar

/ledger

@e307415
by shingo imotasimota/agent-skills85 stars
15

Optimizing FinOps and cloud cost: IaC-based estimation, right-sizing, RI/SP recommendations, anomaly detection, budget alerts, AI/GPU workload economics. Use to forecast or cut cloud spend.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/ledger

This session only. Nothing lands on disk.

referencehandoff-formats.md

≈957 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Handoff Formats

Purpose: Handoff YAML templates between Ledger and coordinating agents. Read when: Passing cost-related information between agents.


Inbound Handoffs

SCAFFOLD_TO_LEDGER

SCAFFOLD_TO_LEDGER:
  request_type: "cost_estimation | tag_audit | right_sizing_review"
  iac_tool: "terraform | cloudformation | pulumi | opentofu"
  iac_path: "[path to IaC files or plan output]"
  environment: "dev | staging | production"
  context:
    current_monthly_spend: "[amount or N/A]"
    resource_count: "[number]"
    change_summary: "[brief description of IaC changes]"
  constraints:
    budget_limit: "[monthly amount or N/A]"
    timeline: "[urgency level]"

BEACON_TO_LEDGER

BEACON_TO_LEDGER:
  request_type: "cost_optimization | capacity_review | anomaly_correlation"
  slo_context:
    target_availability: "[e.g., 99.9%]"
    latency_p99: "[e.g., 200ms]"
    throughput: "[e.g., 1000 rps]"
  capacity_data:
    current_utilization: "[percentage]"
    growth_forecast: "[percentage per month]"
  constraints:
    no_downgrade_services: ["[service list]"]
    peak_hours: "[time range]"

ATLAS_TO_LEDGER

ATLAS_TO_LEDGER:
  request_type: "architecture_cost_review | migration_cost_estimate"
  architecture:
    topology: "[description or diagram reference]"
    services: ["[service list with resource types]"]
    data_flows: ["[flow descriptions with estimated volumes]"]
  context:
    migration_from: "[current state]"
    migration_to: "[target state]"

PULSE_TO_LEDGER

PULSE_TO_LEDGER:
  request_type: "unit_economics | cost_per_metric"
  business_metrics:
    mau: "[monthly active users]"
    transactions_per_month: "[count]"
    revenue_per_month: "[amount]"
  target_metrics:
    - name: "cost_per_user"
      current: "[amount]"
      target: "[amount]"

Outbound Handoffs

LEDGER_TO_SCAFFOLD

LEDGER_TO_SCAFFOLD:
  deliverable_type: "right_sizing_recommendations | ri_sp_aligned_config | tag_enforcement"
  recommendations:
    - resource: "[resource identifier]"
      current: "[current type/size]"
      recommended: "[recommended type/size]"
      estimated_savings: "[monthly amount]"
      confidence: "high | medium | low"
      iac_change: "[brief description of required IaC change]"
  commitment_alignment:
    sp_type: "[Compute SP | EC2 Instance SP | N/A]"
    term: "[1yr | 3yr]"
    notes: "[alignment notes]"

LEDGER_TO_BEACON

LEDGER_TO_BEACON:
  deliverable_type: "cost_anomaly_rules | cost_alert_integration"
  anomaly_rules:
    - name: "[rule name]"
      condition: "[detection condition]"
      severity: "INFO | WARNING | CRITICAL | EMERGENCY"
      action: "[response action]"
  integration_points:
    alertmanager: "[config snippet or reference]"
    dashboard: "[widget specification]"

LEDGER_TO_GEAR

LEDGER_TO_GEAR:
  deliverable_type: "ci_cd_cost_gate | infracost_integration"
  cost_gate:
    tool: "infracost"
    thresholds:
      dev: { auto_approve: "$50", review: "$200", block: "$500" }
      staging: { auto_approve: "$100", review: "$500", block: "$1000" }
      production: { auto_approve: "$200", review: "$1000", block: "$2000" }
    workflow_file: "[path to workflow YAML]"
  integration_notes: "[setup instructions]"

LEDGER_TO_CANVAS

LEDGER_TO_CANVAS:
  deliverable_type: "cost_dashboard | trend_visualization | cost_report"
  dashboard_spec:
    type: "executive | team | engineering"
    widgets:
      - name: "[widget name]"
        metric: "[metric description]"
        visualization: "[chart type]"
        data_source: "[source]"
  data_context:
    time_range: "[e.g., last 12 months]"
    granularity: "daily | weekly | monthly"
    breakdown_dimensions: ["team", "service", "environment"]

Source: SKILL.md on GitHub

No alerts13d4 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The 'ledger' skill is a comprehensive FinOps and cloud cost optimization tool designed to assist with IaC cost estimation, right-sizing, and commitment strategies. A thorough security analysis found no evidence of prompt injection, data exfiltration, obfuscation, or malicious code execution. The external links provided are legitimate technical citations and references for cloud cost data.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/ledger