id: "audit-context-building"
kind: "skill"
name: "audit-context-building"
title: "Audit Context Building"
description: "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."
category: "developer-tools"
source:
  repository: "trailofbits/skills"
  path: "plugins/audit-context-building/skills/audit-context-building/SKILL.md"
  commit: "149d7b21f4067765b82e67029730b42d228ef4b4"
  url: "https://github.com/trailofbits/skills/tree/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building"
license:
  spdx: "CC-BY-SA-4.0"
  from: "repository"
  redistributable: false
stars: 8299
updated_at: "2026-11-18T16:36:35Z"
score: 0.7719
rank: 308
files_count: 6
bytes: 24037
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:36:08Z"
  model: "claude-sonnet-5-5"
  score: 0.7719
  signals:
    tier: 1.0
    rubric: 0.97
    judge: 0.66
    smoke: "not_run"
    popularity: 0.5373
  rubric:
    score: 0.97
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 0.7
    risky: []
    broken_references: []
  judge:
    trigger: 4
    scope: 4
    instructions: 3
    safety: 5
    injection: 5
    references: 3
    overall: 6
    verdict: "keep"
    rationale: "The skill has a clear job: map assumptions and dependencies before bug hunting. It states a sharp boundary (no vulnerabilities, fixes or severity) and uses read-only tools, so it is safe. Weaknesses: SKILL.md mostly routes to a slash command and a function-analyzer agent that aren't in the file list, so the references are only partly resolvable. The actual method sits in resources. SKILL.md itself gives little beyond \"follow the calls\" and \"nothing found\"."
  smoke:
    status: "not_run"
requires:
  tools: ["Glob", "Grep", "Read", "Task", "Workflow"]
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "instructions"
    reasons: ["no-files"]
    source: "derived"
  - client: "chat-mcp"
    status: "instructions"
    reasons: ["no-files"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 3991
    sha256: "33fa693dc6e166cfa4919e4373cb6578c009d296234c2ae7cb3cd4e79b443765"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building/SKILL.md"
  - path: "agents/openai.yaml"
    bytes: 253
    sha256: "1d66ff830ff41ce751286d588a0ffeb95ed56d1b42e279fa2c8eebff10f4e59e"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building/agents/openai.yaml"
  - path: "assets/trail-of-bits-mark.svg"
    bytes: 3084
    sha256: "4bf74c789b38dcf6ad762c136b6832363d27ae19fbaa9a18ec18d66ecce6ca05"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building/assets/trail-of-bits-mark.svg"
  - path: "resources/ANALYSIS_FORMAT.md"
    bytes: 2613
    sha256: "029532945776fb0fcbc866f19cd6114fe4152cd3dea1c0f44b266ec13a2cc6e8"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building/resources/ANALYSIS_FORMAT.md"
  - path: "resources/DOMAIN_NOTES.md"
    bytes: 5040
    sha256: "ca3090f7f8d18f7145b253b283f5d33c36b314cea231aae8466bf23f122e2ed1"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building/resources/DOMAIN_NOTES.md"
  - path: "resources/FUNCTION_MICRO_ANALYSIS_EXAMPLE.md"
    bytes: 9056
    sha256: "3351010d83b61bfb34a0359498f153817fdfa6528cead54536b06e035ff2399c"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/audit-context-building/skills/audit-context-building/resources/FUNCTION_MICRO_ANALYSIS_EXAMPLE.md"
alternates:
  - name: "audit-context-building"
    repository: "sickn33/agentic-awesome-skills"
    path: "plugins/agentic-awesome-skills-claude/skills/audit-context-building/SKILL.md"
    commit: "444f05edf05566b0880ad34e8eba6e9034905483"
    url: "https://github.com/sickn33/agentic-awesome-skills/tree/444f05edf05566b0880ad34e8eba6e9034905483/plugins/agentic-awesome-skills-claude/skills/audit-context-building"
    license: "MIT"
    stars: 50006
    score: 0.629
    similarity: 1.0
    reason: "same name"
  - name: "audit-context-building"
    repository: "sickn33/agentic-awesome-skills"
    path: "plugins/agentic-awesome-skills/skills/audit-context-building/SKILL.md"
    commit: "444f05edf05566b0880ad34e8eba6e9034905483"
    url: "https://github.com/sickn33/agentic-awesome-skills/tree/444f05edf05566b0880ad34e8eba6e9034905483/plugins/agentic-awesome-skills/skills/audit-context-building"
    license: "MIT"
    stars: 50006
    score: 0.629
    similarity: 1.0
    reason: "identical content"
  - name: "audit-context-building"
    repository: "sickn33/agentic-awesome-skills"
    path: "skills/audit-context-building/SKILL.md"
    commit: "444f05edf05566b0880ad34e8eba6e9034905483"
    url: "https://github.com/sickn33/agentic-awesome-skills/tree/444f05edf05566b0880ad34e8eba6e9034905483/skills/audit-context-building"
    license: "MIT"
    stars: 50006
    score: 0.629
    similarity: 1.0
    reason: "identical content"
  - name: "audit-context-building"
    repository: "RedHatProductSecurity/prodsec-skills"
    path: "module/skills/audit-context-building/SKILL.md"
    commit: "b55c6b9c3392645f62da59a447c29473c413e371"
    url: "https://github.com/RedHatProductSecurity/prodsec-skills/tree/b55c6b9c3392645f62da59a447c29473c413e371/module/skills/audit-context-building"
    license: "LicenseRef-see-frontmatter"
    stars: 196
    score: 0.4561
    similarity: 1.0
    reason: "same name"
icon: "https://versatile.sh/avatars/trailofbits.png"
