关于codex桌面版使用插件功能

1.对于codex插件商店已经存在的插件可以直接先用账号登陆,然后下载之后,切换回自己的api就可以使用了。 2. 对于codex插件商店不存在的插件可以手动创建: (1) 准备插件目录 .codex/.tmp/plugins/obsidian %具体的插件目录下一般是这样的结构 .codex-pl...
关于codex桌面版使用插件功能
关于codex桌面版使用插件功能

1.对于codex插件商店已经存在的插件可以直接先用账号登陆,然后下载之后,切换回自己的api就可以使用了。
2. 对于codex插件商店不存在的插件可以手动创建:

(1) 准备插件目录

.codex/.tmp/plugins/obsidian
%具体的插件目录下一般是这样的结构
.codex-plugin/plugin.json
assets/icon.png
skills/

修改plugin.json,可以仿照openai官方插件的plugin.json写

{
  "name": "obsidian",
  "version": "1.0.1",
  "description": "Create and edit Obsidian vault files including Markdown, Bases, Canvas, and CLI workflows.",
  "repository": "https://github.com/kepano/obsidian-skills",
  "license": "MIT",
  "skills": "./skills/",
  "interface": {
    "displayName": "Obsidian",
    "shortDescription": "Work with Obsidian notes, bases, canvas, and vault workflows",
    "developerName": "Steph Ango",
    "category": "Productivity",
    "capabilities": ["Interactive", "Read", "Write"],
    "composerIcon": "./assets/icon.png",
    "logo": "./assets/icon.png",
    "defaultPrompt": [
      "@Obsidian create a well-structured Obsidian note with frontmatter",
      "@Obsidian build a .base view for my notes",
      "@Obsidian create or edit an Obsidian canvas file"
    ],
    "brandColor": "#7C3AED",
    "screenshots": []
  }
}

(2) 复制自己的插件或者其他claude的插件到codex插件目录
(3) 修改.codex/.tmp/plugins/.agents/plugins/marketplace.json,也可以仿照其他的官方插件写入方式写入,

{
  "name": "obsidian",
  "source": {
    "source": "local",
    "path": "./plugins/obsidian"
  },
  "policy": {
    "installation": "AVAILABLE",
    "authentication": "ON_INSTALL"
  },
  "category": "Productivity"
}

(4) 在 config.toml 中启用插件

[plugins."obsidian@openai-curated"]
enabled = true

(5) 重启 Codex

1 个帖子 - 1 位参与者

阅读完整话题

来源: LinuxDo 最新话题查看原文