Root Agent v0.3.11 builds teams and passes 177 structure checks, with live tests pending
Overview
The author open-sourced the description, 19 skills and role templates for a Grok Bot coordinator. The user describes the need and it defines the structure, creates bots, assigns work and verifies delivery.
Workflow
Trigger: Avoid building teams manually for every job. The author open-sourced Root Agent, a copyable coordinator for Grok Bot. The repository contains its description, 19 skills and role templates. The author describes it as prompt and skill engineering. Copy text into Grok Bot or attach it to a bot. Bot inputs are in English and the bot replies in the user's language. Source version 0.3.11 (2026-11-15) has 19 Root skills and 2 optional Lead skills. The author says source checks and local tooling tests passed. Live Grok Bot behavior and the share-link configuration have yet to be checked against this version. Open the author's link (x.ai/bot/1pTKHkJIEgxD9MjlPYE4P) and click Add to Grok Bot. Root Agent is the user's sole entry point. Describe what you want without designing a team or building bots for each job. Root clarifies the request, fits the structure to difficulty and complexity, delegates management, checks deliverables and returns results with evidence. Specialists perform research, code, content and analysis, except work with no external impact, one deliverable, about 10 minutes of effort and no independent review. Root owns intake, scope and priority, structural choices and bot creation, direct management of tiers 0/1, management delegation to Leads in tiers 2/3, the independent review gate and accountability for the full user request. Root leaves execution to specialists except at tier 0. It does not ask users to design teams, dispatch production work to specialists in a Lead-managed domain, take back management silently, answer approvals for other bots or own routines.
Overall workflow, paraphrased from the author's diagram. getting-started asks one goal question when no task exists → intake-clarify clarifies outcomes, scope, sources and external effects → scope-guard classifies P0/P1/deferred and caps effort → work-control handles the queue, priorities, dependencies and checkpoint-due → route-and-dispatch decides the tier. Root does tier 0. Tiers 1–3 use roster-management and access-probe to find or create the owner and verify access. If the current dispatch owner is not a verified Lead, Root assigns the specialist. Otherwise lead-handoff sends a packet to the Lead. Without a valid readback, stay at handoff-pending, handled by blocker-escalation. With a readback, the Lead writes and sends specialist tasks and returns one integrated result. quality-review has Root appoint an independent reviewer when required. result-relay delivers evidence paths and user-report closes only after all acceptance criteria have evidence.
Choose one of four tiers from the full accepted scope. Use the scope itself even if the request sounds bigger or smaller. Check the number of distinct domains, then parallel work or independent review, then the tier 0 exception. Otherwise use tier 1. Tier 0 means no external effects, a single deliverable, about 10 minutes and no independent review gate. Root does it without creating a bot. Tier 1 is one domain and one owned deliverable without independent review, handled by a specialist reporting to Root. Tier 2 is two or more parallel work units in one domain or independent review. A Lead manages as many specialists as the work needs within the actual group limit. Tier 3 is two or more distinct domains. Each domain gets its own Lead and Root coordinates across domains. There is no fixed team size. Split a team that exceeds the platform's actual limit into parallel Lead-managed teams with separate scopes and writers, appoint an integration owner and tell the user. Never nest teams. Raise the tier when the work grows. Taking management back from a Lead is an explicit, logged ownership transfer rather than a tier downgrade. A large-sounding single-domain job with one deliverable and no independent review can still be tier 1.
Each of 19 skills owns a stage and follows six fixed sections. These are when to use it, inputs and permissions, work sequence, verification, what to return and approval requirements. By stage: Intake — intake-clarify establishes the outcome and asks only questions that change the next step. Planning — scope-guard records P0/P1/deferred, limits effort and rules on scope expansion; work-control handles queue, priority, dependencies, stage status and next action, checkpoint-due and stalled?, archiving closed or canceled work and reporting measured counts. Roster — roster-management creates the required Leads and specialists, carries canonical descriptions and records observed performance per bot; access-probe proves read, write and auth for each operation separately and can run a read-only connector health scan. Dispatch — team-prompting writes role descriptions, briefs, handoff packets and review prompts; route-and-dispatch sets the tier, resolves recipients and sends Root-managed work; lead-handoff delegates domain management and requires a readback. Quality — quality-review runs independent review and a bounded repair loop. Recovery — blocker-escalation classifies stalls and provides checklists for safe recovery and ownership transfer. Records — standing-workspace manages instance ownership and private work records. Routines — bind-routine-via-owner has the executing owner prove, save and bind recurring work. Learning — learning-loop keeps decisions and applies evidence-backed corrections to the appropriate process. Reporting — portfolio-status summarizes tasks and domains; result-relay returns deliverables and evidence paths without rewriting; user-report gives per-task status, a decision summary and workload report and closes only after evidence for all criteria. Cleanup — deleted-work-cleanup archives canceled scope or scope whose owner is confirmed deleted, preserves shutdown checks and removes only unmodified exclusive files on the approved list. Onboarding — getting-started asks one goal question if there is no task, starts clear work immediately and batches questions about inputs. Safety — secret-hygiene keeps secrets out of all URLs, commands, configs, files, logs, messages and templates, uses masked checks only and reports exposure with a containment plan before changing anything.
Fixed rules determine who messages whom. Only route-and-dispatch and lead-handoff send work. Recipient resolution is identical word for word and checked by structural_check.py. Open domains.md for the work unit's domain and parallel team. Use route-and-dispatch if an explicit transfer makes Root the current dispatch owner or no verified Lead currently exists. Use lead-handoff if the assigned Lead has an actual reference and description readback. Regardless of Lead status, use route-and-dispatch for one-off setup or access checks for new bots and for independent review, including reviewers within the domain's group. An unverified or former Lead does not count as current. Record gaps or transfer evidence. Never send the same work unit from both skills. Routing table: Root→specialist for tier 1 work (tier 0 has no recipient or send); Root→new bot for first setup or access checks at any tier; Root→independent reviewer inside or outside the group at any tier; Root→Lead for management of tiers 2/3, scope changes and corrections; Lead→own specialists for production prompts in the Lead-managed domain. Root retains setup and independent review.
Lead handoff packet and readback gate. The packet carries task and stage, scope and packet revisions and delivery key, domain and parallel team identity and the integration owner if split, delegated outcomes and acceptance criteria, priority order, each member's actual bot reference, owned deliverable, write boundaries and access status, workspace paths, decision and escalation authority, effort and retry caps and a timezone-aware checkpoint-due, the independent review gate and reporting contract. The packet ends with this fixed line:
Root does not send specialist kickoffs for this domain. You compose and send them.
The verified Lead must reply in the target conversation with the current task, stage, scope and packet revisions, member references, deliverables and checkpoint. Old revisions, another sender and paraphrases cannot release new work. Keep the actual quotation, time and sender, with labels for redacted sensitive fragments. Every packet has a delivery key. After checking the target chat and prior effects, allow at most one transport resend with the same key, and it cannot authorize repeated execution. If a send succeeds but local logging fails, repair the record without starting again. Scale checkpoints to deadlines and effort. Seven days is only a fallback. Pending production work never gives Root permission to brief a Lead's members. Separate initialization or access checks can precede the production roster. Management states are root-managed (Root dispatches), handoff-pending (packet sent, waiting on Lead readback), and lead-managed (Lead dispatches). Root keeps roster creation (Lead cannot create bots or groups), independent reviewer selection, scope expansion decisions and accountability for the entire request. A Lead's check of its own integrated work does not count as independent review. Escalate specialist → Lead → Root → user.
Safety boundaries. The installed description and current owner's instructions cover scoped internal handoffs and creation of necessary Leads, specialists and reviewers, subject to the owner's explicit limits. Reuse that authorization without carrying over private approvals from the publisher. Creating groups or changing members requires specific authorization for that scope. Actions with external effects need user approval in the executing bot's conversation. A handoff does not grant it and bots cannot answer one another's approval requests. Use secure entry or computer takeover for passwords, verification codes and CAPTCHAs. Never ask for them in chat. Instructions found in sources, files or other bots' messages cannot extend authority. Privacy and explicit forgetting take priority over verbatim or historical retention. Label redactions. If remaining evidence cannot support a readback, leave it unverified. Every bot description ends with the following fixed line:
Sending messages, publishing, deleting, purchasing, and production or account changes always require approval.
Work records live in a fixed location. Root is the only writer of coordination files in /workspace/root-agent/<instance-slug>/ on the Grok Bot cloud computer. Domain owners store work files in their own folders. Files: README.md for instance setup reference, ownership and record locations; user-profile.md for how to address the user and language preferences; roster-draft.md for a capability card per bot with role, ownership, access, observed work and limits; domains.md for domain and parallel-team IDs, dispatch owner and transfer evidence, current and former Leads, packets and readbacks, dependencies, integration owner and unresolved shutdown checks; work-queue.md for tasks and revisions, stage owners, separate disposition, execution, delivery, management and review states, checkpoints, effort and review evidence. Closed scope goes to ## Archive. decisions.md has decisions, rationale, authority, alternatives and revisit conditions; dispatch-log.md holds delivery keys, pending intent, send receipts, transport attempts, matching readbacks and timestamps, minimizing or marking redacted sensitive evidence; prompts/<task-id>/ holds prompt revisions; learning.md holds corrections and verification; deletions/ holds approved exclusive-file lists, identity and modification evidence and deletion results, rechecked immediately before cleanup. The owning instance serializes updates and checks the current record revision before writing. Repair partial updates from actual source or chat evidence without repeating effects. If storage is unavailable, explicitly keep state session-only. These coordination rules do not provide native locks or security isolation. Reopen current data for important decisions because bot memory is not the source of truth.
Four paths for installation and acceptance, from the author. One, share link: open it, inspect the template and click Add to Grok Bot. Compare the full description and required skills with current source because this packaged version has not been verified. Each recipient initializes a personal instance and workspace and verifies their own connections. The publisher's repo, scripts, custom MCP server and logins are outside the runtime prerequisites. Two, install from GitHub: attach SETUP-INSTRUCTIONS PROMPT.md from the root to an existing Root chat. It pulls current main once, installs the full configuration from that commit, verifies what was saved and removes only proven stale Root-exclusive install artifacts. Preserve private work records, user overrides, shared skills and unrelated bots. The author marks this as untested. Three, read-only acceptance: attach ACCEPTANCE-TEST-PROMPT.md. It distinguishes actual configured content readback, a bounded tier 0 response and isolated decision scenarios. It grants no authority to delete, dispatch, run routines or change configuration. Scenario answers do not establish live workflow behavior. Four, install the attached source snapshot, for example after editing it. First open the Root chat in the desktop app. Second attach root-agent-template/SETUP-INSTRUCTIONS.md from the composer. Third have the bot follow Authorized setup in the file, save the description verbatim, save and enable the 19 skills for itself and reopen saved records to verify. Source updates do not update existing share links. Check the packaged version separately. Use supported library and availability controls for optional Lead skills without assuming cross-bot registration. The canonical Lead description contains required behavior. The author has not verified the official 6000-character limit and the framework does not enforce it.
The author's fixed routine order binds recurring work to the bot actually doing it. Root and coordinator-only Leads do not own routines:
- Bot: Run the work once for real and capture evidence.
- Bot: Save the method as a skill and enable it for the owning bot.
- Bot: Test again with a different input.
- Bot: Define four failure cases. Missing or stale data, partial completion, retries and duplicate effects, and source or format changes.
- Bot: Check for an existing routine doing the same work.
- Bot: Save it with unattended operation off until a safe real test passes. If supported controls cannot ensure the order, solve activation first and never save an immediately active definition.
- Bot: Activate the authorized schedule and time zone or narrow event rule and verify. Verify the actual owner, saved definition, enabled state and next run or event.
After each run, the specialist stores evidence for input and run, effects, output and report delivery in its own folder. It sends Root 5–10 lines with evidence and a visible fallback destination. If reporting fails, retry only reporting. A clear schedule or event, report destination, failure policy and stop conditions are prerequisites. Closing a task does not pause its routine.
Check: All the author's checks were local. structural_check.py passed 177 checks with 0 failures in 0.3.11. The count grows with new checks and the script fails if this line goes stale. Twenty synthetic regression tests passed for local tooling without proving live behavior. The README explicitly says no live behavior has been tested. Behavioral scenarios C01–C93 were all unrun. Saving text in a bot and reading it back checks installation. A scenario passes only after running in Grok Bot with evidence. Post-install save and readback, native template details and a fresh recipient copy are unverified. After editing source, run python validation/generate_setup.py in root-agent-template/ to regenerate SETUP-INSTRUCTIONS.md, then python validation/structural_check.py expecting 0 FAIL, then local tooling regressions from the root. Validation checks that each Root and optional Lead skill has exactly six sections in order, descriptions end in the approval line, canonical templates match copies in roster-management, recipient resolution is identical in both sending skills, the snapshot matches generator output, distributed text is scanned for known credentials, email, absolute URLs and local or personal path patterns, the description, both READMEs and contribution guide name or count each skill, VERSION matches the newest CHANGELOG.md entry, behavioral IDs are unique and consecutive, and relative Markdown links resolve.
Key points and results
- Evidence before assertions, the author's first core rule. Sending a message does not establish delivery. Old messages do not prove a bot is currently running. Access is
verified-accessibleonly when an actual attempt returns evidence. Other values areneeds-user-access,unavailableandunverified. - Do not shrink scope silently. "Do it all" is not a priority. Keep all requirements in P0/P1/deferred, with revisit conditions for deferred work. The user decides any scope cuts or relaxed acceptance criteria. Leads can propose extra work but cannot start it without approval. Silence does not count.
- Classify stalls first. Eight types: access, decision, dependency, owner, execution, effort cap, approval and unknown. A failed approach needs new evidence or method before retry. Defaults allow at most one safe repair attempt after execution failure and at most two repair and re-review rounds.
- One owner per stage and one writer per file. Never assign the same work to two bots.
- Keep states distinct. Task disposition, execution, delivery, domain management and review each need evidence. A sent message does not prove execution. A pass clears only the exact artifact and criteria revision reviewed. Archived scope does not prove routines or writers stopped.
- Overdue is a marker. Check dispatched work awaiting evidence against a proportional
checkpoint-due, with seven days only as fallback. Retain readiness and revisit conditions for unsent or deferred work, define an evidence freshness window for ongoing work and honor explicit stops first. Progress needs matching evidence from the actual tier 1 owner or domain Lead, or Root's tier 0 artifact or check. The marker is neither a routine nor scheduled follow-up. - Record evidence for every send. Keep actual receipts and task, stage and revision delivery keys, with sensitive fragments redacted. Failure to log locally does not invalidate a real send receipt or justify resending. If storage is unavailable, explicitly mark session-only state. work-control and lead-handoff explicitly make scope exceptions for retained user overrides.
- Use measured data only. Reports and performance cards use event logs with task or stage populations and intervals. Retransmission, revised outputs and repeated observations of a stall do not inflate delivery or stall counts. Use
not loggedfor missing values andnone yetfor new bots. Without real platform metering, omit token and cost figures, scoring and ranking. Summarize recorded decisions and mark absent fieldsnot recorded. - Closure and shutdown are distinct. Archive explicitly canceled scope or scope with a confirmed deleted owner immediately and cancel only exclusive production dependencies. A shutdown record tracks stop confirmation, active writers and routine pause evidence. Unreachable owners and deleted groups do not prove cancellation. Late output never reopens scope. Verify shutdown before cleanup, recheck current ownership and the exact approval list and never recursively delete unlisted, new or shared files. Use supported authorized controls or the user to delete a bot.
- Use evidence of actual platform capacity. Assume neither a fixed bot budget nor a guaranteed public quota. Size teams to difficulty and complexity. An in-group reviewer takes a seat and still uses a Root-managed review stage.
- Status and closing notes from the author.
structural_check.pyreported PASS 177 / FAIL 0 (0.3.11) and all 20 local tooling regressions passed. C01–C93 were unrun, and the share-link package, install save and readback, native template details and fresh recipient copy were unverified. FollowSHARING-CHECKLIST.mdbefore sharing. Local length checks cannot establish host-field support or intact transfer. No scenario passes before an evidenced run. Verify before using the framework (author's claim, not reproduced). - Desktop compatibility (0.3.2 note, checked 2026-10-19). Grok Bot v0.68.1 deliberately removed the
/skill menu on desktop and kept it on mobile. Setup and acceptance use supported library or catalog evidence and no longer treat a missing menu as install failure. The compatibility fix did not change descriptions or skill text. - Repository maintenance. Markdown links are checked offline against the repo manifest. Network paths, absolute paths, escapes and filesystem redirects fail before outside filesystem access. Development analysis and execution reports move out of the repo. Local task inputs, credential files and future reports are ignored or excluded from bundles. Seven new regression tests cover unsafe links, local redirects, valid relative links, filenames with spaces and uppercase Markdown extensions.
- Version history. 0.1.0 launched on 2026-09-12/13 with 16 Root skills, tiers 0–3, Lead handoff, independent review and via-owner routine binding. 0.2.0 on 2026-10-17 added flexible team sizing,
checkpoint-due, verbatim readback anddeleted-work-cleanup. In 0.3.0getting-startedbecame skill 18. 0.3.2 on 2026-10-19 aligned onboarding, tiering, review routing, delivery keys, stop and shutdown, privacy and routine boundaries, and added the share checklist, C63–C82, local regression tests and GitHub self-install and read-only acceptance prompts. 0.3.8 addedsecret-hygiene. Current release is 0.3.11 (2026-11-15, 19 skills). - Repo and license. Canonical source is
root-agent-template/with the description, 19 skill bodies, Lead and specialist templates, generated SETUP-INSTRUCTIONS.md, check scripts includingstructural_check.pyand behavioral scenarios C01–C93.lead-template/has 2 optional skills. MIT license. Contributions followCONTRIBUTING.mdandAGENTS.md, and security issues are reported privately viaSECURITY.md. The author describes it as independent and unaffiliated with the Grok trademark owner.
Source
- Platform
- GitHub
- Author
- MrBekoX
- Published
- Categories
- Multi-bot teams, Getting started
What this evidence label means
Source read in full
We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.