Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, and Behavioral ImpactDemystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impact
The authors collect 83 smart contract audit skills and evaluate 7 agent–model configurations on EVMBench; the authors state that skill effects are mainly determined by the backend model, and Codex/GPT-5.5's Detect Score improves by 22.8%.
- LLM agents can use skills to encapsulate domain knowledge, but how smart contract audit skills should be designed, whether they improve vulnerability detection, and how they change agent behavior remain unclear.
- The authors collected and deduplicated 83 audit skills from marketplaces, GitHub, and academic benchmarks, analyzed their structure, knowledge representation, tool dependencies, workflows, and vulnerability coverage, and compared with and without skills across 7 agent–model configurations on EVMBench.
- The authors report: skills are mostly lightweight and instruction-centric; under flagship models Detect Score improves in all cases, with Codex/GPT-5.5 improving by 22.8% and Detect Award by 43.2%; under the DeepSeek-V4-Pro backend the effect turns to -5.9% to -9.4%; only Codex/GPT-5.5 triggered the skill in all 40 audits.
- The authors note: most results are from a single run, with only Codex/GPT-5.5 repeated 3 times; the autonomous triggering setting cannot attribute effects to individual skills; conclusions may not generalize to all benchmarks, models, and skill ecosystems; the skill corpus is a temporal snapshot.
- Evaluated models
- GPT-5.5Opus-4.8Gemini-3.5-FlashGLM-5.1DeepSeek-V4-Pro
- Benchmarks
- EVMBench
- Metrics
- Detect ScoreDisclosure PrecisionDetect Awardtoken costruntime
Researchers collected 83 smart contract auditing skills from real-world environment systems and evaluated their design, vulnerability detection effectiveness, and impact on execution trajectories on EVMBench across seven agent–model configurations. Most of these skills are lightweight but vary in design, and the vulnerability types they cover are broad but uneven; detection improvements depend mainly on the model rather than the agent framework, with Codex/GPT-5.5 benefiting the most, increasing the detection score by 22.8% and bounty capture by 43.2%. Skill triggering is the key bottleneck; once triggered, the skills share a six-stage auditing process, but loading patterns differ across configurations and their impact on agent behavior also varies. The authors released the skill corpus and related artifacts to support subsequent research.
Paper analysis
What problem does this paper attempt to solve?
The authors study the design of smart contract audit skills, their effect on vulnerability detection, and their influence on agent behavior.
Core question: how smart contract audit skills are designed in the real ecosystem, whether they can improve agents' vulnerability detection performance, and how they change agents' execution trajectories.
- Setting and importance: the authors state that LLM agents such as Claude Code and OpenAI Codex are evolving from code completion tools into general software engineering agents, while smart contract auditing requires repository understanding, domain reasoning, tool-assisted analysis, and vulnerability verification; recent evaluations show that fully autonomous auditing still struggles with reliable detection (§I).
- Gaps in existing research: the authors state that existing skill research is mostly black-box evaluation across general domains or software engineering tasks, lacking domain-specific insight; smart contract security research mainly examines the native auditing, repair, and exploitation capabilities of LLMs and agents, and skill-enhanced auditing has not been studied (§I).
- Core observation: audit skills are naturally content-rich artifacts that may encapsulate domain knowledge, vulnerability taxonomies, tool usage instructions, audit workflows, and verification standards, and the domain already has a real skill ecosystem and real audit benchmarks such as EVMBench, making it suitable for research beyond aggregate scores (§II).
- What the paper proposes: the authors collect and organize 83 smart contract audit skills from the wild, evaluate them across 7 agent–model configurations on EVMBench, and conduct an empirical study around three questions—design features (RQ1), detection effects (RQ2), and behavioral influence (RQ3)—and plan to release the skill corpus and artifacts (§I, abstract).
What related research exists?
Related work falls into three groups: agent skill research, LLM methods for smart contract security, and audit benchmarks; the authors state that this paper is the first systematic empirical study targeting audit skills.
Design, generation, and composition of agent skills
- SkillReducer (2026)—identifies systematic inefficiencies in skills and compresses skills to save tokens (§VIII).
- AutoSKILL.md (2026), OpenClaw-Skill (2026), SkillNet (2026)—respectively mine skill documentation from interaction trajectories, search a collective skill tree across models, and provide open infrastructure for creating and connecting skills at scale (§VIII).
- SkillWeaver (2026), SkillOpt (2026)—the former uses decompose-retrieve-compose routing for compositional skill routing, and the latter optimizes skills through a transferable text-space optimizer (§VIII).
Evaluation and safety of agent skills
- SkillsBench (2026) and SWE-Skills-Bench (2026)—evaluate the utility of skills in diverse tasks and real software engineering tasks, respectively; the authors argue that black-box evaluation by such benchmarks provides limited insight into domain-specific skill design, activation behavior, and execution mechanisms (§II, §VIII).
- SkillMAS (2026)—studies the co-evolution of skills and multi-agent systems; a security study (2026) reports that 26.1% of skills contain vulnerabilities (§VIII).
- A controlled SkillsBench study (2026)—examines the effects of skill availability and presentation granularity on agents (§VIII, reference [53]).
LLM smart contract security methods and benchmarks
- GPTScan (2024), PropertyGPT (2024), iAudit (2025), LLM-SmartAudit (2025)—use LLMs or LLM multi-agent systems for contract vulnerability detection, formal verification property generation, and auditing with rationales (§VIII).
- EVMBench (2026)—a smart contract audit benchmark developed by OpenAI, containing 40 real audit tasks and 120 annotated vulnerabilities, and the evaluation benchmark of this paper; another study (2026) re-evaluates EVMBench and questions whether agents are ready for contract security (§V-A, reference [40]).
Baselines and controls: this paper does not compare against other methods, but compares with/without skills under the same agent–model configuration on EVMBench, and conducts an ablation with DeepSeek-V4-Pro as a unified backend (§V-A).
Authors' positioning: they state that the above skill research is mostly domain-agnostic and remains at the black-box level, whereas this paper is the first systematic empirical study targeting smart contract audit skills (§VIII).
How does the paper address this problem?
The authors build a corpus of 83 audit skills, analyze them along the two paths of design and content, and then conduct with/without-skill comparisons and trajectory analysis on EVMBench.
Overall approach: first collect from the wild and deduplicate according to three criteria to obtain a corpus of 83 smart contract audit skills, then use agent-assisted open coding to analyze their design (RQ1), next compare detection performance on EVMBench under two conditions, with and without skills (RQ2), and finally analyze skill triggering and behavioral effects from session trajectories (RQ3).
Skill collection and deduplication (§III)
- Three sources: AI skill marketplaces (SkillNet, SkillsVote, Skills.sh, SkillsMP, SkillHub, ClawHub), GitHub repositories (pashov/ai-web3-security, shuvonsec/web3-bug-bounty-hunting-ai-skills), and the academic benchmark SkillsBench; marketplaces were searched semantically with "smart contract security audit", and SkillsBench was filtered by blockchain + security keywords (Table I).
- Screening criteria: C1 targets Solidity/EVM contracts; C2 is oriented toward security auditing or vulnerability detection; C3 contains a non-empty SKILL.md and is resource self-contained. As of April 21, 2026, 155 candidates were obtained.
- Two-stage deduplication: first deduplicate URLs (131), then deduplicate by full-content hash (120), and after manual inspection for near-duplicates, 83 remained; SKILL.md was embedded with text-embedding-3-small, and of 3,403 pairs, 86.5% had cosine similarity below 0.75, with only 30 pairs (0.9%) reaching 0.85 or above (Fig. 2).
Design analysis process (RQ1, §IV)
- Structural features: count SKILL.md lines/tokens, artifact size, number of files, and resource directory categories.
- Content analysis: propose four dimensions according to Anthropic's skill design guide—knowledge representation, tool dependency, workflow design, and vulnerability coverage; use an agent to read each skill repository one by one to extract observations, avoiding context dilution caused by one-shot classification.
- Analysis model and quality control: GPT-5.4 is the primary analysis model, and Claude Opus 4.6 independently reviews intermediate results and requests revisions, with a review loop capped at 15 rounds, and remaining ambiguities adjudicated manually (Fig. 3).
Effectiveness evaluation (RQ2, §V)
- Benchmark and configurations: EVMBench contains 40 real audit tasks and 120 annotated vulnerabilities; 4 harnesses (Claude Code, Codex, Antigravity, OpenCode) each paired with their native flagship model, plus an ablation using DeepSeek-V4-Pro as a unified backend with 3 harnesses, for 7 configurations in total (Table VI).
- Control conditions: no-skill baseline vs. deploying the 83 skills as globally available skills; the agent is not instructed to invoke skills, task instructions are identical across the two conditions, and the only manipulated variable is skill availability.
- Metrics: Detect Score (number correctly detected among the 120 annotated vulnerabilities, mean and 95% confidence interval over 10,000 bootstraps), Disclosure Precision (proportion of reported findings that hit ground truth), Detect Award (USD value according to ground-truth reward labels), runtime, and token cost.
Behavior analysis (RQ3, §VI)
- Trajectory shift test: the semantic view embeds trajectories with text-embedding-3-large, applies length-normalized pooling plus PCA dimensionality reduction; the behavioral view uses a 10-dimensional action-type proportion vector (reason, skill, read, list, grep, edit, bash, plan, search, other); for each task, the paired with/without-skill difference is tested for zero-mean shift using the paired Hotelling's T² statistic, and a sign-flip permutation test (B=5000) yields empirical p-values.
- Trigger measurement: a skill is counted as activated only when its full content is explicitly read (e.g., loading SKILL.md); for each configuration, count the number of audits that trigger skills, the number of distinct skills, and the total number of reads.
- Invocation patterns: represent trajectories as an ordered timeline of tool-call events, normalize by the proportion of tool calls consumed, locate skill-loading events within the six-stage audit workflow, and distinguish single and chained invocation patterns.
What experiments did the paper conduct?
Evaluated 7 configurations on EVMBench: under flagship models skills all improve Detect Score, under the DeepSeek-V4-Pro backend the effect turns negative, and triggering is the bottleneck.
Experimental setup
- Configurations under test: 4 harnesses paired with native flagship models—Antigravity/Gemini-3.5-Flash, Claude Code/Opus-4.8, Codex/GPT-5.5, OpenCode/GLM-5.1; the same-backend ablation uses DeepSeek-V4-Pro with Claude Code, Codex, and OpenCode (Antigravity was excluded because its CLI only supports subscription authentication), for 7 in total (Table VI).
- Benchmark: EVMBench, with 40 real audit tasks and 120 annotated vulnerabilities; EVMBench default settings are used except for model and CLI versions.
- Control: no-skill baseline vs. 83 skills globally available; the agent is not instructed to invoke skills.
- Metrics: Detect Score (mean and 95% CI over 10,000 bootstraps), Disclosure Precision, Detect Award (USD), token cost, and runtime.
- Number of repetitions: main results are from a single run; only Codex/GPT-5.5 was repeated 3 times under the same settings (§VII-A).
- Behavior analysis: trajectory shifts use paired Hotelling's T² plus a sign-flip permutation test (B=5000); triggering is counted when the full content of a skill is explicitly read.
Main results
According to Table VI (EVMBench, w/o→w/ skill, Detect Score is the number detected among the 120 annotated vulnerabilities):
Swipe horizontally to read the table
Configuration Detect Score w/o w/ (relative change) Detect Award w/ (relative change) Codex/GPT-5.5 79/120 (65.8%) 97/120 (80.8%, +22.8%) 154,983 (71.2%, +43.2%) OpenCode/GLM-5.1 36/120 (30.0%) 41/120 (34.2%, +13.9%) 5,395 (2.5%, -25.6%) Antigravity/Gemini-3.5-Flash 47/120 (39.2%) 50/120 (41.7%, +6.4%) 76,037 (34.9%, +94.1%) Claude Code/Opus-4.8 62/120 (51.7%) 64/120 (53.3%, +3.2%) 55,982 (25.7%, -2.8%) Claude Code/DeepSeek-V4-Pro 32/120 (26.7%) 29/120 (24.2%, -9.4%) 46,281 (21.3%, -0.8%) Codex/DeepSeek-V4-Pro 34/120 (28.3%) 32/120 (26.7%, -5.9%) 49,119 (22.6%, -10.9%) OpenCode/DeepSeek-V4-Pro 34/120 (28.3%) 31/120 (25.8%, -8.8%) 2,924 (1.3%, -93.1%) - Detect Score improves under all flagship models, with the authors reporting relative gains of 3.2%–22.8%, and bootstrap confidence intervals typically within ±10% of the mean; Disclosure Precision changes little, with three of the four configurations within ±7.5% of baseline, and Codex/GPT-5.5 at +14.8%.
- Detect Award effects vary: the authors explain that Antigravity/Gemini-3.5-Flash is +94.1% because it detects a few high-value vulnerabilities, while OpenCode/GLM-5.1 is -25.6% because low-value findings increase and high-value findings are lost.
- Costs are not uniform: Fig. 8 shows that Codex/GPT-5.5 improves detection while token cost is -5.24% and runtime is -3.64%; Antigravity/Gemini-3.5-Flash has runtime +24.09% and cost +11.90%; OpenCode/GLM-5.1 has token cost +39.73% but runtime -11.85%.
Same-backend ablation (DeepSeek-V4-Pro)
- What was tested: three harnesses all use the DeepSeek-V4-Pro backend, isolating the effects of backend model capability and harness design.
- Results: the skill effect turns negative for all three harnesses (-5.9% to -9.4%, Table VI); after fixing the backend, differences across harnesses are typically within 11%; Fig. 9 shows token cost between -6.35% and +0.91%, and runtime decreases of 3.07% to 25.14%.
- Authors' interpretation: skill effects are mainly determined by backend model capability rather than harness design, and when the model is insufficient to discover, understand, and apply skills, gains are limited or negative (Finding 7, RQ2 Summary).
Trajectory shifts and skill triggering (RQ3)
- Trajectory shifts: Fig. 10 shows that 6 of 7 configurations have p<0.05 on the semantic or behavioral view, with the only exception being Claude/DeepSeek (not significant on either view); Codex/GPT-5.5 has p=0.0002 on both views (Finding 8).
- Trigger counts: Table VII shows that only Codex/GPT-5.5 triggers skills in 40/40 audits (27 distinct skills, 119 reads); Antigravity/Gemini-3.5-Flash is 13/40, OpenCode/GLM-5.1 is 3/40, OpenCode/DeepSeek-V4-Pro is 1/40, and the remaining three configurations are 0/40; under the same CLI, GPT-5.5 triggers in all cases while DeepSeek-V4-Pro triggers in none.
- Authors' interpretation: triggering is the main bottleneck for skills to take effect, triggering is mainly determined by the model, and harness influence is limited; the only fully triggering configuration is also the only one with a large detection improvement (Finding 9).
Invocation patterns and trajectory footprints
- Six-stage skeleton: Fig. 11 shows that all configurations share a six-stage process of "read instructions→explore directory→read README→code analysis→grep/trace/test→write report"; Codex/GPT-5.5, OpenCode/DeepSeek-V4-Pro, and Antigravity/Gemini-3.5-Flash tend to load skills early before code inspection, while OpenCode/GLM-5.1 triggers only after extensive code exploration.
- Two invocation patterns: single mode (Antigravity/Gemini-3.5-Flash, OpenCode/DeepSeek-V4-Pro) relies on a single workflow skill throughout; chained mode (Codex/GPT-5.5, OpenCode/GLM-5.1) dynamically loads multiple skills in a chain according to audit stage.
- Footprint differences: Table VIII shows that Codex/GPT-5.5 has footprints in all three dimensions of knowledge (K1 checklist 15 times, K2 events 7 times), tools (T1 Slither 18 times, T2 Aderyn 15 times, T3 Semgrep 5 times), and workflow (W1 .vigilo 17 times); Antigravity/Gemini-3.5-Flash has only the tool dimension (Slither 4, Aderyn 2); the two OpenCode configurations have no consistent footprint.
Other ablations and analyses
- Robustness: Codex/GPT-5.5 repeated 3 times (Table IX), with w/ skill Detect Score of 80.8%, 79.2%, and 83.3%, and Detect Award relative improvements of +43.2%, +16.0%, and +30.5%, in a consistent direction; R3's Precision relative change is -10.6%.
- Design statistics: SKILL.md median 120 lines/1,281 tokens, artifacts median 25 KB/3 files (Table II); 73/83 (88.0%) skills have tool dependencies, and only 19 (23%) depend on vulnerability analysis tools, of which static analysis 19, symbolic execution 12, fuzzing 7, and formal verification 6 (Table IV).
- Knowledge representation: 703 raw knowledge items are summarized into 15 representation forms and 5 knowledge types; heuristic knowledge KT02 covers 80 skills, artifacts/reports KT05 covers 78, and procedural KT01 covers 77 (Table III).
- Workflows: median 5 stages, 3 decision points, and 6 execution steps, with 73 skills (88.0%) concentrated at 4–6 stages; 62 are single-threaded execution, and 58 contain milestone gates (Fig. 5, Table V).
- Vulnerability coverage: 2,482 vulnerability items are grouped into 37 categories; reentrancy covers 41 skills, arithmetic precision 40, and access control 33; a single skill covers 1–26 categories, with a median of 9 (Fig. 6, Fig. 7).
What are some points that can be further explored?
The authors list limitations such as single-run, inability to attribute to a single skill, and external validity; the experiments cover 7 configurations and 40 tasks, with main results from a single run.
Limitations and future directions noted by the authors
- Single runs: §VII-B notes that most results are based on a single run (due to the monetary cost of LLM agents) and may be affected by LLM randomness; the authors mitigate this concern with the directional consistency of three repetitions of Codex/GPT-5.5.
- Inability to attribute individual skills: §VII-B notes that the evaluation uses an autonomous invocation setting, which reflects real deployment but cannot isolate the effect of each skill; the authors leave a standardized benchmark designed for per-skill causal attribution as future work.
- External validity: §VII-B notes that conclusions may not generalize to all benchmarks, models, or skill ecosystems; EVMBench may have data leakage concerns, and the authors state that the study focuses on the relative effects of skill enhancement rather than absolute performance.
- Model coverage: §VII-B notes that, due to monetary constraints, only representative frontier and low-cost models were evaluated, rather than exhaustively covering all available agents.
- Corpus timeliness: §VII-B notes that the skill corpus is a temporal snapshot of a rapidly evolving ecosystem; the authors therefore release the organized data and evaluation scripts to support reproduction and extension.
Scope of experimental coverage
- The configurations under test are 4 harnesses × native flagship models plus 3 harnesses × DeepSeek-V4-Pro, 7 in total, involving 5 backend models (Table VI).
- The evaluation benchmark is only EVMBench (40 tasks, 120 annotated vulnerabilities); the skill corpus is 83 skills, all in the Solidity/EVM contract audit direction (§III, §V-A).
- Main results are from a single run, with only Codex/GPT-5.5 repeated 3 times; the paper does not report repetition counts for other configurations (§VII).
- Behavior analysis covers 57 audits with skill activation and compares them with paired no-skill executions (§VI-C).
- The paper does not report whether detection judgments used LLM review or manual verification, and only states that metrics are computed according to EVMBench's 120 annotated vulnerabilities and reward labels (§V-A).
Summarize the main content of the paper
The authors conduct a systematic empirical study of 83 smart contract audit skills, stating that their effectiveness is mainly determined by the backend model and that triggering is the key bottleneck.
This is an empirical study of agent skills, focused on the domain of smart contract security auditing.
- Problem: skills can encapsulate domain knowledge to enhance LLM agents, but how audit skills are designed, whether they improve detection, and how they change behavior have lacked research; the authors state that existing skill evaluations are mostly black-box and domain-agnostic.
- Method: collect and deduplicate from skill marketplaces, GitHub, and SkillsBench to obtain 83 audit skills; analyze design via agent-assisted open coding with GPT-5.4 as primary and Claude Opus 4.6 as reviewer; compare with/without skills across 7 agent–model configurations on EVMBench (40 tasks, 120 annotated vulnerabilities), and conduct trajectory shift tests and trigger analysis.
- Design findings: skills are mostly lightweight and instruction-centric (median 120 lines in SKILL.md); knowledge is mainly heuristic, procedural, and report-type; 88.0% have tool dependencies but only 23% depend on vulnerability analysis tools (mainly static analysis); workflows are checkpoint-driven processes with a median of 5 stages; vulnerability coverage is broad but uneven, with classic risks such as reentrancy at the top.
- Effects: under flagship models, Detect Score improves in all cases, with Codex/GPT-5.5 at +22.8% relative, Detect Award +43.2%, token cost -5.24%, and runtime -3.64%; under the unified DeepSeek-V4-Pro backend, all three harnesses turn to -5.9% to -9.4%.
- Behavior: trajectory shifts are statistically significant in 6 of 7 configurations (p<0.05); only Codex/GPT-5.5 triggers skills in 40/40 audits, and three configurations do not trigger at all; after triggering, the six-stage audit skeleton is retained, and invocation patterns split into single and chained.
- Authors' conclusion: skill effects are mainly determined by backend model capability rather than the harness, and triggering is the key bottleneck for behavioral influence; the authors plan to release the skill corpus and evaluation artifacts, and leave a per-skill causal attribution benchmark for future work.