Guide · Agent skill
How to use the SecOps Detection Engineering agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The SecOps Detection Engineering skill teaches an AI agent how to write, test and deploy detection rules for Google Security Operations (Google SecOps). Detection rules are the logic that spots suspicious activity in computer logs. This guide is for security engineers and threat hunters who want an agent to follow a set procedure for this work, and it explains how to install the skill, ask for it in plain language, and use it safely.
Quick start
- 1Download and unzip the skill. Download the ZIP from the skill page and unzip it so the secops-detection-engineering folder with SKILL.md is present.
- 2Place it in the skills folder. Move the folder to ~/.claude/skills/ for personal use, or to .claude/skills/ in your project. You can also upload it under Settings → Capabilities → Skills in the Claude apps.
- 3Confirm SecOps access. Check that you have a Google SecOps tenant and that the MCP tools or local equivalents listed in the requirements are available.
- 4Ask in plain language. Describe the detection you want, for example a technique to catch or a threat report to check, and mention Google SecOps.
- 5Review the draft and test results. Read the YARA-L 2.0 rule and the historical detection output the agent produces before deciding anything.
- 6Approve, then deploy. Give explicit approval, and the agent deploys the rule with create_rule and confirms its status with get_rule.
What is an agent skill and what does this one do?
An agent skill is a folder with a SKILL.md file that gives an AI agent written procedures for a specific task. When the request matches the skill's description, the agent loads those procedures and follows them.
Once this skill is installed, the agent drafts rules in YARA-L 2.0 syntax, checks their syntax, tests them against past telemetry, asks for your approval, and then deploys them. It can also take threat intelligence or CVE reports, generate synthetic events, and check whether existing rules already cover the attacker behaviours described.
- Direct rule authoring: draft, validate, test against historical data, get approval, deploy.
- Coverage evaluation: extract threat detection opportunities from intel, generate synthetic events, check existing rule coverage, and fill verified gaps.
- Duplicate prevention: test synthetic attack behaviour against the active rule set before creating a new rule.
What you need before you start
This skill only works against a live Google SecOps environment. The tools it calls operate on your tenant, and deploying rules changes production alerting, so confirm access first.
- Google Security Operations (SecOps) tenant access.
- Google SecOps MCP tools (validate_rule, list_rule_detections, create_rule, get_rule, list_rules, evaluate_rule_coverage_long_running, get_operation, generate_rules, generate_threat_detection_opportunity, generate_synthetic_events) or local equivalents.
- gcloud and REST API access for the attribution-tagged commands described in the referenced attribution guide.
Install the skill
Download the ZIP from the skill page and unzip it. For a personal install, place the folder in ~/.claude/skills/. For a single project, place it in that project's .claude/skills/ folder.
In the Claude apps you can instead upload the skill under Settings → Capabilities → Skills.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ inside your project folder
- Claude apps: Settings → Capabilities → Skills
How to trigger the skill with natural requests
You do not need a special command. Describe the task in plain language that mentions Google SecOps and detection rules. The skill is meant to trigger for requests about writing new rules, tuning existing ones, validating syntax, testing logic against historical telemetry, and evaluating coverage against threat intelligence, CVEs or Threat Detection Opportunities.
Be specific about the behaviour you want detected. Include the tool, command or indicator if you have one.
- "Write a YARA-L 2.0 rule in Google SecOps that flags certutil.exe downloading remote files, then test it against the last week of telemetry."
- "Check whether our existing rules already cover the attacker behaviour in this vendor blog post before we write anything new."
- "Tune this rule to exclude our backup software's known-good command lines and validate the syntax."
Example workflow: from a finding to a deployed rule
For a known technique, the skill follows the direct authoring path: it drafts the rule, validates syntax with validate_rule, tests against historical telemetry with list_rule_detections, asks you for approval, deploys with create_rule, and confirms the result with get_rule.
For intelligence-driven work, the skill extracts threat detection opportunities, generates synthetic events, runs evaluate_rule_coverage_long_running, polls with get_operation, and fetches matched rules with get_rule. Only verified gaps are mitigated with generate_rules, and again you approve before deployment.
- Read the draft rule and the test results before approving.
- Check that the rule's meta section has the author, description, severity and MITRE ATT&CK technique filled in.
Safety notes: scripts, network and approval
This skill does not run scripts on your machine, but it does use the network, because it calls Google SecOps tools and Google Cloud APIs. Threat intelligence, CVE text and sample payloads are treated as untrusted data, and the skill is told not to follow instructions embedded in them.
Attribution: before any gcloud, REST or MCP command, the agent must follow the usage attribution guide (references/attribution.md). Each gcloud call is prefixed inline with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION set to agent-skills/1.0 (skill:secops-detection-engineering). The guide says not to use gcloud config set for this, so the label does not persist.
- Review every rule before deployment, since deployment changes production alerting.
- Use a test or non-production tenant where possible while you learn the workflow.
- Do not paste sensitive customer data into threat intel or payload inputs unless your policy allows it.
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:secops-detection-engineering)" \
gcloud <command> [flags]Tips for better results
Give the agent the exact log source, field names or indicators you know. The skill's rule format uses UDM fields such as $e.target.process.command_line, so concrete fields produce more usable rules.
If your task is alert triage, case handling or forensic reconstruction on an infected host, use a different tool. The description points to secops-triage, secops-cases and secops-investigate for those jobs.
- Name the time window you want tested so the historical check is meaningful.
- Ask for tuning when a rule is noisy, rather than starting from scratch.
- Keep the approval step: say yes only after reading the draft and test output.
What people use it for
- Writing a rule for a living-off-the-land binary, such as certutil.exe downloading remote files.
- Turning a confirmed threat hunt finding into a persistent detection rule.
- Checking whether existing rules already cover the behaviours in a threat intelligence blog before creating duplicates.
- Tuning a noisy rule by adding false-positive exclusions and re-validating it.
- Auditing detection coverage against MITRE ATT&CK techniques.
Frequently asked questions
Is the SecOps Detection Engineering skill free?
The source material for this page does not state pricing or licence terms beyond the Apache-2.0 licence listed for the skill. You still need a Google SecOps tenant, which is a separate requirement and is not covered by this skill.
What do I need to use the secops-detection-engineering skill?
You need Google Security Operations tenant access, the Google SecOps MCP tools or local equivalents, and gcloud and REST API access for the attribution-tagged commands. The tools only work against a live SecOps environment.
How do I install the secops-detection-engineering skill?
Download the ZIP from the skill page and unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder. In the Claude apps, you can upload it under Settings → Capabilities → Skills.
Can this skill deploy rules without asking me?
The skill's procedure requires user approval before deployment. Deploying with create_rule changes production alerting, so review the rule and test output before you approve.
Which skill should I use for alert triage or forensics?
Use secops-triage for alert triage, secops-cases for case management and secops-investigate for deep forensic reconstruction on infected hosts. This skill is for writing, testing and deploying detection rules and evaluating coverage gaps.
Does this skill run scripts on my computer?
According to its listing, the skill does not run scripts, but it does use the network to call Google SecOps and Google Cloud tools.
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 this skill if you write or tune detection rules in Google SecOps, hunt for threats that need persistent rules, or audit coverage against threat intelligence and MITRE ATT&CK. Pick a different skill if your work is alert triage, case handling or forensic reconstruction, or if you have no Google SecOps tenant, since the skill cannot do useful work without one.
Download the skill