شعار Effective Harnesses

Effective Harnesses

المجتمع
liangdabiao
effective-harnesses

Long-running agent project harness for Codex, OpenClaw, Claude Code, and other coding agents. Use to initialize or maintain projects that need feature decomposition, resumable progress tracking, test-gated completion, session recovery, and git-backed checkpoints through files such as feature_list.json, init.sh, progress logs, and coding standards.

نظرة عامة

الناشرliangdabiao
المستودعexa-research-mcp-skill
اسم المهارةeffective-harnesses
النجوم
117
التفريعات
17
الملفات المرفقة
1
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Effective Harnesses

Purpose

Use this skill to keep long-running implementation or research projects reliable across many agent sessions. Maintain a small set of durable project files so any compatible agent can resume work without relying on hidden chat context.

Core Principles

  • Work on one feature at a time unless the user explicitly requests parallel work.
  • Track every feature in feature_list.json.
  • Run each feature's test/check command before marking it complete.
  • Keep a human-readable progress log for recovery.
  • Commit meaningful checkpoints when the environment and user instructions require git commits.
  • Prefer portable files and commands over host-specific slash commands.

Harness Files

Create or maintain these files at the project root:

FilePurpose
feature_list.jsonCanonical list of features, priorities, statuses, and test results.
init.sh / init.ps1 / init.pyOptional project bootstrap/start command for future sessions. Prefer init.ps1 or init.py on Windows native.
agent-progress.mdChronological progress notes, decisions, blockers, and next steps.
CODING_STANDARDS.mdOptional project-specific coding/test/review conventions.

If the project already has Claude-specific names such as claude-progress.txt, keep them if users rely on them, but prefer the portable agent-progress.md name for new projects.

Initialize a Project

  1. Identify the project goal, stack, default test command, and startup command.
  2. Create feature_list.json from the schema below.
  3. Create a repeatable bootstrap if useful: init.sh for Unix-like shells, init.ps1 or init.py for Windows native. Do not require Bash on Windows.
  4. Create agent-progress.md with initial context, assumptions, and next feature.
  5. Create or update CODING_STANDARDS.md only when project conventions are known or requested.
  6. Run the bootstrap and/or test command if safe in the current environment.

Add a Feature

Append a new feature object with:

  • Unique sequential ID such as feat-001.
  • Category: functional, bugfix, refactor, research, or another user-approved category.
  • Priority: lower number means higher priority.
  • Clear description and concrete steps.
  • Test/check command that proves completion.
  • Initial status: pending and passes: false.

Resume a Session

At the beginning of a resumed project:

  1. Read feature_list.json.
  2. Read recent git history if available.
  3. Read agent-progress.md or legacy progress logs.
  4. Select the highest-priority feature with status other than completed.
  5. Run init.sh, init.ps1, init.py, or the documented startup command when appropriate for the host OS.
  6. Run a baseline test/check when safe, then begin work.

Complete a Feature

Before marking a feature complete:

  1. Verify implementation/research artifacts exist.
  2. Run the feature's test_command or a justified equivalent.
  3. Store a concise test_output summary.
  4. Set test_status to passed only on success; otherwise use failed and leave passes: false.
  5. Update agent-progress.md with what changed, validation, and next steps.
  6. Commit if required by user or project policy.

File-Mode Research Harness Pattern

For large research tasks, prefer a file-mode harness instead of chat-heavy handoff:

  1. Create a domain data directory such as data/<domain>/ plus a depth/ subdirectory.
  2. Track run status and convergence in data/<domain>/index.json.
  3. Split research into independent dimensions and write each dimension to depth/<dimension>.json.
  4. If the user explicitly requests/allows parallel agents and the host supports them, workers should write JSON files and reply only DONE; otherwise perform the same dimensions sequentially.
  5. Merge depth files into a main JSON data file, export any required CSV tables, then generate deliverables.
  6. Validate JSON/CSV/report files before marking the feature complete.

For renewable-energy market intelligence, use $renewable-market-research, which specializes this pattern for country + technology research and full/lite report generation.

feature_list.json Schema

json
{
  "version": "1.1",
  "project": "Project name",
  "description": "One-sentence project goal",
  "test_command": "npm test",
  "created": "YYYY-MM-DD",
  "features": [
    {
      "id": "feat-001",
      "category": "functional",
      "priority": 1,
      "description": "Feature description",
      "steps": ["Step 1", "Step 2"],
      "test_command": "npm test",
      "test_status": "pending",
      "test_output": "",
      "status": "pending",
      "passes": false
    }
  ]
}

Allowed status values: pending, in_progress, blocked, completed. Allowed test_status values: pending, running, passed, failed, skipped. Use skipped only with a clear reason in test_output.

Progress Log Format

Append entries like:

markdown
## YYYY-MM-DD — feat-001 short title

- Status: in_progress/completed/blocked
- Changed: ...
- Validation: `command` → result summary
- Decisions: ...
- Next: ...

Host Portability Notes

  • Codex: use normal file edits, terminal commands, plan updates, and git commits according to the current instructions.
  • OpenClaw: keep the same project files; place this skill under an OpenClaw skills directory or workspace skills directory.
  • Windows native: prefer PowerShell (.ps1) or Python (.py) startup/validation scripts; avoid Bash-only make.sh, sed, awk, chmod, or Unix path assumptions.
  • Claude Code: legacy slash commands may be used if present, but do not require them for portability.

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

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

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

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

Long-running agent project harness for Codex, OpenClaw, Claude Code, and other coding agents. Use to initialize or maintain projects that need feature decomposition, resumable progress tracking, test-gated completion, session recovery, and git-backed checkpoints through files such as feature_list.json, init.sh, progress logs, and coding standards.

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

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

كيف أثبّت Effective Harnesses في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/liangdabiao/exa-research-mcp-skill/tree/main/skills/effective-harnesses. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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