π¦ ClawHub
Report Generator Adarsh
by @adarshvmore
Generates a structured marketing audit report from aggregated data using a single GPT-4.1-mini API call with six predefined sections.
TERMINAL
clawhub install report-generator-adarshπ About This Skill
Report Generator Skill
Purpose
Single GPT-4.1-mini call that transforms aggregated marketing data into a structured, professional audit report. This is the ONLY AI call in the entire audit pipeline.Input Schema
interface AuditData {
input: AuditInput;
instagram: InstagramData;
metaAds: MetaAdsData;
keywords: KeywordData;
competitors: CompetitorData;
websiteAudit: WebsiteAuditData;
collectedAt: string;
}
Output Schema
interface MarketingReport {
brand: string;
generatedAt: string;
sections: ReportSections;
rawData: AuditData;
reportMarkdown: string;
}
API Dependencies
gpt-4.1-miniOPENAI_API_KEYImplementation Pattern
max_tokens: 1500, temperature: 0.4## header splittingToken Budget
Error Handling
Example Usage
const report = await generateMarketingReport(auditData);
console.log(report.reportMarkdown);