Skill chains

From 0x-Shashi/WEB3-AUDIT-SKILLS · View interactive version

Skill chains is an AI agent skill from the GitHub repository 0x-Shashi/WEB3-AUDIT-SKILLS. Ordered sequences of individual audit skills to execute for different audit depth levels ensuring comprehensive, systematic coverage. Use when selecting between quick scan, standard audit, deep audit, or full engagement workflows to match coverage to time and scope constraints.

How to use this skill

Skill file

Skill Chains Skill

Purpose

Skill chains define ordered sequences of individual audit skills to execute for different audit depth levels. They ensure comprehensive, systematic coverage appropriate to the engagement scope.

Available Chains

| Chain | Duration | Depth | Use Case |

|-------|----------|-------|----------|

| Quick Scan | 1-2 hours | Surface | Initial assessment, triage |

| Deep Dive | 1-2 days | Focused | Specific contract/module analysis |

| Full Audit | 1-2 weeks | Comprehensive | Complete protocol audit |

Chain Selection Guide

Time < 2 hours?  → Quick Scan
Focused on specific area? → Deep Dive
Full engagement? → Full Audit

Design Principles

  1. Progressive Depth: Each chain level includes all previous levels plus more
  2. Exit Early: If critical issue found, can escalate from Quick Scan to Deep Dive
  3. Composable: Deep Dive can be run on specific modules identified by Quick Scan
  4. Reproducible: Same chain on same code produces same coverage

Prerequisites

Skill chains require all individual skills referenced in the chain to be available. The Commands skill MUST be loaded for chain invocation.

Validation

To verify chain completeness, validate skill availability:

# Validate all skills in a chain are loadable
def validate_chain(chain_config):
    for step in chain_config['steps']:
        skill_path = f"skills/{step['skill']}/SKILL.md"
        assert os.path.exists(skill_path), f"Missing skill: {skill_path}"
        print(f"Verified: {step['skill']} (order: {step['order']})")
# Example chain configuration
chain: quick-scan
duration: 1-2 hours
steps:
  - skill: solidity-scanner
    order: 1
    required: true
  - skill: checklists
    order: 2
    required: true
  - skill: severity
    order: 3
    optional: true
# Test chain execution order
python -m pytest tests/skill_chains/ -v --chain quick-scan

Behavior Guidelines

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.