شعار Openlink License Manager

Openlink License Manager

مؤسسة
OpenLinkSoftware
openlink-license-manager

Start, stop, restart, enable at boot, and check the status of the OpenLink License Manager (oplmgr) daemon on macOS, Linux, and Windows. Detects OS and init system automatically. Use when the user asks to start, stop, restart, enable, disable, or check the status of the OpenLink License Manager or oplmgr.

نظرة عامة

الناشرOpenLinkSoftware
المستودعai-agent-skills
اسم المهارةopenlink-license-manager
النجوم
42
التفريعات
10
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

OpenLink License Manager Skill

Purpose

Manage the OpenLink License Manager daemon (oplmgr) lifecycle across macOS, Linux, and Windows. Covers start, stop, restart, status, enable/disable at boot, and version detection.


Execution Routing

Default execution order when REST or remote access is needed:

  1. Local CLI execution — manage oplmgr via sudo commands, launchctl, or systemctl (primary mode)
  2. URIBurner REST functions — for remote license server status checks or management
  3. Terminal-owned OAuth flow — when a REST endpoint requires OAuth 2.0 authentication, execute the OAuth flow from the terminal (authorization code, client credentials, or device flow), capture the Bearer token, and inject it into subsequent REST/OpenAPI calls via Authorization: Bearer {token} headers
  4. MCP — if a remote MCP-enabled service exposes license manager tools

If the user names a specific mode or protocol, follow that preference instead.


Step 0 — Detect OS and Init System

bash
# Detect OS
uname -s   # Darwin = macOS, Linux = Linux
           # Windows: uname absent; detect via %OS% or assume Windows if neither works

# On Linux only — detect init system
systemctl --version 2>/dev/null && echo "systemd" || echo "manual"
uname -s outputOS
DarwinmacOS
LinuxLinux
(absent / error)Windows

If OS detection is ambiguous, ask the user to confirm their OS before proceeding.


Step 1 — Pre-flight Checks (macOS and Linux only)

Run these checks in order before attempting any privileged command. Claude Code runs non-interactively (no TTY), so both the symlink and passwordless sudo must be in place.

Check A — Symlink at /usr/local/bin/oplmgr

sudoers cannot handle paths containing spaces. The real binary lives at /Library/Application Support/openlink/bin/oplmgr, so a space-free symlink is required.

bash
ls -la /usr/local/bin/oplmgr 2>/dev/null && echo "symlink OK" || echo "symlink MISSING"

If symlink is MISSING, attempt to create it automatically:

bash
sudo ln -s "/Library/Application Support/openlink/bin/oplmgr" /usr/local/bin/oplmgr
  • If this sudo succeeds (passwordless sudo already configured for another rule or user is root): proceed.
  • If this sudo fails with a password prompt error: inform the user and ask them to run the command in Terminal.app:
    bash
    sudo ln -s "/Library/Application Support/openlink/bin/oplmgr" /usr/local/bin/oplmgr
    Then retry from the top of Step 1.

On Linux: no symlink is needed if the binary path already contains no spaces (e.g. /opt/openlink/oplmgr/oplmgr).


Check B — Passwordless sudo for /usr/local/bin/oplmgr

bash
sudo -n /usr/local/bin/oplmgr +stop 2>&1; echo "exit:$?"
# exit:0 or a non-password error = passwordless sudo OK
# "sudo: a password is required" = NOT configured

If passwordless sudo is NOT configured, stop and inform the user:

Passwordless sudo is not configured for oplmgr. Please run the following in Terminal.app:

bash
echo 'YOUR_USERNAME ALL=(ALL) NOPASSWD: /usr/local/bin/oplmgr' | sudo tee /etc/sudoers.d/oplmgr && sudo chmod 440 /etc/sudoers.d/oplmgr

On Linux (systemd), grant passwordless sudo for systemctl instead:

bash
echo 'YOUR_USERNAME ALL=(ALL) NOPASSWD: /bin/systemctl start oplmgr.service, /bin/systemctl stop oplmgr.service, /bin/systemctl restart oplmgr.service, /bin/systemctl status oplmgr.service' | sudo tee /etc/sudoers.d/oplmgr && sudo chmod 440 /etc/sudoers.d/oplmgr

Then return here and retry.

Windows: no pre-flight checks needed — Administrator privilege is handled by the OS service manager.


Step 2 — Show Command and Confirm

Always display the exact command(s) that will be run and ask the user to confirm before executing.

Present the applicable command from the tables below, then proceed only on confirmation.


Step 3 — Command Reference by Platform

macOS

Priority 1 — Direct binary (preferred)

Try oplmgr from its installation directory first:

bash
# Locate the binary (prefer symlink at /usr/local/bin/oplmgr)
which oplmgr 2>/dev/null || ls /usr/local/bin/oplmgr 2>/dev/null

Before starting, detect the version and derive and validate the +directory value:

bash
# Step A: Detect version
/usr/local/bin/oplmgr 2>&1 | head -5

# Step B: Derive license directory
LICENSE_DIR="${OPL_LICENSE_DIR:-/Library/Application Support/openlink/Licenses}"

# Step C: Validate — directory must exist and contain at least one .lic file
ls "${LICENSE_DIR}"/*.lic 2>/dev/null | head -1

Decision table:

ConditionAction
Directory exists and contains .lic filesProceed — use as +directory
Directory exists but no .lic filesWarn the user; ask them to confirm the correct license directory before proceeding
Directory does not existHalt — inform the user that no license directory was found and ask for the correct path
$OPL_LICENSE_DIR is unset and default missingHalt — inform the user with the exact message below

If no valid license directory is found, stop and inform the user:

No license directory could be found. Neither $OPL_LICENSE_DIR nor the default path (/Library/Application Support/openlink/Licenses/) exists or contains .lic files. Please provide the path to the directory containing your OpenLink license files, then retry.

VersionStart command
v1.3.6+sudo /usr/local/bin/oplmgr +start +directory "<validated-license-dir>"
v1.3.5 and earliersudo /usr/local/bin/oplmgr +start (uses $OPL_LICENSE_DIR automatically; warn if unset)
ActionCommand
Start (v1.3.6+)sudo /usr/local/bin/oplmgr +start +directory "<validated-license-dir>"
Start (v1.3.5−)sudo /usr/local/bin/oplmgr +start
Stopsudo /usr/local/bin/oplmgr +stop
Statusps aux | grep -i oplmgr | grep -v grep
Version/usr/local/bin/oplmgr 2>&1 | head -5

Canonical binary location: /Library/Application Support/openlink/bin/oplmgr Symlink (no spaces — required for sudoers): /usr/local/bin/oplmgr

Important: Always use /usr/local/bin/oplmgr (the symlink) for sudo commands. The real path contains spaces which sudoers cannot handle.

Priority 2 — launchctl fallback (if binary unavailable or for boot persistence)
ActionCommand
Startsudo /bin/launchctl load "/Library/LaunchDaemons/com.openlinksw.oplmgr.plist"
Stopsudo /bin/launchctl unload "/Library/LaunchDaemons/com.openlinksw.oplmgr.plist"
Statussudo launchctl list | grep oplmgr
Enable at bootPersistent automatically via LaunchDaemon plist (no separate enable step needed)

Note: If a non-default license directory is used, edit the plist at /Library/LaunchDaemons/com.openlinksw.oplmgr.plist to reflect the new path before loading.


Linux — systemd (preferred when available)

bash
# Check for systemd
systemctl --version 2>/dev/null
ActionCommand
Startsudo systemctl start oplmgr.service
Stopsudo systemctl stop oplmgr.service
Restartsudo systemctl restart oplmgr.service
Statussudo systemctl status oplmgr.service
Enable at bootsudo systemctl enable oplmgr.service
Disable at bootsudo systemctl disable oplmgr.service
Versionoplmgr -?

Linux — Manual (no systemd)

ActionCommand
Start (v1.3.6+)sudo /opt/openlink/oplmgr/oplmgr +start +directory "${OPL_LICENSE_DIR:-/etc/oplmgr}"
Start (v1.3.5−)sudo /opt/openlink/oplmgr/oplmgr -start
Stopsudo /opt/openlink/oplmgr/oplmgr -stop
Statusps aux | grep -i oplmgr | grep -v grep
Enable at bootN/A — manual start only
Version/opt/openlink/oplmgr/oplmgr 2>&1 | head -5

Note: Installation path may vary. Common alternatives: /opt/openlink/bin/oplmgr, or per-product bin/ directories. Check $OPL_LICENSE_DIR for hints.


Windows

Administrator privileges are required for all service operations.

Priority 1 — PowerShell (preferred)
ActionCommand
Startpowershell -Command "Start-Service -Name 'OpenLink License Manager'"
Stoppowershell -Command "Stop-Service -Name 'OpenLink License Manager' -Force"
Restartpowershell -Command "Restart-Service -Name 'OpenLink License Manager' -Force"
Statuspowershell -Command "Get-Service -Name 'OpenLink License Manager'"
Enable auto-startpowershell -Command "Set-Service -Name 'OpenLink License Manager' -StartupType Automatic"
Disable auto-startpowershell -Command "Set-Service -Name 'OpenLink License Manager' -StartupType Manual"
Versionpowershell -Command "& '$env:windir\oplmgr.exe' -?"
Priority 2 — net / sc (fallback)
ActionCommand
Startnet start "OpenLink License Manager"
Stopnet stop "OpenLink License Manager"
Restartnet stop "OpenLink License Manager" && net start "OpenLink License Manager"
Statussc query "OpenLink License Manager"
Enable auto-startsc config "OpenLink License Manager" start= auto
Disable auto-startsc config "OpenLink License Manager" start= demand
Version%windir%\oplmgr.exe -?

On 64-bit Windows with mixed 32/64-bit installations: consolidate all license files in a single directory (e.g. C:\Program Files\OpenLink Software\Licenses\) to avoid bitness-mismatch issues with the registry lookup at: HKLM\SOFTWARE\OpenLink Software\License Manager\License Directories\


Step 4 — Version Detection and Behavioral Notes

bash
oplmgr -?
VersionBehavior
v1.3.5 and earlierUses $OPL_LICENSE_DIR environment variable only to locate license files
v1.3.6 and laterSupports +directory parameter; searches $OPL_LICENSE_DIR, +directory paths, and PATH for *.lic files

Default license directories by version and OS:

OSv1.3.5 and earlierv1.3.6 and later
macOS/Library/Application Support/openlink/bin//Library/Application Support/openlink/Licenses/
Linux$OPL_LICENSE_DIR (set by openlink.sh)/etc/oplmgr/
WindowsRegistry-defined directoriesRegistry-defined directories

Step 5 — Post-Action Status Check

After any start or stop action, automatically run the status command for the detected platform and display the result to confirm the operation succeeded.


Initialization Sequence

When invoked:

⛔ PRE-BUILD CHECK: Before producing output, re-read the relevant workflow section above and re-read any checklists or verification gates defined in this skill. Confirm each checklist item before writing output. Build to pass — do not retro-fit. Apply the CLAUDE.md Anti-Drift Protocol: re-read spec section before build, gate-first validation, section-by-section delivery.

  1. Run Step 0 — detect OS and (on Linux) init system
  2. Run Step 1, Check A — verify symlink exists; attempt to create it automatically if missing
  3. Run Step 1, Check B — verify passwordless sudo; halt with setup instructions if not configured
  4. Run Step 2 — show the relevant command(s) and ask for confirmation
  5. Execute on confirmation — run the command
  6. Run Step 5 — show status output

Troubleshooting

SymptomCauseFix
sudo: a terminal is requiredNo TTY — Claude Code runs non-interactivelyConfigure passwordless sudo via /etc/sudoers.d/oplmgr (see Step 1)
expected a fully-qualified path namesudoers parse error — path contains spacesCreate symlink at /usr/local/bin/oplmgr and use that in the sudoers rule (see Step 1)
oplmgr: command not foundBinary not in PATHUse full path (see Step 3 Priority 1 section for platform)
launchctl: no plist foundplist missing or path wrongCheck /Library/LaunchDaemons/com.openlinksw.oplmgr.plist exists
Unit oplmgr.service not foundNo systemd unit installedFall back to manual start/stop commands
Access denied / 5: Access is deniedInsufficient privileges on WindowsRun command prompt as Administrator
Service starts then stops immediatelyLicense file not foundCheck $OPL_LICENSE_DIR / default license path for valid .lic files
+directory path missing or empty$OPL_LICENSE_DIR unset and default path doesn't existSupply the license directory path explicitly when prompted (see Step 3 decision table)
sc query shows STOPPED after start attemptService misconfiguredCheck Windows Event Viewer for oplmgr errors

Version

1.5.0 — License directory validation added before +start on macOS/Linux: checks existence and presence of .lic files; halts with actionable message when $OPL_LICENSE_DIR is unset and the OS default path is missing or empty. Added troubleshooting row for +directory path missing or empty.

1.4.0 — macOS/Linux start now detects version and derives +directory value before issuing +start (v1.3.6+ only). Windows: PowerShell Start-Service/Stop-Service added as Priority 1; net/sc demoted to Priority 2 fallback.

1.3.0 — Step 1 now includes Check A (symlink detection + automatic creation attempt) before Check B (passwordless sudo). Skill self-heals the symlink when possible without user intervention.

1.2.0 — macOS commands now use /usr/local/bin/oplmgr symlink throughout (sudoers cannot handle paths with spaces). Setup instructions updated to include symlink creation step. Added expected a fully-qualified path name to troubleshooting table.

1.1.0 — Added passwordless sudo pre-check (Step 1) with setup instructions for macOS and Linux. Added sudo: a terminal is required to troubleshooting table.

1.0.0 — Initial release. macOS (binary + launchctl fallback), Linux (systemd + manual fallback), Windows (service). Version detection and behavioral notes for v1.3.5 vs v1.3.6+.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Openlink License Manager؟

Start, stop, restart, enable at boot, and check the status of the OpenLink License Manager (oplmgr) daemon on macOS, Linux, and Windows. Detects OS and init system automatically. Use when the user asks to start, stop, restart, enable, disable, or check the status of the OpenLink License Manager or oplmgr.

لماذا تستخدم Openlink License Manager على TypingMind؟

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

كيف أثبّت Openlink License Manager في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/openlink-license-manager. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Openlink License Manager؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Openlink License Manager؟

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

هل مهارة الذكاء الاصطناعي Openlink License Manager مجانية؟

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

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

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

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

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

عرض الكل

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

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