# Sarif parsing

> Sarif parsing is an open-source agent skill. Parses and processes SARIF files from static analysis tools like CodeQL, Semgrep, or other scanners. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/trailofbits/skills/tree/main/plugins/static-analysis/skills/sarif-parsing
- **Repository:** https://github.com/trailofbits/skills
- **GitHub stars:** 8,243
- **License:** CC-BY-SA-4.0
- **Skill name:** sarif-parsing
- **Collection:** https://github.com/trailofbits/skills
- **Listing updated:** 2026-11-17

## About

Parses and processes SARIF files from static analysis tools like CodeQL, Semgrep, or other scanners. Triggers on "parse sarif", "read scan results", "aggregate findings", "deduplicate alerts", or "process sarif output". Handles filtering, deduplication, format conversion, and CI/CD integration of SARIF data. Does NOT run scans — use the Semgrep or CodeQL skills for that.

## When your agent uses it

> Parses and processes SARIF files from static analysis tools like CodeQL, Semgrep, or other scanners. Triggers on "parse sarif", "read scan results", "aggregate findings", "deduplicate alerts", or "process sarif output". Handles filtering, deduplication, format conversion, and CI/CD integration of SARIF data. Does NOT run scans — use the Semgrep or CodeQL skills for that.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/trailofbits/skills/tree/HEAD/plugins/static-analysis/skills/sarif-parsing)
- [Asks for: Bash, Read, Glob, Grep](https://github.com/trailofbits/skills/blob/HEAD/plugins/static-analysis/skills/sarif-parsing/SKILL.md)
- [Network calls found in its scripts](https://github.com/trailofbits/skills/tree/HEAD/plugins/static-analysis/skills/sarif-parsing)
- [License: CC-BY-SA-4.0](https://github.com/trailofbits/skills/tree/HEAD/plugins/static-analysis/skills/sarif-parsing)

## Install

### Claude Code

This skill ships in the `static-analysis` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add trailofbits/skills
/plugin install static-analysis@trailofbits
```

Or copy only this skill to `~/.claude/skills/sarif-parsing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sarif-parsing &&
cp -R "$tmp/plugins/static-analysis/skills/sarif-parsing" ~/.claude/skills/sarif-parsing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sarif-parsing` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sarif-parsing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sarif-parsing &&
cp -R "$tmp/plugins/static-analysis/skills/sarif-parsing" ~/.agents/skills/sarif-parsing &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sarif-parsing` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sarif-parsing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sarif-parsing &&
cp -R "$tmp/plugins/static-analysis/skills/sarif-parsing" ~/.cursor/skills/sarif-parsing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sarif-parsing` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/trailofbits/skills.git --path plugins/static-analysis/skills/sarif-parsing
```

Or copy the folder to `~/.gemini/skills/sarif-parsing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sarif-parsing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sarif-parsing &&
cp -R "$tmp/plugins/static-analysis/skills/sarif-parsing" ~/.copilot/skills/sarif-parsing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sarif-parsing` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/trailofbits/skills.git
```

Then copy `skills/plugins/static-analysis/skills/sarif-parsing` into your agent's skills folder as `sarif-parsing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Sarif parsing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sarif-parsing to use it in all your projects, or to .claude/skills/sarif-parsing in one project. Or install the static-analysis plugin, which includes it: /plugin marketplace add trailofbits/skills, then /plugin install static-analysis@trailofbits.

### Does Sarif parsing run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sarif parsing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/sarif-parsing
