From d5dde60af0a7425788eb5053b9b99d3ec830b42c Mon Sep 17 00:00:00 2001 From: Steph Ango <10565871+kepano@users.noreply.github.com> Date: Fri, 6 Nov 2026 14:58:08 -0800 Subject: [PATCH] Plugin: Use the portable plugin.json for Codex and ChatGPT OpenAI's current plugin docs make a root plugin.json with the Agent Plugins schema the entry point, and keep .codex-plugin/plugin.json only as a fallback. The new manifest is the one prepared for the ChatGPT submission, so Claude, Codex and ChatGPT ship from one folder. Moves the icon and adds a README and LICENSE inside the plugin folder, because the Claude directory requires both there. Points bump.sh at the manifests that carry the version, and fixes the script name and stale paths in the README. --- README.md | 8 +-- plugins/obsidian/.claude-plugin/plugin.json | 4 +- plugins/obsidian/.codex-plugin/plugin.json | 30 -------- plugins/obsidian/LICENSE | 21 ++++++ plugins/obsidian/README.md | 36 ++++++++++ .../obsidian/assets}/icon.png | Bin .../assets/obsidian-logo-gradient.svg | 51 -------------- plugins/obsidian/plugin.json | 64 ++++++++++++++++++ scripts/bump.sh | 2 +- 9 files changed, 129 insertions(+), 87 deletions(-) delete mode 100644 plugins/obsidian/.codex-plugin/plugin.json create mode 100644 plugins/obsidian/LICENSE create mode 100644 plugins/obsidian/README.md rename {.claude-plugin => plugins/obsidian/assets}/icon.png (100%) delete mode 100644 plugins/obsidian/assets/obsidian-logo-gradient.svg create mode 100644 plugins/obsidian/plugin.json diff --git a/README.md b/README.md index a9b6288..d25491f 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ npx skills add https://github.com/kepano/obsidian-skills #### Claude Code -Add the contents of this repo to a `/.claude` folder in the root of your Obsidian vault (or whichever folder you're using with Claude Code). See more in the [official Claude Skills documentation](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview). +Copy the `plugins/obsidian/skills/` directory to `.claude/skills/` in the root of your Obsidian vault (or whichever folder you're using with Claude Code). See more in the [official Claude Skills documentation](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview). #### Codex @@ -60,16 +60,16 @@ Clone the entire repo into the OpenCode skills directory (`~/.opencode/skills/`) git clone https://github.com/kepano/obsidian-skills.git ~/.opencode/skills/obsidian-skills ``` -Do not copy only the inner `skills/` folder — clone the full repo so the directory structure is `~/.opencode/skills/obsidian-skills/skills//SKILL.md`. +Do not copy only the inner `skills/` folder — clone the full repo so the directory structure is `~/.opencode/skills/obsidian-skills/plugins/obsidian/skills//SKILL.md`. OpenCode auto-discovers all `SKILL.md` files under `~/.opencode/skills/`. No changes to `opencode.json` or any config file are needed. Skills become available after restarting OpenCode. ## Release maintenance -Update the plugin version across Claude and Codex metadata with: +Update the plugin version in every manifest with: ```sh -./scripts/bump-version.sh patch +./scripts/bump.sh patch ``` The script also accepts `major`, `minor`, or an explicit version like `1.1.0`. diff --git a/plugins/obsidian/.claude-plugin/plugin.json b/plugins/obsidian/.claude-plugin/plugin.json index 07bde99..76fadfe 100644 --- a/plugins/obsidian/.claude-plugin/plugin.json +++ b/plugins/obsidian/.claude-plugin/plugin.json @@ -6,6 +6,7 @@ "name": "Obsidian", "url": "https://obsidian.md/" }, + "homepage": "https://obsidian.md/", "repository": "https://github.com/kepano/obsidian-skills", "license": "MIT", "keywords": [ @@ -15,5 +16,6 @@ "canvas", "pkm", "notes" - ] + ], + "icon": "./assets/icon.png" } diff --git a/plugins/obsidian/.codex-plugin/plugin.json b/plugins/obsidian/.codex-plugin/plugin.json deleted file mode 100644 index 882599d..0000000 --- a/plugins/obsidian/.codex-plugin/plugin.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "obsidian", - "version": "1.0.3", - "description": "Create and edit Obsidian vault files including Markdown, Bases, and Canvas.", - "author": { - "name": "Steph Ango", - "url": "https://stephango.com/" - }, - "homepage": "https://github.com/kepano/obsidian-skills", - "repository": "https://github.com/kepano/obsidian-skills", - "license": "MIT", - "keywords": ["obsidian", "markdown", "bases", "canvas", "pkm", "notes"], - "skills": "./skills/", - "interface": { - "displayName": "Obsidian", - "shortDescription": "Skills for working with Obsidian vaults", - "longDescription": "Create and edit Obsidian Markdown, Bases, and Canvas files, interact with vaults through the Obsidian CLI, and extract clean Markdown from web pages.", - "developerName": "kepano", - "category": "Productivity", - "capabilities": ["Write", "Review", "Automation"], - "defaultPrompt": [ - "Create an Obsidian note with valid properties and wikilinks.", - "Build an Obsidian Base for these notes.", - "Inspect and update this Obsidian vault." - ], - "brandColor": "#7852EE", - "composerIcon": "./assets/obsidian-logo-gradient.svg", - "logo": "./assets/obsidian-logo-gradient.svg" - } -} diff --git a/plugins/obsidian/LICENSE b/plugins/obsidian/LICENSE new file mode 100644 index 0000000..33d692e --- /dev/null +++ b/plugins/obsidian/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Steph Ango (@kepano) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/plugins/obsidian/README.md b/plugins/obsidian/README.md new file mode 100644 index 0000000..2477af4 --- /dev/null +++ b/plugins/obsidian/README.md @@ -0,0 +1,36 @@ +# Obsidian + +Skills for working with Obsidian vaults: Obsidian Markdown, Bases, Canvas, the Obsidian CLI, web pages, and templates. + +## Install + +In Claude Code: + +``` +/plugin install obsidian --marketplace kepano/obsidian-skills +``` + +In Codex, run `codex plugin marketplace add kepano/obsidian-skills`, then install Obsidian from the plugin directory. + +## Requirements + +The CLI skill runs the `obsidian` command, which needs the Obsidian desktop app installed, running, and with the CLI turned on. See https://help.obsidian.md/cli for setup. It needs a host that can run local commands, such as Claude Code, Codex, or a desktop app session on your computer. + +The Markdown, Bases, and Canvas skills only describe file formats, so they also work in chat. + +Web extraction uses [Defuddle](https://github.com/kepano/defuddle), which fetches the page you ask for. Template rendering uses [Knap](https://github.com/obsidianmd/knap), which needs Node.js 20 or later. Neither tool is bundled. When one is missing, the skill asks before installing it from npm. + +## Included skills + +- obsidian-cli: search, read, create, and manage notes through the running app. +- obsidian-markdown: Obsidian links, properties, callouts, and embeds. +- obsidian-bases: Bases files, views, filters, formulas, and summaries. +- json-canvas: Canvas files with nodes, edges, groups, and connections. +- defuddle: extract readable Markdown from public web pages. +- knap: render templates from structured data. + +## Scope + +This plugin contains skills only, with no MCP server, hooks, or background processes. Using it can bring vault content you ask about into the conversation, and that content is processed by the AI model you use, not only on your computer. + +Source: https://github.com/kepano/obsidian-skills diff --git a/.claude-plugin/icon.png b/plugins/obsidian/assets/icon.png similarity index 100% rename from .claude-plugin/icon.png rename to plugins/obsidian/assets/icon.png diff --git a/plugins/obsidian/assets/obsidian-logo-gradient.svg b/plugins/obsidian/assets/obsidian-logo-gradient.svg deleted file mode 100644 index a594038..0000000 --- a/plugins/obsidian/assets/obsidian-logo-gradient.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/obsidian/plugin.json b/plugins/obsidian/plugin.json new file mode 100644 index 0000000..9454c4d --- /dev/null +++ b/plugins/obsidian/plugin.json @@ -0,0 +1,64 @@ +{ + "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", + "name": "obsidian", + "version": "1.1.0", + "description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, web extraction, and templates.", + "author": { + "name": "Obsidian", + "url": "https://obsidian.md/" + }, + "homepage": "https://obsidian.md/", + "repository": "https://github.com/kepano/obsidian-skills", + "license": "MIT", + "keywords": [ + "obsidian", + "markdown", + "bases", + "canvas", + "pkm", + "notes" + ], + "extensions": { + "com.openai": { + "requires_local_executor": true, + "interface": { + "displayName": "Obsidian", + "shortDescription": "Work with your local vault", + "longDescription": "Search, read, create, and organize notes in a local Obsidian vault. Create and edit Obsidian Markdown with links, properties, and callouts. This plugin also lets you build Bases views, Canvas diagrams, extract web pages to Markdown, and render templates.\n\nThis plugin is currently desktop-only and requires Obsidian to be open and running with the CLI enabled. In the future we will add MCP so you can interact with your vault remotely and in the ChatGPT mobile app.", + "category": "Productivity", + "developerName": "Obsidian", + "defaultPrompt": [ + "Find notes about my current project and summarize the open tasks.", + "Create a reading list Base from the books in my vault.", + "Make a Canvas connecting the main ideas in these notes." + ], + "websiteURL": "https://obsidian.md/", + "supportURL": "https://obsidian.md/help/", + "privacyPolicyURL": "https://obsidian.md/privacy", + "termsOfServiceURL": "https://obsidian.md/terms", + "logo": "./assets/icon.png", + "composerIcon": "./assets/icon.png", + "logoDark": "./assets/icon.png", + "composerIconDark": "./assets/icon.png", + "brandColor": "#6C31E3", + "brandColorDark": "#A882FF" + }, + "review": { + "commerce": false, + "prompts": [ + "Search my selected vault for project notes and summarize their open tasks with links to the sources.", + "Create a note in my selected vault with a summary, related-note links, and a status property.", + "Create a reading list Base with table and card views from the books in my selected vault.", + "Create a Canvas with three idea cards and labeled connections in my selected vault.", + "Extract this public article into Markdown and save it as a note in my selected vault.", + "Use my supplied Knap template and JSON data to create a note in my selected vault.", + "Read a note using the CLI while Obsidian is closed and explain what is needed to continue." + ] + }, + "publication": { + "countries": [], + "release_notes": "Six Obsidian skills for Markdown, Bases, Canvas, the Obsidian CLI, Defuddle, and Knap, with desktop execution metadata and setup guidance for the CLI and helper tools." + } + } + } +} diff --git a/scripts/bump.sh b/scripts/bump.sh index 48da39e..ba23158 100755 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -7,8 +7,8 @@ if [[ $# -ne 1 ]]; then fi files=( + "plugins/obsidian/plugin.json" "plugins/obsidian/.claude-plugin/plugin.json" - "plugins/obsidian/.codex-plugin/plugin.json" ".claude-plugin/marketplace.json" )