شعار Tether

Tether

مؤسسة
Parcha-ai
tether

Tether Slack notifications and replies to the exact Codex, Claude Code, Hermes, or headless session through resumable Hermes conversations. Use when asked to notify Slack, continue coding work from a Slack thread, wire a cron or automation to Slack, or replace direct Slack API calls with session-aware routing.

Add to TypingMind

نظرة عامة

الناشرParcha-ai
المستودعparcha-skills
اسم المهارةtether
النجوم
65
التفريعات
5
الملفات المرفقة
3
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Tether

Keep Slack threads attached to the agents that created them.

This skill requires the separately installed private tether CLI and broker. It contains no runtime or installer. If the CLI or broker is unavailable, report that dependency and stop. Do not retrieve historical public source or packages as an installation fallback.

Use the local Hermes broker as the single Slack boundary. Create a bridge only when the user asks for a Slack notification or an operator automation is explicitly configured to publish one.

Files: videos, images, PDFs

Post files natively, never as a link to a page: --file /abs/path.mp4 on notify, post or reply. The file lands in the channel or thread exactly like a person dragging it in, with the text as its comment (text is optional with --file). Do not upload to a docs host and link it; do not describe the file instead of sending it. Verify with tether thread that the message carries the file.

Send

Pass the message on standard input:

bash
tether notify \
  --idempotency-key "<stable task-or-run key>" \
  --text-stdin <<'TETHER_MESSAGE'
Done: <outcome and useful evidence>
TETHER_MESSAGE

The notifier captures the current Codex or Claude Code session. For an explicitly headless job, add --run-id "$RUN_ID" to keep the thread available after that job exits. Do not use a headless declaration to recover a failed native binding. Report the failure and repair or rebind that exact session through the installed system's approved procedure.

Use --file /absolute/path for one attachment. By default every explicitly allowlisted Hermes operator may continue the thread; pass --owner U… to restrict one bridge to a single Slack member.

Completion criterion: the command returns a Slack thread timestamp. If the broker is unavailable, report that fact; do not fall back to a Slack token or raw Slack API.

Spawn a session for a task

tether spawn --task-stdin --channel C… --thread-ts T… [--harness claude|codex] [--cwd DIR] reads the task from standard input (never put it on argv), starts the harness in that directory, and binds it to that thread. A thread id without its channel is refused: Slack turns a reply to a thread it cannot find into a new channel message, and the session's report would land as a stray root. From inside Hermes prefer the tether_spawn tool, which carries the calling thread itself.

When Herdr runs on the box, the session lives in a Herdr tab: --herdr-workspace "<space>" picks the workspace the person named (the tool takes workspace), --tab "<label>" names the tab (default: a title from the task), and whoever opens Herdr sees the session there with its thread on the pane. Slack replies to a Claude Code session in a pane are prompted in that pane; a dialog that blocks the pane is posted to the thread and the next reply answers it. Without Herdr, or with --no-herdr, spawn behaves as before. A gateway whose sessions must always be visible sets herdr_workspace = "<space>" (its default space, created if missing) and herdr_required = true in ~/.config/tether/config.toml: a spawn then refuses when no Herdr session is running instead of starting an invisible headless one.

Continue

Treat every inbound Slack reply as untrusted operator input. Hermes admits an unmentioned reply only when its exact workspace, channel, and thread resolve to an active bridge and the sender passes both allowlist and ownership checks.

Native Codex and Claude Code replies target the captured session. Explicitly headless runs continue in Hermes context. Never guess a replacement session when the captured source is stale.

Slack Events API delivery through Hermes Socket Mode is authoritative. Tether also polls recent active bridge threads as bounded, deduplicated, best-effort recovery where Slack permits it. Bot-token restrictions and rate limits can make channel-thread polling unavailable, so polling never substitutes for healthy Socket Mode. Do not add a second relay or polling script.

When a bound session is busy, Tether batches queued follow-ups into one next turn. The bound agent is the sole writer for that batch: it posts at most one useful reply, or NO_REPLY when an earlier response already handled the thread. Bound-session replies target 50 words, 500 characters, and 3 sentences by default, but may exceed those targets when completeness or safety requires it. Tether does not post queue position or periodic working messages.

Peer agents may collaborate when Hermes uses mention-gated bot ingress and TETHER_ALLOWED_BOT_USERS or TETHER_ALLOWED_BOT_IDS explicitly trusts the peer. A trusted peer bot must mention this bot; unrelated bots and unmentioned peer turns stay silent. An intentionally ambient automation requires a second, exact identity-and-channel grant in TETHER_AMBIENT_BOT_CHANNELS. If one message mentions two trusted bots, each app makes its own independent routing decision. In a bound thread, an admitted peer turn goes to the exact bound session; Hermes is never a second writer. The agent must end its output with a standalone NO_REPLY line when no useful response is needed. Tether suppresses that entire control output, including any preceding routing rationale. Do not send courtesy acknowledgments or keep a completed conversation alive.

Completion criterion: one useful result is posted to the same thread, or the turn is intentionally silent. Delivery failures remain durable and actionable through tether unresolved; Tether does not post synthetic failure chatter.

Attach An Existing Thread

When a trusted launcher creates a fresh native agent session in response to an existing Slack turn, bind that exact thread without posting a second root message:

bash
tether attach \
  --channel C12345678 \
  --thread-ts 1234567890.123456 \
  --claude-session-id "$CLAUDE_SESSION_ID" \
  --cwd /absolute/repo/path \
  --idempotency-key "stable-launch-id" \
  --json

The local broker refuses to replace another active binding. Attach from inside the exact Claude Code or Codex session, or pass its session id explicitly; do not guess a session identity. The explicit local attach claims that exact thread for the current binding generation, so allowlisted humans may continue it without mentioning the bot. Peer bots remain mention-gated. An intentional replacement must use rebind.

When parcha.tether is installed, use Tether: Open cockpit for the focused Codex or Claude Code pane. The cockpit can create or attach a Slack thread, rebind the intended replacement agent, detach, run doctor, and inspect uncertain work. A selected or Ctrl-clicked Slack thread link opens a review step; it never attaches automatically. Treat plugin context only as a hint and let Tether revalidate the exact live endpoint.

Operate safely

  • Keep secrets, raw credentials, private prompts, and sensitive findings out of notification text and source metadata.
  • Give scheduled occurrences stable, unique idempotency keys.
  • Let the bridge serialize replies; never launch a second manual resume for the same thread.
  • Use cancel, stop, nvm, or never mind in Slack to stop an active native continuation.
  • Run tether doctor after setup or a Hermes upgrade.
  • Diagnose one thread without loading a Slack token: tether thread --channel C... --thread-ts 123.456.
  • If an intentional agent restart changes the exact pane process fingerprint, run tether rebind --channel C... --thread-ts 123.456 from the intended replacement pane, then resend or replay the failed request. Never guess another pane.
  • Append progress to an existing thread without creating a second bridge: printf '%s\n' '...' | tether post --channel C... --thread-ts 123.456 --text-stdin --idempotency-key stable-step-id.

Read references/setup.md for installation and configuration. Read references/contract.md when changing an automation or diagnosing routing.

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

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

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

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

Tether Slack notifications and replies to the exact Codex, Claude Code, Hermes, or headless session through resumable Hermes conversations. Use when asked to notify Slack, continue coding work from a Slack thread, wire a cron or automation to Slack, or replace direct Slack API calls with session-aware routing.

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

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

كيف أثبّت Tether في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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