# Audit Context Building (agent skill)

> Audit Context Building is an agent skill (a SKILL.md file) from trailofbits/skills. Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. It works with Claude Code and Codex and has 8,222 GitHub stars across a repository of 4 listed skills.

Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass. Build understanding, not verdicts. This runs before anyone hunts for bugs, and feeds that work.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/trailofbits/skills |
| Skill path | plugins/audit-context-building/skills/audit-context-building/SKILL.md |
| Skill name | audit-context-building |
| GitHub stars | 8,222 |
| Installs on skills.sh | 3 |
| License | CC-BY-SA-4.0 |
| Skills in repo | 4 |
| Plugin marketplace | trailofbits |
| Official | yes |
| Works with | Claude Code, Codex |
| Category | Security |
| Last commit | Nov 12, 2026 |

## When it triggers

- Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass.

## Add this skill

### Claude Code

```sh
/plugin marketplace add trailofbits/skills
/plugin install audit-context-building@trailofbits
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/trailofbits/skills.git
cp -r skills/plugins/audit-context-building/skills/audit-context-building .agents/skills/audit-context-building   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/trailofbits/skills.git
cp -r skills/plugins/audit-context-building/skills/audit-context-building .cursor/skills/audit-context-building   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/trailofbits/skills/audit-context-building

---

Canonical page: https://appsgit.com/skills/trailofbits-audit-context-building
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
