mirror of
https://github.com/kepano/obsidian-skills.git
synced 2026-12-05 10:05:18 -08:00
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.
This commit is contained in:
@@ -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-name>/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-name>/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`.
|
||||
|
||||
Reference in New Issue
Block a user