open-graph
When the user wants to add, audit, implement, or optimize Open Graph metadata for social sharing, including og:title, og:description, og:image, og:url…
Skill by kostja94
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kostja94-open-graph
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, marketing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/open-graph
What's inside
- Skill name
open-graph- Description
- When the user wants to add, audit, implement, or optimize Open Graph metadata for social sharing, including og:title, og:description, og:image, og:url, Facebook previews, LinkedIn previews, or social share previews. For a full metadata lifecycle use page-metadata; for X-specific previews use twitter-cards.
- License
- MIT
- Metadata
- version: 2.0.0
- Instructions
- 110 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# SEO On-Page: Open Graph
Owns Open Graph writing and implementation rules for social previews. **page-metadata** owns the full-page lifecycle and release verification.
**When invoking**: On **first use**, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output.
## Scope (Social Sharing)
- **Open Graph**: Facebook-originated protocol; controls preview card when links are shared on social platforms
## The 4 Essential Tags
Every shareable page requires these minimum tags:
```html
<meta property="og:title" content="Your Page Title">
<meta property="og:description" content="Your description">
<meta property="og:image" content="https://yourdomain.com/image.png">
<meta property="og:url" content="https://yourdomain.com/page">
```
| Tag | Guideline |
|-----|-----------|
| **og:title** | Concise and useful in a sharing context; same page identity as SEO title, not necessarily identical text |
| **og:description** | Accurate social summary; may differ from the meta description without changing the promise |
| **og:image** | Absolute HTTPS URL; representative of the page; include dimensions when known |
| **og:url** | Stable public page identity; normally the same URL declared canonical |
## Recommended Additional Tags
| Tag | Purpose |
|-----|---------|
| **og:type** | Content type: `website`, `article`, `video`, `product` |
| **og:site_name** | Website name; displayed separately from title |
| **og:image:width** / **og:image:height** | Image dimensions (1200×630px) |
| **og:image:alt** | Alt text for accessibility |
| **og:locale** | Language/territory (e.g., `en_US`); for multilingual sites |
## Image Best Practices
| Item | Guideline |
|------|-----------|
| **Size** | Use a high-resolution image and verify the target platforms' current requirements; 1200×630 is a common cross-platform starting point |
| **Format** | Use a platform-supported web image format and verify the deployed response |
| **URL** | Absolute URL with https://; no relative paths |
| **Unique** | One unique image per page when possible |
## Common Mistakes
- Using relative image URLs instead of absolute https://
- Images too small or wrong aspect ratio
- Empty or placeholder values
- Missing og:url (canonical)
- Reusing a generic logo or unrelated image when a representative page image is available
- Copying SEO title/description mechanically when the share context needs different wording
## Implementation
### Next.js (App Router)
```tsx
export const metadata = {
openGraph: {
title: '...',
description: '...',
url: 'https://example.com/page',
siteName: 'Example',
images: [{ url: 'https://example.com/og.jpg', width: 1200, height: 630, alt: '...' }],
locale: 'en_US',
type: 'website',
},
};
```
### HTML (generic)
```html
<meta property="og:title" content="Your Title">
<meta property="og:description" content="Your description">
<meta property="og:image" content="https://example.com/og.jpg">
<meta property="og:url" content="https://example.com/page">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Your Site">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Alt text">
```
## Testing
- **Facebook**: [Sharing Debugger](https://developers.facebook.com/tools/debug/)
- **LinkedIn**: [Post Inspector](https://www.linkedin.com/post-inspector/)
Preview services cache metadata. Test the deployed absolute URL and refresh the cache when supported. Also inspect the raw initial HTML; a client-only tag insertion may not be available to every scraper.
## Consistency boundary
Open Graph and SEO metadata may use different copy because search and social feeds are different contexts. They must still identify the same page, describe the same product or content, and avoid unsupported claims. Do not require string equality.
## Related Skills
- **social-share-generator**: Share buttons use OG tags for rich previews when users share; OG must be set for share buttons to show proper cards
- **article-page-generator**: Use og:type `article` for article/post pages; article-specific tags (published_time, author)
- **page-metadata**: Full lifecycle, source-of-truth implementation, and production validation
- **title-tag**, **meta-description**: Search copy; may differ while preserving page identity
- **twitter-cards**: Twitter uses OG as fallback; add Twitter-specific tags for best results
- **canonical-tag**: og:url should match canonical URL
- **og-image-generator**: Programmatic OG image generation — 6 visual styles (Terminal/CLI, Magazine Editorial, Swiss Minimal, Pixel Retro, Brutalist, Newspaper), Satori+resvg, Puppeteer, AI image generation tools, and Agent-Native content-aware workflow. This skill covers how to SET the image tag; og-image-generator covers how to CREATE the image.From kostja94/marketing-skills, MIT.
More from kostja94/marketing-skills
- 0.675score
copywriting
kostja94
When the user wants to write or optimize short-form marketing copy—headlines, CTAs, ad copy, landing page copy, email copy.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
translation
kostja94
Translate, transcreate, review, or maintain multilingual product and marketing content, including source locking, glossary decisions, language style…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
brand-protection
kostja94
When the user faces brand impersonation, fake websites, phishing sites, or trademark infringement.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
directory-submission
kostja94
When the user wants to submit a product or app to directories, curated lists, launch platforms, or app stores—and needs ready-to-paste copy per platform.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
domain-selection
kostja94
When the user wants to choose an SEO-friendly domain for a new site—brand vs keyword domain, TLD selection, or domain best practices.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
domain-architecture
kostja94
When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
product-hunt-launch
kostja94
When the user wants to launch on Product Hunt, prepare a PH submission, or plan launch day (hunter, first comment, timing, upvotes).
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
native-ads
kostja94
When the user wants to run native ads on Taboola, Outbrain, or similar platforms.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
twitter-cards
kostja94
When the user wants to add, audit, implement, or optimize Twitter Card metadata for X link previews, including twitter:card, twitter:title…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
community-forum
kostja94
When the user wants to promote via forums, communities, or invite users to join a community.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
keyword-research
kostja94
When the user wants to research keywords, find target keywords, or analyze search intent.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
youtube-ads
kostja94
When the user wants to run YouTube ads, set up TrueView or Bumper campaigns, or optimize video ad creative.
SkillAFreshness: A★ 1.1KClaude Code +9
Signals
- Stars
- 1,061
- Forks
- 150
- Open issues
- 3
- Last commit (this folder)
- Oct 5, 2026 (24 days ago)
- Last release
- Mar 11, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0.0
- License
- MIT
- Repository
- github.com/kostja94/marketing-skills
- Website
- alignify.co/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from kostja94
- 0.675score
keyword-research
kostja94
When the user wants to research keywords, find target keywords, or analyze search intent.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
brand-protection
kostja94
When the user faces brand impersonation, fake websites, phishing sites, or trademark infringement.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
product-hunt-launch
kostja94
When the user wants to launch on Product Hunt, prepare a PH submission, or plan launch day (hunter, first comment, timing, upvotes).
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
native-ads
kostja94
When the user wants to run native ads on Taboola, Outbrain, or similar platforms.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
twitter-cards
kostja94
When the user wants to add, audit, implement, or optimize Twitter Card metadata for X link previews, including twitter:card, twitter:title…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.675score
domain-architecture
kostja94
When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain.
SkillAFreshness: A★ 1.1KClaude Code +9
Cite this page
open-graph skill. Agent Mart. https://agentmart.dev/skills/kostja94-open-graph (last updated 2026-10-24)