agentleFS
malakhov-dmitriimalakhov-dmitrii/grok-ultracode/skills/ultracode/SKILL.md

ultracode

Skill1 starsChanged 3 months agoMITView on GitHub

Standing Claude-style ultracode for Grok Build CLI. On every substantive task, author a deterministic workflow and launch it — do not orchestrate turn by turn. Use when the user runs /ultracode, /ultracode on, says ultracode, effort ultracode, use a workflow, or when this conversation already has ultracode standing mode on. Also use for the keyword ultracode: as a one-shot. Do not use for status checks, one-line answers, or /ultracode off.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. PabloNAX/ultracode-skill★ 185same name
    2. Suraj1235/open-dynamic-workflows★ 41same name
    3. f-ewald/claude-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Call the files "workflows," not "Rhai."

    line 20
  2. Very specific:

    Do not use the conversational /create-workflow procedure (no intent interview, no "want me to run it?").

    line 54
  3. Distinctive:

    When the run completes, synthesize from the result.

    line 66
  4. Very specific:

    If the task is open-ended web/docs research, launch the bundled workflow by name instead of authoring: name: "deep-research" with …

    line 70
  5. Very specific:

    Prefer a cheaper model on high-volume scanners.

    line 88
  6. Very specific:

    Use pause() on a result-derived branch (use await_user only if a human gate is actually required)

    line 95
  7. Distinctive:

    Treat other workflow engines (YAML step runners, Claude JS workflows) as this runtime

    line 97

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ultracode

Grok analog of Claude Code /effort ultracode. The orchestrator is a workflow script, not this conversation. Subagents run inside the script. This conversation classifies, authors, launches, and synthesizes the result.

Call the files "workflows," not "Rhai."

This plugin is for Grok Build CLI. Claude Code already has native ultracode / dynamic workflows — do not install this there.

Persistence

Standing mode lasts for the rest of this conversation. It does not expire when the topic changes. Compaction does not turn it off.

  • /ultracode or /ultracode on with no task: enable standing mode, reply with exactly ULTRACODE ON, then wait.
  • /ultracode plus a task, or ultracode: plus a task: enable standing mode and run that task as a workflow.
  • ultracode / use a workflow / effort ultracode in a prompt while standing is off: one-shot this turn only.
  • /ultracode off: disable. Reply ULTRACODE OFF. Do not launch a workflow.

While standing is on, start every assistant reply with ULTRACODE ON so the flag survives compaction.

While standing is on, this skill supersedes ultrawork, ralph, autopilot, and ad-hoc spawn_subagent fan-out. Do not delegate the orchestration to those.

Skip (answer in this conversation)

Skip a workflow only for:

  • Status / where-are-we (дай статус, ну что там, что дальше, /workflows, /goal status)
  • A question whose answer is already in context or one file read
  • /ultracode off, or the user said not to use a workflow
  • Irreversible prod/deploy/force-push/secret work that needs an explicit human go, not a script

A skip does not disable standing mode.

Everything else — bugfix, feature, audit, review, research, migrate, "fix until tests pass", competing hypotheses — is a workflow. When unsure, write a workflow.

A single user request may become several workflows in sequence (understand → change → verify). Launch the next one when the previous run's result lands. Do not ask permission between them.

Author and launch

Do not use the conversational /create-workflow procedure (no intent interview, no "want me to run it?").

Before the first script in this conversation, read Grok Build's bundled workflow reference from Script shape through Pitfalls. Path: $GROK_HOME/bundled/skills/create-workflow/SKILL.md (GROK_HOME defaults to ~/.grok). That file is the dialect and host API. Do not copy it into the prompt. If it is missing, this Grok Build version is too old for ultracode.

Then:

  1. Pick a pattern (below). Size the script to the work list, not to a small default. Do not shrink a known-long fan-out to 15 agents. quick workflow / small is the only time to write a short run.
  2. Author an inline script: pure-literal let meta = #{ name, description, phases }, then schemas, then phase() / agent() / parallel() / complete(). meta.name is lowercase letters, digits, and hyphens.
  3. Work-lists are deterministic: a fixed list, args, or a plain directory walk. If an agent discovers paths, re-filter them in the script against the invariant before sharding.
  4. Agent prompts are self-contained. Command tool use (read_file, grep, git diff). Spell out what a valid empty answer requires. Never fork_context.
  5. Smoke-check: workflow tool with script, representative args, validate_only: true. Fix until metadata + compile + that canned path pass.
  6. Launch live with the same script and args. Pass agent_budget 1024 (the runtime maximum — there is no unlimited). Only pass a lower cap if the user asked for cheap/small/quick. Do not ask. Point the user at /workflows. A host cap (32 by default) bounds how many children run at once; larger panels queue.
  7. When the run completes, synthesize from the result. If it failed validation or the run, fix the script and relaunch. Do not fall back to turn-by-turn execution unless the workflow tool itself is unavailable.

Save only after a run you'd repeat: tell the user /workflow save <name> or s in /workflows. Default save location is <repo>/.grok/workflows/<name>.rhai inside a git repo.

If the task is open-ended web/docs research, launch the bundled workflow by name instead of authoring: name: "deep-research" with args.query. Still counts as ultracode.

Patterns

ShapePattern
Many files, same questionFan-out one agent per item, then a skeptic per finding
Keep going until a check is greenLoop: run checker, fix, fingerprint; stop after two no-progress rounds
Migrate / edit many filesFan-out with isolation_worktree: true, then an explicit select-and-apply step
Review a diffParallel dimensions (correctness, errors, tests), then adversarial verify
Competing root causesIndependent hypothesis agents from disjoint evidence, then refuters
Taste / names / designGenerate N, filter or pairwise tournament against a rubric
Classify then actOne classifier, then route to different agent prompts

Verification fail-closed: missing, failed, or empty-evidence skeptics do not confirm a claim. Guard every result: r != () && r.success && r.output.x != (). Failed parallel() slots are ().

Capability: read-only unless the task must edit or run. isolation_worktree only when parallel writers would collide; worktrees do not merge back — the script must apply survivors.

Prefer a cheaper model on high-volume scanners; omit model (inherit) on the judgment/verify stage.

Do not

  • Orchestrate the same work with spawn_subagent while standing is on
  • Interview the user for workflow shape when the task is already clear
  • Offer a dry-run and wait
  • Use pause() on a result-derived branch (use await_user only if a human gate is actually required)
  • Nested workflows
  • Treat other workflow engines (YAML step runners, Claude JS workflows) as this runtime

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.