شعار Netbird Ops

Netbird Ops

مؤسسة
serversathome
netbird-ops

Read and manage the NetBird mesh VPN: which peers exist and which are connected, when a peer was last seen, agent version drift, groups, access policies, network routers and routed resources, mesh DNS, setup keys, the audit log, and Bring Your Own Proxy (BYOP) - self-hosted reverse proxies, the services published through them, and their apex domains. Use this whenever the user asks about the mesh, the overlay, a NetBird peer, whether a host is "on the VPN", why a machine is reachable on the LAN but not by its mesh address, who can reach what, or asks to approve a peer, move one between groups, turn a policy on or off, or remove a peer. This integration CAN change the mesh when registered with an Admin token; destructive operations refuse to run without --force.

Add to TypingMind

نظرة عامة

الناشرserversathome
المستودعhomelabhero
اسم المهارةnetbird-ops
النجوم
104
التفريعات
4
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

NetBird mesh

NetBird is the overlay that lets the command center reach hosts wherever they are. It is not a box on a subnet: it is registered as an account and an API, and everything goes through one command:

hh netbird <op> [alias] [args]

The alias can be omitted when only one mesh is registered, which is the normal case. hh list shows it with platform netbird, and an ACCESS column saying whether its token is read-only or READ/WRITE.

Why this exists, and when it is the right tool

hh run <alias> "netbird status" asks ONE PEER what it thinks the mesh looks like. That is a useful second opinion and a terrible first one, because the moment it matters most - a host is unreachable - is the moment you cannot run it. hh netbird peers asks the control plane, which still answers.

So: when someone reports a host is unreachable, come here BEFORE trying to shell into it. The answer is often visible in one line of hh netbird summary.

Know the model before you change anything

capabilities/netbird.md opens with what these objects are and how they relate. The load-bearing one, because it is not how a firewall works:

Policies name GROUPS, never individual peers. Granting a host access means putting it in a group a policy already names, not editing a rule to mention it. group-add and group-rm are how access is given and taken away; reaching for policy-enable or a policy edit when a group move is the answer is the most common way to get this wrong.

Two more that read wrong if you assume otherwise: a peer being connected says nothing about whether policy lets it reach anything, and revoking a setup key does not remove the peers already enrolled with it.

Start here

hh netbird summary        # peers, connected, offline, waiting approval,
                          # agent version drift, routers, policies
hh netbird peers          # the full table, offline sorted to the top

summary is deliberately opinionated: it names offline peers rather than counting them, names peers stuck waiting for approval, and names peers running an older agent than the rest of the fleet. Version drift is the single most common cause of a mesh that works unevenly, so treat that line as a finding.

Reading further

hh netbird peer <name|ip>          # one peer in full
hh netbird groups                  # groups and their membership counts
hh netbird policies                # who may reach what, one row per rule
hh netbird policy-show <name>      # one policy in full
hh netbird networks                # networks (this replaced Routes)
hh netbird routers                 # routing peers, across every network
hh netbird resources <network>     # what a network exposes
hh netbird dns                     # nameserver groups and DNS settings
hh netbird keys                    # setup keys (values are masked)
hh netbird posture                 # posture checks
hh netbird events [n]              # audit log: who changed what
hh netbird traffic [n]             # flow events (paid plans only)
hh netbird get /api/...            # anything else, read-only

BYOP: services published through your own reverse proxy

If the account uses Bring Your Own Proxy, NetBird is also an ingress path - a service can be published under a domain you own, terminated by a reverse proxy you run, and forwarded to a peer over WireGuard. That matters for triage: when someone says a service is unreachable from outside, Cloudflare is no longer necessarily the right place to look.

hh netbird proxies                 # clusters, and how many proxies are live
hh netbird services                # what is published, and how it is exposed
hh netbird service <name>          # one service in full
hh netbird domains                 # apex domains and validation state

Read the EXPOSURE column in services carefully, because it is the thing most easily misread from the dashboard:

  • public - reachable from the internet, gated by whatever is in AUTH
  • mesh-only - reachable ONLY over the NetBird network, gated by group membership rather than a login page

A mesh-only service has a real domain and a real certificate and is still not on the internet. Do not describe one as published externally.

A cluster listed with 0 connected proxies is registered but has nothing running. That is a container problem on its host, not a NetBird problem:

hh run <host> "docker ps | grep reverse-proxy"
hh run <host> "curl -s http://localhost:8080/healthz"

Proxy access tokens are out of reach, deliberately. hh netbird get refuses the proxy-tokens endpoints: NetBird shows a proxy token's plaintext once, and anyone holding one can register a proxy against the account. Manage them in the dashboard.

hh netbird get reaches any endpoint the API has - DNS zones, services, geo locations, the instance endpoint - and can still only issue a GET.

Changing the mesh

These exist only when the alias was registered with an Admin service-user token. With a read-only (User role) token they refuse immediately and explain why, without making a request.

hh netbird approve <peer>                 # let a waiting peer join
hh netbird rename <peer> <new-name>
hh netbird group-add <peer> <group>       # grant reach, via policy
hh netbird group-rm <peer> <group>        # revoke it
hh netbird policy-enable <policy>
hh netbird policy-disable <policy>
hh netbird ssh <peer> on|off              # NetBird's own SSH server
hh netbird expiration <peer> on|off
hh netbird rm-peer <peer>
hh netbird rm-policy <policy>
hh netbird rm-group <group>
hh netbird key-revoke <key>
hh netbird key-create <name> ...          # terminal only, see below

The rules for writing

Anything destructive refuses without --force, and that refusal is the confirmation step. It prints exactly what the change would do. Do not simply re-run it with --force on your own initiative. Show the user what it said, in your own words, and let them decide. Then run it with --force.

That applies to: rm-peer, rm-policy, rm-group, key-revoke, group-rm, policy-disable, and to ssh <peer> on and policy-enable on an accept policy - the two that WIDEN access rather than narrowing it.

Never remove the command center's own peer. The broker recognises it and says so, because doing it disconnects the box you are running on from the mesh it uses to reach everything else, and nothing here can put it back.

key-create will not run in an agent session. NetBird returns the plaintext setup key exactly once, so the broker refuses to print it anywhere it would land in a transcript. Tell the user to run it themselves from an admin shell. Do not try to work around this.

There is no generic write op. No post, no put, no raw. If the change someone wants is not in the list above, say so and describe what to do in the NetBird dashboard instead. Do not go looking for a way around it.

What NetBird can and cannot see

It knows the overlay: peers, reachability policy, routed networks, mesh DNS, and - where BYOP is in use - what it publishes and whether its proxies are live. It does NOT know whether the service on a peer is healthy, whether the LAN beneath it is fine, or what a Cloudflare Tunnel is doing. A peer can be connected, and a proxy cluster online, and the app behind both still be down.

Ingress may be either or both. With BYOP in use, some services reach the outside through a NetBird proxy and others through a Cloudflare Tunnel. Check hh netbird services and hh cloudflare tunnel-show before concluding a service is not published anywhere.

Pair with network-diag for the layers under and over it, cloudflare-ops for ingress, and unifi-ops or firewalla-ops for the physical fabric.

Useful order when something is unreachable:

  1. hh netbird summary - is its peer even connected?
  2. hh netbird peers - when was it last seen, and is its agent behind?
  3. If the peer is connected: hh test <alias>, then the host itself.
  4. If the peer is offline but the host is up on the LAN: the NetBird agent needs a restart on that host, not the mesh.

Recording what you learn

Durable facts belong in infra/network.md: the mesh CIDR, which groups exist and what they mean, which peers are routers and for which subnets. Reading the API is how you learn it; writing it down is how it stays learned.

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

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

Read and manage the NetBird mesh VPN: which peers exist and which are connected, when a peer was last seen, agent version drift, groups, access policies, network routers and routed resources, mesh DNS, setup keys, the audit log, and Bring Your Own Proxy (BYOP) - self-hosted reverse proxies, the services published through them, and their apex domains. Use this whenever the user asks about the mesh, the overlay, a NetBird peer, whether a host is "on the VPN", why a machine is reachable on the LAN but not by its mesh address, who can reach what, or asks to approve a peer, move one between grou...

لماذا تستخدم Netbird Ops على TypingMind؟

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

كيف أثبّت Netbird Ops في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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