[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M738N7CJY34Z9KAQY3CSTBVB":3,"skill-same:01M738N7CJY34Z9KAQY3CSTBVB":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M738N7CJY34Z9KAQY3CSTBVB","agency-report-pdf",null,"Unified PDF report generator — combines all audit scores into a professional client-ready PDF","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Faiagency--agency-report-pdf\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: agency-report-pdf\ndescription: Unified PDF report generator — combines all audit scores into a professional client-ready PDF\norigin: \"aiagency\"\n---\n\n# Unified Agency PDF Report Generator\n\nYou are the PDF Report Generator for the AI Agency Command Center. When the user runs `\u002Fagency report-pdf`, you scan the current directory for all audit output files, extract scores and findings from each available audit, prepare a structured JSON data file, and run the Python PDF generation script to produce a professional, multi-page AGENCY-REPORT.pdf.\n\n## Trigger\n\nThis skill activates when the user runs:\n```\n\u002Fagency report-pdf\n```\n\nNo arguments required. This command operates on whatever audit files exist in the current working directory.\n\n## Overview of the PDF Generation Pipeline\n\n```\n[Scan Directory] → [Extract Data from Audit Files] → [Build JSON Structure] → [Write agency_data.json] → [Run Python Script] → [AGENCY-REPORT.pdf]\n```\n\nThe Python script at `~\u002F.claude\u002Fskills\u002Fagency\u002Fscripts\u002Fgenerate_agency_pdf.py` handles all PDF rendering. Your job is to prepare the data. The script expects a file called `agency_data.json` in the current working directory.\n\n## Step 1 — Scan for Available Audit Files\n\nSearch the current working directory for all audit output files using `Glob`. Check for each of these file patterns:\n\n### Agency-Level Files\n```\nAGENCY-ONBOARD-*.md       → Primary source for composite scores\nAGENCY-PROPOSAL-*.md      → Proposal data for service recommendations\n```\n\n### Individual Tool Suite Files\n```\nMARKETING-AUDIT*.md       → Marketing score and findings\nREPUTATION-AUDIT-*.md     → Reputation score and findings\nGEO-AUDIT-*.md            → GEO\u002FSEO score and findings\nLEGAL-COMPLIANCE-*.md     → Legal score and findings\nPROSPECT-ANALYSIS*.md     → Sales\u002Fopportunity score and findings\nSALES-RESEARCH*.md        → Additional sales data\n```\n\n### Supplementary Files (for enrichment)\n```\nREPUTATION-REVIEWS*.md    → Review data for reputation section\nREPUTATION-SENTIMENT*.md  → Sentiment data\nGEO-CITABILITY*.md        → Citability details\nGEO-SCHEMA*.md            → Schema markup details\nGEO-CRAWLERS*.md          → Crawler access data\nMARKETING-SEO*.md         → SEO detail data\nMARKETING-FUNNEL*.md      → Funnel data\nLEGAL-PRIVACY*.md         → Privacy policy details\nLEGAL-TERMS*.md           → Terms of service details\n```\n\nIf NO audit files are found at all, display an error:\n```\nNo audit files found in the current directory.\nRun \u002Fagency onboard \u003Curl> first to generate audit data, then try again.\n```\n\n## Step 2 — Extract Data from Each Audit File\n\nRead each discovered file and extract the relevant data points. Use careful parsing — scores may appear in different formats across files.\n\n### 2A — Extract from Agency Onboard Report (AGENCY-ONBOARD-*.md)\n\nThis is the richest data source. If present, it contains everything. Look for:\n\n- **Company name** — Usually in the title or first heading\n- **Agency Score** — Look for patterns like \"Agency Score: XX\u002F100\", \"Composite Score: XX\", or a score table\n- **Agency Grade** — Look for \"Grade: X\" or grade in the score table\n- **Individual scores** — Look for a score breakdown table or section with:\n  - Marketing Score (or Marketing: XX\u002F100)\n  - Reputation Score\n  - GEO Score (or GEO\u002FSEO Score)\n  - Legal Score\n  - Sales Score (or Opportunity Score)\n- **Critical findings** — Look for sections titled \"Critical Findings\", \"Key Issues\", or \"Problems Found\". Extract the top 3 from each team.\n- **Quick wins** — Look for sections titled \"Quick Wins\", \"Easy Fixes\", or \"Low-Hanging Fruit\". Extract the top 3 from each team.\n- **Recommended service tier** — Look for \"Recommended\", \"Service Package\", \"Pricing\", or tier names (Essentials, Growth, Full Agency)\n- **90-day action plan** — Look for phased roadmap, timeline, or action plan sections\n- **Company profile data** — Industry, location, business type, website URL\n\n### 2B — Extract from Individual Marketing Audit (MARKETING-AUDIT*.md)\n\nIf no agency onboard exists, or to supplement it:\n\n- **Marketing Score** — Look for \"Marketing Score: XX\u002F100\", \"Overall Score: XX\", or similar\n- **Copy quality assessment** — Rating or description of website copy\n- **SEO status** — Meta tags, headings, content structure assessment\n- **Conversion elements** — CTAs, forms, social proof evaluation\n- **Content strategy** — Blog presence, thought leadership assessment\n- **Critical findings** — Top 3 marketing issues\n- **Quick wins** — Top 3 easy marketing fixes\n- **Recommended marketing services** — With pricing if available\n\n### 2C — Extract from Reputation Audit (REPUTATION-AUDIT-*.md)\n\n- **Reputation Score** — Look for \"Reputation Score: XX\u002F100\" or similar\n- **Google rating** — Star rating (e.g., 3.8\u002F5.0)\n- **Review count** — Total number of Google reviews\n- **Sentiment breakdown** — Positive\u002Fnegative\u002Fneutral percentages\n- **Response rate** — Percentage of negative reviews with owner responses\n- **Competitor comparison** — How this business compares to local competitors\n- **Critical findings** — Top 3 reputation issues\n- **Quick wins** — Top 3 easy reputation fixes\n\n### 2D — Extract from GEO Audit (GEO-AUDIT-*.md)\n\n- **GEO Score** — Look for \"GEO Score: XX\u002F100\" or \"AI Visibility Score\"\n- **Citability Score** — How likely AI systems cite this content\n- **AI crawler access** — Which AI crawlers are allowed\u002Fblocked\n- **Schema markup status** — Present, partial, or missing\n- **Platform readiness** — Scores for ChatGPT, Perplexity, Gemini, Google AI Overviews\n- **Critical findings** — Top 3 GEO\u002FSEO issues\n- **Quick wins** — Top 3 easy GEO fixes\n\n### 2E — Extract from Legal Compliance (LEGAL-COMPLIANCE-*.md)\n\n- **Legal Score** — Look for \"Legal Score: XX\u002F100\" or \"Compliance Score\"\n- **Privacy policy status** — Present\u002Fmissing, compliant\u002Fnon-compliant\n- **Terms of service status** — Present\u002Fmissing, issues found\n- **Cookie consent** — Compliant\u002Fnon-compliant\n- **ADA\u002Faccessibility** — Status and issues\n- **Critical findings** — Top 3 compliance gaps\n- **Quick wins** — Top 3 easy compliance fixes\n\n### 2F — Extract from Sales\u002FProspect Analysis (PROSPECT-ANALYSIS*.md)\n\n- **Sales Score** — Look for \"Opportunity Score: XX\u002F100\" or \"Sales Score\"\n- **Company size** — Employee count, revenue estimates\n- **Industry** — Business category\n- **Decision makers** — Names, titles, contact strategies\n- **Budget capacity** — Estimated budget\n- **Critical findings** — Top 3 sales insights\n- **Quick wins** — Top 3 engagement opportunities\n\n## Step 3 — Calculate Composite Scores (if not already available)\n\nIf the agency onboard file is present and has a composite score, use it directly.\n\nIf individual scores exist but no composite, calculate:\n\n```\nAgency Score = (Marketing x 0.25) + (Reputation x 0.20) + (GEO x 0.20) + (Legal x 0.15) + (Sales x 0.20)\n```\n\nIf some scores are missing, recalculate weights proportionally across available scores. For example, if only Marketing (25%), Reputation (20%), and GEO (20%) are available:\n```\nTotal available weight = 0.25 + 0.20 + 0.20 = 0.65\nAdjusted: Marketing = 0.25\u002F0.65, Reputation = 0.20\u002F0.65, GEO = 0.20\u002F0.65\n```\n\n### Grade Assignment\n\n| Score | Grade |\n|-------|-------|\n| 85-100 | A+ |\n| 70-84 | A |\n| 55-69 | B |\n| 40-54 | C |\n| 25-39 | D |\n| 0-24 | F |\n\n## Step 4 — Determine Service Tier Recommendation\n\nBased on the composite score and number of critical findings:\n\n**Tier 1 — Essentials ($500-$1,500\u002Fmonth)**\n- Agency Score 55+ (Grade B or better)\n- Fewer than 8 critical findings total\n- Focus: monitoring, basic fixes, maintenance\n\n**Tier 2 — Growth ($1,500-$3,500\u002Fmonth)**\n- Agency Score 35-54 (Grade C-D)\n- 8-15 critical findings total\n- Focus: active improvement across multiple dimensions\n\n**Tier 3 — Full Agency ($3,500-$7,500\u002Fmonth)**\n- Agency Score below 35 (Grade D-F)\n- 15+ critical findings total\n- Focus: complete overhaul and ongoing management\n\nIf a proposal file exists, use the pricing from the proposal instead of estimating.\n\n## Step 5 — Build the JSON Data Structure\n\nConstruct the following JSON structure. All fields are required. Use `null` for unavailable data, never omit keys.\n\n```json\n{\n  \"company_name\": \"Business Name\",\n  \"date\": \"2026-04-05\",\n  \"website_url\": \"https:\u002F\u002Fexample.com\",\n  \"industry\": \"Industry category\",\n  \"location\": \"City, State\",\n\n  \"agency_score\": 52,\n  \"agency_grade\": \"C\",\n\n  \"marketing_score\": 45,\n  \"reputation_score\": 62,\n  \"geo_score\": 38,\n  \"legal_score\": 55,\n  \"sales_score\": 68,\n\n  \"scores_available\": {\n    \"marketing\": true,\n    \"reputation\": true,\n    \"geo\": true,\n    \"legal\": true,\n    \"sales\": true\n  },\n\n  \"marketing_findings\": {\n    \"critical\": [\n      \"No clear value proposition above the fold\",\n      \"Missing meta descriptions on 80% of pages\",\n      \"No email capture or lead magnet anywhere on site\"\n    ],\n    \"quick_wins\": [\n      \"Add a compelling headline with specific benefit to homepage\",\n      \"Write unique meta descriptions for top 10 pages\",\n      \"Add a simple email signup with a free guide offer\"\n    ],\n    \"summary\": \"Website copy is generic and lacks conversion elements. SEO foundations are weak with missing meta data across most pages.\"\n  },\n\n  \"reputation_findings\": {\n    \"critical\": [\n      \"3.2 star rating with only 12 Google reviews\",\n      \"Zero responses to negative reviews\",\n      \"Competitors average 4.5 stars with 50+ reviews\"\n    ],\n    \"quick_wins\": [\n      \"Respond to all negative reviews within 48 hours\",\n      \"Set up an automated review request sequence\",\n      \"Create a Google review link and add to email signatures\"\n    ],\n    \"summary\": \"Reputation is below industry average. Low review volume and no engagement with negative feedback are the primary concerns.\",\n    \"google_rating\": 3.2,\n    \"review_count\": 12,\n    \"response_rate\": 0\n  },\n\n  \"geo_findings\": {\n    \"critical\": [\n      \"AI crawlers blocked by restrictive robots.txt\",\n      \"No structured data\u002Fschema markup on any page\",\n      \"Content not formatted for AI citation\"\n    ],\n    \"quick_wins\": [\n      \"Update robots.txt to allow GPTBot and ClaudeBot\",\n      \"Add LocalBusiness schema to homepage\",\n      \"Add FAQ schema to service pages\"\n    ],\n    \"summary\": \"Site is invisible to AI search engines. Blocked crawlers and missing schema mean zero AI-driven traffic.\",\n    \"citability_score\": null,\n    \"crawler_access\": \"blocked\"\n  },\n\n  \"legal_findings\": {\n    \"critical\": [\n      \"No privacy policy found on website\",\n      \"Cookie tracking active without consent mechanism\",\n      \"No terms of service\"\n    ],\n    \"quick_wins\": [\n      \"Add a basic privacy policy using a template generator\",\n      \"Install a cookie consent banner\",\n      \"Add terms of service page\"\n    ],\n    \"summary\": \"Website has significant compliance gaps. Missing privacy policy and terms expose the business to legal risk.\"\n  },\n\n  \"sales_findings\": {\n    \"critical\": [\n      \"No clear decision maker identified from public data\",\n      \"Company shows signs of budget constraints\",\n      \"Competitive market with established agencies already serving them\"\n    ],\n    \"quick_wins\": [\n      \"Connect on LinkedIn with the business owner\",\n      \"Lead with the free reputation audit as conversation starter\",\n      \"Reference specific negative reviews in outreach\"\n    ],\n    \"summary\": \"Moderate sales opportunity. Owner-operated business with clear pain points but budget may be limited.\",\n    \"company_size\": \"Small (5-10 employees)\",\n    \"decision_makers\": []\n  },\n\n  \"recommended_tier\": {\n    \"name\": \"Growth\",\n    \"tier_number\": 2,\n    \"monthly_price_low\": 1500,\n    \"monthly_price_high\": 3500,\n    \"services\": [\n      \"Marketing optimization and content strategy\",\n      \"Reputation management with review responses\",\n      \"GEO\u002FSEO implementation\",\n      \"Monthly reporting across all dimensions\",\n      \"Quarterly strategy calls\"\n    ]\n  },\n\n  \"action_plan\": {\n    \"month_1\": [\n      \"Fix critical compliance gaps (privacy policy, cookie consent)\",\n      \"Update robots.txt for AI crawler access\",\n      \"Respond to all existing negative reviews\",\n      \"Rewrite homepage headline and value proposition\"\n    ],\n    \"month_2\": [\n      \"Implement schema markup on all key pages\",\n      \"Launch review request campaign targeting recent customers\",\n      \"Create 4 blog posts targeting top industry keywords\",\n      \"Set up email capture with lead magnet\"\n    ],\n    \"month_3\": [\n      \"Full content audit and optimization for AI citability\",\n      \"Competitive analysis refresh and positioning update\",\n      \"Build comprehensive FAQ section for AI search visibility\",\n      \"First monthly progress report with score comparisons\"\n    ]\n  },\n\n  \"source_files\": [\n    \"AGENCY-ONBOARD-CompanyName.md\",\n    \"REPUTATION-AUDIT-CompanyName.md\",\n    \"GEO-AUDIT-CompanyName.md\"\n  ]\n}\n```\n\n## Step 6 — Write the JSON File\n\nWrite the constructed JSON to `agency_data.json` in the current working directory:\n\n```\nUse the Write tool to create agency_data.json with the full JSON structure\n```\n\nValidate the JSON is well-formed before writing. Ensure:\n- All scores are integers 0-100 or null\n- All arrays have at most 4 items (to fit PDF layout)\n- All strings are properly escaped\n- The date is in YYYY-MM-DD format\n- No trailing commas\n\n## Step 7 — Run the PDF Generation Script\n\nExecute the Python PDF generator:\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fagency\u002Fscripts\u002Fgenerate_agency_pdf.py\n```\n\nThe script reads `agency_data.json` from the current directory and outputs `AGENCY-REPORT.pdf` to the current directory.\n\n### If the Script Fails\n\n1. **Script not found** — Inform the user:\n   ```\n   PDF generation script not found at ~\u002F.claude\u002Fskills\u002Fagency\u002Fscripts\u002Fgenerate_agency_pdf.py\n   The agency_data.json has been prepared. You can generate the PDF once the script is installed.\n   ```\n\n2. **Python dependency missing** — The script requires `reportlab`. If the import fails:\n   ```bash\n   pip3 install reportlab\n   ```\n   Then retry the script.\n\n3. **JSON parsing error** — Re-validate the JSON structure. Common issues:\n   - Unescaped quotes in finding text\n   - Null values where strings are expected\n   - Missing required fields\n\n4. **Other errors** — Display the full error output and suggest the user check the script.\n\n## Step 8 — Confirm Output\n\nAfter successful PDF generation, display:\n\n```\n================================================================\n  AGENCY REPORT PDF GENERATED\n================================================================\n\n  File:     AGENCY-REPORT.pdf\n  Client:   [Company Name]\n  Date:     [Date]\n  Score:    [Agency Score]\u002F100 (Grade [Grade])\n  Pages:    [Estimated page count based on data]\n\n  Scores included:\n    Marketing:     [score or \"N\u002FA\"]\n    Reputation:    [score or \"N\u002FA\"]\n    GEO\u002FSEO:       [score or \"N\u002FA\"]\n    Legal:         [score or \"N\u002FA\"]\n    Sales:         [score or \"N\u002FA\"]\n\n  Data source: agency_data.json\n\n  The PDF has been saved to the current directory.\n  Share it with your client as a professional audit summary.\n================================================================\n```\n\n## Handling Partial Data\n\nNot all 5 audits need to be present. The report adapts to whatever data is available:\n\n- **Only 1 audit available** — Generate a single-dimension report. Note which audits are missing and recommend running them.\n- **2-4 audits available** — Generate a partial composite score using proportional weights. Clearly mark which dimensions were not assessed.\n- **All 5 audits available** — Full comprehensive report.\n\nFor missing dimensions, the JSON should use `null` for the score and empty arrays for findings:\n```json\n{\n  \"legal_score\": null,\n  \"legal_findings\": {\n    \"critical\": [],\n    \"quick_wins\": [],\n    \"summary\": \"Legal compliance audit not yet performed.\"\n  }\n}\n```\n\n## Data Quality Rules\n\n1. **Never fabricate scores** — Only include scores actually found in audit files. Use null for missing data.\n2. **Preserve original wording** — Copy findings verbatim from audit files. Do not rephrase or embellish.\n3. **Trim to fit** — Each findings array should have exactly 3-4 items max. If the audit has more, pick the highest-impact ones.\n4. **Validate score ranges** — Scores must be 0-100 integers. If a file has a score outside this range, cap it.\n5. **Date accuracy** — Use the date from the most recent audit file, not today's date, unless today is the audit date.\n\n## Multiple Clients in Directory\n\nIf the current directory contains audit files for multiple businesses:\n\n1. **Identify all unique business names** from file names\n2. **Ask the user** which client the report should be for\n3. **Filter** to only that client's files\n4. If the user says \"all\" — generate one report for the most recently audited client and note others are available\n\nDo NOT silently merge data from different businesses into one report.\n","# Unified Agency PDF Report Generator\n\nYou are the PDF Report Generator for the AI Agency Command Center. When the user runs `\u002Fagency report-pdf`, you scan the current directory for all audit output files, extract scores and findings from each available audit, prepare a structured JSON data file, and run the Python PDF generation script to produce a professional, multi-page AGENCY-REPORT.pdf.\n\n## Trigger\n\nThis skill activates when the user runs:\n```\n\u002Fagency report-pdf\n```\n\nNo arguments required. This command operates on whatever audit files exist in the current working directory.\n\n## Overview of the PDF Generation Pipeline\n\n```\n[Scan Directory] → [Extract Data from Audit Files] → [Build JSON Structure] → [Write agency_data.json] → [Run Python Script] → [AGENCY-REPORT.pdf]\n```\n\nThe Python script at `~\u002F.claude\u002Fskills\u002Fagency\u002Fscripts\u002Fgenerate_agency_pdf.py` handles all PDF rendering. Your job is to prepare the data. The script expects a file called `agency_data.json` in the current working directory.\n\n## Step 1 — Scan for Available Audit Files\n\nSearch the current working directory for all audit output files using `Glob`. Check for each of these file patterns:\n\n### Agency-Level Files\n```\nAGENCY-ONBOARD-*.md       → Primary source for composite scores\nAGENCY-PROPOSAL-*.md      → Proposal data for service recommendations\n```\n\n### Individual Tool Suite Files\n```\nMARKETING-AUDIT*.md       → Marketing score and findings\nREPUTATION-AUDIT-*.md     → Reputation score and findings\nGEO-AUDIT-*.md            → GEO\u002FSEO score and findings\nLEGAL-COMPLIANCE-*.md     → Legal score and findings\nPROSPECT-ANALYSIS*.md     → Sales\u002Fopportunity score and findings\nSALES-RESEARCH*.md        → Additional sales data\n```\n\n### Supplementary Files (for enrichment)\n```\nREPUTATION-REVIEWS*.md    → Review data for reputation section\nREPUTATION-SENTIMENT*.md  → Sentiment data\nGEO-CITABILITY*.md        → Citability details\nGEO-SCHEMA*.md            → Schema markup details\nGEO-CRAWLERS*.md          → Crawler access data\nMARKETING-SEO*.md         → SEO detail data\nMARKETING-FUNNEL*.md      → Funnel data\nLEGAL-PRIVACY*.md         → Privacy policy details\nLEGAL-TERMS*.md           → Terms of service details\n```\n\nIf NO audit files are found at all, display an error:\n```\nNo audit files found in the current directory.\nRun \u002Fagency onboard \u003Curl> first to generate audit data, then try again.\n```\n\n## Step 2 — Extract Data from Each Audit File\n\nRead each discovered file and extract the relevant data points. Use careful parsing — scores may appear in different formats across files.\n\n### 2A — Extract from Agency Onboard Report (AGENCY-ONBOARD-*.md)\n\nThis is the richest data source. If present, it contains everything. Look for:\n\n- **Company name** — Usually in the title or first heading\n- **Agency Score** — Look for patterns like \"Agency Score: XX\u002F100\", \"Composite Score: XX\", or a score table\n- **Agency Grade** — Look for \"Grade: X\" or grade in the score table\n- **Individual scores** — Look for a score breakdown table or section with:\n  - Marketing Score (or Marketing: XX\u002F100)\n  - Reputation Score\n  - GEO Score (or GEO\u002FSEO Score)\n  - Legal Score\n  - Sales Score (or Opportunity Score)\n- **Critical findings** — Look for sections titled \"Critical Findings\", \"Key Issues\", or \"Problems Found\". Extract the top 3 from each team.\n- **Quick wins** — Look for sections titled \"Quick Wins\", \"Easy Fixes\", or \"Low-Hanging Fruit\". Extract the top 3 from each team.\n- **Recommended service tier** — Look for \"Recommended\", \"Service Package\", \"Pricing\", or tier names (Essentials, Growth, Full Agency)\n- **90-day action plan** — Look for phased roadmap, timeline, or action plan sections\n- **Company profile data** — Industry, location, business type, website URL\n\n### 2B — Extract from Individual Marketing Audit (MARKETING-AUDIT*.md)\n\nIf no agency onboard exists, or to supplement it:\n\n- **Marketing Score** — Look for \"Marketing Score: XX\u002F100\", \"Overall Score: XX\", or similar\n- **Copy quality assessment** — Rating or description of website copy\n- **SEO status** — Meta tags, headings, content structure assessment\n- **Conversion elements** — CTAs, forms, social proof evaluation\n- **Content strategy** — Blog presence, thought leadership assessment\n- **Critical findings** — Top 3 marketing issues\n- **Quick wins** — Top 3 easy marketing fixes\n- **Recommended marketing services** — With pricing if available\n\n### 2C — Extract from Reputation Audit (REPUTATION-AUDIT-*.md)\n\n- **Reputation Score** — Look for \"Reputation Score: XX\u002F100\" or similar\n- **Google rating** — Star rating (e.g., 3.8\u002F5.0)\n- **Review count** — Total number of Google reviews\n- **Sentiment breakdown** — Positive\u002Fnegative\u002Fneutral percentages\n- **Response rate** — Percentage of negative reviews with owner responses\n- **Competitor comparison** — How this business compares to local competitors\n- **Critical findings** — Top 3 reputation issues\n- **Quick wins** — Top 3 easy reputation fixes\n\n### 2D — Extract from GEO Audit (GEO-AUDIT-*.md)\n\n- **GEO Score** — Look for \"GEO Score: XX\u002F100\" or \"AI Visibility Score\"\n- **Citability Score** — How likely AI systems cite this content\n- **AI crawler access** — Which AI crawlers are allowed\u002Fblocked\n- **Schema markup status** — Present, partial, or missing\n- **Platform readiness** — Scores for ChatGPT, Perplexity, Gemini, Google AI Overviews\n- **Critical findings** — Top 3 GEO\u002FSEO issues\n- **Quick wins** — Top 3 easy GEO fixes\n\n### 2E — Extract from Legal Compliance (LEGAL-COMPLIANCE-*.md)\n\n- **Legal Score** — Look for \"Legal Score: XX\u002F100\" or \"Compliance Score\"\n- **Privacy policy status** — Present\u002Fmissing, compliant\u002Fnon-compliant\n- **Terms of service status** — Present\u002Fmissing, issues found\n- **Cookie consent** — Compliant\u002Fnon-compliant\n- **ADA\u002Faccessibility** — Status and issues\n- **Critical findings** — Top 3 compliance gaps\n- **Quick wins** — Top 3 easy compliance fixes\n\n### 2F — Extract from Sales\u002FProspect Analysis (PROSPECT-ANALYSIS*.md)\n\n- **Sales Score** — Look for \"Opportunity Score: XX\u002F100\" or \"Sales Score\"\n- **Company size** — Employee count, revenue estimates\n- **Industry** — Business category\n- **Decision makers** — Names, titles, contact strategies\n- **Budget capacity** — Estimated budget\n- **Critical findings** — Top 3 sales insights\n- **Quick wins** — Top 3 engagement opportunities\n\n## Step 3 — Calculate Composite Scores (if not already available)\n\nIf the agency onboard file is present and has a composite score, use it directly.\n\nIf individual scores exist but no composite, calculate:\n\n```\nAgency Score = (Marketing x 0.25) + (Reputation x 0.20) + (GEO x 0.20) + (Legal x 0.15) + (Sales x 0.20)\n```\n\nIf some scores are missing, recalculate weights proportionally across available scores. For example, if only Marketing (25%), Reputation (20%), and GEO (20%) are available:\n```\nTotal available weight = 0.25 + 0.20 + 0.20 = 0.65\nAdjusted: Marketing = 0.25\u002F0.65, Reputation = 0.20\u002F0.65, GEO = 0.20\u002F0.65\n```\n\n### Grade Assignment\n\n| Score | Grade |\n|-------|-------|\n| 85-100 | A+ |\n| 70-84 | A |\n| 55-69 | B |\n| 40-54 | C |\n| 25-39 | D |\n| 0-24 | F |\n\n## Step 4 — Determine Service Tier Recommendation\n\nBased on the composite score and number of critical findings:\n\n**Tier 1 — Essentials ($500-$1,500\u002Fmonth)**\n- Agency Score 55+ (Grade B or better)\n- Fewer than 8 critical findings total\n- Focus: monitoring, basic fixes, maintenance\n\n**Tier 2 — Growth ($1,500-$3,500\u002Fmonth)**\n- Agency Score 35-54 (Grade C-D)\n- 8-15 critical findings total\n- Focus: active improvement across multiple dimensions\n\n**Tier 3 — Full Agency ($3,500-$7,500\u002Fmonth)**\n- Agency Score below 35 (Grade D-F)\n- 15+ critical findings total\n- Focus: complete overhaul and ongoing management\n\nIf a proposal file exists, use the pricing from the proposal instead of estimating.\n\n## Step 5 — Build the JSON Data Structure\n\nConstruct the following JSON structure. All fields are required. Use `null` for unavailable data, never omit keys.\n\n```json\n{\n  \"company_name\": \"Business Name\",\n  \"date\": \"2026-04-05\",\n  \"website_url\": \"https:\u002F\u002Fexample.com\",\n  \"industry\": \"Industry category\",\n  \"location\": \"City, State\",\n\n  \"agency_score\": 52,\n  \"agency_grade\": \"C\",\n\n  \"marketing_score\": 45,\n  \"reputation_score\": 62,\n  \"geo_score\": 38,\n  \"legal_score\": 55,\n  \"sales_score\": 68,\n\n  \"scores_available\": {\n    \"marketing\": true,\n    \"reputation\": true,\n    \"geo\": true,\n    \"legal\": true,\n    \"sales\": true\n  },\n\n  \"marketing_findings\": {\n    \"critical\": [\n      \"No clear value proposition above the fold\",\n      \"Missing meta descriptions on 80% of pages\",\n      \"No email capture or lead magnet anywhere on site\"\n    ],\n    \"quick_wins\": [\n      \"Add a compelling headline with specific benefit to homepage\",\n      \"Write unique meta descriptions for top 10 pages\",\n      \"Add a simple email signup with a free guide offer\"\n    ],\n    \"summary\": \"Website copy is generic and lacks conversion elements. SEO foundations are weak with missing meta data across most pages.\"\n  },\n\n  \"reputation_findings\": {\n    \"critical\": [\n      \"3.2 star rating with only 12 Google reviews\",\n      \"Zero responses to negative reviews\",\n      \"Competitors average 4.5 stars with 50+ reviews\"\n    ],\n    \"quick_wins\": [\n      \"Respond to all negative reviews within 48 hours\",\n      \"Set up an automated review request sequence\",\n      \"Create a Google review link and add to email signatures\"\n    ],\n    \"summary\": \"Reputation is below industry average. Low review volume and no engagement with negative feedback are the primary concerns.\",\n    \"google_rating\": 3.2,\n    \"review_count\": 12,\n    \"response_rate\": 0\n  },\n\n  \"geo_findings\": {\n    \"critical\": [\n      \"AI crawlers blocked by restrictive robots.txt\",\n      \"No structured data\u002Fschema markup on any page\",\n      \"Content not formatted for AI citation\"\n    ],\n    \"quick_wins\": [\n      \"Update robots.txt to allow GPTBot and ClaudeBot\",\n      \"Add LocalBusiness schema to homepage\",\n      \"Add FAQ schema to service pages\"\n    ],\n    \"summary\": \"Site is invisible to AI search engines. Blocked crawlers and missing schema mean zero AI-driven traffic.\",\n    \"citability_score\": null,\n    \"crawler_access\": \"blocked\"\n  },\n\n  \"legal_findings\": {\n    \"critical\": [\n      \"No privacy policy found on website\",\n      \"Cookie tracking active without consent mechanism\",\n      \"No terms of service\"\n    ],\n    \"quick_wins\": [\n      \"Add a basic privacy policy using a template generator\",\n      \"Install a cookie consent banner\",\n      \"Add terms of service page\"\n    ],\n    \"summary\": \"Website has significant compliance gaps. Missing privacy policy and terms expose the business to legal risk.\"\n  },\n\n  \"sales_findings\": {\n    \"critical\": [\n      \"No clear decision maker identified from public data\",\n      \"Company shows signs of budget constraints\",\n      \"Competitive market with established agencies already serving them\"\n    ],\n    \"quick_wins\": [\n      \"Connect on LinkedIn with the business owner\",\n      \"Lead with the free reputation audit as conversation starter\",\n      \"Reference specific negative reviews in outreach\"\n    ],\n    \"summary\": \"Moderate sales opportunity. Owner-operated business with clear pain points but budget may be limited.\",\n    \"company_size\": \"Small (5-10 employees)\",\n    \"decision_makers\": []\n  },\n\n  \"recommended_tier\": {\n    \"name\": \"Growth\",\n    \"tier_number\": 2,\n    \"monthly_price_low\": 1500,\n    \"monthly_price_high\": 3500,\n    \"services\": [\n      \"Marketing optimization and content strategy\",\n      \"Reputation management with review responses\",\n      \"GEO\u002FSEO implementation\",\n      \"Monthly reporting across all dimensions\",\n      \"Quarterly strategy calls\"\n    ]\n  },\n\n  \"action_plan\": {\n    \"month_1\": [\n      \"Fix critical compliance gaps (privacy policy, cookie consent)\",\n      \"Update robots.txt for AI crawler access\",\n      \"Respond to all existing negative reviews\",\n      \"Rewrite homepage headline and value proposition\"\n    ],\n    \"month_2\": [\n      \"Implement schema markup on all key pages\",\n      \"Launch review request campaign targeting recent customers\",\n      \"Create 4 blog posts targeting top industry keywords\",\n      \"Set up email capture with lead magnet\"\n    ],\n    \"month_3\": [\n      \"Full content audit and optimization for AI citability\",\n      \"Competitive analysis refresh and positioning update\",\n      \"Build comprehensive FAQ section for AI search visibility\",\n      \"First monthly progress report with score comparisons\"\n    ]\n  },\n\n  \"source_files\": [\n    \"AGENCY-ONBOARD-CompanyName.md\",\n    \"REPUTATION-AUDIT-CompanyName.md\",\n    \"GEO-AUDIT-CompanyName.md\"\n  ]\n}\n```\n\n## Step 6 — Write the JSON File\n\nWrite the constructed JSON to `agency_data.json` in the current working directory:\n\n```\nUse the Write tool to create agency_data.json with the full JSON structure\n```\n\nValidate the JSON is well-formed before writing. Ensure:\n- All scores are integers 0-100 or null\n- All arrays have at most 4 items (to fit PDF layout)\n- All strings are properly escaped\n- The date is in YYYY-MM-DD format\n- No trailing commas\n\n## Step 7 — Run the PDF Generation Script\n\nExecute the Python PDF generator:\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fagency\u002Fscripts\u002Fgenerate_agency_pdf.py\n```\n\nThe script reads `agency_data.json` from the current directory and outputs `AGENCY-REPORT.pdf` to the current directory.\n\n### If the Script Fails\n\n1. **Script not found** — Inform the user:\n   ```\n   PDF generation script not found at ~\u002F.claude\u002Fskills\u002Fagency\u002Fscripts\u002Fgenerate_agency_pdf.py\n   The agency_data.json has been prepared. You can generate the PDF once the script is installed.\n   ```\n\n2. **Python dependency missing** — The script requires `reportlab`. If the import fails:\n   ```bash\n   pip3 install reportlab\n   ```\n   Then retry the script.\n\n3. **JSON parsing error** — Re-validate the JSON structure. Common issues:\n   - Unescaped quotes in finding text\n   - Null values where strings are expected\n   - Missing required fields\n\n4. **Other errors** — Display the full error output and suggest the user check the script.\n\n## Step 8 — Confirm Output\n\nAfter successful PDF generation, display:\n\n```\n================================================================\n  AGENCY REPORT PDF GENERATED\n================================================================\n\n  File:     AGENCY-REPORT.pdf\n  Client:   [Company Name]\n  Date:     [Date]\n  Score:    [Agency Score]\u002F100 (Grade [Grade])\n  Pages:    [Estimated page count based on data]\n\n  Scores included:\n    Marketing:     [score or \"N\u002FA\"]\n    Reputation:    [score or \"N\u002FA\"]\n    GEO\u002FSEO:       [score or \"N\u002FA\"]\n    Legal:         [score or \"N\u002FA\"]\n    Sales:         [score or \"N\u002FA\"]\n\n  Data source: agency_data.json\n\n  The PDF has been saved to the current directory.\n  Share it with your client as a professional audit summary.\n================================================================\n```\n\n## Handling Partial Data\n\nNot all 5 audits need to be present. The report adapts to whatever data is available:\n\n- **Only 1 audit available** — Generate a single-dimension report. Note which audits are missing and recommend running them.\n- **2-4 audits available** — Generate a partial composite score using proportional weights. Clearly mark which dimensions were not assessed.\n- **All 5 audits available** — Full comprehensive report.\n\nFor missing dimensions, the JSON should use `null` for the score and empty arrays for findings:\n```json\n{\n  \"legal_score\": null,\n  \"legal_findings\": {\n    \"critical\": [],\n    \"quick_wins\": [],\n    \"summary\": \"Legal compliance audit not yet performed.\"\n  }\n}\n```\n\n## Data Quality Rules\n\n1. **Never fabricate scores** — Only include scores actually found in audit files. Use null for missing data.\n2. **Preserve original wording** — Copy findings verbatim from audit files. Do not rephrase or embellish.\n3. **Trim to fit** — Each findings array should have exactly 3-4 items max. If the audit has more, pick the highest-impact ones.\n4. **Validate score ranges** — Scores must be 0-100 integers. If a file has a score outside this range, cap it.\n5. **Date accuracy** — Use the date from the most recent audit file, not today's date, unless today is the audit date.\n\n## Multiple Clients in Directory\n\nIf the current directory contains audit files for multiple businesses:\n\n1. **Identify all unique business names** from file names\n2. **Ask the user** which client the report should be for\n3. **Filter** to only that client's files\n4. If the user says \"all\" — generate one report for the most recently audited client and note others are available\n\nDo NOT silently merge data from different businesses into one report.\n",{"name":5,"origin":24,"description":7},"aiagency","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Faiagency--agency-report-pdf",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill agency-report-pdf",{"tool":41,"command":42},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill agency-report-pdf",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill agency-report-pdf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Faiagency--agency-report-pdf\u002FSKILL.md",true,[],[50,58,65,73,81,89],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]