diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..42fbde3 --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,50 @@ +{ + "name": "fakoli-agent-plugins", + "owner": { + "name": "Fakoli", + "url": "https://github.com/fakoli" + }, + "description": "Portable agent plugins and skills derived from repeated agent-workflow evidence.", + "plugins": [ + { + "name": "session-improvement-loop", + "source": "./plugins/session-improvement-loop", + "description": "Research uncertain decisions and local inference candidates, and independently validate reusable workflow improvements." + }, + { + "name": "host-operations", + "source": "./plugins/host-operations", + "description": "Diagnose GPU ownership and credential-loading boundaries without exposing secrets or making unreviewed host changes." + }, + { + "name": "workflow-intake", + "source": "./plugins/workflow-intake", + "description": "Turn an external gist, README, issue, or runbook into a pinned comparison and safe local test plan." + }, + { + "name": "workspace-coordination", + "source": "./plugins/workspace-coordination", + "description": "Coordinate changes across related repositories and worktrees while preserving dirty state and ownership boundaries." + }, + { + "name": "feature-retro", + "source": "./plugins/feature-retro", + "description": "Prepare evidence-backed retrospective design reviews and article inputs after a feature build." + }, + { + "name": "repo-graph", + "source": { + "source": "github", + "repo": "fakoli/repo-graph", + "ref": "v0.6.0", + "sha": "b21a7c19fc3f068d3b0227ba1fa6acd5eda17280" + }, + "description": "Local repository diagrams and incremental search for large codebases." + }, + { + "name": "codex-pi-coordination", + "source": "./plugins/codex-pi-coordination", + "description": "Coordinate bounded tasks, saved Pi conversations and model capability discovery inside NVIDIA OpenShell." + } + ] +} diff --git a/README.md b/README.md index 2c6ba53..306d3c0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Fakoli Agent Plugins -Public, portable Codex plugins and skills derived from repeated agent-workflow evidence. +Public, portable Codex and Claude Code plugins and skills derived from repeated agent-workflow evidence. Every contribution must be useful without private environment context, use synthetic or sanitized examples, and pass the relevant skill and plugin validators. Raw sessions, personal paths, infrastructure topology, reachable endpoints, and credentials do not belong here. @@ -30,6 +30,23 @@ codex plugin add session-improvement-loop@fakoli-agent-plugins Install any catalog entry with `codex plugin add @fakoli-agent-plugins`. +### Claude Code + +The same catalog is published for Claude Code in +`.claude-plugin/marketplace.json`, and each local plugin carries a +`.claude-plugin/plugin.json` beside its Codex manifest. Skills are shared. + +```bash +claude plugin marketplace add fakoli/agent-plugins +``` + +```bash +claude plugin install session-improvement-loop@fakoli-agent-plugins +``` + +Codex prompts invoke skills as `$skill-name`; Claude Code exposes them as +`/plugin-name:skill-name` and also loads them from matching requests. + `$repo-graph /path/to/repo` or `$repo-graph https://github.com/owner/repo` writes a self-contained interactive view, Mermaid source, and JSON under the user's cache. The clean-room scanner batches files, caches bounded import diff --git a/plugins/codex-pi-coordination/.claude-plugin/plugin.json b/plugins/codex-pi-coordination/.claude-plugin/plugin.json new file mode 100644 index 0000000..3febca2 --- /dev/null +++ b/plugins/codex-pi-coordination/.claude-plugin/plugin.json @@ -0,0 +1,19 @@ +{ + "name": "codex-pi-coordination", + "version": "0.3.0", + "description": "Coordinate bounded tasks, saved Pi conversations and model capability discovery inside NVIDIA OpenShell.", + "author": { + "name": "Fakoli", + "url": "https://github.com/fakoli" + }, + "homepage": "https://github.com/fakoli/agent-plugins", + "repository": "https://github.com/fakoli/agent-plugins", + "license": "MIT", + "keywords": [ + "codex", + "pi", + "coordination", + "openshell", + "delegation" + ] +} diff --git a/plugins/host-operations/.claude-plugin/plugin.json b/plugins/host-operations/.claude-plugin/plugin.json new file mode 100644 index 0000000..24853b2 --- /dev/null +++ b/plugins/host-operations/.claude-plugin/plugin.json @@ -0,0 +1,19 @@ +{ + "name": "host-operations", + "version": "0.1.0", + "description": "Diagnose GPU ownership and credential-loading boundaries without exposing secrets or making unreviewed host changes.", + "author": { + "name": "Fakoli", + "url": "https://github.com/fakoli" + }, + "homepage": "https://github.com/fakoli/agent-plugins", + "repository": "https://github.com/fakoli/agent-plugins", + "license": "MIT", + "keywords": [ + "codex", + "gpu", + "credentials", + "windows", + "operations" + ] +} diff --git a/plugins/session-improvement-loop/.claude-plugin/plugin.json b/plugins/session-improvement-loop/.claude-plugin/plugin.json new file mode 100644 index 0000000..f53bb20 --- /dev/null +++ b/plugins/session-improvement-loop/.claude-plugin/plugin.json @@ -0,0 +1,18 @@ +{ + "name": "session-improvement-loop", + "version": "0.2.1", + "description": "Research uncertain decisions and local inference candidates, and independently validate reusable workflow improvements.", + "author": { + "name": "Fakoli", + "url": "https://github.com/fakoli" + }, + "homepage": "https://github.com/fakoli/agent-plugins", + "repository": "https://github.com/fakoli/agent-plugins", + "license": "MIT", + "keywords": [ + "codex", + "sessions", + "skills", + "productivity" + ] +} diff --git a/plugins/workflow-intake/.claude-plugin/plugin.json b/plugins/workflow-intake/.claude-plugin/plugin.json new file mode 100644 index 0000000..a53449a --- /dev/null +++ b/plugins/workflow-intake/.claude-plugin/plugin.json @@ -0,0 +1,18 @@ +{ + "name": "workflow-intake", + "version": "0.1.0", + "description": "Turn an external gist, README, issue, or runbook into a pinned comparison and safe local test plan.", + "author": { + "name": "Fakoli", + "url": "https://github.com/fakoli" + }, + "homepage": "https://github.com/fakoli/agent-plugins", + "repository": "https://github.com/fakoli/agent-plugins", + "license": "MIT", + "keywords": [ + "codex", + "runbooks", + "research", + "reproducibility" + ] +} diff --git a/plugins/workspace-coordination/.claude-plugin/plugin.json b/plugins/workspace-coordination/.claude-plugin/plugin.json new file mode 100644 index 0000000..1ca286b --- /dev/null +++ b/plugins/workspace-coordination/.claude-plugin/plugin.json @@ -0,0 +1,18 @@ +{ + "name": "workspace-coordination", + "version": "0.1.0", + "description": "Coordinate changes across related repositories and worktrees while preserving dirty state and ownership boundaries.", + "author": { + "name": "Fakoli", + "url": "https://github.com/fakoli" + }, + "homepage": "https://github.com/fakoli/agent-plugins", + "repository": "https://github.com/fakoli/agent-plugins", + "license": "MIT", + "keywords": [ + "codex", + "git", + "worktrees", + "multi-repository" + ] +} diff --git a/tests/test_plugin_catalog.py b/tests/test_plugin_catalog.py index 9c4f966..bae55ba 100644 --- a/tests/test_plugin_catalog.py +++ b/tests/test_plugin_catalog.py @@ -32,6 +32,26 @@ def test_marketplace_entries_resolve_to_matching_plugins(self) -> None: self.assertEqual(entry["policy"]["installation"], "AVAILABLE") self.assertTrue((plugin / "skills").is_dir()) + def test_claude_marketplace_mirrors_codex_catalog(self) -> None: + codex = json.loads(MARKETPLACE.read_text(encoding="utf-8")) + claude = json.loads((ROOT / ".claude-plugin" / "marketplace.json").read_text(encoding="utf-8")) + + self.assertEqual(claude["name"], codex["name"]) + self.assertEqual([p["name"] for p in claude["plugins"]], [p["name"] for p in codex["plugins"]]) + for codex_entry, claude_entry in zip(codex["plugins"], claude["plugins"]): + source = codex_entry["source"] + if source["source"] == "url": + self.assertEqual(claude_entry["source"]["repo"], "fakoli/repo-graph") + self.assertEqual(claude_entry["source"]["ref"], source["ref"]) + self.assertEqual(claude_entry["source"]["sha"], source["sha"]) + continue + self.assertEqual(claude_entry["source"], source["path"]) + plugin = ROOT / source["path"].removeprefix("./") + codex_manifest = json.loads((plugin / ".codex-plugin" / "plugin.json").read_text(encoding="utf-8")) + claude_manifest = json.loads((plugin / ".claude-plugin" / "plugin.json").read_text(encoding="utf-8")) + for field in ("name", "version", "description"): + self.assertEqual(claude_manifest[field], codex_manifest[field], plugin) + def test_skills_have_complete_frontmatter_and_ui_prompts(self) -> None: catalog = json.loads(MARKETPLACE.read_text(encoding="utf-8")) plugin_names = {entry["name"] for entry in catalog["plugins"] if entry["source"]["source"] == "local"}