Logo Effective Harnesses

Effective Harnesses

Cộng đồng
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.

Tổng quan

Nhà phát hànhliangdabiao
Kho mãexa-research-mcp-skill
Tên kỹ năngeffective-harnesses
Sao
117
Bản fork
17
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được liangdabiao công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Effective Harnesses trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/liangdabiao/exa-research-mcp-skill/tree/main/skills/effective-harnesses
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Effective Harnesses trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Effective Harnesses ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Effective Harnesses với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Effective Harnesses làm được gì?

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.

Vì sao nên dùng Effective Harnesses trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Effective Harnesses là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Effective Harnesses trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/liangdabiao/exa-research-mcp-skill/tree/main/skills/effective-harnesses. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Effective Harnesses?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Effective Harnesses với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Effective Harnesses với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Effective Harnesses có miễn phí không?

Kỹ năng này được liangdabiao phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇