This guide explains how to set up, configure, and run the cook-the-blog skill. This AI agent pipeline autonomously researches companies, extracts SEO keywords, generates custom cover images, writes high-converting MDX case studies without AI fluff, uploads assets to cloud storage, and pushes the final code to your designated GitHub repository.
You need Node.js installed. It comes with npx built in.
npx "@opendirectory.dev/skills" install cook-the-blog --target claudeSupported --target values: claude, gemini, codex, opencode, anti-gravity, openclaw, hermes
Run these two commands inside your Claude Code terminal:
# Add the OpenDirectory marketplace
/plugin marketplace add Varnan-Tech/opendirectory
# Install a skill directly
/plugin install cook-the-blog@opendirectory-marketplaceStep 1: Download Click Code → Download ZIP on this repo's GitHub page.
Step 2: Install
- Open Claude Desktop > Customize > Skills > + > Upload a skill
- Drop the downloaded zip or extracted folder
Before running the skill, the AI agent needs access to several external tools, APIs, and environment details.
Agent Instruction: Before executing the pipeline for the first time, you (the AI Agent) must explicitly ask the user for any missing configuration details listed below (Target Repo, GCS Bucket, Email, etc.). Do not hardcode these values into the skill.md file automatically without asking.
Used for deep, high-quality web research to extract hard metrics, founder details, and GTM strategies.
- Setup: You need a Tavily API key from Tavily.
- Installation: Install the Tavily MCP server so the agent can use it natively.
npx -y @modelcontextprotocol/server-tavily
- Environment Variable: Set
TAVILY_API_KEYin your agent's environment or MCP config.
Used to pull Google Trends data to find breakout search queries.
- Setup: Get a SerpApi key from SerpApi.
- Installation: Ensure Python 3 and the
requests/google-search-resultslibraries are installed. The user must provide a custom Python script (e.g.,blog_seo_research.py) that queries the Google Trends API. The agent must be told the exact file path to this script. - Environment Variable:
SERPAPI_KEY
A custom Node.js CLI tool used to generate 16:9 minimalist cover images with company logos.
- Installation: Install the tool globally via npm.
npm i -g blog-cover-image-cli
- Usage: The agent calls it via
blog-cover-cli generate -t "Title" -l "Logo URL" -o "./cover.png".
Used to host the generated cover images. The user must specify which cloud provider they want to use.
- Setup (Example for GCP): The user needs a Google Cloud Service Account with storage write permissions.
- Installation: Install the Google Cloud SDK (
gcloudandgsutil). - Authentication: The user must provide a
service-account.jsonfile to authenticate.gcloud auth activate-service-account --key-file=service-account.json
- Target Bucket: The user must provide the target bucket URL (e.g.,
gs://your-bucket-name/covers/).
Used for pushing the final MDX file to the target repository.
- Setup: Ensure
gitandgh(GitHub CLI) are installed on the host. - Authentication: Log in to the GitHub CLI using a personal access token.
gh auth login --with-token < token.txt - Configuration: The agent will need the user's
git config user.nameandgit config user.emailto ensure proper commit attribution.
Used to send a final success summary to the admin.
- Setup: The agent creates a Python script (
send_summary.py) using the built-insmtplib. - Credentials: The user must provide a dedicated sender Gmail account and an App Password (not their real password), as well as the destination admin email.
Used to ensure the generated case studies avoid typical AI fluff and maintain a high-quality, human-like tone.
- Setup: Add the Stop Slop skill to your agent's loaded skills before running the generation pipeline.
When initializing this skill, the agent must ask the user to provide or confirm the following placeholders before running the pipeline:
[TARGET_REPO_URL]: The exact GitHub repository URL or slug (e.g.,username/my-blog-repo).[TARGET_BUCKET]: The cloud storage bucket path (e.g.,gs://my-images-bucket/blogs/).[PUBLIC_IMAGE_BASE_URL]: The public base URL where the uploaded images will be accessible (e.g.,https://storage.googleapis.com/my-images-bucket/blogs/).[GIT_USER_NAME]&[GIT_USER_EMAIL]: The exact name and email to use for Git commit authorship.[ADMIN_EMAIL]: Where to send the final summary report.[SENDER_EMAIL]&[SENDER_APP_PASSWORD]: The credentials for the SMTP Python script.[PATH_TO_SEO_SCRIPT]: The exact path to the Python script that handles the SerpApi Google Trends queries.- Brand Promotion Link: The URL and pitch text to inject into the final FAQ of the MDX template (e.g., "If you want to build this, check out MyBrand").
- Once the user has provided the environment variables and configuration details, place the
skill.mdfile in your agent's workspace. - The agent will read
skill.mdto understand the 8-step execution loop. - Trigger the agent by saying: "Run the case study generator for [Company Name]."
- The agent will autonomously execute the entire pipeline from research to deployment.