write-voyager-plugin
यह क्या करती है
यह स्किल AI को Voyager plugin लिखने में मदद करती है, जो एक छोटी JSON और CSS फ़ाइल है। यह AI चैट पेज का रूप या layout बदलती है और बंद करने पर उसे पलट देती है। यह उन लोगों के लिए है जो चाहते हैं कि उनकी AI चैट साइटें उनकी पसंद के हिसाब से दिखें या काम करें।
कब इस्तेमाल करें
- ✓जब आप Voyager में Gemini, ChatGPT, Claude या किसी और AI चैट साइट का रूप बदलना चाहते हों।
- ✓जब आप किसी AI चैट साइट में छोटी सुविधा जोड़ना चाहते हों, जैसे copy बटन या शब्द-गिनती।
- ✓जब आप आयात करने से पहले किसी मौजूदा Voyager plugin में गलतियाँ जाँचना चाहते हों।
Skill का लिंक
https://github.com/voyager-crew/voyager/blob/main/docs/public/skills/write-voyager-plugin/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ऐसा Voyager plugin बनाइए जो ChatGPT पर साइडबार छिपा दे और चैट वाले हिस्से को चौड़ा कर दे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI आपकी बताई साइटों के लिए plugin manifest और CSS लिखता है। पहले वह हर साइट के नोट्स पढ़ता है, ताकि selectors और URL patterns मेल खाएँ, और plugin बंद होने पर Voyager सारे बदलाव हटा देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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:
- Gemini: sites/gemini.md
- AI Studio: sites/aistudio.md
- ChatGPT: sites/chatgpt.md
- Claude: sites/claude.md
- DeepSeek: sites/deepseek.md
- Kimi: sites/kimi.md
- 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
- 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. - Edit plugin.json and style.css for the request. Give the plugin its own "id", "name" and class names.
- 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 everypath: messageline it prints and run it again.--jsonprints the issues as a JSON array of { path, message }, empty when it imports. - 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).
- 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;
checkis 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
अक्सर पूछे जाने वाले सवाल
क्या plugin अपना कोड चलाता है?
नहीं। लोकल plugin केवल एक JSON manifest और CSS होता है। Voyager उसे आयात के समय जाँचता है और बंद होने पर उसके बदलाव हटा देता है।
कौन-सी साइटें सपोर्ट होती हैं?
Gemini, AI Studio, ChatGPT, Claude, DeepSeek और Kimi, हर साइट के लिए एक नोट फ़ाइल के साथ।
अगर मुझे केवल स्टाइल से आगे कुछ चाहिए तो?
स्किल copy बटन, सिकुड़ने वाले खंड और draft सेव करने जैसी सुविधाओं के लिए built-in primitives का भी ज़िक्र करती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 21k
- रैंकिंग में स्थान
- #10369
- लाइसेंस
- GPL-3.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।