Initial commit
This commit is contained in:
47
agents/data-parser.md
Normal file
47
agents/data-parser.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
name: data-parser
|
||||
description: Parses WordPress XML, JSON, and CSV content exports into structured data
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
# Data Parser Agent
|
||||
|
||||
Extract structured content data from CMS exports (WordPress XML, JSON, CSV).
|
||||
|
||||
## Supported Formats
|
||||
|
||||
### WordPress XML
|
||||
Extract from `<item>` elements:
|
||||
- title, pubDate, dc:creator, category, content:encoded
|
||||
- Parse dates to standard format
|
||||
- Calculate word counts from content
|
||||
|
||||
### JSON
|
||||
Parse flexible schemas, looking for:
|
||||
- Common field names (title/name, date/published/created_at, author/creator)
|
||||
- Nested structures (data.posts, items, articles)
|
||||
- Array or object formats
|
||||
|
||||
### CSV
|
||||
Parse with headers:
|
||||
- Required: title, date, author
|
||||
- Optional: category, tags, word_count, url, status
|
||||
|
||||
## Output Format
|
||||
|
||||
Return array of content objects:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"title": "Post Title",
|
||||
"date": "2024-01-15",
|
||||
"author": "Author Name",
|
||||
"categories": ["Category 1"],
|
||||
"word_count": 1500,
|
||||
"url": "/post-slug",
|
||||
"status": "published"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Sort by date (newest first). Report parsing stats to user.
|
||||
40
agents/publishing-analyzer.md
Normal file
40
agents/publishing-analyzer.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
name: publishing-analyzer
|
||||
description: Analyzes publishing trends, cadence, and author contributions
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
# Publishing Analyzer Agent
|
||||
|
||||
Analyze publishing patterns and author contributions from parsed content data.
|
||||
|
||||
## Publishing Trends Analysis
|
||||
|
||||
Calculate:
|
||||
- Posts per month (group by year-month)
|
||||
- Publishing frequency (posts/week, posts/month averages)
|
||||
- Trend direction (increasing/decreasing %)
|
||||
- Seasonal patterns
|
||||
- Peak and low periods
|
||||
|
||||
Present as time series with month-by-month breakdown.
|
||||
|
||||
## Author Contribution Analysis
|
||||
|
||||
For each author calculate:
|
||||
- Total posts
|
||||
- Percentage of total content
|
||||
- Average post length
|
||||
- Publishing frequency (posts/month)
|
||||
- Active date range
|
||||
- Recent activity (last 3 months)
|
||||
|
||||
Rank authors by post count. Identify top contributors vs long-tail.
|
||||
|
||||
## Output Format
|
||||
|
||||
Markdown report with:
|
||||
- Summary stats
|
||||
- Month-by-month publishing table
|
||||
- Author contribution rankings
|
||||
- Key insights and trends
|
||||
41
agents/topic-classifier.md
Normal file
41
agents/topic-classifier.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
name: topic-classifier
|
||||
description: Analyzes content topics, categories, and identifies content gaps
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
# Topic Classifier Agent
|
||||
|
||||
Analyze topic distribution and identify content opportunities.
|
||||
|
||||
## Category Analysis
|
||||
|
||||
From provided content data:
|
||||
- Count posts per category/tag
|
||||
- Calculate percentages
|
||||
- Identify most/least covered topics
|
||||
- Find orphaned content (no category)
|
||||
|
||||
## Topic Patterns
|
||||
|
||||
Look for:
|
||||
- Common category combinations
|
||||
- Topic evolution over time (early vs recent)
|
||||
- Emerging topics (growth in last 6 months)
|
||||
- Declining topics (decreased coverage)
|
||||
|
||||
## Content Gap Identification
|
||||
|
||||
Identify opportunities:
|
||||
- Underserved topics (<5 posts) that could be expanded
|
||||
- Related topics covered but specific angles missing
|
||||
- Competitor topics not covered (if competitive data provided)
|
||||
- Seasonal gaps (topics not covered in certain periods)
|
||||
|
||||
## Output Format
|
||||
|
||||
Markdown with:
|
||||
- Topic distribution table
|
||||
- Top 10 categories
|
||||
- Content gap analysis
|
||||
- Recommendations for content opportunities
|
||||
48
agents/visualization-generator.md
Normal file
48
agents/visualization-generator.md
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
name: visualization-generator
|
||||
description: Creates interactive HTML reports with Chart.js visualizations
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
# Visualization Generator Agent
|
||||
|
||||
Generate interactive HTML reports with charts for content audit data.
|
||||
|
||||
## Charts to Generate
|
||||
|
||||
### 1. Publishing Trends (Line Chart)
|
||||
- X-axis: Months
|
||||
- Y-axis: Post count
|
||||
- Show 12-24 month trend
|
||||
|
||||
### 2. Author Contributions (Bar Chart)
|
||||
- X-axis: Author names (top 10)
|
||||
- Y-axis: Post count
|
||||
- Sorted by count descending
|
||||
|
||||
### 3. Topic Distribution (Pie Chart)
|
||||
- Categories/topics
|
||||
- Show percentages
|
||||
- Top 8 categories + "Other"
|
||||
|
||||
### 4. Content Length Distribution (Histogram)
|
||||
- Word count ranges (0-500, 500-1000, 1000-1500, etc.)
|
||||
- Post count per range
|
||||
|
||||
## HTML Structure
|
||||
|
||||
Create self-contained HTML file with:
|
||||
- Embedded CSS (clean, professional styling)
|
||||
- Chart.js from CDN
|
||||
- Navigation sections
|
||||
- Print-friendly styles
|
||||
- Responsive design
|
||||
|
||||
## Data Tables
|
||||
|
||||
Include interactive sortable tables for:
|
||||
- All posts (title, date, author, category, word count)
|
||||
- Author stats (name, posts, avg length, period)
|
||||
- Category stats (name, count, percentage)
|
||||
|
||||
Save to `reports/[name]-audit.html`
|
||||
Reference in New Issue
Block a user