شعار Duo Camera

Duo Camera

المجتمع
Kimeur
duo-camera

Camera capture on iPhone Duo, Apple's foldable. Use when an app takes photos or video, runs a video call or shows a camera preview, and must work closed (outer display), open (inner display), partly folded (book, tabletop), open and turned around (flipped) and through fold and unfold. Covers the virtual front camera (.builtInWideAngleCamera or .builtInUltraWideCamera at .front; shared features only, up to 1080p at 60 fps, no depth), the physical front cameras (.builtInOuterUltraWideCamera, .builtInInnerUltraWideCamera), choosing a camera by the way it faces with AVCaptureDeviceDirectionCoordinator (AVKit) and AVCaptureDeviceDescriptor, mirroring a rear-camera selfie, AVCaptureDevice.RotationCoordinator across displays, the square front sensor and dynamicAspectRatio, a subject preview on the outer display with CameraCaptureAccessory, tabletop hands-free capture, and Split View interruptions. The simulator has no camera: the code typechecks; capture is unverified on a device.

نظرة عامة

الناشرKimeur
المستودعduology
اسم المهارةduo-camera
النجوم
40
التفريعات
2
الملفات المرفقة
5
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

duo-camera

iPhone Duo has a front camera above each display, rear cameras, and a hinge that turns them around. Which way a camera points depends on the display your app is on. This skill tells you which camera to use, how to follow it through a fold, and how to lay out capture for each pose.

Load neighbours when the task needs them: duo-scenes (the camera capture accessory's lifecycle and UIKit registration), duo-postures (tabletop and flipped layouts), duo-layout (reserved regions, including the inner camera's occlusion), duo-continuity (state through a fold). To start a new camera app with all of this in place, use recipe-camera-studio.

No camera in the simulator. The iPhone Duo simulator has no camera. Measured (20 Oct 2026): every discovery session returned no device, and a direction coordinator kept an empty map and never called its handler (we watched for up to 2 minutes). So every capture behaviour in this skill comes from Apple's pages and is unverified on a device. All Swift code here typechecks against the iOS 27.1 SDK; none of it has run with a real camera.

Labels: measured means we ran it on the iPhone Duo simulator (iOS 27.1). Derived means reasoning from Apple's numbers or our measurements. Unverified means we could not check it. Everything else comes from Apple, linked inline. Full source list: reference/sources.md.

Rules

  1. Start with the virtual front camera. Front-camera code you already have works on Duo unchanged.
  2. Use the physical cameras only when capture is the app's main job, or when you need what one camera alone has: 4K or 120 fps on the outer camera, depth, a rear-camera selfie.
  3. With physical cameras, ask AVCaptureDeviceDirectionCoordinator which way each one faces. Never infer it from position or the device type.
  4. One coordinator per preview view. A preview on each display needs one each.
  5. No AVFoundation calls in the coordinator's handler. Hand the descriptor to the actor that owns the session.
  6. Mirror by direction: mirror a rear camera that faces the person; don't mirror a front camera that faces away.
  7. Make a new rotation coordinator after every camera switch. Then turn off sensor orientation compensation.
  8. Keep the shutter and every control out of the fold and away from the inner camera, which occludes the view while it runs.
  9. The app works without the outer-display accessory, in Split View, and on iPhones with one display.

1. The cameras

CameraHow to get itFacesWhat it gives you
Virtual front camera.builtInWideAngleCamera or .builtInUltraWideCamera at .front. isVirtualDevice is true.The display your app is on: inner when open, outer when closedOnly what both front cameras share: up to 1080p at 60 fps, no depth. The system switches for you (talk 111465).
Outer front.builtInOuterUltraWideCameraThe same way as the outer displaySquare sensor. Up to 4K and 120 fps per the talk; Apple's spec page lists 4K up to 60 fps and 120 fps slo-mo at 1080p.
Inner front.builtInInnerUltraWideCameraThe same way as the inner display. Under the display, hidden until it runs.Square sensor, 1080p up to 60 fps (talk 111465)
RearYour usual rear types, position == .backAway from the person on the inner display; toward them when the phone is turned aroundAs on other iPhones
  • Depth comes only through the physical cameras (talk 111465). Check a format's supportedDepthDataFormats before you rely on it.
  • Both physical front cameras report position == .front. That is where a camera sits, not where it points (guide).
  • AVCaptureDevice.h says the outer and inner types can only be discovered with a discovery session, so use one rather than AVCaptureDevice.default(_:for:position:). Both are iOS 27.1 and unavailable on Mac Catalyst.
  • The talk and the spec page disagree on the outer camera's frame rate. Read formats at run time; never hard-code either number. Helpers: references/cameras.md.

2. Virtual front camera or physical cameras

The app isUse
A video call, a social selfie, a face scan, any app that already uses the front cameraThe virtual front camera
A camera app, or anything that needs 4K or 120 fps on the outer camera, depth, or a rear-camera selfieThe physical cameras, with a direction coordinator

The virtual front camera is the discovery you already write. It streams from the camera above the display your app is on, and follows it when the phone opens or closes (guide).

swift
import AVFoundation

/// The front camera most apps ask for. On iPhone Duo it is the virtual front camera.
func usualFrontCamera() -> AVCaptureDevice? {
    AVCaptureDevice.DiscoverySession(
        deviceTypes: [.builtInWideAngleCamera, .builtInUltraWideCamera],
        mediaType: .video, position: .front
    ).devices.first      // nil in the simulator
}

Read activePrimaryConstituent to see which physical camera streams; it is nil until the session runs. Code that already handles the dual camera handles this virtual device too.

3. Follow the direction (physical cameras)

AVCaptureDeviceDirectionCoordinator lives in AVKit, not AVFoundation. It takes the view that shows your preview as its frame of reference and sorts the cameras you list into forward facing (the same way as that view) and backward facing (talk 111465).

Your preview view is onForward facingBackward facing
The outer display, phone closedOuter frontRear
The inner display, phone openInner frontOuter front, rear
The outer display, phone open and turned aroundRear, outer frontApple doesn't say
Both displays at once (accessory)Each view's own coordinator: the rear cameras face forward from the outer view and backward from the inner view

Source: talk 111465. Apple doesn't say where the inner camera lands while the phone is closed.

swift
import AVKit
import UIKit

// requires: CaptureService (references/direction-and-mirroring.md)

#if !targetEnvironment(macCatalyst)   // the outer and inner types don't exist there
@available(iOS 27.1, *)
@MainActor
final class FrontCameraFollower {
    private let capture: CaptureService
    private var coordinator: AVCaptureDeviceDirectionCoordinator?
    private(set) var cameraID: String?

    init(capture: CaptureService) { self.capture = capture }

    /// Call once the preview view exists. Keep this object while the view is on screen.
    func follow(_ previewView: UIView) {
        coordinator = AVCaptureDeviceDirectionCoordinator(
            view: previewView,
            // Both physical front cameras, never the virtual one, plus the rear camera.
            deviceTypes: [.builtInOuterUltraWideCamera, .builtInInnerUltraWideCamera, .builtInDualWideCamera]
        ) { [weak self] map in
            self?.directionsChanged(map)      // main queue; no AVFoundation calls here
        }
    }

    private func directionsChanged(_ map: AVCaptureDeviceDirectionMap) {
        let forward = map.forwardFacingDeviceDescriptors
        if let cameraID, forward.contains(where: { $0.uniqueID == cameraID }) { return }
        guard let next = forward.first(where: { $0.position == .front }) ?? forward.first else { return }
        cameraID = next.uniqueID
        Task { await capture.useCamera(withID: next.uniqueID) }   // descriptors are Sendable
    }
}
#endif

What to know:

  • The handler runs on the main queue, soon after you create the coordinator and again on every change. deviceDirections is empty until that first call (AVCaptureDeviceDirectionCoordinator.h).
  • List every built-in camera you capture from, rear ones included. The coordinator ignores the virtual front camera, so list the two physical front cameras instead (guide).
  • A descriptor names a camera; it doesn't reserve it. AVCaptureDevice(uniqueID:) can return nil by the time your actor runs. Handle that.
  • Reconfigure one video input. Don't run both cameras in a multi-camera session for this (guide).
  • Frames from the old camera reach the screen while the new one starts. Cover the preview when the handler fires; uncover it when the switch is done.

Full code: the capture actor, a watcher that prefers a rear camera when the person asks, and the UIKit wiring: references/direction-and-mirroring.md.

4. Mirror by direction

A preview connection mirrors any camera whose position is .front. On Duo that is wrong twice: a rear camera facing the person should look like a mirror, and a front camera facing away should not (guide, talk 111465).

swift
import AVKit

/// Mirror by where a camera points, not by where it sits.
/// Returns nil when the connection's automatic mirroring is already right.
@available(iOS 27.1, *)
func previewMirroring(for camera: AVCaptureDeviceDescriptor, in map: AVCaptureDeviceDirectionMap) -> Bool? {
    let facesViewer = map.forwardFacingDeviceDescriptors.contains { $0.uniqueID == camera.uniqueID }
    let facesAway = map.backwardFacingDeviceDescriptors.contains { $0.uniqueID == camera.uniqueID }
    if camera.position == .back && facesViewer { return true }    // a rear-camera selfie
    if camera.position == .front && facesAway { return false }    // a front camera looking away
    return nil
}
  • Set automaticallyAdjustsVideoMirroring = false before isVideoMirrored. The other order raises an exception.
  • Apply it after every map change and after every input change: a new input makes a new preview connection without your setting.
  • Apple's guidance covers the preview. Whether saved photos are mirrored is your product choice; keep it the same for every camera.

5. Rotation

Adopt AVCaptureDevice.RotationCoordinator (iOS 17) for the preview and for captured media. On Duo its angles also change when the app moves to the other display (talk 111465).

  • A rotation coordinator serves one camera and one preview layer. Make a new one after each switch, and one per preview layer when the subject view shows a second preview.
  • Once it runs, set isCameraSensorOrientationCompensationEnabled to false on AVCapturePhotoOutput (iOS 26). It is on for every front camera on Duo and costs performance (talk 111465).

Code that observes both angles on the capture actor: references/rotation-and-preview.md.

6. The preview on each display

  • Rear camera, inner display. The full field of view leaves space around the preview. Either move the preview to one side and group controls in the space left, or fill the display with videoGravity = .resizeAspectFill (talk 111465).
  • Front cameras. Both sensors are square. On the inner display, ask for a landscape frame with setDynamicAspectRatio(_:completionHandler:) (iOS 26) when the format supports it, so the preview fills the wide display (talk 111465, WWDC26 session 341).
  • The inner camera covers the view while it runs. Its occlusion region turns active (HIG). Keep the shutter clear of it: use a system container, or read .occlusion regions (duo-layout).
  • The outer camera always occludes a corner of the outer display. Bars already avoid it; your own corner controls must too.
  • Partly folded, keep controls out of the active .division frame. A preview may cross the fold, but nothing people tap.

Measured region frames for the inner camera, and the code: references/rotation-and-preview.md.

7. A preview for the subject on the outer display

Fully open, with the rear camera running and your app full screen on the inner display, the system can show your CameraCaptureAccessory on the outer display, which faces the subject (guide, talk 111464). duo-scenes covers registration, availability and the UIKit version. The camera side:

  • Show what the subject needs: a countdown, how much of them the camera sees, a script. Never a control the photographer needs.
  • A live preview there is a second AVCaptureVideoPreviewLayer on the same session. Give its view its own direction coordinator: from the outer display the rear camera faces forward, so mirror that preview, and leave the photographer's preview unmirrored (talk 111465). Unverified: a second preview layer on one session on a device; the AVFoundation header for deferredStartEnabled (iOS 26) talks about apps with several preview layers.
  • Apple's conditions say fully open. Closed, it goes away (duo-scenes measured this). Partly folded is unclear: in the simulator, with no capture session, it was available in book at 128° and, on 2 November, in tabletop (measured; references/testing.md). On a device, unverified. Put the countdown in the main UI as well, so it never depends on the accessory.

Code: references/outer-display-and-tabletop.md.

8. Flipped: a selfie with the rear camera

Open and turned around, the rear cameras and the outer display face the person, and a camera app can move to the outer display. The rear and the outer front cameras then both face forward (talk 111465).

  • Let people pick between the rear camera and the outer front camera. Never decide from position.
  • Mirror the rear preview (section 4).
  • The layout is your compact, closed layout. Device Hub has no flip control, so test it on a device.

9. Tabletop: hands-free capture

Apple names one optional layout worth designing for a single pose: the phone seated on a table, good for hands-free use. What people watch goes in the top region, what they tap goes in the bottom region, and every control stays the same as in other poses (talk 111466, talk 111463). For a camera:

  • The preview goes in the top region; shutter, self-timer and mode go in the bottom region.
  • Add a self-timer. Show the countdown large on the preview, so it reads from across the table.
  • An ArrangementView with .overlay does this with no fold code. Measured with a video in its place (20 Oct 2026): flat or closed, the primary view floated over the secondary; in tabletop the primary took the bottom region and the secondary the top; in book, trailing and leading.
  • Derived from the simulator: after Device Hub's Partially Open and Rotate Right, the inner camera's region sat on the right edge of the bottom region (duo-postures measurements). On a table that half lies flat, so the inner camera would point at the ceiling. Ask the coordinator what faces forward; never assume. Unverified on a device.
swift
import SwiftUI

// requires: CameraModel, CaptureControls, TimerBadge, SubjectPreview (references/outer-display-and-tabletop.md)
// requires: CameraPreview (references/rotation-and-preview.md)

#if !targetEnvironment(macCatalyst)
/// One camera screen for every pose. Flat or closed, the controls float over the
/// preview. Partly folded, they move to the bottom region (tabletop) or trailing region (book).
@available(iOS 27.1, *)
struct CaptureScreen: View {
    @State private var model = CameraModel()          // above the arrangement: a fold never rebuilds it

    var body: some View {
        ArrangementView {
            CaptureControls(model: model)                // primary: what people tap
        } secondary: {
            CameraPreview(source: model.capture.previewSource) { model.attachMain($0) }
                .overlay { if model.isSwitching { Color.black } }    // hide the old camera's frames
                .overlay { TimerBadge(secondsLeft: model.secondsLeft) }
                .ignoresSafeArea()
        }
        .arrangementViewStyle(.overlay)
        .background(.black)
        .sceneAccessory {                                // section 7: the subject's view, outer display
            CameraCaptureAccessory { SubjectPreview(model: model) }
        }
    }
}
#endif

10. Split View and interruptions

  • Every app takes part in Split View on the inner display (talk 111464). AVCaptureSession.h says a session can be interrupted with .videoDeviceNotAvailableWithMultipleForegroundApps in a multi-app layout. Unverified on Duo: expect it, show why the preview stopped, and resume on interruptionEndedNotification.
  • isMultitaskingCameraAccessSupported is true for video-call apps (the voip background mode) and for apps with the multitasking camera entitlement (Apple). Set isMultitaskingCameraAccessEnabled before the session starts.
  • The accessory needs the app full screen, so Split View also hides it.

Code: references/direction-and-mirroring.md.

Deploying below iOS 27.1

  • The virtual front camera needs no new API. It works with your current code and deployment target.
  • The outer and inner types and the direction coordinator are iOS 27.1. Put that code behind @available(iOS 27.1, *) and if #available(iOS 27.1, *). On older iOS, keep using the discovery session above.
  • The outer and inner types are unavailable on Mac Catalyst. Wrap their code in #if !targetEnvironment(macCatalyst).
  • setDynamicAspectRatio and sensor orientation compensation are iOS 26; videoRotationAngleRelative(toDeviceOrientation:) is iOS 27.0.

Test it

WhereWhat you can check
SimulatorLayout only: controls in every pose, the accessory view at the outer display's size, nothing in the fold. Discovery returns no camera (measured), so guard every nil.
Real iPhone DuoEverything else: open and close with each strategy, the switch mask, mirroring on both displays, flipped selfies, rotation on both displays, the accessory with capture running, Split View, tabletop with the timer.

Checklists for both and how to fake a camera in the simulator: references/testing.md.

Checklist

  • The app starts from the virtual front camera; physical cameras only where the app needs them.
  • No camera choice reads position or the device type to decide which way a camera points.
  • One AVCaptureDeviceDirectionCoordinator per preview view, created on the main actor and kept alive while the view is on screen.
  • The handler only reads descriptors; the session actor resolves AVCaptureDevice(uniqueID:) and handles nil.
  • The preview is covered during a switch.
  • Mirroring follows the direction map, set after each map change and each new input, with automatic mirroring turned off first.
  • A new rotation coordinator per camera and per preview layer; sensor orientation compensation off after that.
  • Shutter and controls clear of the fold and of the inner camera's occlusion.
  • The outer-display accessory carries no essential control; its countdown also shows in the main UI.
  • Tabletop: preview on top, the same controls below, a self-timer.
  • Interruptions in Split View show a message and recover.
  • iOS 27.1 and Mac Catalyst gates in place; nil cameras handled (the simulator returns none).
  • Checked on a real iPhone Duo before release.

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

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

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

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

Camera capture on iPhone Duo, Apple's foldable. Use when an app takes photos or video, runs a video call or shows a camera preview, and must work closed (outer display), open (inner display), partly folded (book, tabletop), open and turned around (flipped) and through fold and unfold. Covers the virtual front camera (.builtInWideAngleCamera or .builtInUltraWideCamera at .front; shared features only, up to 1080p at 60 fps, no depth), the physical front cameras (.builtInOuterUltraWideCamera, .builtInInnerUltraWideCamera), choosing a camera by the way it faces with AVCaptureDeviceDirectionCoor...

لماذا تستخدم Duo Camera على TypingMind؟

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

كيف أثبّت Duo Camera في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/Kimeur/duology/tree/main/plugins/duology-features/skills/duo-camera. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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