dynamic-workflow-mode
Fungsinya
Alat ini membantu membuat sistem otomasi yang fleksibel untuk tugas-tugas coding. Agent AI bisa membuat 'harness' (kumpulan instruksi) sementara untuk tugas tertentu, atau memisahkan bagian yang bisa dipakai ulang untuk nanti, sehingga kerja tim menjadi lebih terorganisir dan mudah dipantau.
Kapan dipakai
- ✓Saat Anda membutuhkan proses berulang yang mungkin berubah-ubah.
- ✓Saat membuat otomasi untuk tugas sekali pakai yang perlu dilacak.
- ✓Saat beberapa orang perlu menggunakan proses yang sama secara konsisten.
Link skill
https://github.com/affaan-m/ECC/blob/main/skills/dynamic-workflow-mode/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buat harness untuk menguji fitur kode baru, dengan tes yang terfokus dan pengecekan coverage.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menyusun rencana yang jelas, mencakup apa yang harus dikerjakan dan apa yang tidak akan dikerjakan. AI juga menentukan input yang dibutuhkan (seperti file atau data) dan output yang diharapkan (seperti laporan atau kode).
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Dynamic Workflow Mode
Use this skill when a coding agent can generate or adapt a task-local harness instead of only following a static command flow. The goal is to turn dynamic workflow mode into a disciplined system: temporary harnesses for one-off work, shared skill extraction for repeated work, and observable control pane checkpoints for teams.
When To Activate
- The user mentions dynamic workflows, custom harnesses, harness-per-task, adaptive workflows, or Claude Code dynamic workflow mode.
- A task needs a custom loop, evaluator, crawler, fixture generator, watcher, or local dashboard.
- Multiple agents need the same repeatable process but the process is not yet captured as a shared skill.
- A workflow needs durable handoff artifacts, eval evidence, or operator approval before merge.
Core Contract
Dynamic workflow mode should produce a task-local harness only when the harness is cheaper and safer than manually driving the same steps. The harness must have:
- Objective: the outcome it owns and the outcome it explicitly does not own.
- Inputs: files, URLs, prompts, data sources, credentials policy, and user-provided constraints.
- Outputs: commits, reports, screenshots, status files, or control pane snapshots.
- Eval: at least one pass/fail check tied to the task, not only "it ran".
- Handoff: a short artifact that tells the next operator what happened, what is blocked, and how to resume.
Dynamic Harness Decision Tree
- One-shot task: keep it inline. Do not invent a harness.
- Repeated task with changing inputs: create a task-local harness and keep it under a temp or project-local working area.
- Repeated task across teammates or repos: extract the pattern into a shared skill.
- Task with external state, queueing, or approvals: add control pane visibility before adding more automation.
- Task with safety risk: add an eval gate and a human merge gate before autonomous execution.
Task-Local Harness Template
Use this structure before writing code:
# Dynamic Workflow Harness
Objective:
- Ship:
- Do not ship:
Inputs:
- Repo or workspace:
- External systems:
- Credentials policy:
Loop:
1. Discover current state.
2. Generate or update the smallest useful artifact.
3. Run eval checks.
4. Record status and handoff.
5. Stop on failed gate, unclear ownership, or unsafe external action.
Eval:
- Command:
- Expected pass signal:
- Failure owner:
Handoff:
- Status:
- Evidence:
- Next action:
Shared Skill Extraction
Promote a task-local harness into a shared skill only when at least two of these are true:
- The same workflow appears in multiple sessions, repos, teams, or launches.
- The workflow needs specific language, tool, or safety sequencing.
- Failures repeat because operators skip a gate or lose context.
- The workflow has a stable input/output contract.
- The workflow benefits from a control pane, status board, or team handoff.
When extracting, write the skill first in skills/<name>/SKILL.md. Add command shims only if a legacy slash-entry surface is still required.
Control Pane Checkpoints
Dynamic workflow mode becomes team-usable when it exposes state. Record these checkpoints whenever the task spans more than one session:
- Plan: objective, owner, acceptance criteria, and risky external systems.
- Queue: work items, assigned agent role, branch/worktree, and dependency edges.
- Run: active harness, current loop step, recent eval result, and token/cost signal if available.
- Gate: test results, browser screenshots, security review, and merge readiness.
- Handoff: what is done, what failed, what needs a human decision.
If the repo has ECC2 state enabled, prefer adding or reading checkpoints through the ECC control pane or state-store-backed scripts instead of scattering untracked notes.
Eval Gates
Every dynamic harness needs a task-specific eval. Pick the cheapest reliable gate:
| Work Type | Eval Gate |
|---|---|
| Code feature | Focused test, lint, coverage, and one integration path |
| UI/control pane | Browser smoke with screenshot and overflow/error checks |
| Agent workflow | Fixture transcript or seeded work item with expected routing |
| Research/content | Source-neutral brief, claim checklist, and publish-ready outline |
| Integration | Dry-run command, config validation, and no-secret scan |
…
Pertanyaan umum
Apa itu 'harness'?
Anggap 'harness' sebagai kumpulan instruksi atau sistem mini yang memandu AI untuk menjalankan tugas tertentu, memastikan AI mengikuti langkah yang benar dan memeriksa hasilnya.
Apa bedanya 'harness' sementara dengan 'skill' yang bisa dipakai ulang?
'Harness' sementara dibuat untuk satu tugas atau sekumpulan kecil tugas serupa. 'Skill' yang bisa dipakai ulang adalah proses yang lebih kokoh dan bisa digunakan banyak orang di berbagai proyek.
Mengapa 'eval gates' (titik pemeriksaan evaluasi) penting?
'Eval gates' adalah pemeriksaan kualitas dan keamanan. Pemeriksaan ini memastikan tugas selesai dengan benar sebelum lanjut atau berakhir, sehingga mencegah kesalahan dan menjaga hasil tetap andal.
Detail
Deskripsi asli dari pembuat
Design task-local harnesses, eval gates, and reusable skill extraction for Claude dynamic workflow mode and other adaptive agent harnesses. Use when building a task-local harness, adding eval gates, or extracting a reusable skill from ad-hoc work.
repo: affaan-m/ECC
Popularitas
- Bintang GitHub
- 280k
- Peringkat
- #303
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
accessibility
280kMembantu agent Anda membuat antarmuka yang ramah untuk semua orang. Memastikan website dan aplikasi tetap bisa dipakai penyandang disabilitas, seperti tunanetra.
agent-architecture-audit
280kMembuat agent Anda memeriksa apakah semuanya berjalan dengan benar. Agent akan menemukan dan memperbaiki masalah pada sistem AI agar bekerja sesuai harapan.
agent-eval
280kMembantu agent Anda membandingkan berbagai alat coding AI. Mengukur mana yang lebih cepat, lebih murah, dan lebih andal untuk tugas tertentu.
agent-harness-construction
280kMembuat agent Anda lebih memahami cara menyelesaikan tugas. Agent mengoptimalkan alat dan instruksi yang digunakan agar peluang berhasilnya lebih besar.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.