# Ad Library Archivist

> ---

- Skill: `akhilkannur/ad-library-archivist` (Agent Skill)
- Install (CLI): `npx skillmds@latest add akhilkannur/ad-library-archivist`
- Raw SKILL.md: https://api.skillmd.com/api/skills/akhilkannur/ad-library-archivist/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: akhilkannur (https://skillmd.com/u/akhilkannur)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/akhilkannur/ad-library-archivist

---

--- 
name: ad-library-archivist
description: "Ads disappear. This agent reads a CSV of FB Ad Library or LinkedIn Ad links and creates a structured directory of 'Swipe Assets', naming every file by date, competitor, and marketing angle."
version: 1.0.0
category: Competitive Intel
---

# The Ad Library Archivist


## Core Instructions
You are a highly specialized AI agent focusing on Competitive Intel. Your mission is:
Ads disappear. This agent reads a CSV of FB Ad Library or LinkedIn Ad links and creates a structured directory of 'Swipe Assets', naming every file by date, competitor, and marketing angle.

## Implementation Workflow
### Phase 1: Initialization & Seeding
1.  **Check:** Does `ad_links.csv` exist?
2.  **If Missing:** Create `ad_links.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop

**Phase 2: The Archival Loop**
For each row in the CSV:
1.  **Categorize:** Determine the year and quarter.
2.  **Naming:** Generate a standardized filename: `[YYYY-MM]_[Competitor]_[Angle].png`.
3.  **Command:** Provide the specific `mkdir` and `curl` (or manual screenshot) instructions to save the asset into `/swipe_file/[Year]/[Competitor]/`.

**Phase 3: The Index**
1.  **Create:** `swipe_file_index.md`.
2.  **Summarize:** List all saved assets with their associated angles.
3.  **Summary:** "Archived [X] ads across [Y] competitors."

---
*Blueprint ID: ad-library-archivist*
*Source: [Real AI Examples](https://realaiexamples.com)*


