graph TD
Start[Start BrandGuard Subagent] --> InputData[Receive extracted-data JSON]
InputData --> ExtractTerms[Extract Suspect Terms]
ExtractTerms --> |Use LLM Skill 223| SuspectList[List of Suspect Terms]
SuspectList --> CheckLoop[Term Check Loop]
CheckLoop --> |For each term| WebCheck[Web Trademark Check]
WebCheck --> |Use Oracle Skill 224| CheckResults[Trademark Check Results]
CheckResults --> |More terms?| CheckLoop
CheckResults --> |All terms done| ResultsCollection[Collected Results]
InputData --> |Image URL| ImageAnalysis[Analyze Image]
ImageAnalysis --> |Use Vision Skill 176| ImageResults[Image Analysis Results]
ResultsCollection --> FinalReport[Generate Final Report]
ImageResults --> FinalReport
FinalReport --> |Use LLM Skill 223| Output[trademark-analysis Report]
Output --> End[End BrandGuard Subagent]