شعار Holo Card

Holo Card

المجتمع
LerSent001
holo-card

Create interactive holographic cards from supplied images with colored layers, repaired scenery, signed parallax and contour glow. Use Codex native image tools with local assembly, or an explicitly selected independent API workflow.

نظرة عامة

الناشرLerSent001
المستودعholo-card
اسم المهارةholo-card
النجوم
269
التفريعات
32
الملفات المرفقة
16
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Holo Card

Execution paths

Codex default: built-in image tool → inspect/repair layers → local native.py assembly. No API key, server or paid API request is required. Never run API setup as a prerequisite.

Independent API mode: for agents without native image tools or an explicitly selected API workflow, read API instructions. The included service currently uses legacy four-mask extraction without hidden-region repair. Do not claim native/API visual parity.

A safety refusal is not a missing-alpha error. Preserve the actual refusal and stop that generation; never rewrite prompts or switch providers to bypass it. API mode is not a workaround for a blocked image. For apparent false positives, use the provider's support process or different permitted material. API failures and uncertain submissions must not trigger automatic paid retries.

Current instructions and resuming

Use this installed entrypoint and scripts/native.py as the current native workflow. Do not load prompts from old output ZIPs, copied examples or prior conversation snippets. For a saved job, run native.py status --job ... before reading prompts.json: it refreshes that working prompt file from the current helper without changing the existing images or generation references. Obsolete native mask-only jobs are rejected; prepare a new colored-layer job instead. The explicit API service is a separate implementation, never a source of native prompts.

Native workflow

  1. Inspect the actual supplied image with view_image. Do not identify/name illustrated characters unless needed. Do not substitute an example.
  2. Prepare a persistent job:
sh
python3 <skill-dir>/scripts/native.py prepare --source /absolute/card.png --output /absolute/new-job --name 'Holo Card'

The helper requires Pillow. It saves the original, normalized source, state and prompts without network access. Read the newly prepared or refreshed prompts.json before generation.

  1. Generate separate colored layers with the built-in image tool:
    • Character: continuous colored foreground, preserving clothing, anatomy and dark details. Remove overlaid text and repair the concealed artwork coherently. Use a regular neutral checkerboard matte outside the silhouette; convert it locally to an alpha mask before final import.
    • Background: identify scenery and reconstruct every area hidden by subjects, typography and frame. Produce a complete opaque plate, without holes, glyphs or frame fragments, with room for moving crops.
    • UI: combine original text, numbers, symbols, panels and the entire decorative frame at one depth. Preserve glyphs, colors and layout. Use the same checkerboard-matte workflow outside actual UI shapes.
    • Structure: derive thin white structural contours on black from the final repaired character layer, on exactly the same canvas. No filled regions, text, frame or scenery.

Use the source card for the first three layers and the final character for contours. Preserve canvas, position and scale; do not independently recenter or fit layers. Inpainting is inferred repair, not recovery of unknown original pixels. The first three layers stay colored; only structure is a luminance mask.

  1. Treat colored generation and alpha preparation as separate stages. In this native workflow, expect RGB/checkerboard output; do not require the image generator to emit an alpha channel, and do not repeatedly request "transparent PNG" to resolve this. If an input already has valid alpha, preserve it. For character/UI, inspect the actual returned image, identify its checkerboard matte, and prepare the aligned local mask described below. Then import each finished layer:
sh
python3 <skill-dir>/scripts/native.py add --job /absolute/job --kind character --image /actual/output.png --tool-reference 'Actual generation or repair record'

Repeat for background, ui, and structure. Raw inputs and hashes are retained. Use --replace only for an authorized replacement. Aspect errors require review, not silent cropping.

  1. Assemble, inspect, and deliver:
sh
python3 <skill-dir>/scripts/native.py assemble --job /absolute/job
python3 <skill-dir>/scripts/native.py status --job /absolute/job

Outputs include four RGBA assets, self-contained HTML, ZIP and provenance. Assembly completion is not visual approval. Inspect actual results before claiming fidelity. No automatic publishing is performed.

Required matte-to-mask stage: affected regions only

A checkerboard preview is not a file alpha channel. Read actual pixel alpha to distinguish them. Native generation need not provide alpha: for an RGB/checkerboard character or UI output, local matte removal is a normal required stage, not a missing capability or a terminal failure. add saves such an input as needs_alpha_mask and returns the next action. Continue preparing its mask and applying it; do not end with "no transparency, cannot import" or ask the user to fix it. This helper stages the work; it does not automatically infer a correct mask.

Use correctly transparent inputs directly. Do not ask the generator for another full-element mask by default. Build the local mask for the actual retained artwork, adjusting only contaminated background regions. An opaque image containing ordinary scenery rather than checkerboard needs actual subject separation first; never pretend that scenery is checkerboard.

If a colored output contains baked checkerboard pixels, first verify the artwork is otherwise usable. Identify only the contaminated background regions and remove that checkerboard locally, preserving existing valid alpha, clothing, skin, white highlights, text and frame. Never globally erase gray/white colors or derive subject alpha from artwork brightness. Use spatially constrained selections and connected matte regions, not global color thresholding. Include enclosed background gaps between hair, limbs, accessories and clothing. Preserve white hair/fur, dark clothes, skin, metallic reflections and small lettering. For ambiguous edges, inspect at full size and use small auxiliary selections; write the complete aligned mask locally (0 background, 255 retained artwork, intermediate edge coverage). Check black and white composites; repair edge RGB contamination as well as alpha. Local repair cannot fix changed pose or layout.

An optional helper applies an independently prepared, aligned grayscale correction mask without altering RGB. It does not predict masks or remove checkerboards automatically:

sh
python3 <skill-dir>/scripts/native.py apply-alpha --job /absolute/job --kind character --color /absolute/color.png --mask /absolute/correction.png --tool-reference 'Exact local correction method'

The mask must match image dimensions, use L/1 mode and contain opaque/transparent coverage. Supply the complete desired alpha with unaffected areas preserved. The helper saves input hashes and black/white review images. For UI, retain original colored pixels where possible rather than regenerating typography. Do not use alpha repair to bypass a refused generation.

Repair matte selection errors

When matte removal damages light artwork or detached details, read matte region selection. Its optional scripts/matte_regions.py removes only explicitly seeded candidate components, respects protected artwork, and preserves existing alpha elsewhere. Never infer background from region size, keep only the largest foreground component, or reuse previous-card coordinates. Candidate selection and edge quality still require visual inspection.

Layer acceptance before rendering

Judge all four layers separately before enabling foil or glow. Complexity is a reason for careful local selection, not permission to substitute these steps:

  • Character: retain the main figure and attached hair, tails, clothes and accessories; exclude typography, scenery, poster portraits and unrelated decorative creatures. Identify the roles from the actual composition. Preserve original canvas and placement instead of fitting the cutout to its bounding box.
  • Background: remove the main figure and overlays and reconstruct the concealed scene. Never use the original image enlarged, blurred or dimmed as the completed plate; it creates a second figure under parallax. A fully opaque file alone does not prove successful inpainting.
  • UI: keep text, panels, decorative frame and editorial inset portraits together when appropriate. Preserve their original pixels/layout where possible. Do not transfer inset faces or poster text into the main-character layer.
  • Structure: derive from the final repaired character, at the identical size and position. Restrict to selected structural contours; discard checkerboard edges, text, scenery, inset-panel boundaries and dense texture noise. Subject alpha removes outside contamination but cannot by itself distinguish hair/fabric texture from useful structural lines. Inspect an overlay on the character before rendering; never align independently normalized bounding boxes.
  • First inspect the color composite with contour glow OFF, then tilt both ways. Reject repeated people, retained background silhouettes, missing interiors, displaced text and checkerboard remnants before glow testing. Bloom must not disguise extraction errors. Record actual inspection and remaining defects; completed only means assembly succeeded.

Rendering contract

  • English controls: Depth and Contour glow. Depth defaults to 0 at the midpoint of -3…+3; no left/right direction captions.
  • Signed depth changes foreground parallax: negative inward, positive outward. It NEVER changes stacking: background → character → combined text/frame UI at every value. UI also occludes emission and bloom.
  • Background moves independently with view, including when depth is 0. Reference mapping: b=(p-.5)*.5+.5-view*.25 (2× background crop). Foreground and its contour use the same coordinates.
  • Use supplied decorative frame; do not overlay an invented procedural rim. Preserve HDR/RGBM bloom and backside isolation. Default contour glow is 0.15; zero disables contour light without removing foil lighting.
  • Check -3, 0 and +3 at the same tilted view, glow zero/modest, black/white alpha composites, and front/back. Reject holes, checkerboard residue, doubled/moving text, misaligned anatomy and contour drift. Do not hide defects under bloom.

Local browser preview

Serve the output folder on loopback with a persistent static server and open its real http://127.0.0.1:PORT/index.html URL. Inspect the browser and retain the preview tab. A queued file panel does not prove a browser loaded. This does not authorize public website deployment.

Attribution

Creative inspiration: @乌托邦的香蕉, using the same name on Xiaohongshu (小红书) and Bilibili (B站). This acknowledges inspiration, not authorship of this implementation or endorsement. No profile URL is asserted without verification.

  • Contour glow is restricted to the structural line coverage multiplied by foreground alpha and UI exclusion. Mask the final blurred bloom by that same line coverage; no halo may spill into scenery or flat subject interiors. Compare glow 0 and maximum at a fixed view; only contour-covered pixels may change. Background foil lighting is independent.

Phone preview

Every generated viewer supports optional device orientation, touch drag, tap-to-flip and Recenter. Motion starts only after the viewer clicks Enable motion; iOS permission is requested inside that gesture. HTTPS is required. Drag temporarily overrides motion. Each device keeps its own depth and glow values; no synchronization service is used. Verify permission denial, missing sensors, calibration and screen rotation separately from actual phone sensor testing.

When the user requests a phone-accessible preview, host the generated HTML on an authorized HTTPS destination. With its exact URL, add an offline QR entry using the optional qrcode Python dependency:

sh
python3 <skill-dir>/scripts/native.py assemble --job /absolute/job --preview-url https://actual-host.example/card

Publish the updated HTML containing the QR entry to that same URL. This argument generates a link and QR only; it does not upload or establish availability. Preserve the target access policy and state if the link requires login. Do not claim real phone verification from synthetic orientation events.

Signed depth and clipping

Positive depth lets character and combined text/frame layers extend outside the background card boundary on an oversized transparent rendering surface. Keep the background clipped to its rounded card boundary. Text/frame depth is clamped to zero for negative slider values; its own rounded clipping boundary moves with the layer. Negative character depth uses the original 0.06 view-offset coefficient and remains clipped to the card. Positive character and text offsets use 0.08 and 0.14 respectively. Do not simulate depth by scaling artwork. Preserve UI stacking, aligned character/contour coordinates, and hide the whole front surface when the back is visible.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Holo Card؟

Create interactive holographic cards from supplied images with colored layers, repaired scenery, signed parallax and contour glow. Use Codex native image tools with local assembly, or an explicitly selected independent API workflow.

لماذا تستخدم Holo Card على TypingMind؟

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

كيف أثبّت Holo Card في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Holo Card؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Holo Card؟

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

هل مهارة الذكاء الاصطناعي Holo Card مجانية؟

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

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

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

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

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

عرض الكل

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

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