Communitygithub.com

Varnan-Tech/opendirectory

ユーザーがブログのカバー画像、サムネイル、記事ヘッダーを生成するよう依頼した場合に使用します。モダンなタイポグラフィ、ブランドロゴ、Google Searchグラウンディングを自動的に活用し、Gemini 3.1 Flash Image Previewで美しい16:9の画像を生成します。

opendirectory とは?

このスキルは、AIエージェントが「blog-cover-image-cli」ツールを使って、ミニマルで技術的なブログカバー画像を生成できるようにします。内部ではGemini 3.1 Flash Image Previewモデルを利用し、ドメインからブランドロゴを自動取得(Brandfetch経由)、ローカルの美的参照画像を活用、さらにGoogle Searchグラウンディング機能により、タイトルに関連する最新のコンテキストをリアルタイムに注入します。対応プラットフォームはClaude Code、Cursor、Codexなど、npxコマンドを実行できる任意のAIエージェント環境です。ユーザーがカバー画像をリクエストした際、エージェントはまずツールのインストールを確認し、Gemini APIキーとBrandfetchクライアントIDを設定した上で、`generate`コマンドを実行します。このスキルにより、エージェントは手動のデザイン作業なしに、一貫した高品質なブログカバー画像を提供できます。

対応~Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/blog-cover-image-cli

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ブログカバー画像生成スキル

このスキルは、AIエージェントにblog-cover-image-cliを使用して、見事でミニマルかつ技術的なブログカバー画像を生成する能力を提供します。CLIはGemini 3.1 Flash Image Previewを活用し、ドメインからブランドロゴを自動取得し、ローカルの美的参照画像を使用し、Google Searchグラウンディングを利用してリアルタイムのコンテキストを注入します。

セットアップと設定

エージェントの前提条件: このツールを使用する前に、インストールされていることを確認してください。blog-cover-cli --helpが失敗する場合は、グローバルにインストールします。

npm install -g blog-cover-image-cli

ユーザーが画像を生成してほしいと依頼し、まだAPIキーが設定されていない場合は、まずGemini APIキーを使用してCLIを設定する必要があります。CLIはconfパッケージを介してこれを安全に保存します。

# 1. Gemini APIキーを設定(画像生成に必須)
npx -p blog-cover-image-cli blog-cover-cli config set-key <YOUR_GEMINI_API_KEY>

# 2. BrandfetchクライアントIDを設定(高解像度ロゴの取得に必須)
npx -p blog-cover-image-cli blog-cover-cli config set-brandfetch-id <YOUR_BRANDFETCH_CLIENT_ID>

# キーを確認(マスク表示)
npx -p blog-cover-image-cli blog-cover-cli config get-key
npx -p blog-cover-image-cli blog-cover-cli config get-brandfetch-id

使用方法:画像の生成

ユーザーがカバー画像を依頼した場合(例:「Vercel v0に関するブログのカバー画像を作成して」)、generateコマンドを使用する必要があります。

npx -p blog-cover-image-cli blog-cover-cli generate -t "ブログ記事のタイトル" -l "example.com"

引数

  • -t, --title <text>: (必須) カバー画像に表示するタイトルテキスト。過度に長いタイトルは使用しないでください(視覚的に3行未満に抑えてください)。
  • -l, --logo <domain>: (オプションですが推奨) ブランドロゴを取得するドメイン(例:vercel.com、google.com、cursor.com)。CLIは互換性のためにWebP/SVG/AVIFをPNGに自動変換します。
  • -o, --output <path>: (オプション) 生成された画像の保存先ファイルパス。省略した場合、CLIは現在の作業フォルダ内のoutput/ディレクトリに自動保存します(例:./output/vercel-cover.png)。

例

例1:Cursor

npx -p blog-cover-image-cli blog-cover-cli generate -t "Cursorが究極のAIコードエディタである理由" -l "cursor.com"

例2:Lovable

npx -p blog-cover-image-cli blog-cover-cli generate -t "Lovableで数分でアプリを構築" -l "lovable.dev"

例3:カスタム出力パス

npx -p blog-cover-image-cli blog-cover-cli generate -t "2026年のReactマスター" -l "reactjs.org" -o "./assets/react-cover.png"

内部動作の仕組み

エージェントとして、CLIが何をしているかを把握し、ユーザーに説明できるようにしてください。

  1. ロゴ取得:Brandfetchからロゴを取得し、sharpで処理します。
  2. 参照画像:examples/ディレクトリから厳選された参照画像を読み込み、出力が常にクリーンでミニマルな白背景と太字のタイポグラフィになるようにします。
  3. グラウンディング:googleSearchツールが有効になっており、タイトルが最近のイベントに関連する場合、Geminiは画像生成前にそれを検索できます。
  4. テキスト強制:タイポグラフィ配置ルールを使用して、Geminiに正確なタイトル文字列を出力させます。

エッジケース / トラブルシューティング

  • APIキーなしエラー:APIキーエラーが発生した場合は、config set-keyコマンドを実行してください。
  • ログ取得警告:CLIに「警告:ロゴを取得できませんでした」と表示された場合、画像はロゴなしで生成されます。処理を中断する必要はありません。
  • 厳格なモダリティ制限:Geminiの実験的な画像モデルを使用しているため、厳格な安全フィルターによって生成が稀に失敗することがあります。その場合はユーザーに通知してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a nurture asset", or "make a PDF report".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

関連スキル