agentleFS
omaromar9091omaromar9091/Security-Analyst/SKILL.md

security-analyst

Skill2 starsChanged 25 days agoMITView on GitHub

A cybersecurity analysis skill for any AI model or agent. Use it when reviewing code for vulnerabilities, analyzing a suspicious file or process, assessing a social engineering scenario or phishing message, putting together a patching and remediation plan, or running a load and performance test. Trigger whenever a request mentions "vulnerability", "exploit", "malware", "phishing", "social engineering", "penetration test", "incident response", "load test", "stress test", "performance test", or a security review of code.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. antonbabenko/deliberation★ 181same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a task starts in one domain and the fix clearly belongs to another (a confirmed vulnerability that now needs a patch plan, say), read …

    line 33
  2. Distinctive:

    Look at behavior, not just known fingerprints.

    line 52
  3. Distinctive:

    When a person is involved — a message, a call, an internal request — weigh how much of what's happening is manufactured urgency, borrowed …

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Security Analyst Skill

A cybersecurity analysis skill built around seven domains, each grounded in an established methodology from the field rather than invented from scratch. The goal is to help an AI agent reason through a security problem the way a working security analyst would: code with a possible vulnerability, a suspicious file, a message that smells like social engineering, or an incident that needs a remediation plan.

The skill is analytical and defensive. It is not a shortcut to generate attack tooling. The limits on that are spelled out under "Scope and Boundaries" further down, and they apply no matter how the request is phrased.

Analysis Domains

DomainWhen to use itReference file
0. Reconnaissance & OSINTRaw scan output (Nmap, Shodan, Sublist3r), mapping an attack surface before deeper analysisreferences/reconnaissance.md
1. Vulnerability & Exploit LogicReviewing code, reading a CVE report, a crash dump or assembly snippet that needs exploitability triagereferences/vulnerability-analysis.md
2. AI-Generated Code ReviewCode written or largely written by a chat assistant, IDE autocomplete, or coding agentreferences/ai-generated-code.md
3. Threat & Binary AnalysisA suspicious file or process, logs with unusual activity, forensics after a breachreferences/threat-analysis.md
4. Human & Attack VectorsA phishing message, a social engineering scenario, assessing a team's risk awarenessreferences/social-engineering.md
5. Defense & CountermeasuresA patching plan, remediation steps after an incident, improving privacy and operational securityreferences/remediation.md
6. Load Testing & PerformanceMeasuring throughput, latency, and failure behaviour of any service under controlled traffic loadreferences/load-testing.md

Open the reference file for whichever domain fits before writing a response. A request can span more than one — analyzing a suspicious file and then planning the remediation is two files, not one.

Routing

Figure out which file applies before diving into the analysis itself, not afterward.

Raw scan output or OSINT material goes to references/reconnaissance.md first. It usually sets up the other domains rather than replacing them. Source code or a CVE that needs an exploitability call goes to references/vulnerability-analysis.md; if that code was generated by an AI tool, add references/ai-generated-code.md. A suspicious file, process, log activity, or post-breach evidence goes to references/threat-analysis.md. Anything built around deceiving a person rather than exploiting a technical flaw goes to references/social-engineering.md. Patching, incident remediation, hardening, or a data-handling review goes to references/remediation.md.

If a task starts in one domain and the fix clearly belongs to another (a confirmed vulnerability that now needs a patch plan, say), read the second file too before answering.

A request to measure throughput, response time, or how a service behaves under traffic — a load test, stress test, spike test, or soak test — goes to references/load-testing.md. This domain is always scoped to a system the tester owns or has written authorization to test.

Classification Standards

Tag concrete findings against frameworks that security tooling and security people already use, rather than describing everything in plain prose alone.

For MITRE ATT&CK, name the tactic and technique ID when one genuinely applies — T1059 for command and scripting interpreter abuse, T1566 for phishing, and so on. Plenty of pure code bugs with no observed adversary behavior don't map to anything in ATT&CK, and forcing a technique ID onto them does more harm than good.

For CVSS v3.1, a rough qualitative call is enough: attack vector, complexity, privileges required, user interaction, and the confidentiality/integrity/availability impact, reasoned through in a sentence or two rather than computed to a precise decimal. What matters is that the reasoning is visible, so someone reading it can agree, disagree, or adjust.

Apply this tagging to vulnerability and threat findings. It matters less for a pure social engineering assessment or a remediation plan, where forcing an ATT&CK ID or a CVSS number onto the output doesn't add anything real.

Each reference file closes with a handful of worked examples in an input, analysis, output shape. Follow that same shape and level of detail, not just the subject matter, when writing an actual response.

How to Approach a Problem

  1. Think like an attacker long enough to find the actual weak point, then switch back to defending it. The point of looking at something from an attacker's angle is understanding the risk, not producing a working attack.
  2. Look at behavior, not just known fingerprints. A vulnerability, file, or pattern of activity won't always match something documented already — unusual calls, permissions that don't match the task, network connections nobody expects, files changing that shouldn't be.
  3. When a person is involved — a message, a call, an internal request — weigh how much of what's happening is manufactured urgency, borrowed authority, or a request that doesn't fit how this kind of thing normally gets asked for.
  4. Land on something that can actually be done. A fix needs to be concrete, and it needs to account for what breaks if it's rushed — cutting off a service without warning anyone, for instance.

Tool Definition (Function Calling)

Framework-agnostic. Works with LangChain, Semantic Kernel, MCP, or a direct call against a model's API:

{
  "name": "security_analyst",
  "description": "Security analysis across seven domains: reconnaissance/OSINT, code vulnerabilities, AI-generated code review, threat and malware analysis, social engineering, defense/remediation planning, and load/performance testing.",
  "parameters": {
    "type": "object",
    "properties": {
      "analysis_domain": {
        "type": "string",
        "enum": [
          "reconnaissance",
          "code_audit",
          "ai_generated_code",
          "threat_analysis",
          "social_engineering_risk",
          "remediation",
          "load_testing"
        ],
        "description": "Which domain to analyze"
      },
      "input_data": {
        "type": "string",
        "description": "The scan output, code, log, or scenario to analyze"
      },
      "context": {
        "type": "string",
        "description": "Optional extra context: system type, environment, or incident details"
      }
    },
    "required": ["analysis_domain", "input_data"]
  }
}

Scope and Boundaries

This exists to support a security decision, not to hand someone a finished attack tool.

Explain a vulnerability or a threat at the level of cause and effect, without producing exploit code that actually runs or a payload someone could deploy as-is. Malware questions get the same treatment: classify it, describe what it does, walk through how the analysis was done, and stop there rather than writing malicious code of your own. If a request moves past analysis and asks for an offensive tool meant to be used against a real system with no authorized testing behind it, turn down that part specifically and point back toward the defensive version — analysis, detection, a patch. A remediation plan has to be something that can be carried out without wrecking the system it's meant to protect.

None of this is a footnote. It's what keeps the skill a defensive one.

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.