Skip to content

Commit 8b79a64

Browse files
committed
feat: add gpt-image-skill for image generation
1 parent 7b47df8 commit 8b79a64

18 files changed

Lines changed: 442 additions & 47 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"name": "Pengfei Ni"
55
},
66
"metadata": {
7-
"version": "2.1.6",
7+
"version": "2.1.7",
88
"description": "Claude Code settings and skills for spec-driven development workflows"
99
},
1010
"plugins": [
1111
{
1212
"name": "claude-code-settings",
1313
"source": "./",
1414
"description": "Claude Code settings, commands, agent and skills (all in one)",
15-
"version": "2.1.6",
15+
"version": "2.1.7",
1616
"author": {
1717
"name": "Pengfei Ni"
1818
}
@@ -21,7 +21,7 @@
2121
"name": "kiro-skill",
2222
"source": "./plugins/kiro-skill",
2323
"description": "Interactive feature development workflow from idea to implementation (Requirements → Design → Tasks → Execute)",
24-
"version": "1.0.2",
24+
"version": "1.0.3",
2525
"author": {
2626
"name": "Pengfei Ni"
2727
}
@@ -30,7 +30,7 @@
3030
"name": "spec-kit-skill",
3131
"source": "./plugins/spec-kit-skill",
3232
"description": "GitHub Spec-Kit integration for constitution-based spec-driven development (7-phase workflow)",
33-
"version": "1.0.2",
33+
"version": "1.0.3",
3434
"author": {
3535
"name": "Pengfei Ni"
3636
}
@@ -39,7 +39,7 @@
3939
"name": "codex-skill",
4040
"source": "./plugins/codex-skill",
4141
"description": "Leverage OpenAI Codex (GPT-5/GPT-5.1) for non-interactive automation mode and hands-off task execution",
42-
"version": "1.0.2",
42+
"version": "1.0.3",
4343
"author": {
4444
"name": "Pengfei Ni"
4545
}
@@ -48,7 +48,7 @@
4848
"name": "nanobanana-skill",
4949
"source": "./plugins/nanobanana-skill",
5050
"description": "Generate or edit images using Google Gemini API via nanobanana",
51-
"version": "1.0.2",
51+
"version": "1.0.3",
5252
"author": {
5353
"name": "Pengfei Ni"
5454
}
@@ -57,7 +57,7 @@
5757
"name": "youtube-transcribe-skill",
5858
"source": "./plugins/youtube-transcribe-skill",
5959
"description": "Extract subtitles/transcripts from YouTube videos via CLI or browser automation",
60-
"version": "1.0.2",
60+
"version": "1.0.3",
6161
"author": {
6262
"name": "Pengfei Ni"
6363
}
@@ -66,7 +66,7 @@
6666
"name": "autonomous-skill",
6767
"source": "./plugins/autonomous-skill",
6868
"description": "Use when user wants to execute long-running tasks that require multiple sessions to complete. This skill manages task decomposition, progress tracking, and autonomous execution using Claude Code headless mode with auto-continuation. Trigger phrases: autonomous, long-running task, multi-session, 自主执行, 长时任务, autonomous skill.",
69-
"version": "1.0.2",
69+
"version": "1.0.3",
7070
"author": {
7171
"name": "Pengfei Ni"
7272
}

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-code-settings",
3-
"version": "2.1.6",
3+
"version": "2.1.7",
44
"description": "Claude Code settings and skills for spec-driven development workflows",
55
"author": {
66
"name": "Pengfei Ni",

plugins/autonomous-skill/skills/autonomous-skill/scripts/run-session.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ DEFAULT_EFFORT="high"
2626
DEFAULT_PERMISSION_MODE="bypassPermissions"
2727
DEFAULT_COMPLETION_PROMISE="DONE"
2828

29-
# Resolve skill directory
30-
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
31-
SKILL_DIR="${CLAUDE_PLUGIN_ROOT}/skills/autonomous-skill"
32-
else
33-
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
34-
fi
29+
# Resolve skill directory (relative to this script)
30+
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
3531

3632
AUTONOMOUS_DIR=".autonomous"
3733

plugins/codex-skill/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codex-skill",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Leverage OpenAI Codex (GPT-5/GPT-5.1) for non-interactive automation mode and hands-off task execution",
55
"author": {
66
"name": "Pengfei Ni",

plugins/kiro-skill/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kiro-skill",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Interactive feature development workflow from idea to implementation (Requirements → Design → Tasks → Execute)",
55
"author": {
66
"name": "Pengfei Ni",

plugins/nanobanana-skill/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nanobanana-skill",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Generate or edit images using Google Gemini API via nanobanana",
55
"author": {
66
"name": "Pengfei Ni",

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 dependent 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`
14+
2. **Python3 with dependent packages installed**: google-genai, Pillow, python-dotenv. They could be installed via `python3 -m pip install -r ./requirements.txt` if not installed yet.
15+
3. **Executable**: `./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-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "description of image" --output "filename.png"
31+
python3 ./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-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
46+
python3 ./nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
4747
```
4848

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

8484
```bash
85-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"
85+
python3 ./nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"
8686
```
8787

8888
### Generate with specific size and output
8989

9090
```bash
91-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
91+
python3 ./nanobanana.py \
9292
--prompt "Modern minimalist logo for a tech startup" \
9393
--size 1024x1024 \
9494
--output "logo.png"
@@ -97,7 +97,7 @@ python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
9797
### Generate landscape image with high resolution
9898

9999
```bash
100-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
100+
python3 ./nanobanana.py \
101101
--prompt "Futuristic cityscape with flying cars" \
102102
--size 1344x768 \
103103
--resolution 2K \
@@ -107,7 +107,7 @@ python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
107107
### Edit existing images
108108

109109
```bash
110-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
110+
python3 ./nanobanana.py \
111111
--prompt "Add a rainbow in the sky" \
112112
--input photo.png \
113113
--output "photo-with-rainbow.png"
@@ -116,7 +116,7 @@ python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
116116
### Use pro model for higher quality
117117

118118
```bash
119-
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
119+
python3 ./nanobanana.py \
120120
--prompt "Detailed portrait of a cat in watercolor style" \
121121
--model gemini-3-pro-image-preview \
122122
--output "cat-portrait.png"

plugins/spec-kit-skill/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spec-kit-skill",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "GitHub Spec-Kit integration for constitution-based spec-driven development (7-phase workflow)",
55
"author": {
66
"name": "Pengfei Ni",

plugins/youtube-transcribe-skill/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "youtube-transcribe-skill",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Extract subtitles/transcripts from YouTube videos via CLI or browser automation",
55
"author": {
66
"name": "Pengfei Ni",

skills/autonomous-skill/scripts/run-session.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ DEFAULT_EFFORT="high"
2626
DEFAULT_PERMISSION_MODE="bypassPermissions"
2727
DEFAULT_COMPLETION_PROMISE="DONE"
2828

29-
# Resolve skill directory
30-
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
31-
SKILL_DIR="${CLAUDE_PLUGIN_ROOT}/skills/autonomous-skill"
32-
else
33-
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
34-
fi
29+
# Resolve skill directory (relative to this script)
30+
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
3531

3632
AUTONOMOUS_DIR=".autonomous"
3733

0 commit comments

Comments
 (0)