Skip to content

Commit 8f023b3

Browse files
committed
Allow install skills separately
1 parent 3fc2ac8 commit 8f023b3

File tree

10 files changed

+95
-15
lines changed

10 files changed

+95
-15
lines changed

.claude-plugin/marketplace.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@
1616
"author": {
1717
"name": "Pengfei Ni"
1818
}
19+
},
20+
{
21+
"name": "codex-skill",
22+
"source": "./plugins/codex-skill",
23+
"description": "Leverage OpenAI Codex (GPT-5/GPT-5.1) for non-interactive automation mode and hands-off task execution",
24+
"version": "1.0.0",
25+
"author": {
26+
"name": "Pengfei Ni"
27+
}
28+
},
29+
{
30+
"name": "nanobanana-skill",
31+
"source": "./plugins/nanobanana-skill",
32+
"description": "Generate or edit images using Google Gemini API via nanobanana",
33+
"version": "1.0.0",
34+
"author": {
35+
"name": "Pengfei Ni"
36+
}
1937
}
2038
]
2139
}

README.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,15 @@ Open the link, login and authenticate your Github Copilot account.
4848

4949
```sh
5050
/plugin marketplace add feiskyer/claude-code-settings
51+
52+
# Install all of the settings (commands, agents and skills)
5153
/plugin install claude-code-settings
54+
55+
# Install codex-skill only
56+
/plugin install codex-skill
57+
58+
# Install nanobanana-skill only
59+
/plugin install nanobanana-skill
5260
```
5361

5462
#### One-Command Installation
@@ -143,17 +151,24 @@ Available commands:
143151

144152
</details>
145153

146-
## Skills
154+
## Skills (Separate Plugins)
147155

148-
The `skills/` directory contains [agent skills](https://code.claude.com/docs/en/skills) that extend claude code with more specialized capabilities.
156+
Skills are now distributed as separate plugins for modular installation. Install only what you need:
149157

150158
<details>
151-
<summary>Available Skills</summary>
159+
<summary>Available Skill Plugins</summary>
152160

153-
### [codex-skill](skills/codex-skill)
161+
### [codex-skill](plugins/codex-skill)
154162

155163
Non-interactive automation mode for hands-off task execution using OpenAI Codex. Use when you want to leverage codex, gpt-5, or gpt-5.1 to implement features or plans designed by Claude.
156164

165+
**Installation:**
166+
167+
```sh
168+
/plugin marketplace add feiskyer/claude-code-settings
169+
/plugin install codex-skill
170+
```
171+
157172
**Key Features:**
158173
- Multiple execution modes (read-only, workspace-write, danger-full-access)
159174
- Model selection support (gpt-5, gpt-5.1, gpt-5.1-codex, etc.)
@@ -163,10 +178,17 @@ Non-interactive automation mode for hands-off task execution using OpenAI Codex.
163178

164179
**Requirements:** Codex CLI installed (`npm i -g @openai/codex` or `brew install codex`)
165180

166-
### [nanobanana-skill](skills/nanobanana-skill)
181+
### [nanobanana-skill](plugins/nanobanana-skill)
167182

168183
Generate or edit images using Google Gemini API via nanobanana. Use when creating, generating, or editing images.
169184

185+
**Installation:**
186+
187+
```sh
188+
/plugin marketplace add feiskyer/claude-code-settings
189+
/plugin install nanobanana-skill
190+
```
191+
170192
**Key Features:**
171193
- Image generation with various aspect ratios
172194
- Image editing capabilities
@@ -176,7 +198,7 @@ Generate or edit images using Google Gemini API via nanobanana. Use when creatin
176198

177199
**Requirements:**
178200
- GEMINI_API_KEY configured in `~/.nanobanana.env`
179-
- Python3 with google-genai, Pillow, python-dotenv
201+
- Python3 with google-genai, Pillow, python-dotenv (install via `pip install -r requirements.txt` in the plugin directory)
180202

181203
</details>
182204

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "codex-skill",
3+
"version": "1.0.0",
4+
"description": "Leverage OpenAI Codex (GPT-5/GPT-5.1) for non-interactive automation mode and hands-off task execution",
5+
"author": {
6+
"name": "Pengfei Ni",
7+
"url": "https://github.com/feiskyer/claude-code-settings"
8+
},
9+
"homepage": "https://github.com/feiskyer/claude-code-settings",
10+
"repository": "https://github.com/feiskyer/claude-code-settings",
11+
"license": "MIT",
12+
"keywords": [
13+
"codex",
14+
"gpt-5",
15+
"openai",
16+
"automation",
17+
"claude-code"
18+
]
19+
}
File renamed without changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "nanobanana-skill",
3+
"version": "1.0.0",
4+
"description": "Generate or edit images using Google Gemini API via nanobanana",
5+
"author": {
6+
"name": "Pengfei Ni",
7+
"url": "https://github.com/feiskyer/claude-code-settings"
8+
},
9+
"homepage": "https://github.com/feiskyer/claude-code-settings",
10+
"repository": "https://github.com/feiskyer/claude-code-settings",
11+
"license": "MIT",
12+
"keywords": [
13+
"nanobanana",
14+
"gemini",
15+
"image-generation",
16+
"google",
17+
"claude-code"
18+
]
19+
}

skills/nanobanana-skill/SKILL.md renamed to plugins/nanobanana-skill/skills/nanobanana-skill/SKILL.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Generate or edit images using Google Gemini API through the nanobanana tool.
1111
## Requirements
1212

1313
1. **GEMINI_API_KEY**: Must be configured in `~/.nanobanana.env` or `export GEMINI_API_KEY=<your-api-key>`
14-
2. **Python3 with depedent packages installed**: google-genai, Pillow, python-dotenv. They could be installed via `python3 -m pip install -U python-dotenv google-genai Pillow` if not installed yet.
15-
3. **Executable**: `nanobanana.py`
14+
2. **Python3 with depedent packages installed**: google-genai, Pillow, python-dotenv. They could be installed via `python3 -m pip install -r ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/requirements.txt` if not installed yet.
15+
3. **Executable**: `${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py`
1616

1717
## Instructions
1818

@@ -28,7 +28,7 @@ Generate or edit images using Google Gemini API through the nanobanana tool.
2828
2. Run the nanobanana script with appropriate parameters:
2929

3030
```bash
31-
nanobanana.py --prompt "description of image" --output "filename.png"
31+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "description of image" --output "filename.png"
3232
```
3333

3434
3. Show the user the saved image path when complete
@@ -43,7 +43,7 @@ Generate or edit images using Google Gemini API through the nanobanana tool.
4343
2. Run with input images:
4444

4545
```bash
46-
nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
46+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
4747
```
4848

4949
## Available Options
@@ -77,13 +77,13 @@ Generate or edit images using Google Gemini API through the nanobanana tool.
7777
### Generate a simple image
7878

7979
```bash
80-
nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"
80+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"
8181
```
8282

8383
### Generate with specific size and output
8484

8585
```bash
86-
nanobanana.py \
86+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
8787
--prompt "Modern minimalist logo for a tech startup" \
8888
--size 1024x1024 \
8989
--output "logo.png"
@@ -92,7 +92,7 @@ nanobanana.py \
9292
### Generate landscape image with high resolution
9393

9494
```bash
95-
nanobanana.py \
95+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
9696
--prompt "Futuristic cityscape with flying cars" \
9797
--size 1344x768 \
9898
--resolution 2K \
@@ -102,7 +102,7 @@ nanobanana.py \
102102
### Edit existing images
103103

104104
```bash
105-
nanobanana.py \
105+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
106106
--prompt "Add a rainbow in the sky" \
107107
--input photo.png \
108108
--output "photo-with-rainbow.png"
@@ -111,7 +111,7 @@ nanobanana.py \
111111
### Use faster model
112112

113113
```bash
114-
nanobanana.py \
114+
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
115115
--prompt "Quick sketch of a cat" \
116116
--model gemini-2.5-flash-image \
117117
--output "cat-sketch.png"

skills/nanobanana-skill/nanobanana.py renamed to plugins/nanobanana-skill/skills/nanobanana-skill/nanobanana.py

File renamed without changes.

skills/nanobanana-skill/requirements.txt renamed to plugins/nanobanana-skill/skills/nanobanana-skill/requirements.txt

File renamed without changes.

skills/codex-skill

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../plugins/codex-skill/skills/codex-skill

skills/nanobanana-skill

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../plugins/nanobanana-skill/skills/nanobanana-skill

0 commit comments

Comments
 (0)