شعار Ai Reference Gallery

Ai Reference Gallery

المجتمع
vculjp
ai-reference-gallery

Standalone pose, depth, outfit and face reference Skill. Supports matched Depth maps, catalog face selection, natural-language selection, caching, reference boards, and 4/9-panel grids. No full gallery download or API key required.

نظرة عامة

الناشرvculjp
المستودعai-reference-gallery
اسم المهارةai-reference-gallery
النجوم
27
التفريعات
14
الملفات المرفقة
10
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 10

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها vculjp على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Ai Reference Gallery في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/vculjp/ai-reference-gallery/tree/main/.agents/skills/ai-reference-gallery
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vculjp/ai-reference-gallery.git /tmp/ai-reference-gallery
mkdir -p .claude/skills
cp -r /tmp/ai-reference-gallery/.agents/skills/ai-reference-gallery .claude/skills/ai-reference-gallery
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Ai Reference Gallery في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Ai Reference Gallery تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Ai Reference Gallery بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

AI Reference Gallery

Standalone after installation. The skill contains a versioned Catalog v1 manifest (data/catalog-v1.json.gz) plus compressed Canvas/i18n runtime (data/runtime.json.gz); it runs from ANY working directory, including E:\codex or an unrelated project. Only selected original images are fetched over HTTPS and cached for later use. Never require cloning the full gallery or copying catalog.js. This tool composes reference boards, not finished AI artwork.

Workflow

  1. Find this installed SKILL.md and run its sibling scripts/gallery.cjs with an absolute path (for example node "C:\Users\YOUR_NAME\.codex\skills\ai-reference-gallery\scripts\gallery.cjs" ...). The current directory controls where output files are written; it need not contain a gallery or any images.
  2. Run doctor first when a user's environment is unknown or exports fail. It checks Node.js, Chrome/Edge, bundled runtime, cache write permissions and output directory offline.
  3. Use --describe "春季自然站姿,不要性感风格" for explainable rule-based selection, or explicit category/ID filters. The selection JSON field lists matched and unsupported constraints. Never claim to understand unsupported styles (e.g. 日系) visually or semantically. search and categories work offline; never invent IDs.
  4. Run compose for separate two/three-image PNGs; use grid --size 4|9 --grid-mode pairs for 4/9 paired reference boards in one PNG (default), or grid --size 4|9 --grid-mode single --grid-source pose|outfit for a single-image grid where each cell contains one independent image. Single-image grids support --aspect square|portrait. If no fixed ID is requested, grids require distinct matching assets and fail clearly rather than silently repeating.
  5. The Skill downloads only the selected originals (static site, then GitHub fallback) and retains an SHA-256-checked local cache. Internet is needed only for uncached images. Read the returned JSON; output .png, .txt and .json paths accurately.

Commands

bash
# Run these from the installed Skill directory, OR invoke gallery.cjs by absolute path.
# On a Windows global Codex install, see the PowerShell example below.
# Explore available categories or catalog records (JSON output).
node scripts/gallery.cjs categories --type pose
node scripts/gallery.cjs catalog --type outfit --category spring --limit 10
node scripts/gallery.cjs catalog --format manifest
node scripts/gallery.cjs search --type pose --query "站姿" --limit 8
node scripts/gallery.cjs search --type depth --query "站姿" --limit 8
node scripts/gallery.cjs search --type outfit --category spring --query "white"
node scripts/gallery.cjs search --type portrait --category short --limit 10
node scripts/gallery.cjs catalog --type portrait --id f71f980dde3
node scripts/gallery.cjs doctor
node scripts/gallery.cjs search --type outfit --describe "春季穿搭不要性感风格" --limit 8

# Reproducible random combinations; no need to start a browser for searching.
node scripts/gallery.cjs compose --pose-category 站姿 --outfit-category spring --count 5 --seed street-01 --out-dir output/street

# Explicit pose and clothing image; optional third, user-owned person photo.
node scripts/gallery.cjs compose --pose-id full_sexy_P001_front --outfit-id SPR-0001 --person "C:/Photos/person.png" --out output/my-reference.png

# Select a real face from the portrait catalog instead of uploading a local photo.
node scripts/gallery.cjs compose --pose-id full_sexy_P001_front --outfit-id SPR-0001 --portrait-id f71f980dde3 --out output/face-reference.png
node scripts/gallery.cjs compose --pose-id full_sexy_P001_front --outfit-id SPR-0001 --use-depth --out output/depth-outfit.png
node scripts/gallery.cjs compose --pose-id full_sexy_P001_front --outfit-id SPR-0001 --depth-file "C:/Photos/depth.png" --out output/custom-depth.png
node scripts/gallery.cjs grid --size 9 --use-depth --out output/depth-grid.png
node scripts/gallery.cjs grid --size 9 --grid-mode single --grid-source depth --pose-category 站姿 --out output/depth-sheet.png
node scripts/gallery.cjs grid --size 4 --portrait-hair long --portrait-section face --out output/one-character-grid.png

# Custom outfit photo in slot two, without a catalog outfit.
node scripts/gallery.cjs compose --pose-id full_sexy_P001_front --outfit-image "C:/Photos/outfit.webp" --background soft --labels false --out output/custom.png

# Four-panel comparison grid: one PNG, four different looks (2 columns × 2 rows).
node scripts/gallery.cjs grid --size 4 --pose-category 站姿 --outfit-category spring --seed four-demo --out output/four-grid.png

# Nine-panel comparison grid: nine poses against the SAME outfit (3 × 3).
node scripts/gallery.cjs grid --size 9 --outfit-id SPR-0001 --seed nine-demo --out output/nine-grid.png

# One image in each cell: 3x3 pose sheet, or portrait 2x2 clothing sheet.
node scripts/gallery.cjs grid --size 9 --grid-mode single --grid-source pose --pose-category 站姿 --out output/poses.png
node scripts/gallery.cjs grid --size 4 --grid-mode single --grid-source outfit --aspect portrait --out output/outfits.png

# Natural-language constraints, seed makes the selection repeatable.
node scripts/gallery.cjs grid --size 9 --describe "日系春季穿搭,动作自然站姿,不要性感风格" --seed demo --out output/natural.png

# Four/nine variations of the SAME character with a user-provided third reference:
node scripts/gallery.cjs grid --size 4 --person "C:/Photos/person.png" --out output/my-character-grid.png

PowerShell from any folder, after installing the Skill through Codex:

powershell
$skill = "$env:USERPROFILE\.codex\skills\ai-reference-gallery\scripts\gallery.cjs"
node $skill search --type pose --query "站姿" --limit 5
node $skill grid --size 4 --pose-category 站姿 --outfit-category spring --out output/four-grid.png
node $skill grid --size 9 --grid-mode single --grid-source outfit --describe "春季服装" --out output/spring.png
node $skill doctor

Every standard reference board uses fixed left-to-right order: pose OR depth → outfit → optional person. With --use-depth, Depth replaces the pose instead of adding a third panel. In paired grids, each left-hand pose is replaced by its matched Depth. The grid command arranges boards in a numbered 2×2 or 3×3 matrix. The grid's .txt contains prompts for every cell. Only catalog images show catalog IDs. Images are contained without cropping. --person and --outfit-image accept local JPG, PNG or WebP up to 50 MB; --depth-file requires a local PNG. User photos stay local. Defaults are output/skill-compositions for compose and output/skill-grids/grid-4.png or grid-9.png for grid, relative to the caller's working directory.

--lang zh-CN|en|ja controls catalog labels and prompts. Random selection defaults to single-person poses; use --include-duo for two-person poses. compose --count ranges from 1 to 20; grid uses --size 4|9. Explicit --pose-id / --outfit-id locks an asset across cells. Otherwise grid outputs enforce distinct references. --describe uses local catalog rules, NOT AI image recognition; unsupported style terms are reported. Existing files are never overwritten without --overwrite.

PNG generation requires Node.js 22+ and installed Chrome or Edge. Set CHROME_PATH if auto-detection fails. No npm packages or remote API keys are required. Original downloads go into ~/.cache/ai-reference-gallery/img/ (override with AI_REFERENCE_CACHE_DIR); cached files get SHA-256 sidecars and are re-fetched if changed or corrupted. Downloader prints progress to stderr while keeping JSON output on stdout. AI_REFERENCE_ASSET_BASE can point to a trusted HTTPS static mirror. doctor, search and categories work without image downloads.

Faces come from AI Portrait Gallery by あぎ. Use --portrait-id, or --portrait-hair short|medium|semi-long|long with --portrait-section face|styling and --portrait-query. One selected face is shared across a batch or paired grid. --person FILE and catalog-face options are mutually exclusive. Original faces are downloaded and cached only when selected.

See usage and troubleshooting for search semantics and error recovery.

Guardrails

  • This is reference-board composition, not final image synthesis or automatic face replacement.
  • Do not upload local photos to external services or copy source images into the skill folder.
  • Catalog assets retain their original restrictions: read ASSETS.md before redistributing or commercializing materials. The code's MIT license does not grant blanket rights to the images.
  • If a category/keyword has no matches, report that and use search to find supported alternatives rather than silently changing the request.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Ai Reference Gallery؟

Standalone pose, depth, outfit and face reference Skill. Supports matched Depth maps, catalog face selection, natural-language selection, caching, reference boards, and 4/9-panel grids. No full gallery download or API key required.

لماذا تستخدم Ai Reference Gallery على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Ai Reference Gallery عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Ai Reference Gallery في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/vculjp/ai-reference-gallery/tree/main/.agents/skills/ai-reference-gallery. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Ai Reference Gallery؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Ai Reference Gallery؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Ai Reference Gallery معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Ai Reference Gallery مجانية؟

نعم. نشرها vculjp على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇