मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट260k · #441

dynamic-workflow

यह क्या करती है

यह कई एक जैसे हिस्सों वाले बड़े कामों, जैसे हर फ़ाइल या endpoint पर एक कार्य, को ऐसी स्क्रिप्ट में ढालती है जो हर नतीजा दर्ज करती है। यह उन डेवलपर्स के लिए है जो Hermes एजेंट के साथ बड़े बैच काम चलाते हैं।

कब इस्तेमाल करें

  • ✓जब किसी काम में अलग-अलग इकाइयां एक बातचीत में समा न सकें, जैसे दर्जनों फ़ाइलें।
  • ✓जब आप चाहते हों कि कई दौर के प्रयास एक अलग समीक्षक से जांचे जाएं।
  • ✓जब किसी बड़े रीफ़ैक्टर या फ़िक्स को समानांतर workers की लहरों में बांटना हो।

Skill का लिंक

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/dynamic-workflow/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/dynamic-workflow/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“सभी 60 API endpoint फ़ाइलों में error handling अपडेट कीजिए, और रिपोर्ट देने से पहले हर एक जांचिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट एक स्क्रिप्ट लिखता है जो योजना और लूप संभालती है, समानांतर रूप से सहायक एजेंट्स को काम भेजती है, और हर नतीजा डिस्क पर दर्ज करती है। केवल जांचे गए नतीजे मुख्य बातचीत तक लौटते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Dynamic Workflow Skill

Runs large fan-out work as a workflow: the plan, the loop and every intermediate result live in a script and on disk, so the parent's context holds only verified results. Covers one-shot fan-outs, adversarial convergence (attempts + refuters), and multi-wave campaigns that integrate dozens of worker branches. It does not make delegate_task durable across restarts; that is the kanban swarm's job.

When to Use

Reach for it when the unit of work is clear (a file, an endpoint, a record) and there are more units than one context can hold. Skip it for under ~10 units or for serial chains. For a refactor or fix campaign on hermes-agent itself, load hermes-agent (the dev workflow) alongside; this skill owns the fan-out shape.

Prerequisites

  • delegate_task available and delegation.max_concurrent_children sized for the wave (default 10; the runtime rejects a tasks=[] larger than that with a clear error rather than queueing). delegation.max_spawn_depth >= 2 only if children must fan out themselves.
<!-- no-tmp: ok — explains why a literal /tmp is wrong -->
  • A writable run directory resolved from the terminal environment's temp dir ($TMPDIR, else the platform temp dir). Never a literal /tmp: Termux has no such directory and native Windows breaks on it. Use <tmp>/wf_<name>_<uuid>/, unique per run, so an interrupted earlier run cannot leave stale outputs to be misread.
  • execute_code for the deterministic layer (only web_search, web_extract, read_file, write_file, search_files, terminal, patch exist inside it).

How to Run

Two layers, split by a real capability boundary:

Layer A - execute_code script Layer B - delegate_task batch
Use for DETERMINISTIC work: fetch N URLs, parse N files, run N commands, template N outputs, build manifests, merge outputs LLM-JUDGMENT work: classify, review, decide, write, refute, refactor one unit
Holds loop, branching, intermediate variables nothing; one call with tasks=[...], each task its own isolated agent
Tools the sandbox set above; it can NOT call delegate_task the parent's toolsets, inherited unchanged (no per-task narrowing); children lose delegate_task, clarify, memory, send_message, cronjob_manage
Concurrency yours (ThreadPoolExecutor, batches) bounded by delegation.max_concurrent_children
Cost tool calls only one full agent tree per task; multiplies linearly

Do the deterministic part in Layer A first, fan out only the irreducibly-LLM step in Layer B, synthesize on the parent.

Background-first: results re-enter as messages

A top-level delegate_task returns immediately with one handle per task; each child's result re-enters the conversation as a new message when it finishes. You cannot read out_*.csv on the line after the call. Finish whatever does not depend on the children, give a one-line status, and END YOUR TURN; act on each result message as it lands. An ordinary follow-up user message does not cancel children; /stop, /new and process exit do. Only a delegation issued by an orchestrator subagent (depth > 0) is synchronous.

Quick Reference

  • Unit must be answerable without sibling output, else it is serial.
  • Manifest: one unit per line in <run>/manifest.jsonl; print count + run dir.
  • Per child: ~8-12 mechanical edits, or ~2-3k lines of reading, or ~50-70 KB of corpus; size by the LARGEST unit. Structured output goes to files, never the summary field (it truncates under load); delimiter-separated lines over JSON.
  • Parent verifies file count and per-run freshness before merging.
  • A "stalled" child usually completed its write; check the filesystem first.
  • Scoped slice first (one directory, 20 records), report token cost, then scale.

Procedure

One-shot fan-out

  1. Decompose into independent units.
  2. Layer A pre-pass writes the manifest.
  3. Size chunks against the limits above; for more tasks than max_concurrent_children, issue bounded waves yourself.
  4. Layer B: one delegate_task(tasks=[...]); each task reads its slice, writes <run>/out_<i>.csv, prints a status word, stops.
  5. End the turn. As result messages arrive, read the files, verify, merge; the cross-cutting synthesis stays on the parent.

Adversarial convergence (finding-quality work)

  1. Independent attempts: the SAME question to N children (2-4) with DIFFERENT framings in each context, each writi
अक्सर पूछे जाने वाले सवाल

यह स्किल कब इस्तेमाल करने लायक नहीं है?

स्किल कहती है कि लगभग दस से कम इकाइयों के लिए, या ऐसे चरणों के लिए जो एक के बाद एक चलने चाहिए, इसे छोड़ दें।

क्या रीस्टार्ट के बाद काम बचा रहता है?

नहीं। स्किल कहती है कि यह सहायक कार्यों को रीस्टार्ट के पार टिकाऊ नहीं बनाती।

काम कहां सेव होता है?

सिस्टम temp डायरेक्टरी के भीतर एक अनोखे run फ़ोल्डर में, न कि /tmp जैसे किसी तय पथ में।

जानकारी

लेखक का मूल विवरण

Plan-in-code fan-outs, adversarial verification, waves.

repo: NousResearch/hermes-agent

लोकप्रियता

GitHub स्टार
260k
रैंकिंग में स्थान
#441
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-merge-conflict-arbiter

260k

दो एजेंट्स की branches के बीच git merge conflict को एक निष्पक्ष तीसरे पक्ष के रूप में सुलझाती है और रिपॉज़िटरी के लिए एक merged नतीजा बनाती है।

कोडिंगसामान्य कोडिंग

antigravity-cli

260k

Antigravity कमांड-लाइन टूल को इंस्टॉल करने, अपडेट करने और उसकी दिक्कतें सुलझाने में मार्गदर्शन देती है, जिसमें प्लगइन, साइन-इन और sandbox शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

blackbox

260k

आपके एजेंट को कोडिंग काम Blackbox AI कमांड-लाइन टूल को सौंपने देती है, जो कई AI मॉडल चलाकर सबसे अच्छा नतीजा चुनता है।

कोडिंगसामान्य कोडिंग

grok

260k

आपके एजेंट को कोडिंग काम xAI के Grok Build CLI को सौंपने देती है, फ़ीचर बनाने, रीफ़ैक्टर करने, pull requests की समीक्षा करने या issues के बैच ठीक करने के लिए।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills