İçeriğe geç
Kurulum

role-based-agent-orchestration

Kapsamı belirlenmiş çalışma alanlarıyla ajanları rol bazlı koordine eder.

HamaratLabsMITv1.0.0

KURULUM

hermes skills install well-known:https://skills.hamaratlabs.com/.well-known/skills/role-based-agent-orchestration

Ham dosyaSKILL.md önizlemesi

2 GERÇEK ÖRNEK

Ne istendi, ne çıktı

NE İSTENDİ · 22 EYLÜL 2026

MVP bitene kadar doğru sırada ilerle, kontrol noktalarında ilgili ajanlar değerlendirip planı revize etsin.

default
NE ÇIKTI

CP0 kontrol noktası açıldı; UX, teknik mimar ve QA ajanları paralel değerlendirme yaptı, plan bulgulara göre revize edildi.

NE İSTENDİ · 2 KASIM 2026

Bütün ajanların rol dosyalarını ve skill'lerini oku, görevler ayrılığı ilkesine göre akışı yeniden kur.

default
NE ÇIKTI

Ajan rolleri ve rehber belgeleri tek tek okunup rol kartları ve bilgi erişim akışı yeniden düzenlendi.

KAYNAK VE LİSANS

Tür
HamaratLabs yazdı
Yazan
HamaratLabs
Lisans
MIT
Ham dosya
SKILL.md

DEĞERLENDİRME

  • 4ajan profilinde kullanıldı
  • 277kayıtlı yükleme
  • 2belgelenmiş örnekyalnız metin

Sayılar ajan kayıtlarından gelir. Puanlama henüz yok.

SÜRÜM

Sürüm
v1.0.0
Siteye ilk yayın
1 Aralık 2026
Oluşturma
20 Eylül 2026
Son kullanım
26 Kasım 2026
Paket
8 dosya · SKILL.md 123 satır

YORUMLAR

Yorumlar yakında

Bu skill hakkındaki yorumlar ve puanlar burada görünecek. Bölüm henüz açılmadı.

SKILL.MDÖnizleme123 SATIR

AJAN AÇIKLAMASI Use when coordinating agents with scoped workspaces.

Role-Based Agent Orchestration

Use this skill when a user wants multiple agents with distinct characters, permissions, workspaces, and handoffs. Treat roles as logical responsibilities and workers as the CLIs/models that execute them.

Procedure

  1. Inspect the workspace contract before assigning work. Keep the notes vault as memory/decisions/research only; keep code, tests, branches, commits, and PRs under <projects-root>; keep generated visuals and assets under <assets-root>.

  2. Route through six stable roles by default: Manager/Orchestrator, Researcher, Coder, Librarian, PM/GitHub Manager, and Artist. Keep UX, technical review, summarization, and testing as sub-tasks until real workload justifies separate roles.

  3. Bind each role to a worker and a write scope. The manager (orchestrator, <koordinator>) decomposes, verifies, and integrates; a research model/tool researches; specialist profiles (web, mobile, video, image...) do the work in their own scope; the librarian audits and records knowledge; per-product PM profiles own GitHub/project flow for their product; the Artist owns <assets-root> outputs.

  4. Give every task a contract: purpose, input references, privacy level, output format, acceptance criteria, allowed paths, and whether external side effects require approval.

  5. Keep handoffs explicit. If code needs a visual, the Coder writes a brief with purpose, dimensions, formats, states, and usage path; the Manager routes it to the Artist; the Artist returns versioned source/export assets; only then does the Coder integrate and test.

  6. Distinguish vector work from direct image generation. SVG/UI assets are code-generated vector artifacts; PNG/JPG/WebP image-generation work must use the configured Gemini image tool and record the actual model/tool, prompt metadata, and output path. Never label a hand-drawn raster or SVG as direct model generation.

  7. Audit before editing memory. The Librarian runs at the user's scheduled times, reads Öğrendiklerim/, simplifies only evidence-backed current notes, never deletes source knowledge, and writes a dated audit report. For contradictions, delegate bounded verification to the appropriate worker and leave unresolved conflicts explicitly open.

  8. Use dry-runs before automation. Test role selection, scope boundaries, handoff files, and output validation without writing durable notes; only schedule recurring audits after the dry-run produces reliable, low-noise reports. If the user explicitly authorizes recurring maintenance, preserve originals or record reversible changes rather than requiring a new approval for every low-risk simplification.

  9. Verify every worker result independently. Check exit status, expected artifact existence/type, changed paths, tests, source citations for research, and privacy boundaries; do not trust a worker's success claim alone. When a worker copies files from another workspace or external source into a shared deliverable, confirm the copy is byte-identical via checksum rather than trusting the copy step - this also confirms the source was not mutated.

  10. Run capability matrices by worker/model family, not by persona claims. Test planning, research, summary, structured JSON, code+tests, SVG, visual analysis, and direct raster generation separately; record the exact model, artifact path, parser/test evidence, and whether a failure is unsupported, blocked by permission, or blocked by quota.

  11. Create GitHub repos only after auth and naming discovery. Check gh auth status, inspect existing repos for collisions, prefer private repos for new project work, create/clone under <projects-root>, and verify remotes and visibility afterward.

  12. Separate the UI agent from the worker model. A ajan Desktop Bot/Profile is the selectable workspace and role; its underlying worker may be ajan-native Claude, Claude Code CLI, or agy. Do not claim Claude Pro or Google AI Pro subscriptions are native ajan providers: verify provider auth separately, and use a CLI worker when the subscription is only available through its own CLI.

  13. Keep one gateway when profiles share a desktop. Create profiles/Bots for separate roles, then serve them through one multiplexed gateway; do not create a second per-profile launchd gateway unless isolation is intentional and documented.

  14. Validate model-picker entries before pruning them. Test each candidate through its configured provider and inspect auth state first; disable only models whose provider is unavailable. Keep working Codex entries, the ajan-compatible local model, and external CLI workers as separate categories.

  15. Probe every claimed model with an identity prompt before routing work to it. Record requested model, provider, returned identity, exit status, timeout/error, and effort setting; a cached model name is not proof of live availability, and a CLI subscription login is not proof that ajan' native provider can use the same entitlement.

  16. Separate model capability from model identity and billing. Treat context-window metadata, provider catalog entries, successful calls, and subscription/API entitlement as separate facts; do not claim that a model is included in a subscription until the relevant provider call succeeds under that account.

  17. For an MVP, keep the execution loop active until the exit gate passes. After each worker result, independently verify it, record the next failing acceptance criterion, and dispatch the next bounded slice immediately; do not end in a waiting state merely because the current slice passed. Ask the user only for decisions that materially change implementation, batch independent questions, and resume execution as soon as answers arrive.

  18. Report progress as a short status, not a completion claim. Distinguish verified results, open acceptance criteria, and the currently running slice; say explicitly when work is blocked by a decision, and never imply that an agent continues between turns unless a real background process is running.

  19. Before dispatching a second worker onto a working tree another worker may still be using, check for a live process on that task first (e.g. ps aux filtered for the profile name and task-file path). If one is still running, either queue the new dispatch behind it or scope the new task as strictly read-only/isolated-scratch-output (no edits to the shared files) - two sessions editing the same files concurrently corrupt each other's changes and neither's commit is trustworthy. This applies equally to the coordinator's own git operations in that worktree (git merge, git commit, conflict resolution) - do not run them while a worker process is still active there, even if the files you are about to touch look disjoint from what the worker is editing. Git's own state (.git/index, HEAD, refs) is shared mutable state for the whole working tree, not per-file, so a concurrent merge can race the worker's own commit regardless of file overlap. Wait for the worker to exit before merging into or committing on that tree.

  20. A worker session that exits non-zero (rate limit, budget exhaustion, crash) is not proof the task failed. Inspect the actual target state (git status, build, test suite) before concluding failure, restarting from scratch, or discarding the session - a budget/quota cutoff often lands after the real work is already done and only truncates the worker's final narration.

  21. Before killing or restarting a running worker session for any reason (model/provider swap, course correction), check whether it already produced real uncommitted progress and protect it with a local commit first. Mid-session interruption discards everything not yet committed; a cheap safety commit costs nothing and prevents real work from being silently lost. If nothing substantive exists yet, restarting is free.

  22. Treat a provider's self-reported remaining quota as advisory, not a guarantee against near-term rate limiting. A subscription or credit pool showing high remaining balance can still return a hard usage-limit error mid-task; keep a resumable session id or a fallback model/provider ready rather than assuming the stated quota guarantees completion.

  23. Read the target repo's own architecture/decision docs before writing a delegation brief, and honor an explicit "ask the user before choosing X" gate recorded there - even when the user's own casual phrasing implies the choice is already made. Surface the conflict as one clarifying question rather than silently following either the user's phrasing or the doc alone; the doc exists precisely to stop an assumed default from shipping unreviewed.

  24. Read the actual LICENSE before recommending reuse of any external repo or design, not just before a push. GitHub reports source-available licenses (e.g. PolyForm Noncommercial) as licenseInfo: Other, and "public repo" is not "open source": under a noncommercial license only ideas and UX patterns may be carried into the user's products, never code, icons or wallpapers. State the license first in any repo review. Before approving a repo for push/publish when it bundles a third-party UI component or asset pulled from an external registry, check that component's actual license for redistribution restrictions, not just whether the code runs - a permissive-sounding base license (e.g. MIT) can carry an added clause (e.g. Commons Clause) that forbids resale/redistribution even though internal use and modification stay free. When found, keep the repo private/local and say why, rather than pushing on the assumption that MIT alone clears it.

  25. Before launching a long-running background dispatch on a provider/model combination not already proven this session, smoke-test it first with a trivial one-off query (a short prompt, a few seconds) to confirm the model name resolves and the credential is live. A typo'd model name or a dead credential discovered only after committing a multi-hour run budget wastes the whole slot; the smoke test costs nothing. The smoke test itself can give a false positive: a trivial prompt against an invalid/mistyped model identifier can still return a normal-looking reply (observed: opus-5.5 auto-"normalized" to a non-existent opus-5-5 and answered "ok" to a one-line probe, then failed the real multi-hour dispatch with HTTP 404 on that exact normalized name). Treat a live probe as a necessary check, not a sufficient one - cross-check the exact identifier against the provider's own authoritative model list before committing a long run: check the provider's documented model IDs (or your agent tool's model picker) for the literal id string (e.g. claude-opus-5-5, not a casual opus-5.5 shorthand) rather than trusting the normalizer's silent rewrite.

  26. When a research task needs to load a heavy shared resource (a large model, the GPU/unified-memory pool) that the user's live production server also holds, scope the delegate to an isolated scratch directory and its own throwaway process - never attach to, restart, or share memory with the live port the user may be actively using. This is a resource-contention rule distinct from rule 19's file-edit conflict: the task can be otherwise read-only and still crash or starve the user's live session by loading a second copy of the same model alongside it.

  27. A worker session that exits 0 is not proof it finished the task either - check whether its own final output shows a repeated context-compaction loop (e.g. many consecutive "compacting context…" lines) followed by an incomplete narrative or a question back to you instead of a stated result. This is a distinct failure mode from rule 20's non-zero-exit case: the session ran out of usable context mid-task, auto-compacted repeatedly, and surfaced whatever partial state existed when it gave up - real file edits are often already on disk and uncommitted. Recovery is a continuation dispatch, not a restart-from-scratch and not a blind retry of the same brief: write a short follow-up brief that (a) states the working tree already has uncommitted changes to preserve, not overwrite, (b) names the specific loose end the cut-off session surfaced (an open question, a half-applied fix, a missing verification step), and (c) asks it to finish, verify, and commit from current state. Launch it the same way as the original (background, notify=true) in the same directory.

  28. After ANY mobile/Android task (cut off by compaction, exited non-zero, or even a clean finish), explicitly check for and close a leftover emulator before moving on - do not trust the worker's own "I closed it" claim or assume a clean exit implies cleanup happened. A cut-off worker's cleanup step is exactly the kind of trailing, low-priority action that gets skipped when context runs out, and this repeats across unrelated tasks/projects in the same night if not checked every time. Verify with adb devices (expect an empty device list); adb -s <id> emu kill returns OK immediately but the device can still show as attached for several seconds afterward, so sleep ~8-10s and re-check adb devices (and optionally ps aux | grep qemu-system) before treating it as closed. Do this check yourself as the coordinator rather than deferring it into the continuation-dispatch brief alone - an open emulator wastes RAM/CPU for every minute it sits idle and can collide with the NEXT task's own emulator session.

  29. Piping a worker's verification command through tail/head to keep output short silently discards the exit code and pass/fail line you actually needed - a worker reporting "tests passed, exit 0" after doing this has verified the truncation command's exit code, not the underlying test run's. This surfaced twice in one night as an unverified "34/34 passed" claim that had to be rerun clean before it could be trusted. Before accepting a quantitative test/build claim from a worker, confirm the brief (or the worker's own report) shows the untruncated final summary line (Ran N tests ... OK, BUILD SUCCESSFUL, All tests passed!); if a worker's own log only shows truncated output, send a short follow-up asking it to rerun the verification command without a trailing tail/head and quote the real final lines before you forward the claim as fact.

  30. Never trust a worker's own narrative claim that it committed, pushed, cleaned up a dev server/emulator, or ran a verification command - verify each one yourself (git log/git status, ps aux, re-running the command) before forwarding the claim as fact, even on a clean exit 0. A worker's final report is written to describe the step it intended to take, and near a tool/turn-limit cutoff it can state a step as done that it ran out of budget to actually execute (e.g. a report stating "local commit made" while git status still shows the change untracked). This is a distinct check from rule 27 (compaction-loop) and rule 29 (truncated test output): it applies even to a worker that reports total success with no visible sign of running out of room. The same holds for research/tool-test reports: "left no trace on the system" needs your own brew list --versions <tool>, state-dir and listening-port check, and a tool ranking is only as good as its coverage, so confirm each candidate was tested in its core mode (not a manual fallback) before forwarding the recommendation; when you tested a candidate yourself, give the worker your results so its note records them.

  31. When reconciling many parallel worktrees back into one shared branch at the end of a session, follow references/worktree-consolidation.md - sweep every worktree for uncommitted work before merging any of them (a clean exit 0 does not mean the worker committed; see rule 30), merge one branch at a time with an immediate build/verify after each, and resolve same-name config conflicts (e.g. two branches each declaring the same top-level config object) by combining both sides' intent rather than blindly keeping one side.

  32. Before merging a feature/integration branch locally into any target branch (git checkout target && git merge feature), run git status on the target's own checkout first - do not assume it is clean just because this session never touched it. A target branch's working checkout can be sitting on unrelated, uncommitted WIP left by an earlier session or another agent (e.g. an in-progress build-variant change using an old naming/package scheme). Merging on top of that risks the merge silently absorbing, conflicting with, or burying that unrelated work. Commit the pre-existing WIP to its own clearly-labeled commit first (so it has a real, recoverable point in history) before starting the merge - never git stash and move on without a plan to pop it, and never let the merge commit's diff become a mix of the intended feature plus someone else's unrelated WIP.

  33. When committing the coordinator's own curated file list to isolate one task's work in a worktree another task also has uncommitted changes in, an explicit git add <path> <path> ... list is not enough - a path on that list can belong mostly or entirely to the OTHER task. Two unrelated background tasks can independently touch the same file (e.g. both edit a shared App.kt/config entry point for different reasons); listing it by name stages whatever is on disk, not just "your" task's share of it. Before running git commit, run git diff --cached <path> on every file in the list and confirm the diff's actual content matches the task you are committing; git restore --staged <path> anything that turns out to belong to the other in-flight task, and let that task commit it separately when it finishes.

  34. A PM/manager profile dispatched with --oneshot that itself spawns a nested background worker (e.g. PM investigates, then runs hermes -p <uzman-profil> chat ... & as its own background process and exits citing "I'll check back when it's done") can never actually check back - a oneshot session runs once and exits for good, it does not resume. The nested worker it launched keeps running alone with no one positioned to read its final report, answer a blocking question it asks mid-task, or merge its result. This produced a real silent stall: a nested worker hit a decision point, asked a question in its own log, and sat there - untouched - until the coordinator happened to check much later. Treat any "PM dispatched a background worker and then its own oneshot exited" state as the coordinator's direct responsibility to supervise from that point on: poll the nested worker's own log/worktree periodically (not the PM's, which already exited and will not update), answer any question it leaves by writing a continuation brief directly to that worker's branch/worktree, and do not wait for the PM to "come back" - it structurally cannot. If a PM needs to review and merge a nested worker's output itself, either keep that PM session interactive (not --oneshot) or make the coordinator the one who reviews and relays, every time.

  35. When writing a delegation brief for a creative/technical decision the worker will make largely on its own (visual style, game mechanics, UX pattern, novel design choice), match the brief's own research depth to the stakes of that decision - a brief built from a handful of web_search snippets reads as shallow to a user who then reviews the delegated output, even if the output itself is competent. A user who explicitly asked for a mechanic/design pass and gets back something ungrounded will say so directly (e.g. "did you even think about this") and the real fix is not a better implementation, it's commissioning actual source-grounded research (named references, concrete mechanisms, numeric parameters - the agy/deep-research pattern) BEFORE writing the brief, not after the complaint. Default to quick web_search only for factual lookups and sanity checks; reach for a dedicated research dispatch whenever the brief asks the worker to originate a design decision a domain expert would ground in named prior art.

For pixel-art/visual-asset delegation specifically, technical spec compliance (correct canvas size, correct palette color count, seamless tiling) is NOT the same bar as artistic quality, and a worker will reliably hit the former without the latter unless the brief names the gap. A user who asked for 'real pixel-art style' and gets back assets that pass every technical check can still say 'this made no progress at all' - the tell is flat, single-hue-ramp color bands with no shading pass. Before dispatching pixel-art creation (via pixel-mcp/Aseprite or any tool), require in the brief: (a) the worker actually look up real reference games by name (e.g. Hyper Light Drifter, Celeste, Dead Cells - whatever fits the game's tone) and look at real screenshots, not reason from memory about 'pixel art in general'; (b) apply named craft techniques, not just a flat palette - hue-shifted color ramps (shadows lean cool/purple-blue, highlights lean warm/yellow-orange, not just darkened/lightened single-hue steps), one consistent light direction across all sprites, ambient occlusion at contact/seam points, and intentional dithering for texture (the tool's own dithering patterns, used on purpose, not skipped); (c) a single pilot asset reviewed and explicitly approved (side-by-side, upscaled, your own eyes) before the worker mass-produces the rest with the same approach - catches a wrong direction after one asset's cost, not after twenty.

Producing a pixel-art/sprite asset and wiring it into the actual render code are two separate, separately-schedulable phases - finishing the first does not make the second happen, and the user will reasonably ask 'why does nothing look different' if asset-production is reported 'done' while the game/app still draws the old procedural/placeholder visual. A worker brief scoped to 'make the sprites' has no obligation to also touch the rendering call sites; explicitly name asset-integration (loading the file, replacing the draw call, handling size/tiling/scaling, preserving existing effects layered on top) as its own task in the plan, or track it as an open item, rather than letting it fall through silently between a content phase and a polish phase.

When the SAME category of creative/artistic dissatisfaction comes back a second time after an already-attempted fix ('still not real pixel ART', 'still doesn't feel right'), do not simply re-dispatch the same craft recipe for a third blind attempt - require the worker to first diagnose, with a side-by-side reference comparison, the SPECIFIC missing element (shape/silhouette complexity, scale, animation/liveliness, color depth) and name a concrete change, before any further full-asset rework. Repeating an unexamined 'add more craft techniques' pass a third time risks reproducing the same unsatisfying result at the same cost; a named diagnosis turns a vague 'more artistic' complaint into an actionable, verifiable next step and avoids burning another full production cycle on a guess.

  1. When a user replies to a batch message with a blanket approval phrase ("hepsine evet", "tümüne onay", "approve all"), check whether that batch mixed genuine yes/no itemized approvals with open-ended questions (which option, a keep-or-remove question phrased as "X kalsın mı gitsin mi" rather than yes/no, a name/selection choice) before treating everything as answered. A blanket "evet" cleanly resolves an itemized numbered list; it structurally cannot answer "which one", "stay or go", or a selection question bundled in the same message - there is no single word that answers both shapes at once. Reply identifying exactly which items are now approved, and re-list, verbatim, only the still-open non-yes/no questions as explicitly unresolved. Do not let a worker proceed on an unanswered open question just because a nearby itemized list got a blanket yes, and do not re-ask the same already-resolved yes/no items again once they're confirmed.

  2. Walking the user through a long decision list (a plan file with dozens of Cevap: lines), when they ask to answer it in chat "one at a time, fast": ask exactly one question per clarify call with the recommended option first; rewrite each question in plain words and explain internal jargon (CLI names like vd, "worktree", "frontmatter") inside the question itself, since an unexplained term comes back as a question instead of an answer; write each answer into the file immediately with a tiny helper script (plan_cevap.py <no> "<answer>") so progress survives an interruption; before asking, check the live state and drop or rewrite questions already resolved by work done since the plan was written (say so in one line). When the user challenges an option ("what else could it be?", "wouldn't that erase what the specialist learned?"), answer with the real trade-off and, if their objection is valid, offer a new option instead of defending the old one; record the new option and its reason in the file. If a clarify call is cancelled, re-ask that same question as plain text. If a question was never in the file, add it as a numbered sub-item rather than renumbering.

  3. When the user delegates the remaining approvals ("I answered the questions, the rest is yours"), write that delegation and its limits into the plan file, then still keep irreversible steps narrow: batch rollouts with a dry-run and outside-cache backup, file removal only to the macOS Trash (never permanent delete, never emptying the Trash) and only after the user okays that specific removal, and per-file checksum comparison of the copy against the original before trashing it. Route removals through the profile that owns deletion (<silme-sahibi-profil>) with the explicit item list, and decide small leftover worker questions yourself, telling the user each decision in the report.

Agent soul and profile customization

  • Customize one agent profile at a time; inspect its current config.yaml, existing SOUL.md, active work, and worker assignment before editing, because concurrent tasks and stale overwrites can change behavior or destroy local policy.
  • Keep the durable behavior contract in the profile's SOUL.md; keep model/provider/reasoning/context values in config.yaml, and do not pretend that a model name in a Soul document changes routing by itself.
  • For each Soul document, specify identity, capabilities, forbidden actions, write scope, model tiers, fallback policy, required workflow, acceptance gates, and reporting format; write constraints as imperative rules with a reason when the mechanism is non-obvious.
  • Separate the agent persona from the worker model: a profile may orchestrate Claude Code or agy, but every worker handoff must state the allowed paths, expected artifact, validation commands, and approval-gated side effects.
  • Do not silently downgrade critical coding work to a weak fallback after the preferred model fails; stop and report unless fallback use was explicitly authorized.
  • Use one strongest, live-verified fallback per coding profile by default; do not chain several models from the same provider/account when quota exhaustion or entitlement affects the whole provider, because the chain adds complexity without improving availability.
  • Treat a successful identity probe as routing evidence, not a quality benchmark: record requested name, returned identity/alias, status, reasoning level, and provider error separately before ranking models.
  • Keep concise Souls: purpose, capabilities, limits, model policy, workflow, scope, and output format; remove duplicated background and session history so the contract remains legible in every run.
  • Expose reasoning as a task-level choice: default to high, use low/medium for light work and xhigh/max for heavy work, while keeping tests and acceptance gates unchanged.
  • Preserve existing useful Soul rules when extending a profile; read the complete file before replacing it, and verify the written artifact before moving to the next agent.
  • When the user decides an agent's role or permissions in chat, apply it to that agent now, not only to a plan file. The agent keeps obeying its on-disk rules, refuses the user's requests citing them verbatim, and waits for the files to change; parking the decision in a plan leaves the user blocked. Ask once to confirm if a protected SOUL write is needed, then do it in the same turn.
  • A role/permission rule usually lives in many layers; change all of them or the agent keeps the old behavior. Procedure: (1) back up the profile's SOUL.md, MEMORY.md, contract files (e.g. inbox-contract.json) and skills/ to a scratch folder; (2) grep the whole profile for the old rule's keywords (grep -rn -iE "<eski-rol-adi>|never run|do not install" SOUL.md memories *.json skills) - skill bodies, their references/, sibling skills and MEMORY.md each restate it; (3) rewrite SOUL from the user's own definition, keep still-useful working rules, keep only the shared red lines as limits; (4) replace each gate sentence in place (no "UPDATE:" appendix), re-grep until no hit remains; (5) probe with a one-shot hermes -p <profile> chat -Q --query-file <questions.md> asking 2-3 yes/no questions about the new rule; (6) tell the user to send /new in that agent's Telegram chat, because a live session keeps the old system prompt.
  • Do not modify a profile whose agent is actively writing to a shared workspace; finish or isolate the current work first to avoid interleaved edits.
  • When the user asks for a brand-new, genuinely ISOLATED profile (distinct from customizing an existing one) - e.g. for a separate organization, employer, or context where they do not want shared credentials, skills, or memory - get three answers before configuring it, since each changes the setup: (1) where it will actually run (this machine vs. a separate host - determines whether you configure it now or just prepare instructions), (2) what funds its model access (the existing shared credential pool vs. a separate API key/account - determines whether "isolated" extends to billing/compliance, not just files), (3) a dedicated workspace folder outside the user's personal/other-project trees, written into both the profile's SOUL.md and an AGENTS.md at that folder so the isolation is enforced by convention, not just by the profile boundary. A fresh hermes profile create without --clone/--clone-all already isolates skills/plugins/cron/memories by default - don't re-derive that part, just confirm the three answers above before wiring model/channel access. When the user's answer to question (2) is "separate billing, I'll add the key myself," the isolation is NOT complete until that key is actually added: a profile with no credentials configured silently inherits API keys from the shell environment instead of refusing to run (the CLI prints this warning on creation). If billing/account separation was the whole point, flag plainly that the profile must not be used for real work until its own credential is confirmed with hermes -p <name> auth list - otherwise work can silently run against the wrong (shared) account.
  1. Always pass explicit -m/--provider flags on every hermes -p <profile> chat dispatch, even when the profile's own config.yaml already declares a default model. Omitting them does not reliably fall back to that configured default - observed: a profile configured for claude-opus-5-5/anthropic silently routed an entire dispatch to GitHub Copilot instead when both flags were left off, and the failure ("model not supported") only surfaced after the dispatch had already burned its turn/tool budget with no real work done. Treat the profile's config.yaml default as documentation of intent, not as something the CLI reliably honors without the flags also present on the command line.

  2. When a subagent's own progress report reveals that the COORDINATOR's task brief (not the subagent) contained a wrong technical assumption, the recovery is a corrected brief, not a bare "please continue" and not a restart from scratch. This is a distinct trigger from rule 27's compaction-loop case: here the subagent's own investigation surfaced that an instruction you gave it was factually wrong (e.g. you assumed an API behaves one way; the subagent found and proved it behaves differently). State explicitly which of your own assumptions was wrong and what the subagent found instead, give the corrected instruction, and point it at the SAME worktree so uncommitted progress already on disk is preserved, not discarded - re-dispatching the original unchanged brief just reproduces the same wrong assumption, and a full restart throws away real investigative work already paid for. If the interruption was also a rate limit (HTTP 429) with a stated reset time, wait until at least that time before relaunching rather than retrying immediately into the same limit.

  3. A blanket git add -A/git add . in a working tree that other agents or past sessions have also touched can stage unrelated debris, not just the current task's files - even when nothing on disk conflicts with another IN-FLIGHT task (that's rule 32's narrower case). A long-lived repo accumulates untracked scratch/brief files from earlier, unrelated sessions (task notes, one-off exploration artifacts); -A sweeps all of them into whatever commit you are making right now, silently expanding its diff and creating a misleading commit history. Default to an explicit, enumerated git add <file> <file> ... for every commit in a shared or long-lived tree; reserve -A/-u for a tree you are certain only your current task has touched (e.g. a worktree you created and are the sole writer of, verified with git status immediately beforehand).

  4. When creating a new worktree/branch for a task whose fix depends on code another task already merged, branch from the current integration branch's tip - not from main/a stale base - so the new work starts with that code already present. Branching from an outdated base means the new worktree lacks recently merged fixes/features, risking the new task re-breaking or redoing something already solved; check git log --oneline -3 on the intended integration branch first, then git worktree add <path> -b <new-branch> <integration-branch>.

  5. When the number of concurrent products/projects under one orchestrator PM grows enough that dispatch briefs start mixing up which project a request belongs to, split the single PM into one profile per product (hermes profile create pm-<product> --clone-from pm --description "...") rather than continuing to juggle project scope inside one PM's head. Each product PM's SOUL.md needs: (a) an explicit one-line boundary naming the OTHER sibling PM profiles and instructing it not to cross into their scope, (b) the concrete project path(s) it owns, (c) explicit permission/instruction to dispatch its own sub-agents directly (hermes -p <uzman-profil> chat, etc. - same pattern the coordinator itself uses) rather than routing every request back through the coordinator. Verify each new profile with a trivial identity probe (hermes -p pm-<product> chat -q "which product and path are you scoped to?") before relying on it - profile creation can be silently wrong (wrong cloned config, a stale cached auth) and a one-line probe catches it for free. A hermes profile create invocation can also trigger a pending, unrelated hermes update as a side effect (desktop-app rebuild, potential gateway restart) - this is expected background behavior, not a sign the profile creation itself failed; verify the new profile exists and probes correctly regardless of what update-chatter appears in the command's own output.

  6. When a CLI coding tool (AGY/Antigravity, Claude Code CLI, etc.) exhausts quota across several model/provider fallbacks on the SAME task, don't keep waiting for the next reset (often tens of hours out) - hand the work to a different, currently-available agent instead. A tool that correctly refuses to commit code it never got to test (builds clean but unverified) is behaving right, not stuck; the fix is a handoff, not a wait. Have the blocked agent state plainly: which worktree/branch the uncommitted work sits in, what is proven (compiles) vs. unproven (no tests run, no real device/simulator check), and recommend the next agent type that can pick it up from that same worktree to finish verification and commit - then dispatch that handoff immediately rather than scheduling a retry for when quota resets.

  7. When a worker's task requires reconciling two already-committed pieces of work that each encode a deliberate but DIFFERENT design decision for the same subsystem (not a textual merge conflict but a semantic one - e.g. one branch's network/security policy assumes a stricter rule, an older uncommitted WIP assumes a looser one for a different, no-longer-current reason), the worker should stop and surface the trade-off rather than silently picking a side, blending both, or guessing which is "more recent = correct." A clean git merge conflict is obvious and mechanical; a semantic conflict between two valid designs is not - picking wrong can silently reintroduce a security hole or break a feature the newer design depends on. Have the worker name which branch/commit embodies which design, state why each exists (what it depends on, what breaks if dropped), and let the coordinator or user make the call; this is a distinct trigger from rule 34 (coordinator's own wrong assumption) - here neither side is wrong, they're just incompatible.

  8. A --oneshot profile that will itself dispatch a nested background worker can complete an entire multi-phase chain autonomously IF its brief explicitly instructs it to process_manage(action='wait', ...) on its own spawned child before ending its turn - this is the fix for rule 41's stall, not just the coordinator-must-supervise fallback. A brief that says "after dispatching each phase to a sub-worker, wait for it, review the result, test it yourself, commit, THEN move to the next phase, all in one session" lets a single long-running oneshot invocation walk through many phases (each with its own nested dispatch) and only return when genuinely done, instead of returning after phase one and leaving every later phase to a manual relay. Verify this is actually happening (not assumed) by checking the nested child's PID is still alive with real elapsed time, not by the coordinator's own ps aux grep pattern failing to match (see next rule) and concluding the job finished when it didn't.

  9. When checking whether a background-dispatched profile session is still running, grep ps aux for the bare profile name alone (e.g. <profil>), never for a compound literal like "hermes -p <profil>". The real OS process is a long Python bootstrap wrapper (python3 -I -c "<launcher script>" -p <profile> chat ...) - it does not start with the string hermes, so a pattern requiring that literal substring adjacent to -p <profile> matches nothing even while the process is very much alive, producing a false "nothing running" reading. Trusting that false negative can lead to incorrectly trying to --resume a session another live process still owns (rejected with SESSION_NOT_OWNED - harmless but wastes a dispatch) or to prematurely treating partial/uncommitted progress as a finished, abandoned job.

  10. Once a low-risk, already-verified-ready pending decision (e.g. "push this reviewed, build-passing branch to main?") has been surfaced to the user once, don't re-ask it verbatim in every subsequent status update across many turns. Repeating the same pending question passively every time you report status, without the user having said no, reads as not listening and wastes their attention - the user may explicitly call this out (e.g. "why did you ask me this ten times"). Ask once; if a later status report is due and there's still no explicit answer, keep it in a single "waiting for your decision" line instead of re-asking. For local, reversible choices you may proceed with the verified default and say so; push, PR, merge to a shared branch, publish and other irreversible or externally visible actions always wait for the user's explicit yes - silence or a deadline is never approval.

  11. Before accepting or pushing a dispatched worker's commit, check git show --stat HEAD for dot-prefixed .{role}-task-*.md scratch files (e.g. .<role>-task-*.md) and ad-hoc QA/proof screenshot folders swept in alongside the real deliverable. A dispatched profile session commonly drops its own working notes as a loose dot-file in the repo root it was given to work in, then its own closing commit (or a git add -A, see rule 35) sweeps that file in with the real feature code. One repo-wide audit pass found this independently in three unrelated repos (a web app, a Python app, an Android app) - one file explicitly named the project's OLD pre-rename name and the operator's own home-directory path, both now sitting in public GitHub history. Treat this as a standing pre-push check on every worker commit, not only when the user asks for an explicit cleanup: git rm --cached the file(s), add a .gitignore pattern for the role-prefix glob, re-commit, then push. See references/pre-push-hygiene-audit.md for the fuller audit checklist (large tracked files, unreferenced asset detection, node_modules leakage, never-pushed-repo diagnosis).

  12. delegate_task's children route through a global delegation.provider/delegation.model pair in ~/.hermes/config.yaml, separate from any profile's own model default - a stale pair there fails EVERY delegate_task call instantly (sub-2-second failure, identical error on every task in the batch) regardless of which profile or task was requested, which can look like a per-task problem but is actually a single global misconfiguration. Diagnose by checking whether multiple, otherwise-unrelated dispatched tasks all failed in under ~2 seconds with the same provider/model error. Fix with hermes config set delegation.provider <p> and delegation.model <m> (the config file itself is protected against direct edits). Set delegation.provider/model to a provider the user actually uses and has approved; provider choice is the user's decision. When dispatch can't wait for the config fix, bypass delegate_task entirely with the direct hermes -p <profile> chat --query-file ... --oneshot -Q background-terminal pattern already used throughout this skill - it reads the profile's own working config and is unaffected by delegation's global setting.

  13. When the user signs off for the night/leaves and several dispatched workers still have pending approval questions, keep approving and relaying LOCAL, reversible decisions yourself (merging a tested branch into a local integration branch, picking a label/wording) so the work keeps moving, but only if the user delegated this in writing before leaving; anything that can lose data (deletions, disk cleanup, overwrites) waits for the user - but hold every PUSH/PR/publish/external-visibility action for the user's return, even when a worker directly asks "onaylarsan pushlarim/push edeyim mi" and the change is reviewed and tests pass. State explicitly in the reply to that worker that push is deferred to let the user review the whole night's batch together, not because the change itself is suspect; local merges give the user one coherent diff to approve in the morning instead of several independent irreversible pushes they did not see land. Resume treating push as the user's own call again the moment they are back online.

  14. When the user hands over a reference screenshot/competitor app as a multi-item feature wishlist ("these N things from this app would be good here"), grep the target codebase for each item BEFORE writing dispatch briefs for all of them - a wishlist items is routinely already half-built. A quick targeted search (feature name, the UI string, the obvious function/class name) can show one or more items already shipped in an already-merged branch; dispatching a full build-brief for something that exists wastes a worker's whole run and risks it half-reimplementing existing code under a different name. Split the wishlist into "already there, nothing to do" / "partially there, needs extension" / "net new" before writing any brief, and only dispatch for the latter two.

Acceptance model

A role-based setup is useful only when role separation changes at least one of: permissions, workspace, output schema, validation criteria, or handoff behavior. Persona text alone is not a meaningful agent boundary.

References

  • Read references/role-matrix.md for the role-to-worker mapping and scope table.
  • Read references/roster-review.md before reviewing or restructuring the whole agent roster (roles, limits, models, splits/renames), adding a new role profile, running a whole-system md/skill/folder audit, or merging a sibling PM's plan into such an audit.
  • Read references/operating-protocols.md for visual handoffs, librarian audits, and GitHub project setup.
  • Read references/flow-and-knowledge-tree.md before redesigning guides/AGENTS.md routing, PM brief contents, a cross-agent flow, the orchestrator vs tool scout vs sales & marketing split, the research-before-first-time-work rule, or any shared-infrastructure mechanism (ports, registries; includes the self-critique checklist the user expects before you present such a design).
  • Read references/interrupted-work-recovery.md when the user asks to continue work that stopped after a crash/killed gateway: locate the stopping point through the session history tool, check background delegation status, re-dispatch lost children from their saved briefs.

AJAN İŞLETİMİ

İlişkili skill'ler

antigravity-cli

Antigravity CLI'ını (agy) eklenti, kimlik doğrulama ve sandbox ayarlarıyla kullanır.

Uyarlandı1 ÖRNEK
İSTEK

Claude entegrasyonunun temiz biçimde yeniden kurulması, karışıklığın temizlenmesi.

agent-integration-operations

Yerel yapay zekâ CLI'larını, cron işlerini ve ajan kancalarını birbirine bağlar.

HamaratLabs1 ÖRNEK
İSTEK

Bir anahtar köprüsünün değerlerinin terminal aracına ulaşmaması sorununun kanıtlanması.

claude-code

Kodlama işlerini (özellik, PR) Claude Code CLI'ına devreder.

Uyarlandı2 ÖRNEK
İSTEK

SOUL/USER/MEMORY ve 4 rehberdeki bilgi kaybı ve yetki genişleme risklerinin salt okunur incelenmesi.

agent-context-memory-layers

Ajanların hafızasını, bağlam dosyalarını ve skill'lerini denetler.

HamaratLabs1 ÖRNEK