Oma Tf Infra
first-fluke/oh-my-agent
Infrastructure-as-code specialist for multi-cloud provisioning using Terraform across any provider (AWS, GCP, Azure, Oracle Cloud).
Inspect and repair SDAF Terraform state safely before any reviewed import/remove.
$ npx skills add Azure/sap-automation --skill sdaf-state-management -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Azure/sap-automation sdaf-state-management --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Azure/sap-automation.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sdaf-state-management .claude/skills/sdaf-state-management && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sdaf-state-management" agent skill from https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-management into .claude/skills/sdaf-state-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdaf-state-management", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-managementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Azure/sap-automation --skill sdaf-state-management -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Azure/sap-automation sdaf-state-management --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/sap-automation.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/sdaf-state-management .agents/skills/sdaf-state-management && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sdaf-state-management" agent skill from https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-management into .agents/skills/sdaf-state-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdaf-state-management", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Azure/sap-automation --skill sdaf-state-management -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Azure/sap-automation sdaf-state-management --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/sap-automation.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/sdaf-state-management .cursor/skills/sdaf-state-management && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sdaf-state-management" agent skill from https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-management into .cursor/skills/sdaf-state-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdaf-state-management", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Azure/sap-automation.git --path skills/sdaf-state-management--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Azure/sap-automation --skill sdaf-state-management -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Azure/sap-automation sdaf-state-management --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/sap-automation.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/sdaf-state-management .gemini/skills/sdaf-state-management && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sdaf-state-management" agent skill from https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-management into .gemini/skills/sdaf-state-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdaf-state-management", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Azure/sap-automation sdaf-state-managementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Azure/sap-automation --skill sdaf-state-management -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Azure/sap-automation.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/sdaf-state-management .github/skills/sdaf-state-management && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sdaf-state-management" agent skill from https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-management into .github/skills/sdaf-state-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdaf-state-management", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Azure/sap-automation --skill sdaf-state-management -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Azure/sap-automation sdaf-state-management --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/sap-automation.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/sdaf-state-management .opencode/skills/sdaf-state-management && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sdaf-state-management" agent skill from https://github.com/Azure/sap-automation/tree/main/skills/sdaf-state-management into .opencode/skills/sdaf-state-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdaf-state-management", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sdaf-state-managementInspect and repair SDAF Terraform state safely before any reviewed import/remove.
Sdaf State Management is an agent skill from Azure/sap-automation, published by the product's own GitHub organization. Inspect and repair SDAF Terraform state safely before any reviewed import/remove. Grounded in docs/local/07-00-operations.md § Manage state safely, docs/local/troubleshooting.md § Terraform reports a state lock, and deploy/scripts/advancedstatemanagement.sh. Use when a user says "advancedstatemanagement.sh", "terraform state list", "state import", "state rm", "repair SDAF state", "remote state disagrees with Azure", or "who owns this state lock". Do NOT use for teardown, reverse-order destroy, ARM fallback, or an…
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/state-safety.md`).
It sits in DevOps & Cloud, covering State management and Infrastructure as code. It works with Microsoft Azure and Terraform. The repository describes itself as: This is the repository supporting the SAP deployment automation framework on Azure. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 78835f0. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
shellFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
azterraformFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use az, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sdaf State Management loads about 1.7k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 144 tokens; SKILL.md has 694 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Azure/sap-automation at commit 78835f0, republished under its MIT licence (© Azure). 694 words, ~1,659 tokens.
.claude/skills/sdaf-state-management/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Action-loop skill. Canonical owner of the warning that
advanced_state_management.sh re-inits on every op. Uses only the reviewed
list / import / remove path documented in the repo and the checked-out
script's own --help; refuses to invent a generic unlock or teardown path.
Trigger on: advanced_state_management.sh, "terraform state list", "state import",
"state rm", "repair remote state", "backend metadata", "resources.lst", "state lock
owner", "remote tfstate disagrees with Azure".
Do NOT trigger on: destroy / teardown / ARM fallback / reverse-order removal,
remover.sh, remove_controlplane.sh, hosted removal wrappers, or a failed run
whose symptom is still ambiguous.
docs/local/07-00-operations.md § Prepare an operational change).SAP_AUTOMATION_REPO_PATH, CONFIG_REPO_PATH, and ARM_SUBSCRIPTION_ID are
set, or the missing-export gate is fixed first.sap_deployer, sap_library, sap_landscape, or
sap_system.import or remove, the exact Terraform address and Azure resource ID
are known. If not, stop and inspect first.deploy/scripts/advanced_state_management.sh.sdaf-safe-removal owns Terraform destroy, reverse-order teardown,
and removal through the documented SDAF operations.sdaf-failure-triage owns an ambiguous failed run before the operator has
established whether the problem is readiness, deploy, removal, or state.If the user is trying to delete resources or finish an incomplete teardown,
route to sdaf-safe-removal. Do not hide removal problems with state edits.
Walk the checklist in references/state-safety.md:
.terraform/terraform.tfstate is backend metadata, not the source of truth..sap_deployment_automation metadata all point at the same backend. The
script can infer backend values when arguments are omitted; inspect before
trusting.list pathBefore changing anything, confirm the checked-out script contract:
"$SAP_AUTOMATION_REPO_PATH/deploy/scripts/advanced_state_management.sh" --helpThen start with the non-destructive intent from the documented list
example in docs/local/07-00-operations.md § Manage state safely:
cd "$CONFIG_REPO_PATH/WORKSPACES/SYSTEM/<SAP_SYSTEM>"
"$SAP_AUTOMATION_REPO_PATH/deploy/scripts/advanced_state_management.sh" \
--parameterfile "<SAP_SYSTEM>.tfvars" \
--type sap_system \
--operation list \
--subscription "<STATE_SUBSCRIPTION_ID>" \
--storage_account_name "<STATE_STORAGE_ACCOUNT>" \
--terraform_keyfile "<SAP_SYSTEM>.terraform.tfstate" \
--workload_zone_name "<WORKLOAD_ZONE>" \
--control_plane_name "<CONTROL_PLANE>"The script initializes the matching root module, writes resources.lst, and
only then lists resources. Treat any unexpected copy/migrate prompt as a stop
condition; reconcile the backend first and rerun only after review.
import / remove as reviewed repairs, never discoverystate rm stops Terraform from managing a resource; it does not delete
the Azure resource.--azure_resource_id with az resource show --ids
before import. If that lookup fails, stop.import and remove are only valid once resources.lst, the Terraform address,
and the Azure resource ID all match the reviewed target.state rm to bypass a replacement, to make an incomplete removal
look clean, or as a substitute for a destroy plan. Those are boundary
violations: route to sdaf-failure-triage or sdaf-safe-removal.If the docs, script output, Azure resource lookup, and stored metadata do not line up cleanly, say docs are insufficient for a safe reviewed edit and stop.
After any reviewed import/remove:
--operation list to confirm the new association;sdaf-safe-removal
if the next reviewed step is an actual teardown.list as read-only; initialization can still migrate or upgrade
backend/provider state.terraform force-unlock procedure or approve import/remove
without backups and exact identifiers.sdaf-safe-removal, sdaf-failure-triage, sdaf-control-plane-bootstrap,
sdaf-workload-zone, sdaf-sap-system.docs/local/07-00-operations.md, docs/local/troubleshooting.md, and
references/state-safety.md.© Azure, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/sdaf-state-management of Azure/sap-automation.
Open the folder on GitHubat commit 78835f0
Sdaf State Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sdaf State Management this skillAzure/sap-automation | 145 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Oma Tf Infrafirst-fluke/oh-my-agent | 1.3k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Terravision Cloud Diagramspatrickchugh/terravision | 1.6k | — | ~5.6k | Automated safety check: Notes | AGPL-3.0-only | |
| TerrasharkLukasNiessen/terrashark | 715 | — | ~843 | Automated safety check: Pass | MIT | |
| Azure Diagramscmb211087/azure-diagrams-skill | 150 | — | ~4k | Automated safety check: Notes | MIT | |
| Provider Verificationmondoohq/mql | 412 | — | ~3.7k | Automated safety check: Pass | Custom licence |
first-fluke/oh-my-agent
Infrastructure-as-code specialist for multi-cloud provisioning using Terraform across any provider (AWS, GCP, Azure, Oracle Cloud).
patrickchugh/terravision
Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.
LukasNiessen/terrashark
Prevent Terraform/OpenTofu hallucinations by diagnosing and fixing failure modes: identity churn, secret exposure, blast-radius mistakes, CI drift, and compliance gate gaps.
cmb211087/azure-diagrams-skill
Comprehensive technical diagramming toolkit for solutions architects, presales, and developers.
mondoohq/mql
Verify mql provider resource/field changes against real cloud infrastructure.
Azure/terraform-azurerm-avm-ptn-alz
A skill your agent uses for AVM Terraform AzAPI resources, provider constraints, ARM schemas, parent IDs, resource types, retries, timeouts, response exports, replacement triggers, and…
Azure/sap-automation
Pick the right SDAF BOM for a target SAP product / release / DB platform / version / kernel / topology.
Azure/sap-automation
Orient a newcomer to the SAP Deployment Automation Framework (SDAF): explain the spine (control plane → workload zone → SAP system → software → install → operate/remove), summarise the three…
Azure/sap-automation
Validate a deployed SDAF SAP system through the SDAF-owned QA entry points: the local quality-assurance menu and the documented Azure DevOps pipeline 13 path.
Azure/sap-automation
Guide SDAF operating-system, database, and SAP installation after the SAP-system workspace and reviewed media are ready.
Azure/sap-automation
Explain the current SDAF sovereign-cloud deltas without inventing a generic "all sovereigns" runbook.
Azure/sap-automation
Explain and validate the SDAF WORKSPACES layout (DEPLOYER / LIBRARY / LANDSCAPE / SYSTEM), the region-code naming convention, and how the four tfvars files hang off it.
Works with
Categories
Inspect and repair SDAF Terraform state safely before any reviewed import/remove. Sdaf State Management is an agent skill from Azure/sap-automation, published by the product's own GitHub organization. Inspect and repair SDAF Terraform state safely before any reviewed import/remove.
Sdaf State Management fits situations like: A user says advancedstatemanagement.sh; terraform state list; repair SDAF state; remote state disagrees with Azure.
Run `npx skills add Azure/sap-automation --skill sdaf-state-management -a claude-code`. Or copy the skill folder (skills/sdaf-state-management in Azure/sap-automation) into .claude/skills/sdaf-state-management in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Azure/sap-automation --skill sdaf-state-management -a codex`. Or copy the skill folder (skills/sdaf-state-management in Azure/sap-automation) into .agents/skills/sdaf-state-management in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Azure/sap-automation --skill sdaf-state-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sdaf-state-management, .gemini/skills/sdaf-state-management, .github/skills/sdaf-state-management and .opencode/skills/sdaf-state-management in your project.
Going by SKILL.md and its folder, Sdaf State Management needs the command-line tools its instructions call (az and terraform). Its frontmatter pre-approves these tools: shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sdaf State Management is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 254 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Sdaf State Management: Oma Tf Infra (first-fluke/oh-my-agent, 1.3k stars), Terravision Cloud Diagrams (patrickchugh/terravision, 1.6k stars), Terrashark (LukasNiessen/terrashark, 715 stars) and Azure Diagrams (cmb211087/azure-diagrams-skill, 150 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Azure (a GitHub organization, an official publisher) maintains it in Azure/sap-automation, which has 145 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 8, 2026.
Source: Azure/sap-automation on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.