audit-context
How to reason about Solidity contracts, tests, and the current vulnflow audit session — what to read, what to retrieve, and how to ground answers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to reason about Solidity contracts, tests, and the current vulnflow audit session — what to read, what to retrieve, and how to ground answers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
UI mockups, dashboards, advanced interactivity, generative art, simulations, math visualizations, and design system rules for producing rich HTML widget output.
Exact contract for emitting create/delete/edit canvas actions (nodes, edges, viewport) so they validate against the current ReactFlow state and resource catalogs.
Philosophy, decision-making framework, and technical skills for delivering visual, interactive, and educational AI responses.
Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.
| name | audit-context |
| title | VulnFlow Audit Context Skill |
| description | How to reason about Solidity contracts, tests, and the current vulnflow audit session — what to read, what to retrieve, and how to ground answers. |
| allowed-tools | ["read_workspace_file","list_workspace_directory","search_docs","list_resources"] |
This skill governs how the chat agent grounds its answers in the actual audit project the user has opened in vulnflow. It is mandatory whenever the user's question is about contracts, tests, patterns, memory, audit docs, or the active pipeline.
Consult before:
auditPathDo not answer Solidity questions about local code purely from training memory. Read the file first.
The frontend sends a fresh ui_context on every chat send. Treat it
as authoritative:
ui_context.auditPath is the root of the project under auditui_context.workspacePath is the vulnflow repo root (skills, MCP, patterns, memory)ui_context.excludedPaths lists paths the user marked as out-of-scope —
honor them; never propose nodes that bind to excluded pathsui_context.catalogs exposes the discoverable resources: skills,
lead_skills, mcp, audit_docs, patterns, memory, memory_promtsui_context.availableTools lists external tools loaded from conf.yaml
(HornetMCP, Solodit, etc.) with their endpoint namesui_context.docsStatus tells you if docs RAG is readyui_context first. It already tells you the project root,
what is excluded, what catalogs exist, what tools are configured, the
current pipeline state and which nodes are selected.read_workspace_file and
list_workspace_directory. All reads are workspace-bound — never
ask the user for absolute paths.search_docs when the user asks about general Solidity
patterns, framework behavior, audit methodology, or anything that
sounds like it might live in their docs corpus. Cite the matched
files in your text response.hornetmcp_search, solodit_findings, etc.)
when the user wants similar past findings, exploit references, or
when you need to enrich a vulnerability with field evidence.ui_context.catalogs so the canvas action validates.When asked about a specific contract or function:
auditPath and not excluded.path:line convention.When asked about tests:
list_workspace_directory under auditPath.
Common conventions: test/, tests/, *.t.sol (Foundry), *.test.ts
(Hardhat).If the user asks to prepare an audit run, spin up a pipeline, add
this contract to the flow, or anything that translates into structural
canvas changes, hand off to the canvas-actions skill via
read_skill("canvas-actions") before emitting any canvas_action
envelope parts.