شعار Agent Native

Agent Native

المجتمع
boshu2
agent-native

Dispatch independent tasks to parallel workers or subagents without write collisions. Use when: running or planning agents in parallel, even two; check scopes before any launch.

نظرة عامة

الناشرboshu2
المستودعagentops
اسم المهارةagent-native
النجوم
450
التفريعات
42
الملفات المرفقة
9
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Agent Native

Launch and observe caller-selected agent sessions as explicit roles, and return runtime facts per packet. Execution does not validate output, and the runtime never becomes AgentOps lifecycle authority: an adapter cannot select AgentOps semantics, issue a binding verdict, or turn factory completion into delivery or validation proof. Orchestrate decides what to dispatch and when; this skill launches and observes.

Before launch, and while running

  • Validate the whole batch first. Every packet needs its selected executor, packet identity, all transitive effects, the actions it must not take (such as push, merge, history rewrite, tracker or external writes) and a canonical workspace-relative write scope in separate isolation. If any packet is invalid, launch none: starting the valid ones and fixing the rest later is a partial launch.
  • Compare canonical scopes. Resolve symlinks, normalize paths and compare case-insensitively so an alias cannot hide a collision. A lexical check alone cannot prove symlink or runtime isolation. Disjoint files are not independence: workers, readers included, contend on a resource one of them writes, installs into or holds exclusively, such as a bound port, a database it writes, a package install it mutates or a locked browser profile; give each its own instance or serialize only those. A shared model-provider limit is backpressure, launched in waves, not serialized (shared runtime).
  • Delivery is not engagement. A delivered prompt or an acknowledgement proves transport only; reading it as a working worker is prompt-send optimism. Prove engagement from observable state: session output, tool activity, changed files.
  • Capture before restart. Before a nudge, replacement or restart, capture the worker's observable state. A restart destroys the evidence of why it stalled, and rescue is usually cheaper than rerun. Silence or impatience alone does not justify a restart; any replacement stays within authority and remaining bounds.
  • Dispatch once. Keep each packet's identity with its result. An executor error is a result, not a retry trigger; repair and follow-up are the caller's authority. A launch call the runtime refuses, so that its worker never starts, is not a launch: correct a malformed call once, and treat a concurrency or capacity limit as backpressure, waiting natively for a slot and launching the validated batch in waves under it; what each freed slot runs first stays the caller's decision (Orchestrate). Running a packet inline or elsewhere is the caller's disclosed choice (refused launches).
  • Account for every input. When a packet carries many items (files, records, issues), give each a stable ID before launch and join the returned results back to that list. An item with no result is missing, not done; an output with no matching input is unexplained. Report both by ID. Name each return field and its allowed values in the packet when results will be counted, sorted, deduplicated or compared; parsed prose is where counts drift.
  • Prove integration before removal. Before a caller-authorized removal of a finished worker's workspace, branch or stash, compare its content with the integration target by patch or file diff, not by merged status: squash and rebase hide ancestry. Preserve uncommitted, unique or unintegrated content in a recoverable form, such as an archive ref or bundle, first. Report what was kept, what was removed and the evidence for each.

Roles

  • Orchestrator: passes focused intent, scope and evidence references, names the integration/final-review owner, and reports runtime facts. Retrieve extra history only for a consequential uncertainty; a fresh context is not necessarily small. A new goal does not clear history or renew spent bounds.
  • Implementer: may modify only its packet's declared subject.
  • Validator: receives exact candidate content in a fresh, read-only context. It may supply judgment to Validate; only Validate writes verdict.v2.
  • Scribe: records runtime evidence without judging acceptance.

Reader and Writer are bounded cheap delegations, not roles with authority. A Reader returns line-referenced bullets over files the caller never loads, in slices of at most 350 lines. A Writer lands one patterned file from a spec plus a required reference file and returns a receipt the caller never reads back. Both are caller-selected per call and yield runtime facts only; a receipt is not validation. For Codex, use the source-owned bulk-reader and code-writer native roles; their model and sandbox are pinned in agents/bulk-reader.toml and agents/code-writer.toml. Context-budget delegation covers installation, native invocation, opt-in refusal hooks and the limits of role instructions.

Launch and observe

  1. Before starting a worker, require caller intent, role, workspace, starting commit, authorized source/output scope and evidence destination. Record the dispatch association in the caller-owned native channel before execution can fail. A requested ID is not an observed ID; worker identity stays unknown until the runtime reports it.
  2. At startup, before substantive work, capture the observed runtime, session and context identity and return it through that channel. Before its first edit, the worker confirms its HEAD is that starting commit; a mismatch is a launch failure, never repaired by reset. Report launch failures, recording gaps and unknowns; never fill them in. An authentication-shaped error from a sandboxed launch does not prove a logged-out account (launch and isolation). Session associations owns parent and resume links, multi-work spans and frozen source bounds.
  3. Keep concurrent writers disjoint and isolated, using the selected runtime's own isolation where it has one and never nesting a worktree inside the session's own (workspace isolation). Runtime coordination is not a claim, lease, queue or completion state in AgentOps.
  4. Observe through native waits or status notifications; observation costs time and context. Unchanged state is no reason for another analysis, review or retrospective, while a known blocking failure deserves action even as other jobs run. Stop at terminal status or the end of the caller's window.
  5. A headless worker cannot ask: on a choice its packet leaves open it takes no irreversible or out-of-scope step on a guess and returns the choice under gaps (open choices). For new authorized work after a worker completes, including an answer that settled intent supplies, use the runtime's documented follow-up or resume operation that starts a turn. A message operation only queues text for a running worker; a queued repair request is not a resumed attempt.
  6. Record provider state, transcript references, artifacts and terminal status. Provider retries, reconnects, idle states and failures stay runtime facts, never Plan, Candidate or verdict state. A result whose observed tool activity shows an excluded action is out of authority, not a candidate, whatever its checks show.

The batch contract's reference implementation, scripts/swarm/dispatch_once.py, needs an AgentOps source checkout and is not bundled with installed skills; installed use dispatches through the selected native runtime. It rejects a nonempty write_scope.exclude because its proof cannot honor exclusions. Batch mode selects no backlog work, creates no queue and integrates no changes.

Adapters and judgment

NTM, native processes, Agent Mail, Gas City and the one-shot headless runners (codex-exec, claude-exec, agy-native) are replaceable adapters. Use one only when the caller selected that execution shape; a single local agent pays no factory coordination cost.

For judgment, default to a fresh context in the author's model family. Cross-model Validate, mixed Council and dueling model perspectives are explicit caller selections. Model dispatch owns host authorization, isolation, finite input/output, timeout and cleanup for each leg; the working session is the controller, no factory is required, and Agent Mail is never the judgment path. Role requests declare authority, but only native runtime/OS filesystem and egress controls enforce it. Native judgment receipts define receipt references and the checks for caller-required model diversity; missing native identity never satisfies a leg. For exact native source spans, follow bounded raw source reads and its access and output limits.

Per-packet result

text
packet_id:        the caller's packet id
executor:         selected runtime; requested model; observed model if reported
observed_session: session/context id the runtime reported, else unknown
engagement:       observable evidence the worker started, else unobserved
last_activity:    time and kind of the last observed tool call, output or file change, else unobserved
terminal_status:  exit or terminal state | running | launch failed | not launched
result:           candidate <ref> | evidence <ref> | out of authority <action> | error <verbatim>
gaps:             recording failures and unknowns

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

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

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

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

Dispatch independent tasks to parallel workers or subagents without write collisions. Use when: running or planning agents in parallel, even two; check scopes before any launch.

لماذا تستخدم Agent Native على TypingMind؟

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

كيف أثبّت Agent Native في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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