diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json new file mode 100644 index 0000000..c33b24e --- /dev/null +++ b/.agents/plugins/marketplace.json @@ -0,0 +1,20 @@ +{ + "name": "obsidian-skills", + "interface": { + "displayName": "Obsidian Skills" + }, + "plugins": [ + { + "name": "obsidian", + "source": { + "source": "local", + "path": "./plugins/obsidian" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Productivity" + } + ] +} diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 3947332..0e5dc0a 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -7,9 +7,9 @@ "plugins": [ { "name": "obsidian", - "source": "./", + "source": "./plugins/obsidian", "description": "Claude Skills for Obsidian", - "version": "1.0.1" + "version": "1.0.2" } ] } diff --git a/README.md b/README.md index 22473dd..6d4e84e 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,20 @@ These skills follow the [Agent Skills specification](https://agentskills.io/spec ## Installation -### Marketplace +### Claude Code marketplace ``` /plugin marketplace add kepano/obsidian-skills /plugin install obsidian@obsidian-skills ``` +### Codex marketplace + +```sh +codex plugin marketplace add kepano/obsidian-skills +codex plugin add obsidian@obsidian-skills +``` + ### npx skills ``` @@ -31,7 +38,7 @@ Add the contents of this repo to a `/.claude` folder in the root of your Obsidia #### Codex -Copy the `skills/` directory into your Codex skills path (typically `~/.codex/skills`). See the [Agent Skills specification](https://agentskills.io/specification) for the standard skill format. +Copy the `plugins/obsidian/skills/` directory into your Codex skills path (typically `~/.agents/skills`). See the [Agent Skills specification](https://agentskills.io/specification) for the standard skill format. #### OpenCode @@ -49,9 +56,9 @@ OpenCode auto-discovers all `SKILL.md` files under `~/.opencode/skills/`. No cha | Skill | Description | | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [obsidian-markdown](skills/obsidian-markdown) | Create and edit [Obsidian Flavored Markdown](https://help.obsidian.md/obsidian-flavored-markdown) (`.md`) with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax | -| [obsidian-bases](skills/obsidian-bases) | Create and edit [Obsidian Bases](https://help.obsidian.md/bases/syntax) (`.base`) with views, filters, formulas, and summaries | -| [json-canvas](skills/json-canvas) | Create and edit [JSON Canvas](https://jsoncanvas.org/) files (`.canvas`) with nodes, edges, groups, and connections | -| [obsidian-cli](skills/obsidian-cli) | Interact with Obsidian vaults via the [Obsidian CLI](https://help.obsidian.md/cli) including plugin and theme development | -| [defuddle](skills/defuddle) | Extract clean markdown from web pages using [Defuddle](https://github.com/kepano/defuddle), removing clutter to save tokens | -| [knap](skills/knap) | Render Markdown templates from JSON or CSV data using [Knap](https://github.com/obsidianmd/knap), including batch file generation | +| [obsidian-markdown](plugins/obsidian/skills/obsidian-markdown) | Create and edit [Obsidian Flavored Markdown](https://help.obsidian.md/obsidian-flavored-markdown) (`.md`) with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax | +| [obsidian-bases](plugins/obsidian/skills/obsidian-bases) | Create and edit [Obsidian Bases](https://help.obsidian.md/bases/syntax) (`.base`) with views, filters, formulas, and summaries | +| [json-canvas](plugins/obsidian/skills/json-canvas) | Create and edit [JSON Canvas](https://jsoncanvas.org/) files (`.canvas`) with nodes, edges, groups, and connections | +| [obsidian-cli](plugins/obsidian/skills/obsidian-cli) | Interact with Obsidian vaults via the [Obsidian CLI](https://help.obsidian.md/cli) including plugin and theme development | +| [defuddle](plugins/obsidian/skills/defuddle) | Extract clean markdown from web pages using [Defuddle](https://github.com/kepano/defuddle), removing clutter to save tokens | +| [knap](plugins/obsidian/skills/knap) | Render Markdown templates from JSON or CSV data using [Knap](https://github.com/obsidianmd/knap), including batch file generation | diff --git a/.claude-plugin/plugin.json b/plugins/obsidian/.claude-plugin/plugin.json similarity index 95% rename from .claude-plugin/plugin.json rename to plugins/obsidian/.claude-plugin/plugin.json index 07932b6..5e7aa4b 100644 --- a/.claude-plugin/plugin.json +++ b/plugins/obsidian/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "obsidian", - "version": "1.0.1", + "version": "1.0.2", "description": "Create and edit Obsidian vault files including Markdown, Bases, and Canvas. Use when working with .md, .base, or .canvas files in an Obsidian vault.", "author": { "name": "Steph Ango", diff --git a/plugins/obsidian/.codex-plugin/plugin.json b/plugins/obsidian/.codex-plugin/plugin.json new file mode 100644 index 0000000..628533d --- /dev/null +++ b/plugins/obsidian/.codex-plugin/plugin.json @@ -0,0 +1,39 @@ +{ + "name": "obsidian", + "version": "1.0.2", + "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" + } +} diff --git a/skills/defuddle/SKILL.md b/plugins/obsidian/skills/defuddle/SKILL.md similarity index 100% rename from skills/defuddle/SKILL.md rename to plugins/obsidian/skills/defuddle/SKILL.md diff --git a/skills/json-canvas/SKILL.md b/plugins/obsidian/skills/json-canvas/SKILL.md similarity index 100% rename from skills/json-canvas/SKILL.md rename to plugins/obsidian/skills/json-canvas/SKILL.md diff --git a/skills/json-canvas/references/EXAMPLES.md b/plugins/obsidian/skills/json-canvas/references/EXAMPLES.md similarity index 100% rename from skills/json-canvas/references/EXAMPLES.md rename to plugins/obsidian/skills/json-canvas/references/EXAMPLES.md diff --git a/skills/knap/SKILL.md b/plugins/obsidian/skills/knap/SKILL.md similarity index 100% rename from skills/knap/SKILL.md rename to plugins/obsidian/skills/knap/SKILL.md diff --git a/skills/obsidian-bases/SKILL.md b/plugins/obsidian/skills/obsidian-bases/SKILL.md similarity index 100% rename from skills/obsidian-bases/SKILL.md rename to plugins/obsidian/skills/obsidian-bases/SKILL.md diff --git a/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md b/plugins/obsidian/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md similarity index 100% rename from skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md rename to plugins/obsidian/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md diff --git a/skills/obsidian-cli/SKILL.md b/plugins/obsidian/skills/obsidian-cli/SKILL.md similarity index 100% rename from skills/obsidian-cli/SKILL.md rename to plugins/obsidian/skills/obsidian-cli/SKILL.md diff --git a/skills/obsidian-markdown/SKILL.md b/plugins/obsidian/skills/obsidian-markdown/SKILL.md similarity index 100% rename from skills/obsidian-markdown/SKILL.md rename to plugins/obsidian/skills/obsidian-markdown/SKILL.md diff --git a/skills/obsidian-markdown/references/CALLOUTS.md b/plugins/obsidian/skills/obsidian-markdown/references/CALLOUTS.md similarity index 100% rename from skills/obsidian-markdown/references/CALLOUTS.md rename to plugins/obsidian/skills/obsidian-markdown/references/CALLOUTS.md diff --git a/skills/obsidian-markdown/references/EMBEDS.md b/plugins/obsidian/skills/obsidian-markdown/references/EMBEDS.md similarity index 100% rename from skills/obsidian-markdown/references/EMBEDS.md rename to plugins/obsidian/skills/obsidian-markdown/references/EMBEDS.md diff --git a/skills/obsidian-markdown/references/PROPERTIES.md b/plugins/obsidian/skills/obsidian-markdown/references/PROPERTIES.md similarity index 100% rename from skills/obsidian-markdown/references/PROPERTIES.md rename to plugins/obsidian/skills/obsidian-markdown/references/PROPERTIES.md