Logo : Open Graph Social Preview

Open Graph Social Preview

Communauté
MiladJoodi
open-graph-social-preview

Mettre en place et déboguer les aperçus de liens Open Graph / Twitter (X) / Telegram / WhatsApp / LinkedIn / Discord / Facebook. À utiliser pour ajouter des métadonnées de partage sur les réseaux sociaux, ou lorsque og:image est manquant, défectueux (500), recadré, mal mis en cache sur X ou que du texte persan s’affiche mal dans des images OG générées dynamiquement sur un site Next.js (ou autre). Décidez en vous appuyant sur les éléments observés ; ne suivez pas aveuglément des listes de vérification.

Présentation

ÉditeurMiladJoodi
Dépôtskills
Nom de la compétenceopen-graph-social-preview
Étoiles
24
Forks
1
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par MiladJoodi sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Open Graph Social Preview dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/MiladJoodi/skills/tree/main/skills/open-graph-social-preview
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MiladJoodi/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/open-graph-social-preview .claude/skills/open-graph-social-preview
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Open Graph Social Preview dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Open Graph Social Preview dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Open Graph Social Preview n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Open Graph & Social Link Previews

Practical guide for coding agents shipping share cards that work on Facebook, X, LinkedIn, WhatsApp, Telegram, and Discord.

Goal: reliable title + description + image that crawlers fetch without JS, without auth, and without platform-cache traps.

Scope & version

Skill version1.0.0
In scopeImplementation of OG/Twitter metadata and share images; debugging broken or stale social previews
Out of scopeGeneral SEO, rankings, sitemaps, content strategy, unrelated marketing

How to use this skill: Checklists and tables are aids, not a script. The agent must gather evidence, form a hypothesis, and choose a fix. Skipping diagnosis to “run every step” is incorrect. Skipping evidence to rip out working dynamic OG is also incorrect.


0. Agent Workflow (mandatory)

Never jump to “replace with static PNG.” Follow this order:

1) Inspect

  • Find how OG is implemented: metadata / generateMetadata, metadataBase, opengraph-image.*, twitter-image.*, /og routes, siteConfig.ogImage, public assets.
  • Note hosting (Vercel / Cloudflare / Docker / other / local-only).
  • Note whether current cards are static, dynamic (ImageResponse), or mixed.

2) Diagnose

  • Confirm live HTML tags (og:*, twitter:*).
  • Fetch the live image URL (status, redirects, Content-Type, size, timing).
  • Identify environment (local OK vs prod fail).
  • Check cache layer (browser / CDN / crawler / X).
  • Check origin consistency (no localhost, HTTP, wrong preview domain).

3) Plan (before any edits)

  • Emit the Pre-change brief below (required).
  • Choose Static vs Dynamic with the decision tree using that evidence.
  • List files to change and what not to touch.

4) Fix

  • Minimal change that addresses the stated root cause.
  • Do not rip out working dynamic OG without a reason tied to evidence.

5) Verify

  • Live production URL when possible (not only local).
  • Page source + direct image request + dimensions + checker/platform smoke.

6) Report

  • Use the Agent Report format at the end of this skill.

Pre-change brief (required before edits)

Output this block before modifying files. If evidence is insufficient, gather more first—do not invent a cause.

markdown
## Pre-change brief

**Root cause:** … (one clear hypothesis)
**Evidence:** … (commands, URLs, status codes, HTML snippets, local vs prod)
**Proposed fix:** … (minimal approach; static vs dynamic choice + why)
**Files affected:** …

Cross-platform code search

rg (ripgrep) is optional. Prefer this order:

bash
# 1) ripgrep if installed
rg -n "openGraph|twitter:|ogImage|opengraph-image|twitter-image|ImageResponse|metadataBase" app lib src 2>/dev/null

# 2) git grep (works in most repos)
git grep -n -E "openGraph|twitter:|ogImage|opengraph-image|twitter-image|ImageResponse|metadataBase" -- app lib src 2>/dev/null

# 3) POSIX grep fallback
grep -R -n -E "openGraph|ogImage|opengraph-image|ImageResponse|metadataBase" app lib src 2>/dev/null

Windows PowerShell (if bash tools unavailable):

powershell
Get-ChildItem -Recurse -Include *.ts,*.tsx,*.js,*.jsx app,lib,src -ErrorAction SilentlyContinue |
  Select-String -Pattern "openGraph|ogImage|opengraph-image|ImageResponse|metadataBase"

1. When to use

  • Adding/changing og:* / twitter:*
  • Missing / broken / wrong share image
  • Checker: Image is invalid / Internal Server Error
  • Telegram OK, X empty (or reverse)
  • Persian/Arabic issues in generated OG
  • Choosing static PNG vs opengraph-image.tsx / ImageResponse

Out of scope: general SEO, sitemaps, rankings, content strategy.


2. Non‑negotiables

  1. Crawlers do not run your client React bundle. Tags must be in initial HTML.
  2. Image URL must be absolute HTTPS, publicly fetchable, return a real image.
  3. Prefer fixing the existing approach if it is close to working.
  4. Prefer static images when dynamic generation is broken, fragile, slow, or unnecessary.
  5. Do not replace working dynamic infrastructure without a documented reason.
  6. Code looking correct ≠ fixed. Verify live.

3. Decision tree: Static vs Dynamic

Is there an existing opengraph-image.* / ImageResponse / /og route?
├─ YES → Does it work in production (200, image/*, correct render)?
│        ├─ YES → Keep it unless product needs a simpler static card.
│        │        (Optional: harden fonts/assets/timeouts; don't rip out.)
│        └─ NO  → Prefer static PNG (or fix dynamic only if dynamic is required).
└─ NO  → Prefer static PNG in /public + metadata images.

Prefer static when

  • Dynamic route 404/500/timeouts
  • Missing fonts/assets in deploy
  • Crawlers fail while local works
  • No need for per-page generated art
  • Persian/Arabic shaping in Satori is wrong and redesigning fonts is costly
  • You need maximum crawler reliability

Prefer dynamic when

  • It already works in production
  • Per-route titles/descriptions must be baked into the image
  • Brand requires programmatic cards
  • Fonts + assets are proven in the target runtime
  • Latency is acceptable for crawlers

Never

  • Delete a working opengraph-image.tsx “just because static is safer”
  • Leave a crashing file-based OG route alongside good metadata (file route still gets hit)

4. Image specs

PropertyRecommendation
Aspect1.91:1
Size1200×630
FormatPNG or JPG
Weight< 5 MB (aim < 1 MB)
Safe areaKeep logo/title away from edges

Wrong aspect (e.g. 1920×1581) often still displays but may crop/letterbox.

Dedicated share file is best: public/og.png or public/.../og-1200x630.png.


5. Required tags

html
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.com/" />
<meta property="og:title" content="Title" />
<meta property="og:description" content="Description" />
<meta property="og:image" content="https://example.com/og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="fa_IR" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Title" />
<meta name="twitter:description" content="Description" />
<meta name="twitter:image" content="https://example.com/og.png" />

Rules:

  • twitter:card = summary_large_image for large cards
  • Absolute HTTPS image URLs in production
  • X falls back to og:* when Twitter image tags are incomplete; still set both

6. Next.js App Router (15/16) guidance

Applies to App Router Metadata API in Next.js 15 and 16.

Building blocks

PieceRole
metadataBaseResolves relative image/canonical URLs to absolute
openGraph.imagesDeclares OG images in Metadata API
twitter.imagesDeclares Twitter images
generateMetadataPer-route/dynamic metadata (often async)
app/opengraph-image.tsx (or .png/.jpg)File-based OG image convention
app/twitter-image.tsx (or static)File-based Twitter image
Nested layout.tsx / page.tsx metadataRoute overrides

Precedence / conflicts (practical)

  1. File-based opengraph-image.* / twitter-image.* in the matching segment are served as that segment’s OG/Twitter image endpoints and are linked from metadata automatically.
  2. Explicit openGraph.images / twitter.images in Metadata API also emit tags.
  3. If both exist, crawlers may see multiple images or hit the file route URL. A broken opengraph-image.tsx (500) will fail even if Metadata points at a good static file—crawlers often request the convention URL.
  4. Nested routes override/merge with parents via Next metadata rules; a child generateMetadata can replace images for that path.
  5. Wrong metadataBase (localhost / preview host) produces wrong absolute og:image / og:url in production HTML.

metadataBase: prefer a fixed production origin

Default (recommended): set metadataBase from a stable production URL such as NEXT_PUBLIC_APP_URL / siteConfig.url.

ts
metadataBase: new URL(
  process.env.NEXT_PUBLIC_APP_URL ?? "https://example.com"
)

Why not always derive host from headers()?

  • Behind Proxy/CDN, x-forwarded-host / host can be wrong, duplicated, or internal.
  • Preview / middleware hosts can leak into absolute og:image and og:url.
  • Social crawlers then cache the wrong origin.

Use request-derived host only when you truly need it, for example:

  • Multi-tenant sites where each host must emit its own absolute URLs
  • Local/preview tooling where you deliberately want the current request host

Even then: validate allowlists, prefer x-forwarded-host carefully, and never ship localhost in production HTML.

Example A — Root metadata with fixed production origin (Next 15/16)

tsx
// app/layout.tsx
import type { Metadata } from "next"

const siteUrl = process.env.NEXT_PUBLIC_APP_URL ?? "https://example.com"

export const metadata: Metadata = {
  metadataBase: new URL(siteUrl),
  title: { default: "Example", template: "%s · Example" },
  description: "…",
  openGraph: {
    type: "website",
    locale: "fa_IR",
    url: siteUrl,
    siteName: "Example",
    title: "Example",
    description: "…",
    images: [
      {
        url: "/og.png", // public/og.png → absolute via metadataBase
        width: 1200,
        height: 630,
        alt: "Example",
      },
    ],
  },
  twitter: {
    card: "summary_large_image",
    title: "Example",
    description: "…",
    images: ["/og.png"],
  },
}

Put the file at public/og.png. If a crashing app/opengraph-image.tsx exists, remove or fix it so it cannot 500.

Example A2 — Request-derived host (only when required)

tsx
import type { Metadata } from "next"
import { headers } from "next/headers"

const FALLBACK = process.env.NEXT_PUBLIC_APP_URL ?? "https://example.com"
const ALLOWED = new Set(["example.com", "www.example.com"])

export async function generateMetadata(): Promise<Metadata> {
  const h = await headers()
  const raw =
    h.get("x-forwarded-host")?.split(",")[0]?.trim() ||
    h.get("host")?.trim() ||
    ""
  const host = ALLOWED.has(raw) ? raw : new URL(FALLBACK).host
  const proto =
    h.get("x-forwarded-proto")?.split(",")[0]?.trim() || "https"
  const metadataBase = new URL(`${proto}://${host}`)

  return {
    metadataBase,
    openGraph: {
      url: metadataBase.origin,
      images: [{ url: "/og.png", width: 1200, height: 630 }],
    },
    twitter: {
      card: "summary_large_image",
      images: ["/og.png"],
    },
  }
}

Example B — Route generateMetadata override (params as Promise — Next 15+)

tsx
// app/docs/[slug]/page.tsx
import type { Metadata } from "next"

type Props = { params: Promise<{ slug: string }> }

export async function generateMetadata({ params }: Props): Promise<Metadata> {
  const { slug } = await params
  const title = `Docs · ${slug}`
  const description = "…"

  return {
    title,
    description,
    alternates: { canonical: `/docs/${slug}` },
    openGraph: {
      title,
      description,
      type: "article",
      images: [{ url: "/og.png", width: 1200, height: 630 }],
    },
    twitter: {
      card: "summary_large_image",
      title,
      description,
      images: ["/og.png"],
    },
  }
}

Example C — Keep a working dynamic file convention

tsx
// app/opengraph-image.tsx
import { ImageResponse } from "next/og"

export const runtime = "nodejs"
export const size = { width: 1200, height: 630 }
export const contentType = "image/png"
export const alt = "Example"

export default async function Image() {
  // Prefer bundled fonts/assets that exist in production.
  return new ImageResponse(
    (
      <div
        style={{
          width: "100%",
          height: "100%",
          display: "flex",
          alignItems: "center",
          justifyContent: "center",
          background: "#09090b",
          color: "white",
          fontSize: 64,
        }}
      >
        Example
      </div>
    ),
    { ...size }
  )
}

Only keep this if /opengraph-image returns 200 + image/png in production and text renders correctly.

Example D — Conflict to avoid

text
app/opengraph-image.tsx  → 500 (missing font)
layout metadata images   → /og.png (fine)

Result: crawlers still often fail on the convention URL / broken generation.

Fix the file route or remove it and rely on Metadata + public/og.png — do not leave both fighting.

Inspect before changing

Use the cross-platform search commands in §0.


7. Live image URL diagnostics

Target the exact URL from HTML (og:image / twitter:image).

curl (adjust URL)

bash
curl -sI -L --max-redirs 10 "https://example.com/og.png"
curl -sI -L "https://example.com/opengraph-image"
curl -sL -o /tmp/og-out --write-out "http=%{http_code} type=%{content_type} size=%{size_download} time=%{time_total} final=%{url_effective}\n" "https://example.com/og.png"
file /tmp/og-out

Windows (PowerShell):

powershell
Invoke-WebRequest -Uri "https://example.com/og.png" -Method Head -MaximumRedirection 10 |
  Select-Object StatusCode, Headers

Verify

CheckExpect
HTTP statusFinal 200 (after redirects)
Redirect chainNo login/HTML interstitial
Final URLProduction HTTPS origin
Content-Typeimage/png, image/jpeg, or image/webp
BodyReal image bytes (file says PNG/JPEG…) — not HTML
Size> ~1KB; < 5MB
TimePrefer fast (< ~2–3s); slow responses get dropped by crawlers
AuthNo cookie/login required
Middleware/WAFBot UA not blocked
robotsImage/HTML not disallowed for crawlers that respect robots

Red flags

  • 200 + text/html → login page / error page / SPA shell
  • 302/301 → /login or marketing HTML
  • 500 on /opengraph-image → runtime exception / missing asset / font
  • Empty or tiny body → malformed generation

8. Environment-aware debugging

Identify host early (Vercel dashboard, Dockerfile, Cloudflare, next start only…).

EnvironmentCommon prod-only failures
VercelMissing files outside traced output; edge vs node runtime; cold start; env URL mismatch
CloudflareCDN cache of old image/HTML; WAF bot challenges; redirect rules
DockerDifferent WORKDIR / process.cwd(); fonts not copied into image
Preview deploysog:url/og:image pointing at preview host leaked to prod metadata
Local onlyWorks via local FS; fails when fonts/assets not in deploy

Dynamic OG checklist in prod:

  • Font paths use deploy-safe locations (prefer import/fetch of bundled assets over brittle process.cwd() guesses)
  • Runtime compatible (nodejs vs edge — fs needs node)
  • All referenced PNGs/TTFs exist in the deployment
  • No reliance on localhost absolute URLs

9. Cache debugging

Layers:

  1. Browser cache
  2. CDN cache (Cloudflare/Vercel)
  3. Platform crawler cache (Facebook/LinkedIn scrapers)
  4. X cache (aggressive; keyed by exact URL)

Facts:

  • Fixing metadata/code does not refresh an already-cached preview for the same URL.
  • X often keeps a failed “no image” card for that exact string.
  • Telegram / many checkers scrape fresher than X.

Busting:

MethodUse
Query string ?v=2Fast test for X/Telegram
New pathStronger bust
New image filenameBust CDN/image URL caches when bytes changed at same logical asset
Platform debugger “rescrape”Facebook/LinkedIn official tools

X: standalone Card Validator preview is retired; composer draft preview is ground truth.


10. Trusted checkers & platform tools

Use official tools first; third-party only as a quick second opinion.

ToolURLNotes
Facebook Sharing Debuggerhttps://developers.facebook.com/tools/debug/Official rescrape for Facebook/IG-family previews
LinkedIn Post Inspectorhttps://www.linkedin.com/post-inspector/Official LinkedIn rescrape
X / TwitterTweet composer draft with the URLNo reliable public validator; cache is URL-keyed
TelegramPaste into a Saved Messages / chatGood fresh-scrape smoke test
Optional: Open Graph previewhttps://www.opengraph.xyz/Unofficial; useful after the image URL itself is healthy

Do not treat unofficial checkers as more authoritative than: (1) raw HTML tags, (2) direct image curl, (3) official platform debuggers / composer.


11. URL / canonical consistency

On the live production HTML, confirm same production origin for:

  • page URL
  • canonical
  • og:url
  • og:image
  • twitter:image

Reject:

  • http://
  • localhost / 127.0.0.1
  • accidental preview deployment host
  • wrong domain / staging

Fix metadataBase (prefer fixed NEXT_PUBLIC_APP_URL), siteConfig.url, and any hardcoded origins.


12. Crawler safety

Crawlers must fetch initial HTML, OG image, and redirects without:

  • JavaScript execution
  • authentication / cookies
  • client-only meta injection
  • interactive challenges aimed at humans
  • unbounded server work

Keep image/metadata endpoints fast and deterministic. Avoid long ImageResponse work on cold starts when crawlers are the audience.


13. Persian / Arabic OG text

Satori / next/og frequently fails at glyph joining (letters look disconnected).

Do not auto-switch to static PNG solely because the site is Persian.

Inspect:

  • Font files actually loaded in the OG route
  • Format (TTF/OTF supported by the renderer)
  • Font present in production bundle
  • RTL / direction handling
  • Shaping result on the production PNG (open the image URL)
  • Punctuation and digits (Persian vs Latin)

If production PNG shows correct joined Persian → dynamic can stay.
If disconnected / missing glyphs and fixing fonts is hard → static designed PNG is the reliable fix.


14. Failure → cause → fix

SymptomCauseFix
No image tagsMissing metadataAdd openGraph/twitter images
Tags present, image 404Wrong pathFix public path / filename
Image 500Dynamic crash / missing font/assetFix route or switch to static
200 but HTML bodyMiddleware/login/error HTMLExclude OG routes; allow public GET
200 wrong Content-TypeMisconfigured routeReturn image/*
Redirect to loginAuth middlewareBypass for OG image + HTML GET for bots if needed
Local OK, prod failcwd/fonts/assets/runtimeBundle assets; node runtime; static fallback
localhost in tagsBad metadataBase/urlFixed production origin
Wrong host behind CDNRequest-derived metadataBasePrefer NEXT_PUBLIC_APP_URL
Telegram OK, X emptyX cacheNew URL ?v=N; don't expect old posts to update
Cropped cardBad aspect ratioExport 1200×630
Disconnected PersianSatori shaping/fontsFix fonts or static PNG
Duplicate/conflicting imagesMetadata + file conventionAlign or remove broken file route
Nested route wrong cardChild metadata overrideFix route generateMetadata
Empty/malformed imageGenerator bugRegenerate; verify with file
Stale image bytesCDN cacheNew filename or cache purge
Edge runtime + fsIncompatibleexport const runtime = "nodejs" or avoid fs

15. Debug playbook (short)

  1. View-source / fetch HTML: tags present? absolute HTTPS?
  2. Fetch image URL: status, type, bytes, time
  3. Identify static vs dynamic vs conflict
  4. Check origin consistency
  5. Check host-specific issues
  6. Plan fix (decision tree)
  7. Apply minimal fix
  8. Verify live
  9. If X still stale → bust URL and retest composer
  10. Report

16. Verification checklist (after every fix)

Do not claim fixed until checked:

  • Production HTML contains correct og:* / twitter:*
  • og:image / twitter:image final URL = 200 + image/*
  • Body is a valid image; dimensions sane (prefer ~1200×630)
  • No localhost/preview/HTTP in tags
  • Facebook Debugger and/or LinkedIn Inspector when those platforms matter
  • Telegram or X composer smoke OK
  • X composer OK on a fresh URL if prior URL was poisoned
  • Noted whether old URLs still need cache expiry

17. Agent Report format

markdown
## OG / Social preview report

**Root cause:** …
**Files changed:** …
**What changed:** …
**Why it works:** …
**Verification:**
- HTML tags: …
- Image URL status/type/size/time: …
- Dimensions: …
- Checker/platform: …
**Remaining limitations:** …
**Cache busting required?** yes/no — recommended URL if yes: …

18. What not to do

  • Run this skill as a blind checklist without evidence
  • Edit files before emitting the Pre-change brief
  • Replace working dynamic OG without cause
  • Leave a crashing opengraph-image.tsx in place
  • Assume code review equals production success
  • Assume X updates old posts after a fix
  • Publish localhost/preview origins in OG tags
  • Prefer request-derived metadataBase by default behind Proxy/CDN
  • Treat unofficial OG sites as more authoritative than curl + official debuggers
  • Treat this skill as general SEO

Foire aux questions

À quoi sert la compétence IA Open Graph Social Preview ?

Mettre en place et déboguer les aperçus de liens Open Graph / Twitter (X) / Telegram / WhatsApp / LinkedIn / Discord / Facebook. À utiliser pour ajouter des métadonnées de partage sur les réseaux sociaux, ou lorsque og:image est manquant, défectueux (500), recadré, mal mis en cache sur X ou que du texte persan s’affiche mal dans des images OG générées dynamiquement sur un site Next.js (ou autre). Décidez en vous appuyant sur les éléments observés ; ne suivez pas aveuglément des listes de vérification.

Pourquoi utiliser Open Graph Social Preview sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Open Graph Social Preview se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Open Graph Social Preview dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/MiladJoodi/skills/tree/main/skills/open-graph-social-preview. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Open Graph Social Preview ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Open Graph Social Preview ?

Autant que vous le souhaitez. Vous pouvez utiliser Open Graph Social Preview avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Open Graph Social Preview est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par MiladJoodi sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇