@yeongjaeyou/claude-code-config 0.18.6 → 0.18.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/.claude/commands/gh/auto-review-loop.md +2 -2
  2. package/.claude/commands/gh/decompose-issue.md +12 -12
  3. package/.claude/commands/gh/resolve-and-review.md +1 -1
  4. package/.claude/guidelines/id-reference.md +2 -2
  5. package/.claude/guidelines/prd-guide.md +13 -13
  6. package/.claude/guidelines/work-guidelines.md +1 -1
  7. package/.claude/hooks/notify_osc.sh +7 -7
  8. package/.claude/skills/code-explorer/SKILL.md +21 -21
  9. package/.claude/skills/midjourney-imagineapi/SKILL.md +260 -0
  10. package/.claude/skills/midjourney-imagineapi/references/imagineapi-integration.md +197 -0
  11. package/.claude/skills/midjourney-imagineapi/references/midjourney-parameters.md +393 -0
  12. package/.claude/skills/midjourney-imagineapi/references/midjourney-style-guide.md +296 -0
  13. package/.claude/skills/midjourney-imagineapi/references/prompt-examples.md +428 -0
  14. package/.claude/skills/notion-md-uploader/scripts/__pycache__/markdown_parser.cpython-311.pyc +0 -0
  15. package/.claude/skills/notion-md-uploader/scripts/__pycache__/notion_client.cpython-311.pyc +0 -0
  16. package/.claude/skills/notion-md-uploader/scripts/__pycache__/notion_converter.cpython-311.pyc +0 -0
  17. package/.claude/skills/notion-md-uploader/scripts/__pycache__/upload_md.cpython-311.pyc +0 -0
  18. package/package.json +1 -1
  19. package/.claude/skills/youtube-collector/README.md +0 -107
  20. package/.claude/skills/youtube-collector/SKILL.md +0 -158
  21. package/.claude/skills/youtube-collector/references/data-schema.md +0 -110
  22. package/.claude/skills/youtube-collector/scripts/collect_videos.py +0 -304
  23. package/.claude/skills/youtube-collector/scripts/fetch_transcript.py +0 -138
  24. package/.claude/skills/youtube-collector/scripts/fetch_videos.py +0 -229
  25. package/.claude/skills/youtube-collector/scripts/register_channel.py +0 -247
  26. package/.claude/skills/youtube-collector/scripts/setup_api_key.py +0 -151
@@ -0,0 +1,197 @@
1
+ # ImagineAPI MCP Integration Guide
2
+
3
+ Guide for using the Midjourney Proxy MCP server to generate images via ImagineAPI.
4
+
5
+ ## Table of Contents
6
+
7
+ - [Available MCP Tools](#available-mcp-tools)
8
+ - [Available MCP Resources](#available-mcp-resources)
9
+ - [Typical Workflow](#typical-workflow)
10
+ - [Prompt Format](#prompt-format)
11
+ - [Error Handling](#error-handling)
12
+ - [Best Practices](#best-practices)
13
+ - [Integration with Prompt Optimization](#integration-with-prompt-optimization)
14
+
15
+ ---
16
+
17
+ ## Available MCP Tools
18
+
19
+ These tools are available when the midjourney-proxy-mcp MCP server is connected. Call them directly as MCP tools.
20
+
21
+ ### midjourney_imagine
22
+
23
+ Generate images from a prompt.
24
+
25
+ | Parameter | Type | Required | Description |
26
+ |-----------|------|----------|-------------|
27
+ | `prompt` | string | Yes | The image generation prompt with Midjourney parameters |
28
+ | `ref` | string | No | Optional reference ID for tracking |
29
+
30
+ Response includes:
31
+ - `id`: Generation ID for status tracking
32
+ - `status`: Current status (pending, in-progress, completed, failed)
33
+ - `prompt`: The submitted prompt
34
+ - `created_at`: Timestamp
35
+
36
+ ### midjourney_get_status
37
+
38
+ Check generation status and retrieve results.
39
+
40
+ | Parameter | Type | Required | Description |
41
+ |-----------|------|----------|-------------|
42
+ | `image_id` | string | Yes | Generation ID from midjourney_imagine response |
43
+
44
+ Response includes:
45
+ - `status`: Current status
46
+ - `url`: Generated image URL (when completed)
47
+ - `upscaled_urls`: Array of upscaled image URLs (when available)
48
+ - `progress`: Progress percentage (when in-progress)
49
+
50
+ ### midjourney_list_images
51
+
52
+ List recent image generations.
53
+
54
+ | Parameter | Type | Required | Description |
55
+ |-----------|------|----------|-------------|
56
+ | `limit` | integer | No | Number of results (default: 10, max: 100) |
57
+ | `status` | string | No | Filter by status (pending, in-progress, completed, failed) |
58
+
59
+ ---
60
+
61
+ ## Available MCP Resources
62
+
63
+ ### midjourney://generations
64
+
65
+ List all generations.
66
+
67
+ ```
68
+ Read resource: midjourney://generations
69
+ ```
70
+
71
+ ### midjourney://generations/{status}
72
+
73
+ Filter generations by status.
74
+
75
+ ```
76
+ Read resource: midjourney://generations/completed
77
+ Read resource: midjourney://generations/pending
78
+ Read resource: midjourney://generations/failed
79
+ ```
80
+
81
+ ### midjourney://generation/{id}
82
+
83
+ Get single generation details.
84
+
85
+ ```
86
+ Read resource: midjourney://generation/abc123-def456
87
+ ```
88
+
89
+ ### midjourney://stats
90
+
91
+ Generation statistics.
92
+
93
+ ```
94
+ Read resource: midjourney://stats
95
+ ```
96
+
97
+ ---
98
+
99
+ ## Typical Workflow
100
+
101
+ ### 1. Generate Image
102
+
103
+ Call `midjourney_imagine` with your optimized prompt:
104
+ - Include all Midjourney parameters in the prompt string
105
+ - Save the returned `id` for status checking
106
+
107
+ ### 2. Check Status
108
+
109
+ Call `midjourney_get_status` with the image ID:
110
+ - Poll every 10-15 seconds
111
+ - Status progression: `pending` -> `in-progress` -> `completed`
112
+
113
+ ### 3. Retrieve Results
114
+
115
+ When status is `completed`:
116
+ - `url`: Main generated image (grid of 4)
117
+ - `upscaled_urls`: Higher resolution versions (automatically generated)
118
+
119
+ ---
120
+
121
+ ## Prompt Format
122
+
123
+ The prompt string should include all Midjourney parameters:
124
+
125
+ ```
126
+ [description] [parameters]
127
+ ```
128
+
129
+ Examples:
130
+
131
+ ```
132
+ "cinematic portrait of a samurai warrior --ar 16:9 --s 250 --q 2"
133
+
134
+ "minimalist product photography of headphones --ar 1:1 --s 100 --no background"
135
+
136
+ "fantasy landscape with floating islands --ar 21:9 --s 500 --w 100"
137
+ ```
138
+
139
+ Parameters are appended directly to the prompt text, exactly as they would be used in Midjourney Discord.
140
+
141
+ ---
142
+
143
+ ## Error Handling
144
+
145
+ ### Common Errors
146
+
147
+ | Error | Cause | Solution |
148
+ |-------|-------|----------|
149
+ | `invalid_prompt` | Blocked content or invalid syntax | Revise prompt content |
150
+ | `rate_limited` | Too many requests | Wait and retry |
151
+ | `timeout` | Generation took too long | Retry or simplify prompt |
152
+ | `failed` | Generation failed | Check prompt and retry |
153
+
154
+ ### Retry Strategy
155
+
156
+ 1. Call `midjourney_imagine`
157
+ 2. Poll `midjourney_get_status` every 10-15 seconds
158
+ 3. If failed, analyze error and retry with adjusted prompt
159
+ 4. Maximum 3 retries before reporting failure
160
+
161
+ ---
162
+
163
+ ## Best Practices
164
+
165
+ 1. Always include essential parameters (--ar at minimum)
166
+ 2. Check status before reporting results to user
167
+ 3. Provide upscaled_urls when available (higher quality)
168
+ 4. Handle failures gracefully with retry logic
169
+ 5. Store generation IDs for later reference
170
+ 6. Use `midjourney_list_images` to check recent generations and avoid duplicates
171
+
172
+ ---
173
+
174
+ ## Integration with Prompt Optimization
175
+
176
+ When using this skill:
177
+
178
+ 1. Transform user request into optimized prompt (see midjourney-style-guide.md)
179
+ 2. Add appropriate parameters (see midjourney-parameters.md)
180
+ 3. Call `midjourney_imagine` with the complete prompt string
181
+ 4. Monitor status with `midjourney_get_status` and return results
182
+
183
+ Example flow:
184
+ ```
185
+ User: "photo of a cat"
186
+
187
+ 1. Optimize prompt:
188
+ "professional photography of a tabby cat with green eyes,
189
+ soft natural window light, shallow depth of field,
190
+ warm color grading --ar 4:5 --s 150 --q 2"
191
+
192
+ 2. Call midjourney_imagine with optimized prompt
193
+
194
+ 3. Poll midjourney_get_status until completed
195
+
196
+ 4. Return image URL and upscaled versions to user
197
+ ```
@@ -0,0 +1,393 @@
1
+ # Midjourney V7 Parameter Reference
2
+
3
+ Complete parameter guide for Midjourney V7 (default model since June 2025).
4
+
5
+ ## Table of Contents
6
+
7
+ - [Quick Reference Table](#quick-reference-table)
8
+ - [Core Parameters](#core-parameters)
9
+ - [V7-Specific Parameters](#v7-specific-parameters)
10
+ - [Reference System](#reference-system)
11
+ - [V7 vs V6.1 Compatibility](#v7-vs-v61-compatibility)
12
+ - [Parameter Combinations](#parameter-combinations)
13
+ - [Best Practices](#best-practices)
14
+ - [Sources](#sources)
15
+
16
+ ---
17
+
18
+ ## Quick Reference Table
19
+
20
+ | Parameter | Syntax | Range | Default | Notes |
21
+ |-----------|--------|-------|---------|-------|
22
+ | Version | `--v 7` | - | 7 | Current default |
23
+ | Aspect Ratio | `--ar W:H` | any | 1:1 | No limit |
24
+ | Stylize | `--s` | 0-1000 | 100 | Artistic influence |
25
+ | Chaos | `--c` | 0-100 | 0 | Variation between images |
26
+ | Quality | `--q` | 1, 2, 4 | 1 | Detail level |
27
+ | Seed | `--seed` | 0-4294967295 | random | Reproducibility |
28
+ | Weird | `--w` | 0-3000 | 0 | Unconventional results |
29
+ | Experimental | `--exp` | 0-100 | 0 | Enhanced details (V7 only) |
30
+ | Raw Mode | `--raw` | - | off | Less artistic interpretation |
31
+ | Draft | `--draft` | - | off | 10x faster, half cost (V7 only) |
32
+ | Omni Ref | `--oref` | URL | - | Character/object reference (V7) |
33
+ | Omni Weight | `--ow` | 1-1000 | 100 | Reference strength |
34
+ | Style Ref | `--sref` | URL/code | - | Style reference |
35
+ | Style Weight | `--sw` | 0-1000 | 100 | Style strength |
36
+ | Style Version | `--sv` | 1-6 | 6 | Sref model version |
37
+ | Image Weight | `--iw` | 0-3 | 1 | Image prompt influence |
38
+ | No | `--no` | text | - | Negative prompt |
39
+ | Tile | `--tile` | - | off | Seamless patterns |
40
+
41
+ ---
42
+
43
+ ## Core Parameters
44
+
45
+ ### Aspect Ratio (--ar)
46
+
47
+ Controls output image dimensions.
48
+
49
+ ```
50
+ --ar 16:9 # Widescreen, cinematic
51
+ --ar 9:16 # Vertical, mobile/portrait
52
+ --ar 1:1 # Square (default)
53
+ --ar 3:2 # Classic photo
54
+ --ar 4:5 # Portrait, Instagram
55
+ --ar 21:9 # Ultra-wide, panoramic
56
+ ```
57
+
58
+ Common use cases:
59
+ - Landscape/cinematic: `16:9`, `21:9`
60
+ - Portrait/character: `9:16`, `4:5`, `2:3`
61
+ - Product/social: `1:1`, `4:5`
62
+
63
+ ### Stylize (--s)
64
+
65
+ Controls how strongly Midjourney applies its aesthetic training.
66
+
67
+ | Value | Effect |
68
+ |-------|--------|
69
+ | 0-50 | Very literal, minimal artistic interpretation |
70
+ | 50-100 | Balanced (default: 100) |
71
+ | 100-300 | More artistic, stylized |
72
+ | 300-600 | Highly stylized |
73
+ | 600-1000 | Maximum artistic interpretation |
74
+
75
+ ```
76
+ --s 50 # Closer to prompt, less stylization
77
+ --s 250 # Moderately stylized
78
+ --s 750 # Heavily stylized, artistic
79
+ ```
80
+
81
+ ### Chaos (--c)
82
+
83
+ Controls variation between the 4 generated images.
84
+
85
+ | Value | Effect |
86
+ |-------|--------|
87
+ | 0 | Very similar results (default) |
88
+ | 1-25 | Subtle variation |
89
+ | 25-50 | Moderate variation |
90
+ | 50-100 | Highly varied results |
91
+
92
+ ```
93
+ --c 0 # Consistent results
94
+ --c 25 # Some variety
95
+ --c 75 # Explore different interpretations
96
+ ```
97
+
98
+ ### Quality (--q)
99
+
100
+ Controls detail level and generation time.
101
+
102
+ | Value | Effect | GPU Cost |
103
+ |-------|--------|----------|
104
+ | 1 | Standard quality (default) | 1x |
105
+ | 2 | Higher detail | 2x |
106
+ | 4 | Maximum detail (V7 only) | 4x |
107
+
108
+ ```
109
+ --q 1 # Standard, fast
110
+ --q 2 # Enhanced detail
111
+ --q 4 # Maximum fidelity (V7)
112
+ ```
113
+
114
+ ### Weird (--w)
115
+
116
+ Introduces unconventional, unexpected elements.
117
+
118
+ | Value | Effect |
119
+ |-------|--------|
120
+ | 0 | Normal output (default) |
121
+ | 1-100 | Subtle oddities |
122
+ | 100-500 | Noticeable weirdness |
123
+ | 500-1500 | Very unusual |
124
+ | 1500-3000 | Extremely unconventional |
125
+
126
+ ```
127
+ --w 50 # Slight quirks
128
+ --w 500 # Noticeably strange
129
+ --w 1500 # Very experimental
130
+ ```
131
+
132
+ Note: Keep 5-30 for controlled results. Does not work well with mood boards.
133
+
134
+ ### No (--no)
135
+
136
+ Negative prompt - excludes specified elements.
137
+
138
+ ```
139
+ --no text, watermark # Remove text/watermarks
140
+ --no people, humans # Exclude people
141
+ --no blur, noise # Avoid artifacts
142
+ --no red # Exclude color
143
+ ```
144
+
145
+ Multiple exclusions: comma-separated or multiple --no parameters.
146
+
147
+ ### Seed (--seed)
148
+
149
+ Controls randomness for reproducibility.
150
+
151
+ ```
152
+ --seed 12345 # Specific seed for consistent results
153
+ ```
154
+
155
+ Use same seed + same prompt = similar output. Useful for:
156
+ - Iterating on a concept
157
+ - Creating variations of a successful image
158
+ - A/B testing parameter changes
159
+
160
+ ---
161
+
162
+ ## V7-Specific Parameters
163
+
164
+ ### Draft Mode (--draft)
165
+
166
+ 10x faster generation at half GPU cost. V7 exclusive.
167
+
168
+ ```
169
+ --draft # Enable draft mode
170
+ ```
171
+
172
+ Best for:
173
+ - Rapid prototyping
174
+ - Iterative concept development
175
+ - Testing prompt variations
176
+
177
+ Workflow:
178
+ 1. Generate with `--draft`
179
+ 2. Iterate 5-10 times
180
+ 3. Use "Enhance" on best result for full quality
181
+
182
+ ### Experimental (--exp)
183
+
184
+ Enhances details and creativity. V7 exclusive.
185
+
186
+ | Value | Effect |
187
+ |-------|--------|
188
+ | 0 | Off (default) |
189
+ | 5 | Subtle enhancement |
190
+ | 10 | Light detail boost |
191
+ | 25 | Moderate enhancement |
192
+ | 50 | Strong creative boost |
193
+ | 100 | Maximum effect |
194
+
195
+ ```
196
+ --exp 5 # Subtle detail enhancement
197
+ --exp 25 # Noticeable improvement
198
+ --exp 50 # Strong creative effect
199
+ ```
200
+
201
+ Tips:
202
+ - Start low (5-10) when combining with other parameters
203
+ - High values (>25-50) can overwhelm --stylize and --p
204
+ - Avoid for literal prompt interpretation or consistency needs
205
+
206
+ ### Raw Mode (--raw)
207
+
208
+ Less artistic interpretation, more literal output.
209
+
210
+ ```
211
+ --raw # Enable raw mode
212
+ ```
213
+
214
+ Note: In V7, use `--raw` instead of `--style raw`.
215
+
216
+ ---
217
+
218
+ ## Reference System
219
+
220
+ ### Style Reference (--sref)
221
+
222
+ Transfer visual style from reference images.
223
+
224
+ ```
225
+ prompt --sref <image_url> # Single reference
226
+ prompt --sref <url1> <url2> # Multiple references
227
+ prompt --sref random # Random style code
228
+ prompt --sref 123456789 # Style code
229
+ ```
230
+
231
+ ### Style Weight (--sw)
232
+
233
+ Controls style reference strength.
234
+
235
+ ```
236
+ --sw 50 # Subtle style influence
237
+ --sw 100 # Default
238
+ --sw 500 # Strong style adherence
239
+ --sw 1000 # Maximum style influence
240
+ ```
241
+
242
+ In V7, --sw has more impact with sref codes than with images.
243
+
244
+ ### Style Version (--sv)
245
+
246
+ Controls which sref model to use.
247
+
248
+ | Value | Description |
249
+ |-------|-------------|
250
+ | --sv 6 | New V7 default (since June 2025) |
251
+ | --sv 4 | Old V7 sref model (pre-June 2025) |
252
+ | --sv 1-6 | Full range for uploaded images |
253
+
254
+ ```
255
+ --sref random --sv 6 # New V7 style model
256
+ --sref random --sv 4 # Legacy V7 style model
257
+ ```
258
+
259
+ Old sref codes still work; use `--sv 4` for compatibility.
260
+
261
+ ### Omni Reference (--oref)
262
+
263
+ Character/object reference system. Replaces --cref from V6.
264
+
265
+ ```
266
+ prompt --oref <image_url> # Reference image
267
+ prompt --oref <url> --ow 200 # With weight
268
+ ```
269
+
270
+ Features:
271
+ - Works with characters, objects, vehicles, creatures
272
+ - Better compatibility with external images
273
+ - Higher consistency for subject preservation
274
+
275
+ ### Omni Weight (--ow)
276
+
277
+ Controls omni reference strength.
278
+
279
+ | Value | Effect |
280
+ |-------|--------|
281
+ | 1-100 | Allow style changes, preserve key features |
282
+ | 100-200 | Balanced (default: 100) |
283
+ | 200-400 | Strong fidelity for facial features/details |
284
+ | 400+ | Only with high stylize values |
285
+
286
+ ```
287
+ --ow 50 # Flexible, allows style variation
288
+ --ow 200 # Strong character preservation
289
+ --ow 300 # Maximum fidelity (use carefully)
290
+ ```
291
+
292
+ Tips:
293
+ - Keep under 400 unless using high stylize values
294
+ - High --stylize or --exp requires higher --ow for character preservation
295
+ - Example: `--stylize 1000 --ow 400 --exp 100`
296
+
297
+ Limitations:
298
+ - Not compatible with: Fast Mode, Draft Mode, --q 4
299
+ - Uses 2x GPU time compared to regular V7 images
300
+ - Not compatible with: Vary Region, Pan, Zoom Out
301
+
302
+ ### Image Weight (--iw)
303
+
304
+ Controls influence of image prompts.
305
+
306
+ ```
307
+ --iw 0.5 # Less image influence
308
+ --iw 1 # Default balance
309
+ --iw 2 # Strong image influence
310
+ --iw 3 # Maximum image influence
311
+ ```
312
+
313
+ ---
314
+
315
+ ## V7 vs V6.1 Compatibility
316
+
317
+ ### Supported in V7
318
+ - All core parameters (--ar, --s, --c, --q, --w, --no)
319
+ - Reference system (--sref, --oref)
320
+ - New features (--draft, --exp)
321
+
322
+ ### Not Supported in V7
323
+ - Multi-Prompting (`::` weight syntax)
324
+ - Stop Parameter (--stop)
325
+ - Character Reference (--cref) - replaced by --oref
326
+
327
+ ### V6.1 Fallback Features
328
+ These use V6.1 rendering even when V7 is selected:
329
+ - Upscalers (Subtle & Creative)
330
+ - Pan
331
+ - Zoom Out
332
+ - Inpainting (Editor)
333
+
334
+ ---
335
+
336
+ ## Parameter Combinations
337
+
338
+ ### Portrait Photography
339
+ ```
340
+ cinematic portrait --ar 4:5 --s 150 --q 2
341
+ ```
342
+
343
+ ### Landscape/Cinematic
344
+ ```
345
+ epic landscape --ar 16:9 --s 200 --q 2
346
+ ```
347
+
348
+ ### Character Consistency
349
+ ```
350
+ character description --oref <url> --ow 200 --s 100
351
+ ```
352
+
353
+ ### Style Transfer
354
+ ```
355
+ subject description --sref <style_url> --sw 300 --s 150
356
+ ```
357
+
358
+ ### Experimental Art
359
+ ```
360
+ abstract concept --exp 50 --w 100 --s 500
361
+ ```
362
+
363
+ ### Rapid Iteration
364
+ ```
365
+ concept idea --draft --c 50
366
+ ```
367
+
368
+ ### Production Quality
369
+ ```
370
+ detailed scene --q 4 --s 200 --exp 10
371
+ ```
372
+
373
+ ---
374
+
375
+ ## Best Practices
376
+
377
+ 1. Start with defaults, adjust incrementally
378
+ 2. Use --draft for exploration, enhance winners
379
+ 3. Combine --oref with --sref for character + style consistency
380
+ 4. Keep --ow under 400 unless using high --stylize
381
+ 5. Use --seed for reproducible iterations
382
+ 6. V7 treats entire prompt equally - word order matters less
383
+ 7. Short, high-signal phrases work well in V7
384
+
385
+ ---
386
+
387
+ ## Sources
388
+
389
+ - [Midjourney Parameter List](https://docs.midjourney.com/hc/en-us/articles/32859204029709-Parameter-List)
390
+ - [Midjourney Version Documentation](https://docs.midjourney.com/hc/en-us/articles/32199405667853-Version)
391
+ - [Omni Reference Guide](https://docs.midjourney.com/hc/en-us/articles/36285124473997-Omni-Reference)
392
+ - [Style Reference Documentation](https://docs.midjourney.com/hc/en-us/articles/32180011136653-Style-Reference)
393
+ - [Draft & Conversational Modes](https://docs.midjourney.com/hc/en-us/articles/35577175650957-Draft-Conversational-Modes)