plugin-creator
यह क्या करती है
यह स्किल एक नए Codex प्लगइन के लिए शुरुआती फ़ोल्डर ढाँचा बनाती है। यह उन डेवलपर्स के लिए है जो लोकल प्लगइन बनाना चाहते हैं और बाद में वैकल्पिक हिस्से जोड़ना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप तैयार ढाँचे से नया लोकल Codex प्लगइन शुरू करना चाहते हैं।
- ✓जब आपको प्लगइन में वैकल्पिक स्किल, hooks, scripts या assets जोड़ने हैं।
- ✓जब आप चाहते हैं कि प्लगइन आपके रिपॉज़िटरी की marketplace सूची में दिखे।
Skill का लिंक
https://github.com/openai/skills/blob/main/skills/.system/plugin-creator/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“notes-helper नाम का नया Codex प्लगइन बनाइए, जिसमें एक skills फ़ोल्डर और marketplace entry हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक स्कैफ़ोल्ड स्क्रिप्ट चलाता है, जो प्लगइन फ़ोल्डर और उसकी plugin.json फ़ाइल लिखती है, फिर placeholders और आपके चुने हुए वैकल्पिक फ़ोल्डर भरती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Plugin Creator
Quick Start
- Run the scaffold script:
# Plugin names are normalized to lower-case hyphen-case and must be <= 64 chars.
# The generated folder and plugin.json name are always the same.
# Run from repo root (or replace .agents/... with the absolute path to this SKILL).
# By default creates in <repo_root>/plugins/<plugin-name>.
python3 .agents/skills/plugin-creator/scripts/create_basic_plugin.py <plugin-name>
Open
<plugin-path>/.codex-plugin/plugin.jsonand replace[TODO: ...]placeholders.Generate or update the repo marketplace entry when the plugin should appear in Codex UI ordering:
# marketplace.json always lives at <repo-root>/.agents/plugins/marketplace.json
python3 .agents/skills/plugin-creator/scripts/create_basic_plugin.py my-plugin --with-marketplace
For a home-local plugin, treat <home> as the root and use:
python3 .agents/skills/plugin-creator/scripts/create_basic_plugin.py my-plugin \
--path ~/plugins \
--marketplace-path ~/.agents/plugins/marketplace.json \
--with-marketplace
- Generate/adjust optional companion folders as needed:
python3 .agents/skills/plugin-creator/scripts/create_basic_plugin.py my-plugin --path <parent-plugin-directory> \
--with-skills --with-hooks --with-scripts --with-assets --with-mcp --with-apps --with-marketplace
<parent-plugin-directory> is the directory where the plugin folder <plugin-name> will be created (for example ~/code/plugins).
What this skill creates
- If the user has not made the plugin location explicit, ask whether they want a repo-local plugin or a home-local plugin before generating marketplace entries.
- Creates plugin root at
/<parent-plugin-directory>/<plugin-name>/. - Always creates
/<parent-plugin-directory>/<plugin-name>/.codex-plugin/plugin.json. - Fills the manifest with the full schema shape, placeholder values, and the complete
interfacesection. - Creates or updates
<repo-root>/.agents/plugins/marketplace.jsonwhen--with-marketplaceis set.- If the marketplace file does not exist yet, seed top-level
nameplusinterface.displayNameplaceholders before adding the first plugin entry.
- If the marketplace file does not exist yet, seed top-level
<plugin-name>is normalized using skill-creator naming rules:My Plugin→my-pluginMy--Plugin→my-plugin- underscores, spaces, and punctuation are converted to
- - result is lower-case hyphen-delimited with consecutive hyphens collapsed
- Supports optional creation of:
skills/hooks/scripts/assets/.mcp.json.app.json
Marketplace workflow
marketplace.jsonalways lives at<repo-root>/.agents/plugins/marketplace.json.- For a home-local plugin, use the same convention with
<home>as the root:~/.agents/plugins/marketplace.jsonplus./plugins/<plugin-name>. - Marketplace root metadata supports top-level
nameplus optionalinterface.displayName. - Treat plugin order in
plugins[]as render order in Codex. Append new entries unless a user explicitly asks to reorder the list. displayNamebelongs inside the marketplaceinterfaceobject, not individualplugins[]entries.- Each generated marketplace entry must include all of:
policy.installationpolicy.authenticationcategory
- Default new entries to:
policy.installation: "AVAILABLE"policy.authentication: "ON_INSTALL"
- Override defaults only when the user explicitly specifies another allowed value.
- Allowed
policy.installationvalues:NOT_AVAILABLEAVAILABLEINSTALLED_BY_DEFAULT
- Allowed
policy.authenticationvalues:ON_INSTALLON_USE
- Treat
policy.productsas an override. Omit it unless the user explicitly requests product gating. - The generated plugin entry shape is:
{
"name": "plugin-name",
"source": {
"source": "local",
"path": "./plugins/plugin-name"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Productivity"
}
Use
--forceonly when intentionally replacing an existing marketplace entry for the same plugin name.If
<repo-root>/.agents/plugins/marketplace.jsondoes not exist yet, create it with top-level"name", an"interface"object containing"displayName", and apluginsarray, then add the new entry.For a brand-new marketplace file, the root object should look like:
{
"name": "[TODO: marketplace-name]",
"interf
अक्सर पूछे जाने वाले सवाल
एक ज़रूरी फ़ाइल कौन सी है?
हर प्लगइन को .codex-plugin/plugin.json फ़ाइल चाहिए, जिसे स्क्रिप्ट बनाती है।
प्लगइन डिफ़ॉल्ट रूप से कहाँ बनता है?
डिफ़ॉल्ट रूप से यह रिपॉज़िटरी के plugins फ़ोल्डर में बनता है, हालाँकि आप कोई और पाथ चुन सकते हैं।
marketplace फ़ाइल किसलिए है?
यह Codex इंटरफ़ेस में प्लगइन का क्रम और उपलब्धता तय करती है।
जानकारी
लेखक का मूल विवरण
Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, and baseline placeholders you can edit before publishing or testing. Use when Codex needs to create a new local plugin, add optional plugin structure, or generate or update repo-root `.agents/plugins/marketplace.json` entries for plugin ordering and availability metadata.
repo: openai/skills
लोकप्रियता
- GitHub स्टार
- 28k
- रैंकिंग में स्थान
- #9864
- लाइसेंस
- —
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
aspnet-core
28kयह आपके एजेंट को ASP.NET Core वेब ऐप बनाने, जांचने या अपग्रेड करने में मदद करती है, सही ऐप प्रकार चुनकर और .NET के लिए Microsoft के मौजूदा दिशानिर्देश मानकर।
chatgpt-apps
28kयह आपके एजेंट को ChatGPT ऐप बनाने में मदद करती है, जो MCP सर्वर को widget UI के साथ जोड़ता है, टूल डिज़ाइन, UI resources, metadata और लोकल सेटअप सहित।
cli-creator
28kयह आपके एजेंट को API दस्तावेज़ या स्क्रिप्ट से ऐसा कमांड-लाइन टूल बनाने में मदद करती है, जो किसी भी फ़ोल्डर से चले और स्थिर JSON लौटाए।
define-goal
28kयह आपके एजेंट को धुंधले इरादे को सफलता के मानदंड और दायरे वाले साफ़ लक्ष्य में बदलने में मदद करती है, काम शुरू होने से पहले।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।