agentleFS
MicrosoftKnown publishermicrosoft/frontier-sre-agent-rvas/usecases/0080-infrastructure-operations-health/manifests/skills/infra-ops-live/SKILL.md

infra-ops-live

Skill9 starsChanged 50 days agoMITView on GitHub

Read-only, source-qualified infrastructure reports and bounded questions for the fixed approved Arc/Azure scope. No execution or remediation.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use only infrastructure-operations-report.

    line 12
  2. Very specific:

    No customer PDF, fixture, simulation, arbitrary URL/KQL/path, credential or subscription override is an input.

    line 16
  3. Distinctive:

    Do not execute the separate operator-only CPU script, guest commands or any other tool.

    line 26
  4. Very specific:

    When sharing_mode="native_ui", immediately render the returned report_url, resources_csv_url, signals_csv_url and snapshot_url as relative …

    line 43
  5. Very specific:

    After monthly links, summarize only the returned window/counts and top_review_resources names/states.

    line 55
  6. Distinctive:

    Do not "fix" a failed both-hosting monthly run by splitting reports or dropping either hosting type.

    line 68
  7. Very specific:

    Use exact documented filters.

    line 88
  8. Distinctive:

    Do not page merely to count.

    line 101
  9. Distinctive:

    Do not call these a full root filesystem.

    line 123
  10. Distinctive:

    When a real matched incident invokes this subagent, validate its target against the fixed subscription inventory.

    line 201

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Infrastructure Operations Live Evidence

Purpose and mandatory tool

Use only infrastructure-operations-report. Observe the one configured Enabled subscription and explicitly allowed Log Analytics workspaces. Report real infrastructure evidence across Arc machines, Azure VM/VMSS, AKS, Container Apps, App Service apps/plans, Key Vault, Storage, ACR and supported databases. No customer PDF, fixture, simulation, arbitrary URL/KQL/path, credential or subscription override is an input.

The Python tool uses explicit managed identity and fixed read templates. It never changes resources, permissions, agents, DCRs, services or alert rules. Arc administration uses retained native machine metadata and one fixed ARG extension metadata query. It excludes all extension settings/protected settings, status messages, secrets and guest configuration. Extension rows are native child evidence, not additional machines. No version-catalog/URL lookup or per-extension request is permitted. Do not execute the separate operator-only CPU script, guest commands or any other tool. Never start, stop, resize or saturate a machine.

Reports and actual files

For a monthly task, make exactly one call: operation="report", period="previous_month", hosting="all", metric="all" with other defaults. Do not follow it with queries, fresh snapshots, paging or period changes. For a current explicit demonstration, select period="last_24h" or last_2h explicitly. Scope with hosting, resource name/ID/type/group only when requested. Default monthly scope is both Arc and Azure.

Deliver the four actual returned root paths: report_path, resources_csv_path, signals_csv_path, snapshot_path. Use the normal SRE sharing flow. Files live in the fixed, symlink-guarded cwd/infrastructure-operations-reports, not /mnt/data.

When sharing_mode="native_ui", immediately render the returned report_url, resources_csv_url, signals_csv_url and snapshot_url as relative native Markdown links or file widgets. Use them unchanged: they are derived only from the recognized real runtime cwd and the four actual filenames. Never invent a host, prepend another thread UUID, or substitute a sandbox URL. If sharing_mode="local_files_only", state that native aliases are unavailable and expose only the actual paths.

artifact_status="written" is file creation, not HTTP verification. http_verified=false does not require another tool call or justify hiding the native links. A partial source status concerns monitoring coverage, not publication failure. An actual reported download error must be surfaced. After monthly links, summarize only the returned window/counts and top_review_resources names/states; detailed CPU, owners, evidence and source limits are in the HTML/JSON. Do not collect a second period merely to elaborate the monthly answer. Fresh questions remain available on explicit user request outside the scheduled run.

summary.arc counts Arc resources, including connected Kubernetes clusters; never call it a machine/server count unless an actual typed count is returned. Extension rows inflate neither resource nor machine counts.

HTML is an interactive, offline dated snapshot, not live polling. All normalized evidence remains in the JSON; lossless codec 2.0 covers nested record tables, shared strings, exact UTC progressions and typed numeric columns. The HTML and Python decoder also accept legacy codec 1.0. No truncation, ZIP/storage workaround or hidden data substitution is allowed. Plain artifacts must fit 4,800,000 bytes. Do not "fix" a failed both-hosting monthly run by splitting reports or dropping either hosting type. Report the failure and rerun the complete requested scope after a validated fix; a narrower report is a separate explicit request.

Fresh questions and compact views

operation="query" collects a new scoped snapshot. period="auto" means the last 24 hours for queries; specify last_2h for the controlled demonstration.

ViewEvidence
summaryExact collection-scope counts, source errors and unknowns.
resourcesResource identities, owner tags, Arc connection, platform availability, heartbeat and assessment.
extensionsPaged Arc machine extension IDs, publisher/type/location, configured and instance-view versions, provisioning, upgrade settings, missingness and separate extension assessment.
metricsSource/unit/aggregation/grain, exact window summaries and a disclosed last-two-point sample.
signalsThreshold, CPU-maximum, median/MAD, capacity, native-alert and monitoring-gap evidence.
timelineNative fired/resolved alerts and Resource Health annotations, not invented incident history.
actionsEvidence-linked owner reviews, never executed remediation.
coverageSuccessful, empty, unsupported, unconfigured, partial and failed sources.

Use exact documented filters. severity applies only to signals, timeline and actions. Native timeline records have no verified metric association: use signals, not a metric-filtered native timeline. Unsupported combinations return explicit errors. extensions requires metric="all" and severity="all"; its state filter uses the extension-row assessment. Inspect extension_coverage even when total_matched=0: denied/partial/empty and permission completeness are different. Returned totals count accepted selected extension rows, not VMs or an expected customer fleet. The complete JSON retains all accepted safe records.

Interpret total_matched, returned, has_more, next_offset, requested_limit and transport_capped. Responses fit 3,500 bytes under default JSON serialization. A returned page/sample is not the entire estate. Do not page merely to count; use totals. Each call is fresh, not a stable stored cursor. Full raw-normalized series belong in the report, not an LLM data dump.

Mandatory interpretation

  1. Missing values are Unknown / Not collected, not zero or healthy. A native VM can expose memory definitions yet return timestamp-only bins. A deliberately deallocated VM is not automatically an unplanned outage.
  2. Arc connection and ARM provisioning are control-plane facts, not guest or application health. AMA heartbeat is telemetry recency at the requested window end. It does not prove the workload was healthy.
  3. Arc vm.azm.ms CPU/memory/disk observations come from InsightsMetrics; successful empty Perf does not negate them. Resource identity is an exact _ResourceId join, never a similar hostname. Multiple agents sharing one AKS resource ID are not multiple ARM VMs.
  4. Guest physical available memory, Windows commit, guest volume free space, disk IOPS/bandwidth consumed and service capacity remain distinct. Memory available percentage is derived only from an actual source memorySizeMB, which may be a number or numeric string. Canonical VM Insights /snap/<package>/<numeric-revision> images remain exported as informational observations with writability Not verified; they are excluded only from writable-capacity local threshold/anomaly actions. Do not call these a full root filesystem. Other low/zero mounts retain the normal pressure rule and must not be silently classified as read-only.
  5. ACA CPU/memory percentages are relative to configured container limits. App Service plan percentages aggregate plan instances. AKS node metrics are cluster-aggregated unless native metadata supplies a narrower dimension. Key Vault/Storage service availability/latency are not host CPU or RAM.
  6. Guest means are weighted by collected log observation counts. Native means are means of returned Average bins, not raw-sample means. Maxima are source maxima; absent Maximum aggregation does not become a raw peak. Count API requests and maximum replicas are not measurement sample counts.
  7. Native timestamps may have a minute-phase offset from global five-minute boundaries. Preserve actual timestamps/grain and partial edge bins. Missing bins are not interpolated. No raw p95 or percentile is derived from bin means.
  8. Local rules are documented review aids: three consecutive complete bins; CPU/IOPS/bandwidth >=85%, physical memory available <=10%, used/commit/limit memory >=90%, volume free <=15%, service availability <99%, VM availability <1. These are not contractual SLAs or the separately configured alert rule.
  9. A source CPU maximum >=95% is informational peak evidence, not automatically sustained pressure. Median/MAD flags use at least 12 prior observed bins within 48 intervals, six scaled MADs and a 20-percentage-point floor. They are not Azure's native anomaly engine or proof of cause.
  10. Capacity candidates require >=72 bins, >=90% bin coverage, CPU mean <10% and source maximum <25%, memory available mean >50% and minimum >30%. Owner review must check schedules, peaks and resilience. No automatic resize, savings amount, quota, forecast or financial ROI is inferred.
  11. Azure platform health is current at collection, not reconstructed monthly guest health. Alerts API's approximately 30-day history may not cover a full previous calendar month; disclose that blind spot, never zero incidents.
  12. An alert row does not prove SRE Agent invoked this subagent. Automatic handling requires the real incident/response-plan/thread evidence, separate from a manual chat or report.
  13. Arc Disconnected / Expired and last status change are current control-plane facts; Heartbeat is a separate log observation at the measurement-window end. Machine/extension metadata collected with a previous-month report is current at collection, not a reconstruction of that month's configurations.
  14. arc_administration.assessment is separate from resource.assessment. Leaving optional administration policy unset does not downgrade otherwise observed guest measurements or create owner actions. Real native extension failure or a current approved-baseline difference may create Review. Neither observed nor Succeeded proves guest/sensor health or compliance.
  15. ARC_ADMIN_BASELINES=[] is the generic default. Only deployment-configured, owner-approved, dated rules with exact OS type/SKU/native version/location selectors may qualify version/configuration differences. Their source/owner, as-of, expiry and notes remain in full JSON. Validity is at most 31 days; as-of is inclusive and expiry exclusive. Empty/unmatched/future/stale or non-comparable metadata is Unknown, never a silently chosen latest version. Baseline references are provenance text, not URLs to fetch. Do not invent required extensions, upgrade policy or a customer version target.
  16. below_review_target is a numeric dotted-version comparison, not unsupported, newest, safe-to-install or permission to update. Supported Connected Machine releases have a separate release-date support policy; this tool does not read that catalog and keeps agent/OS support Unknown. Native osVersion may be a kernel/build string, not a distribution lifecycle version. Never guess OS EOL from names or version numbers.
  17. Extension type_handler_version is configured metadata; only a supplied instance_view_version is compared with an exact publisher/type/OS/location review target. Missing version or upgrade setting stays Unknown, not zero, false or failed. enableAutomaticUpgrade is distinct from deployment-time autoUpgradeMinorVersion; opted-in does not prove publisher support, new version availability or completed rollout. Native Failed/Canceled can justify owner review without a baseline. A required publisher/type not observed in a complete visible inventory still needs visibility/owner confirmation; partial/denied or unidentifiable metadata cannot prove absence.
  18. Arc extension reads are bounded by 5,000 subscription rows, 10 pages and a 90-second cooperative read deadline, with at most three attempts/page. Later failure/capping retains earlier accepted complete pages with a partial receipt. Do not call it healthy/complete or use a small query page as a scale fix. The unchanged inventory gate counts all 15 supported types before local filters and rejects more than 500; more than 800 Arc servers in one fixed subscription has no parameter-only solution.

A requested CPU/physical-memory window with fewer than 80% observed bins is an explicit coverage review, not a health percentage. Check lifecycle/cadence/ retention before treating the gap as monitoring failure. A focused metric query does not invent gaps for other metrics it intentionally did not collect.

Incident response

When a real matched incident invokes this subagent, validate its target against the fixed subscription inventory. Query that exact resource and a short window. Explain native alert severity/condition separately from local flags, measurement semantics, missing data, observed timeline and uncertainty. Produce concrete owner checks without claiming root cause, recovery or mitigation you cannot observe. Never execute load or a write as part of incident response.

Failure and prioritization

On status="error", report the sanitized source/code; do not invent counts or files. On partial coverage, name affected sources/capabilities and distinguish them from optional empty tables. Prioritize current serious native alerts and unplanned platform/pressure observations, then recency/visibility gaps and qualified capacity reviews. Recognize explicit customer-initiated stop states. Owner tags are source evidence; absent ownership is unassigned, not guessed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.