用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yanacuti1121/Yana-AI --skill agency-report-pdf命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Sovereign-grade safety OS for AI coding agents. 62 hooks, 2,025 skills, L1 memory, circuit breakers, and cross-engine enforcement — blocks rm -rf, force push, pipe-to-shell, and 40+ attack vectors before they reach your repo.
Use when the user wants to generate or keep repository documentation up to date via OpenWiki (langchain-ai/openwiki) — an LLM-driven CLI that writes a wiki for a codebase (or a personal knowledge base from Notion/Gmail/Slack/X/web search) and keeps it fresh via a scheduled CI pull request. Examples: "set up OpenWiki for this repo", "keep the docs updated automatically", "generate an agent wiki".
Use when implementing the core AR pipeline (camera pose estimation, marker tracking, projection overlay) from first principles — not when just using ARKit/ARCore/Unity's AR framework as a black box. Triggers on: 'build augmented reality from scratch', 'marker-based AR tracking', 'camera pose estimation', 'implement fiducial marker detection', 'AR projection matrix math', 'markerless AR tracking'. Covers marker-based vs markerless tracking, pose estimation, and the projection math to overlay 3D content on a camera feed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | agency-report-pdf |
| description | Unified PDF report generator — combines all audit scores into a professional client-ready PDF |
| origin | aiagency |
You are the PDF Report Generator for the AI Agency Command Center. When the user runs /agency 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.
This skill activates when the user runs:
/agency report-pdf
No arguments required. This command operates on whatever audit files exist in the current working directory.
[Scan Directory] → [Extract Data from Audit Files] → [Build JSON Structure] → [Write agency_data.json] → [Run Python Script] → [AGENCY-REPORT.pdf]
The Python script at ~/.claude/skills/agency/scripts/generate_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.
Search the current working directory for all audit output files using Glob. Check for each of these file patterns:
AGENCY-ONBOARD-*.md → Primary source for composite scores
AGENCY-PROPOSAL-*.md → Proposal data for service recommendations
MARKETING-AUDIT*.md → Marketing score and findings
REPUTATION-AUDIT-*.md → Reputation score and findings
GEO-AUDIT-*.md → GEO/SEO score and findings
LEGAL-COMPLIANCE-*.md → Legal score and findings
PROSPECT-ANALYSIS*.md → Sales/opportunity score and findings
SALES-RESEARCH*.md → Additional sales data
REPUTATION-REVIEWS*.md → Review data for reputation section
REPUTATION-SENTIMENT*.md → Sentiment data
GEO-CITABILITY*.md → Citability details
GEO-SCHEMA*.md → Schema markup details
GEO-CRAWLERS*.md → Crawler access data
MARKETING-SEO*.md → SEO detail data
MARKETING-FUNNEL*.md → Funnel data
LEGAL-PRIVACY*.md → Privacy policy details
LEGAL-TERMS*.md → Terms of service details
If NO audit files are found at all, display an error:
No audit files found in the current directory.
Run /agency onboard <url> first to generate audit data, then try again.
Read each discovered file and extract the relevant data points. Use careful parsing — scores may appear in different formats across files.
This is the richest data source. If present, it contains everything. Look for:
If no agency onboard exists, or to supplement it:
If the agency onboard file is present and has a composite score, use it directly.
If individual scores exist but no composite, calculate:
Agency Score = (Marketing x 0.25) + (Reputation x 0.20) + (GEO x 0.20) + (Legal x 0.15) + (Sales x 0.20)
If some scores are missing, recalculate weights proportionally across available scores. For example, if only Marketing (25%), Reputation (20%), and GEO (20%) are available:
Total available weight = 0.25 + 0.20 + 0.20 = 0.65
Adjusted: Marketing = 0.25/0.65, Reputation = 0.20/0.65, GEO = 0.20/0.65
| Score | Grade |
|---|---|
| 85-100 | A+ |
| 70-84 | A |
| 55-69 | B |
| 40-54 | C |
| 25-39 | D |
| 0-24 | F |
Based on the composite score and number of critical findings:
Tier 1 — Essentials ($500-$1,500/month)
Tier 2 — Growth ($1,500-$3,500/month)
Tier 3 — Full Agency ($3,500-$7,500/month)
If a proposal file exists, use the pricing from the proposal instead of estimating.
Construct the following JSON structure. All fields are required. Use null for unavailable data, never omit keys.
{
"company_name": "Business Name",
"date": "2026-04-05",
"website_url": "https://example.com",
"industry": "Industry category",
"location": "City, State",
"agency_score": 52,
"agency_grade": "C",
"marketing_score": 45,
"reputation_score": 62,
"geo_score": 38,
"legal_score": 55,
"sales_score": 68,
"scores_available": {
"marketing": true,
"reputation"
Write the constructed JSON to agency_data.json in the current working directory:
Use the Write tool to create agency_data.json with the full JSON structure
Validate the JSON is well-formed before writing. Ensure:
Execute the Python PDF generator:
python3 ~/.claude/skills/agency/scripts/generate_agency_pdf.py
The script reads agency_data.json from the current directory and outputs AGENCY-REPORT.pdf to the current directory.
Script not found — Inform the user:
PDF generation script not found at ~/.claude/skills/agency/scripts/generate_agency_pdf.py
The agency_data.json has been prepared. You can generate the PDF once the script is installed.
Python dependency missing — The script requires reportlab. If the import fails:
pip3 install reportlab
Then retry the script.
JSON parsing error — Re-validate the JSON structure. Common issues:
Other errors — Display the full error output and suggest the user check the script.
After successful PDF generation, display:
================================================================
AGENCY REPORT PDF GENERATED
================================================================
File: AGENCY-REPORT.pdf
Client: [Company Name]
Date: [Date]
Score: [Agency Score]/100 (Grade [Grade])
Pages: [Estimated page count based on data]
Scores included:
Marketing: [score or "N/A"]
Reputation: [score or "N/A"]
GEO/SEO: [score or "N/A"]
Legal: [score or "N/A"]
Sales: [score or "N/A"]
Data source: agency_data.json
The PDF has been saved to the current directory.
Share it with your client as a professional audit summary.
================================================================
Not all 5 audits need to be present. The report adapts to whatever data is available:
For missing dimensions, the JSON should use null for the score and empty arrays for findings:
{
"legal_score": null,
"legal_findings": {
"critical": [],
"quick_wins": [],
"summary": "Legal compliance audit not yet performed."
}
}
If the current directory contains audit files for multiple businesses:
Do NOT silently merge data from different businesses into one report.