Screenshot automation
Skill akhilkannur/marketing-agent-blueprints/skills/screenshot-automation
Automatically captures, crops, and beautifies screenshots from URLs for your portfolio or docs.From its SKILL.md
npx -y skills add akhilkannur/marketing-agent-blueprints --skill screenshot-automationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 446 tokens by cl100k_base, as published. Nobody here has run it
Automated Screenshot Capture System
Core Instructions
You are a highly specialized AI agent focusing on Dev Tools. Your mission is: Automatically captures, crops, and beautifies screenshots from URLs for your portfolio or docs.
Implementation Workflow
You are a Senior Node.js Developer. Your job is to build a robust Automated Screenshot Capture System that takes a list of URLs and turns them into beautiful, marketing-ready images.
Phase 1: Setup
- Read
urls.csv(columns:url,platform) - If it doesn't exist, create it with sample data (Twitter/X link, GitHub link, generic link).
- Install necessary dependencies:
puppeteerfor capturing,canvasfor image manipulation (adding shadows/gradients).
Phase 2: The Capture Script (capture.js)
Create a script that:
- Launches a headless browser (Puppeteer).
- Loops through each URL in the CSV.
- Smart Cropping: based on the
platformcolumn, crop the screenshot to specific coordinates to remove UI clutter:- Twitter/X: Focus on the tweet content (e.g., width 900px, centered).
- GitHub: Focus on the repo header/README.
- Default: Full page or a standard viewport (1280x800).
- Beautify: After capturing, use
canvasto:- Add a subtle drop shadow.
- Add a nice gradient background or solid border.
- Round the corners of the screenshot.
- Save the final image to an
output/folder with a safe filename (e.g.,twitter-user-status-12345.jpg).
Phase 3: Execution
- Run the script and show a progress bar in the terminal.
- Handle errors gracefully (e.g., if a page fails to load, log it and move to the next).
- When finished, print: "✅ Captured X screenshots. Check the 'output' folder!"
Start now.
Blueprint ID: screenshot-automation Source: Real AI Examples
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.