Aller au contenu
Skillpedia
Sites et interfaces (frontend)21k · #10369

write-voyager-plugin

Ce qu’il fait

Ce skill aide l'IA à écrire un plugin Voyager, un petit fichier JSON et CSS qui modifie le style ou dispose autrement une page de chat IA, et qui peut être désactivé pour être annulé. Il s'adresse aux personnes qui veulent que leurs sites de chat IA ressemblent ou fonctionnent comme elles le préfèrent.

Quand l’utiliser

  • ✓Quand vous voulez changer l'apparence de Gemini, ChatGPT, Claude ou un autre site de chat IA dans Voyager.
  • ✓Quand vous voulez ajouter une petite fonctionnalité comme un bouton de copie ou un compteur de mots à un site de chat IA.
  • ✓Quand vous voulez vérifier qu'un plugin Voyager existant ne contient pas d'erreurs avant de l'importer.

Lien du skill

https://github.com/voyager-crew/voyager/blob/main/docs/public/skills/write-voyager-plugin/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/voyager-crew/voyager/blob/main/docs/public/skills/write-voyager-plugin/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu créer un plugin Voyager qui masque la barre latérale sur ChatGPT et élargit la zone de discussion ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA écrit un manifeste de plugin et du CSS pour les sites que vous indiquez. Elle lit d'abord les notes de chaque site, pour que les sélecteurs et les motifs d'URL correspondent, et Voyager retire toutes les modifications lorsque le plugin est désactivé.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Write a Voyager plugin

Voyager is a browser extension for AI chat sites. A local plugin is a declarative JSON manifest (plugin.json) plus CSS that restyles or rearranges a chat page through reversible page changes. It runs no code of its own: Voyager checks it strictly on import, applies it, and removes every change when the plugin is turned off.

This skill is generated from Voyager’s plugin engine 1.11.0. The latest copy is at https://voyager.nagi.fun/skills/write-voyager-plugin/SKILL.md.

Files to read

This skill is split into files. The links below are relative to this SKILL.md; when a file is not beside it (you read this over the web, or only SKILL.md was saved), fetch it from https://voyager.nagi.fun/skills/write-voyager-plugin/<path>.

  • Before you write or fix a plugin, read the site file of every site it targets. It has the URL patterns "matches" must use, the semantic anchors the site declares, which primitives run there and the site’s caveats:
  • Read primitives.md when the request needs behavior that CSS and the four page changes cannot give: copy buttons, counters, collapsing long content, diagrams (Mermaid, ECharts, WaveDrom), saving drafts, send shortcuts, a conversation timeline, formula copy, Vim input or rendering the user’s own LaTeX. Always read it before answering NOT POSSIBLE.

Workflow

  1. Find out which site the change is for and what should change. Then scaffold a folder: npx create-voyager-plugin@latest init my-plugin --site <site> (site: gemini, aistudio, chatgpt, claude, deepseek, kimi) writes plugin.json, style.css and an AGENTS.md with this contract for that site. Without Node, write the two files by hand from the examples below.
  2. Edit plugin.json and style.css for the request. Give the plugin its own "id", "name" and class names.
  3. Run npx create-voyager-plugin@latest check my-plugin. It runs the same checks as Voyager’s popup import, offline, and exits 0 only when the plugin would import. Fix every path: message line it prints and run it again. --json prints the issues as a JSON array of { path, message }, empty when it imports.
  4. Hand over to the user: open the target site, open the Voyager popup, find the "Local plugins" card (on Gemini and AI Studio it sits right below Cloud Sync, and the "Jump to" links at the top lead to it), choose Import files and pick plugin.json together with style.css. The plugin lands switched off; the user turns it on in the plugin list. Re-importing the same "id" replaces the installed version (raise "version" when you change it).
  5. Ask the user to look at the page in both light and dark theme. If a selector matches nothing, see "Finding selectors".

Manifest contract

  • Required non-empty string fields: id, name, version, description, author, category, license, engine. Also "tier": "declarative", "matches" (see the site files, sites/<site>.md) and "contributes".
  • "id": a short lowercase reverse-dotted slug such as "me.short-name" (a-z, 0-9, ".", "_", "-"). Voyager stores it as "local.<id>"; you do not add that prefix.
  • "version": "1.0.0"; raise it when you change the plugin. "author": "me". "license": "MIT".
  • "engine": ">=1.0.0", or ">=" the sinceEngine of every primitive the plugin uses. This build's plugin engine is 1.11.0.
  • "category": one of render-fix, theme, layout, readability, productivity, integration, other.
  • Write "name" and "description" in the language of the user. "i18n" translations are optional for a local plugin.
  • Optional: "$schema": "https://voyager.nagi.fun/plugin.schema.json" lets an editor check the file as you type. The import gate is stricter than the schema; check is the authority.

Styles

  • "contributes.styles": [{ "file": "style.css" }] with the CSS in style.css beside plugin.json. The popup’s Import files takes exactly one .json file: the user picks plugin.json and its .css files, nothing else. Paste JSON only takes inlined CSS ([{ "css": "..." }]).
  • CSS may not load anything, not even from the same site: no @import, image-set(), image(), cross-fade() or src(), and url() only with a #fragment or a png, jpeg, gif, webp or avif data: URI (never SVG). No web fonts, no remote images.
  • Sc
Questions fréquentes

Un plugin exécute-t-il son propre code ?

Non. Un plugin local n'est qu'un manifeste JSON et du CSS. Voyager le vérifie à l'importation et supprime ses modifications lorsqu'il est désactivé.

Quels sites sont pris en charge ?

Il couvre Gemini, AI Studio, ChatGPT, Claude, DeepSeek et Kimi, avec un fichier de notes pour chaque site.

Et si j'ai besoin de plus que du style ?

Le skill mentionne aussi des primitives intégrées pour des fonctions comme les boutons de copie, les sections repliables et l'enregistrement des brouillons.

Détails

Description originale de l’auteur

Voyager plugin authoring: write and check a local plugin (a JSON manifest plus CSS) for the Voyager browser extension. Use when the user wants to change how Gemini, AI Studio, ChatGPT, Claude, DeepSeek or Kimi looks or is laid out through Voyager; to add a small feature Voyager ships as a primitive (copy button, word count, collapse, diagrams, draft save, Ctrl+Enter send, timeline); or to check or fix a plugin that fails to import.

repo: voyager-crew/voyager

Popularité

Étoiles GitHub
21k
Position au classement
#10369
Licence
GPL-3.0
Mis à jour
01/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires