شعار Goal

Goal

المجتمع
lennoxsaint
goal

Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.

نظرة عامة

الناشرlennoxsaint
المستودعSkills
اسم المهارةgoal
النجوم
39
التفريعات
0
الملفات المرفقة
6
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Goal

When the goal is a quality bar that real data can measure (a pass rate, an eval score, a judge verdict), route to $hill-climb when it is installed: it turns the data into a locked test set and runs the climb itself, so it needs no /goal prompt.

Entry guard: creation versus continuation

Before applying the creation steps below, distinguish the current request from an already active goal. An automatic native Goal Mode continuation, or a request to resume/continue an existing goal, is execution work even when this skill remains in the conversation.

For an active continuation: read the existing goal and its current progress, inspect the current runtime phase/next action, and execute the next authorized step. Do not recreate the packet, return the launcher, ask for the original plan again, or call goal creation again. Preserve the original activation timestamp and completed work. Only return a new or revised launcher when the user explicitly requests one now. The creation-only output rules below do not apply to execution continuations. Respect actual Plan Mode if active.

Turn a user-provided plan into one bounded, verifiable goal.

  • For Codex, create a durable goal packet and return its paste-ready /goal launcher.
  • For Claude, return one paste-ready /goal prompt no longer than 4,000 characters.
  • Return notes only when the user explicitly asks for rationale, alternatives, or critique.

Core contract

  • Preserve the user's strategy, requirements, constraints, names, paths, dates, prices, gates, and stop rules.
  • Do not redesign the plan or reopen decisions unless a requirement is impossible or dangerously unclear.
  • If no plan, spec, or task list is provided, ask the user to paste the plan. Ask only that.
  • If a plan is provided, do not interview unless a critical blocker would make the goal unsafe or impossible.
  • Keep one goal to one bounded outcome. Route recurring or time-triggered routines to a scheduling or loop skill when one is available.
  • Resolve Codex versus Claude from the request or destination. Ask only when the platform is genuinely ambiguous and changes the result.
  • Prefer the shortest contract that preserves every execution-relevant fact.
  • Reference accessible source files by exact path and reading order instead of duplicating them. Inline anything the executor cannot retrieve.

Codex goal packet

For Codex, treat native Goal Mode as the lifecycle authority. The packet is the durable contract and progress surface; it does not replace /goal status, pause, resume, or clear controls.

Store each packet at .codex/goals/<goal-slug>/ inside the resolved workspace root. Treat packets as local runtime artifacts. Do not edit .gitignore, stage, or commit them unless the user explicitly asks.

Create the packet

  1. Resolve the workspace root to the Git root when one exists; otherwise use the current working directory.

  2. Write a short goal title with no more than eight meaningful words.

  3. Reserve a unique packet directory with:

    bash
    python3 "<skill-root>/scripts/goal_slug.py" --workspace-root "<workspace-root>" --title "<goal-title>" --reserve
  4. Use the exact packet_dir, goal_path, progress_path, and goal_slug returned as JSON. The helper normalizes lowercase ASCII slugs, keeps the final suffixed slug within 64 characters, and reserves collisions without overwriting an existing packet.

  5. Read assets/goal.md.template, fill every token, and save the final goal.md.

  6. Compute the SHA-256 of that saved file.

  7. Read assets/progress.md.template, fill every token including the saved goal hash, and save progress.md.

  8. Confirm neither saved file contains a {{...}} template token.

  9. Use absolute paths in the launcher. Quote paths containing spaces.

Ownership and steering

  • goal.md is owner-editable source truth for the outcome, constraints, permissions, exit criteria, and steering notes.
  • progress.md is Codex-owned runtime state. Codex updates it after every meaningful checkpoint and before stopping.
  • Never rewrite owner-controlled sections of goal.md while executing. If a user gives steering in the active thread, follow it immediately and record the accepted decision in progress.md.
  • Use this authority order:
    1. latest explicit instruction in the active thread
    2. current goal.md
    3. progress.md
  • Re-read goal.md before each checkpoint, after resume or compaction, and before every live, irreversible, or externally visible action.
  • Record the SHA-256 of the last-read goal.md in progress.md. When it changes, summarize the steering absorbed and adjust the next checkpoint before continuing.
  • Do not claim that editing the file interrupts a tool call already in flight. File steering takes effect at the next re-read.

Return the launcher

After creating the packet, return:

  1. A clickable link to goal.md.
  2. A copyable launcher in this shape:
text
/goal Execute the goal contract at "<absolute-path>/goal.md". Treat native /goal as the lifecycle authority. Re-read goal.md before every checkpoint, after resume or compaction, and before live or irreversible actions. Maintain "<absolute-path>/progress.md" after every meaningful checkpoint, including the current checkpoint, verified evidence, remaining work, blockers, accepted steering, and the SHA-256 of the last-read goal.md. Continue until the contract's exit criteria are proven or a hard blocker requires the owner.

Do not start the goal unless the user explicitly asks to start it. Creating the packet and launcher does not itself prove Goal Mode is active.

Goal contract standard

Write goal.md as a concise operational brief:

  1. Outcome
  2. Workspace and source truth
  3. Success and loop criteria
  4. Autonomy
  5. Hard stop rules
  6. Required work
  7. Verification
  8. Steering notes
  9. Final report

Apply these rules:

  • Define verifiable success criteria that Codex can evaluate after any turn.
  • Prefer numbers, thresholds, parity targets, checklists, named artifacts, or pass/fail checks when supported by the source plan.
  • Include known starting points, suspect areas, allowed tools, and acceptable limitations.
  • Define what Codex must inspect, change, verify, and decide at each checkpoint.
  • Require fresh progress evidence before continuing claims: changed files, passing checks, improved metrics, captured proof, or exact blocker text.
  • After the same symptom or error repeats three times, inspect fresh state and change strategy. Stop with the exact blocker if the changed strategy still cannot progress.
  • For indefinite-seeming work, include a turn, time, or checkpoint cap.
  • For visual work, use feature checks, specs, design-system adherence, screenshots, or visual diffs instead of "pixel perfect" alone.
  • Before completion, require cleanup and review of failed attempts, temporary tools, dead code, reduced coverage, and leftover artifacts.
  • Keep proof evaluator-visible. Separate draft, local, staged, runtime-verified, delivered, and live/public states.

Live-action gates

When the plan touches live systems, member data, payments, publishing, messages, calendar events, GitHub, production apps, or public copy:

  • Codex may inspect, draft, stage, screenshot, validate, and prepare.
  • Codex may submit, send, publish, delete, charge, change access or pricing, deploy, merge, announce, or write production data only when the plan explicitly authorizes that exact action.
  • If authorization is unclear, stop with the exact prepared output and ask for approval.
  • If credentials, CAPTCHA, passkey, SMS, OTP, recovery, password, or security prompts appear, stop and report the blocker.

Claude mode

For Claude, keep the prompt-only behavior:

  • Begin with /goal.
  • Use the user's plan as source truth.
  • Include outcome, sources, success and loop criteria, autonomy, hard stops, required work, verification, and final report.
  • Preserve live-action gates and proof-state distinctions.
  • Keep the complete prompt at 4,000 characters or fewer, including headings and whitespace.
  • Return only the prompt unless the user asks for notes.

Quality check

Before returning:

  • Confirm the goal is bounded and its stopping condition is objectively testable.
  • Confirm every source requirement, permission boundary, blocker, and proof obligation survives.
  • Confirm looped work says when to continue, change strategy, or stop.
  • Confirm the goal packet contains no unresolved template tokens.
  • Confirm goal.md and progress.md are in the same uniquely reserved packet directory.
  • Confirm the launcher uses the exact absolute paths and does not imply Goal Mode is already active.
  • Confirm progress.md is agent-owned and goal.md remains owner-editable.
  • Confirm Claude output stays within 4,000 characters.
  • Confirm no live action is authorized by implication.

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

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

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

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

Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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