Report Generator Adarsh

# Report Generator Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Report Generator Adarsh" with this command: npx skills add adarshvmore/report-generator-adarsh

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

  • API: OpenAI
  • Model: gpt-4.1-mini
  • Auth: OPENAI_API_KEY
  • Cost: ~$0.001-0.002 per call

Implementation Pattern

  • System prompt defines the analyst persona and exact 6-section format
  • User message is the full AuditData JSON
  • Single API call with max_tokens: 1500, temperature: 0.4
  • Response markdown is parsed into individual sections via ## header splitting
  • Token usage is logged for cost tracking
  • Fallback report is generated if OpenAI call fails

Token Budget

  • Input: ~1,500-2,000 tokens (JSON data)
  • Output: ~800-1,200 tokens (report)

Error Handling

  • Missing API key: returns fallback report with error message
  • API failure: returns fallback report with raw data preserved
  • All errors logged with context

Example Usage

const report = await generateMarketingReport(auditData);
console.log(report.reportMarkdown);

Notes

  • This is the ONLY file that should make OpenAI calls (except competitor collector fallback)
  • Never add additional GPT calls to other modules

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Agent Causal

Helps decide to ship, continue, or roll back changes from A/B test and DiD data by providing statistical analysis, decisions, and audit trails.

Registry SourceRecently Updated
900Profile unavailable
Security

Code Review Inspector

Automated code review checking for bugs, security issues, best practices, performance problems, and code style

Registry SourceRecently Updated
250Profile unavailable
Security

Docker Optimizer

Optimize Dockerfiles with multi-stage builds, layer caching, security best practices, and size reduction techniques

Registry SourceRecently Updated
260Profile unavailable
Security

Skill Auditor

Audit core: a classification taxonomy and a severity scoring function, kept orthogonal. Operates on the whole skill bundle (SKILL.md plus any referenced scri...

Registry SourceRecently Updated
1250Profile unavailable