界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

meta-tags-gen

meta-tags-gen

【效率与协作】Scan pages and generate missing meta tags. Use when improving SEO.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: meta-tags-gen description: Scan pages and generate missing meta tags. Use when improving SEO.

Meta Tags Generator

Your pages are missing Open Graph tags and Twitter cards. This tool scans your content and generates the meta tags that actually match what's on the page.

One command. Zero config. Just works.

Quick Start

npx ai-meta-tags --url https://mysite.com

What It Does

  • Scans URLs or local HTML files
  • Identifies missing meta tags
  • Generates SEO, Open Graph, and Twitter Card tags
  • Creates descriptions from actual page content

Usage Examples

# Scan a URL
npx ai-meta-tags --url https://mysite.com

# Scan local file
npx ai-meta-tags --file index.html

# Generate for blog post
npx ai-meta-tags --url https://mysite.com/blog/my-post

Best Practices

  • Unique descriptions per page - not the same everywhere
  • Keep titles under 60 chars - longer gets truncated
  • Use real images - og:image matters for shares
  • Test with validators - Facebook and Twitter have them

When to Use This

  • Links look bad when shared on social media
  • SEO audit says meta tags are missing
  • Building a new site and need all the tags
  • Updating old pages with modern SEO

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.

npx ai-meta-tags --help

How It Works

Fetches your page content, analyzes the text and structure, then generates appropriate meta tags. The AI creates descriptions that actually summarize your content rather than generic filler.

License

MIT. Free forever. Use it however you want.

我的收藏