Skip to content

Guide · Agent skill

How to use the AegisOps-AI Governance Guardrails agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The aegisops-ai skill is a guide that teaches an AI agent how to walk you through three DevSecOps and FinOps checks: reviewing raw C kernel patches for memory-safety problems, scanning Terraform plan output for surprise cloud cost increases, and drafting hardened Kubernetes securityContext settings from plain-language requirements. This page is for platform engineers, security engineers and developers who have not used agent skills before. By the end you will know how to install the skill, what it needs before it can do real work, and how to treat its output as candidate findings that a human verifies.

AegisOps-AI Governance Guardrailssickn33/agentic-awesome-skills · MIT

Quick start

  1. 1Download the ZIP. Download the aegisops-ai skill ZIP from the page where you found this guide.
  2. 2Install the skill. Unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it under Settings, then Capabilities, then Skills in the Claude apps.
  3. 3Clone the upstream tool. Clone the AegisOps-AI repository separately and check out a revision you have verified.
  4. 4Set up Python and packages. Create a virtual environment and install google-genai and python-dotenv inside it.
  5. 5Configure your API key. Provide GEMINI_API_KEY from a Google GenAI account with paid model access through your host's private credential mechanism.
  6. 6Ask in plain language. Describe your kernel patch, Terraform plan or Kubernetes requirement and include the context the skill asks for.
  7. 7Verify every finding. Check each output by code review, tests, staging deployment or expert review before acting on it.

What the aegisops-ai skill makes the agent do

An agent skill is a folder with a SKILL.md file that tells the agent when a task fits and how to approach it. Once this skill is loaded, the agent knows the AegisOps-AI workflow and can guide you through it when your request matches one of its three modules.

The skill itself is only a guide. The actual scripts, patch_analyzer.py, cost_auditor.py and k8s_policy_generator.py, live in a separate upstream repository and are not bundled with the skill. The skill tells you to verify that upstream repository, a fixed revision, its licence and its dependencies before you use it.

  • Kernel Patch Reviewer (patch_analyzer.py): proposes findings on raw Git diffs, such as logic-based issues like use-after-free and stale state. Key output: analysis_results.json
  • FinOps and Cloud Auditor (cost_auditor.py): analyses terraform plan output for cost anomalies, such as an accidental upgrade from t3.micro to a GPU instance. Key output: infrastructure_audit_report.json
  • K8s Policy Hardener (k8s_policy_generator.py): turns plain-language security requirements into candidate YAML manifests, for example read-only root filesystem or non-root enforcement. Key output: hardened_deployment.yaml

Install the skill from the ZIP or the Claude apps

Download the skill ZIP from the page where you found this guide. Then choose one of two routes depending on how you use Claude.

For Claude Code, unzip the download into your personal skills folder at ~/.claude/skills/, or into a project's .claude/skills/ folder if you want the skill to apply only to that project. The skill folder should contain SKILL.md.

In the Claude apps, you can upload the ZIP under Settings, then Capabilities, then Skills instead of unzipping it by hand.

  • Personal install: ~/.claude/skills/
  • Project install: .claude/skills/ inside your project folder
  • Apps install: Settings, then Capabilities, then Skills

Prepare the upstream tool and its requirements

Running the actual analysers requires the upstream AegisOps-AI repository, cloned separately. The skill's own setup notes show the clone, a Python virtual environment and the two Python packages the upstream tool uses. Check the upstream repository, a fixed revision and its licence before you run anything from it.

You also need a GEMINI_API_KEY from a Google GenAI account with paid model access. Use your host's existing private credential mechanism for the key. In production, the skill recommends CI/CD secrets.

  • Python 3 with a virtual environment
  • google-genai and python-dotenv Python packages
  • A GEMINI_API_KEY from a Google GenAI account with paid model access
  • The upstream AegisOps-AI repository cloned at a verified revision
git clone https://github.com/Champbreed/AegisOps-AI.git cd AegisOps-AI python3 -m venv venv source venv/bin/activate pip install google-genai python-dotenv

Trigger the skill with natural requests

You do not need special syntax. Describe the task in plain language and name the artefact you have, such as a Git diff, a terraform plan output or a deployment that needs hardening. The skill is also listed under the command name /aegisops-ai in its own heading.

Give the agent enough context to work with. The skill recommends at least 5 lines of context around Git diffs for more accurate reasoning, and it expects you to state the security intent you want for Kubernetes, such as non-root only.

  • Review this kernel patch diff for memory-safety problems. Here are 5 lines of context around each change.
  • Check this terraform plan output for cost increases before I apply it.
  • Harden this deployment so it runs as non-root and uses a read-only root filesystem.
  • Explain which findings I need to verify by hand before merging.

Work through the three checks

Each module has a different input and a different kind of output. Treat every output as a candidate finding. The kernel reviewer gives findings to verify through code review and appropriate tests, with no detection guarantee. The cost auditor flags anomalies that someone should confirm against the real plan. The Kubernetes hardener produces candidate YAML that still needs schema, policy and application validation.

The skill's main Kubernetes pattern is an over-privileged container. Look for allowPrivilegeEscalation set to true or root user execution, then pass the security intent to the hardener.

  • Kernel patches: paste the raw C diff with context and ask for memory-safety findings.
  • Terraform: paste the plan output and ask which resources would become much more expensive.
  • Kubernetes: describe the required security settings and ask for a hardened securityContext.

Safety, data and cost notes

The analysers send your input to a paid third-party model API. Only proceed if you are authorised to send private patches, cluster configurations or cloud plans to that service. Redact secrets and personal or account identifiers first. The skill warns that a .env file is not automatically secure, so do not assume it is.

The skill is an auditor, not a deployment tool. It does not run terraform apply or kubectl apply. Test any hardened manifest in staging first to check for functional regressions. Keep a human in the loop for kernel-level merges.

  • Obtain authorisation before sending private material to the model API.
  • Redact secrets and account identifiers before sending any input.
  • Keep GEMINI_API_KEY in CI/CD secrets for production use.
  • Make any .env file owner-only and gitignored if the upstream code needs one, and never display its contents.
  • Run the upstream entry point, python3 main.py, only after you have reviewed the checkout and accepted its network and cost effects.
python3 main.py

Tips for getting useful results

Run the cost auditor before every infrastructure change, not after it has been applied. Use the findings as a strong signal for human review rather than an approval. If you use GitHub Actions, the skill lists CI/CD quality gating as a use case, but the output should not be the sole merge authority.

If a model alias that the skill or upstream code depends on no longer works, confirm the SDK and model combination you have installed rather than assuming the old alias still exists.

  • Give kernel reviews at least 5 lines of context around each diff.
  • Name the exact security rules you want, such as non-root or read-only root filesystem.
  • Compare findings against the real plan or manifest before acting on them.
  • Read the upstream README at the documentation link for the current entry point and dependencies.

What people use it for

  • Asking for a second opinion on a raw C kernel patch before a maintainer reviews it.
  • Checking a terraform plan for accidental upgrades to expensive instance types before applying.
  • Drafting a least-privilege securityContext for a Kubernetes deployment that you will test in staging.
  • Adding a pre-apply cost check to a team's infrastructure review routine.

Frequently asked questions

Is the aegisops-ai skill free?

The skill is released under the MIT licence, as listed on its page. Running the upstream tools calls a paid model API through a GEMINI_API_KEY, so you need a Google GenAI account with paid model access and should expect model usage costs.

What do I need to install before using aegisops-ai?

You need Python 3 with a virtual environment, the google-genai and python-dotenv packages, a GEMINI_API_KEY with paid model access, and the upstream AegisOps-AI repository cloned separately at a verified revision. The skill ZIP alone does not include the analysis scripts.

How do I install an agent skill from a ZIP file?

Unzip the download into ~/.claude/skills/ for personal use or into .claude/skills/ in a project folder. In the Claude apps, you can instead upload the ZIP under Settings, then Capabilities, then Skills.

Does aegisops-ai run terraform apply or deploy my changes?

No. The skill describes itself as an auditor and states that it does not execute terraform apply or kubectl apply. Its outputs are candidate findings that you verify yourself.

Can I use aegisops-ai to scan a web app for XSS or SQL injection?

No. The skill says not to use it for standard web vulnerabilities such as XSS or SQL injection and recommends dedicated SAST scanners instead. It is also optimised for C logic, so it is not meant for analysing Python or JavaScript.

Why is my aegisops-ai output wrong or missing?

Start by checking that the upstream repository is at the revision you verified and that your SDK and model combination is current, since the skill warns that an old model alias may no longer be available. Also check that your input includes the context the skill asks for, such as at least 5 lines around each Git diff.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Choose aegisops-ai if you are a platform or security engineer who wants AI-assisted second opinions on kernel patches, Terraform plans or Kubernetes securityContext drafts, and you are allowed to send that material to a paid model API. Pick a dedicated SAST scanner for web application vulnerabilities, and do not use it as an automatic approval gate for kernel merges or infrastructure changes.

Download the skill