agentleFS
forefyforefy/.context/skills/hunter-utils/auditor-quiz/SKILL.md

auditor-quiz

Skill153 starsChanged 46 days agoMITView on GitHub

Quiz an auditor on a codebase's mechanics and vulnerabilities, drawn from its own code and docs. Use to test understanding before or during a review.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Search for documentation files: *.md, README*, docs/*, *.sol (comments), *.rs (comments), etc.

    line 23
  2. Distinctive:

    Use grep/glob to find relevant files efficiently

    line 25
  3. Distinctive:

    Read and synthesize key information about:

    line 28
  4. Distinctive:

    Create 8-10 questions (mix of multiple choice, true/false)

    line 36
  5. Very specific:

    Follow guidelines in references/question-types.md

    line 37
  6. Distinctive:

    WAIT for the user's answer in their next message

    line 46
  7. Distinctive:

    After receiving answer, provide immediate feedback:

    line 47
  8. Distinctive:

    Do NOT use terminal scripts, bash sessions, or file-based quiz systems

    line 57
  9. Very specific:

    Use the ask_user tool if helpful for getting answers

    line 59
  10. Distinctive:

    Keep the interaction natural and conversational

    line 60
  11. Distinctive:

    Clear: Avoid ambiguity in questions and answers

    line 91
  12. Distinctive:

    Deep: Test understanding over memorization

    line 93
  13. Distinctive:

    When documentation is extensive (>10 files), prioritize security-relevant docs first

    line 103
  14. Distinctive:

    Keep conversational flow natural - don't use scripts or terminal sessions

    line 106
  15. Distinctive:

    Don't make the correct question obvious by it being always the longer answer, or always the same choice field

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Auditor Quiz Skill

Generate focused, security-oriented quizzes to test auditor understanding of codebases, protocols, and documentation.

Overview

This skill creates 8-10 question quizzes that focus on:

  • Protocol/system understanding and core mechanisms
  • Weakness points and potential vulnerabilities
  • Security considerations and attack vectors
  • Core functionality and critical code paths

Questions are generated from repository documentation (README, docs/, whitepapers, specifications, inline comments) and presented interactively with immediate feedback.

Workflow

  1. Identify documentation sources
    • Search for documentation files: *.md, README*, docs/*, *.sol (comments), *.rs (comments), etc.
    • Prioritize: security docs, architecture docs, README, specification files
    • Use grep/glob to find relevant files efficiently
  2. Analyze documentation
    • Read and synthesize key information about:
      • Core protocol/system mechanics
      • Security assumptions and trust boundaries
      • Known edge cases or limitations
      • Critical functions and state transitions
      • Potential attack vectors or vulnerability areas
  3. Generate quiz questions
    • Create 8-10 questions (mix of multiple choice, true/false)
    • Follow guidelines in references/question-types.md
    • Focus on security-critical aspects and deep understanding
    • Balance difficulty: 2-3 easy, 4-5 medium, 2-3 hard questions
    • Include specific references (line numbers, function names)
    • Store questions in memory (not in files)
  4. Run the quiz conversationally
    • Present questions ONE AT A TIME in the conversation
    • Format clearly with question number, text, and answer options
    • WAIT for the user's answer in their next message
    • After receiving answer, provide immediate feedback:
      • ✅ CORRECT or ❌ INCORRECT
      • Show correct answer if wrong
      • Provide detailed explanation
      • Show current score (e.g., "Score: 3/5")
    • Continue to next question only after user responds
    • Track score throughout
    • Display final results at the end with percentage and feedback
  5. Important: Conversational Mode
    • Do NOT use terminal scripts, bash sessions, or file-based quiz systems
    • Present each question directly in your response
    • Use the ask_user tool if helpful for getting answers
    • Keep the interaction natural and conversational

Question Generation Guidelines

Focus Areas

Protocol Understanding (2-3 questions):

  • How core mechanisms work
  • State transitions and workflows
  • Design rationale

Weakness Points (2-3 questions):

  • Known edge cases
  • Potential attack vectors
  • Boundary conditions

Security Considerations (2-3 questions):

  • Access controls
  • Trust assumptions
  • Input validation
  • Privilege boundaries

Core Functionality (1-2 questions):

  • Main entry points
  • Critical algorithms
  • Key data structures

Quality Standards

  • Specific: Reference actual code (function names, line numbers)
  • Relevant: Focus on audit-critical aspects
  • Clear: Avoid ambiguity in questions and answers
  • Educational: Explanations should teach, not just confirm
  • Deep: Test understanding over memorization

Consult references/question-types.md for detailed examples and patterns.

Resources

  • references/question-types.md - Question format guidelines, examples, and best practices

Tips

  • When documentation is extensive (>10 files), prioritize security-relevant docs first
  • Include code references in explanations (e.g., "line 142", "deposit() function")
  • Present questions one at a time, waiting for user response between each
  • Keep conversational flow natural - don't use scripts or terminal sessions
  • Track score internally and display after each question
  • Don't make the correct question obvious by it being always the longer answer, or always the same choice field

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.