Release
vaayne/mori
Release workflow for Mori macOS workspace terminal and MoriRemote iOS app.
Performance and UX patterns discovered for ADE's Work tab, including chat/CLI/shell launch surfaces, the Work tools pane, Git/Files/iOS/App Control/Browser panels, and local-runtime-disabled perf…
$ npx skills add arul28/ADE --skill ade-perf-work -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install arul28/ADE ade-perf-work --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/arul28/ADE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/ade-perf-work .claude/skills/ade-perf-work && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ade-perf-work" agent skill from https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-work into .claude/skills/ade-perf-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-perf-work", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-workType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add arul28/ADE --skill ade-perf-work -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install arul28/ADE ade-perf-work --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/arul28/ADE.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/ade-perf-work .agents/skills/ade-perf-work && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ade-perf-work" agent skill from https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-work into .agents/skills/ade-perf-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-perf-work", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add arul28/ADE --skill ade-perf-work -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install arul28/ADE ade-perf-work --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/arul28/ADE.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/ade-perf-work .cursor/skills/ade-perf-work && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ade-perf-work" agent skill from https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-work into .cursor/skills/ade-perf-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-perf-work", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/arul28/ADE.git --path .agents/skills/ade-perf-work--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add arul28/ADE --skill ade-perf-work -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install arul28/ADE ade-perf-work --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/arul28/ADE.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/ade-perf-work .gemini/skills/ade-perf-work && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ade-perf-work" agent skill from https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-work into .gemini/skills/ade-perf-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-perf-work", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install arul28/ADE ade-perf-workInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add arul28/ADE --skill ade-perf-work -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/arul28/ADE.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/ade-perf-work .github/skills/ade-perf-work && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ade-perf-work" agent skill from https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-work into .github/skills/ade-perf-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-perf-work", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add arul28/ADE --skill ade-perf-work -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install arul28/ADE ade-perf-work --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/arul28/ADE.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/ade-perf-work .opencode/skills/ade-perf-work && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ade-perf-work" agent skill from https://github.com/arul28/ADE/tree/main/.agents/skills/ade-perf-work into .opencode/skills/ade-perf-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-perf-work", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ade-perf-workPerformance and UX patterns discovered for ADE's Work tab, including chat/CLI/shell launch surfaces, the Work tools pane, Git/Files/iOS/App Control/Browser panels, and local-runtime-disabled perf…
Ade Perf Work is an agent skill from arul28/ADE. Performance and UX patterns discovered for ADE's Work tab, including chat/CLI/shell launch surfaces, the Work tools pane, Git/Files/iOS/App Control/Browser panels, and local-runtime-disabled perf runs. Read before editing Work tab code.
Its SKILL.md is about 12k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering iOS development. It works with iOS and Git. The licence is AGPL-3.0.
Read from SKILL.md and the folder at commit fbbd974. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
nodegitcursorFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ade Perf Work loads about 12k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 6,697 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from arul28/ADE at commit fbbd974, republished under its AGPL-3.0 licence (© arul28). 6,697 words, ~12,003 tokens.
.claude/skills/ade-perf-work/SKILL.md (or your agent's skills folder).Read this before editing Work tab surfaces:
apps/desktop/src/renderer/components/terminals/**apps/desktop/src/renderer/components/chat/** when mounted from Workapps/desktop/src/renderer/components/lanes/LaneGitActionsPane.tsxapps/desktop/src/renderer/components/lanes/CommitTimeline.tsxapps/desktop/src/renderer/components/files/FilesPage.tsx when embeddedapps/desktop/src/preload/preload.tsapps/desktop/src/main/services/ipc/registerIpc.tsUse the real Work tab first. For local perf runs, reset and open the perf-pass repo:
scripts/reset-perf-pass.sh
NO_DEVTOOLS=1 ADE_DISABLE_LOCAL_RUNTIME_DAEMON=1 ADE_LOCAL_RUNTIME_FALLBACK=1 ADE_MODEL_OVERRIDE=gpt-5-codex \
node scripts/perf-launch.mjs --tab work --run-id work-ui-audit-<date>-<n>Keep the Work audit matrix at docs/perf/work-tab-action-inventory.md current.
Rows start as source inventory. Promote them only when a real UI run, UI-derived
probe, or focused fixture test covers that exact control/state. Do not describe a
run as complete while rows are still source, fixture-needed,
sandbox-only, prompt-only, or external-skip without evidence or an explicit
reason.
Use the matrix as the Work pass queue. Enumerate the visible Work actions and states, then handle rows one by one: drive the real control, record markers, promote or classify the row, fix at most one discovered bottleneck/bug, re-drive the same row to prove the change, and only then advance. Backend/source review is supporting evidence; it does not replace trying the UI action.
Drive actual Work UI actions and record work.audit.* markers for:
Do not start from a fixed deterministic scenario list. Scenario files are only
optional evidence after the Work UI inventory exposes a real workflow. The
important proof is a UI-derived run over
~/.ade/perf-runs/<runId>/events.jsonl plus focused tests for any fixed
behavior.
githubService.getStatus() must still validate the token and keep the
fine-grained-token repo access probe. For classic tokens, required scopes are
inspectable from /user, so do not also probe the active repo on the Work
startup status path.
Measured Work runs:
ade.github.getStatus 644ms during Work startup.473ms and 192ms in the hot-reload run, and
524ms in a clean Work launch.Keep repoAccessOk / repoAccessError as null for classic-token statuses.
Do not remove the fine-grained-token repo probe; it prevents a false connected
state when a fine-grained token cannot read the active repo.
The top-bar Publish pill only needs local origin state. It must call the
lightweight github.getRemoteStatus path, not full github.getStatus, so Work
startup does not validate GitHub auth just to decide whether to show Publish.
The AppShell GitHub banner/avatar refresh may still call full github.getStatus,
but keep it post-startup. Settings save/clear broadcasts still update the shell
immediately through onStatusChanged.
Measured Work runs:
10s IPC total 901ms, with
ade.github.getStatus at 293ms in the startup window.10s IPC total 633ms; ade.github.getStatus was absent from
the first startup summary. The auth check still ran later at 301ms.ade.github.getRemoteStatus stayed 0ms in the startup path.The usage tracker starts in Work perf launches after the startup delay and scans local Claude/Codex JSONL logs for cost estimates. Do not read every recent log file into memory. Scan only bounded recent files, skip oversized files, stream line-by-line, and cap retained token entries.
Measured Work runs:
1,867.7MB around the usage.start window.130.9MB and CPU p95 0.18%.If changing usage/cost telemetry, test with a large local ~/.codex /
~/.claude history and re-run a Work perf launch for at least 45 seconds.
In Work perf runs with ADE_DISABLE_LOCAL_RUNTIME_DAEMON=1, the preload bridge must not try ade.localRuntime.callAction, ade.localRuntime.callSync, or ade.localRuntime.streamEvents for local project bindings.
Measured Work cold run:
67 failed ade.localRuntime.* IPC calls, 19,427ms aggregate failed IPC time.0 failed ade.localRuntime.* IPC calls.Keep the preload guard in apps/desktop/src/preload/preload.ts intact. If changing project binding or remote runtime event pump logic, re-run a local-runtime-disabled Work audit and confirm local runtime IPC remains zero.
ade.sync.getStatus is called during Work startup and periodically from shell chrome. In local-runtime-disabled runs it must not spawn the disabled runtime or fail before falling back.
Measured Work run:
ade.sync.getStatus failed and consumed 606ms across two calls in the startup window.0-1ms.Keep the unavailable sync snapshot in apps/desktop/src/main/services/ipc/registerIpc.ts. It is a perf-mode/status fallback, not a replacement for real sync service behavior.
The hosted web client's socket connected transition is a transport fact, not
permission to refresh every product domain. Keep the adapter connect listener
limited to sync status. Do not add github.getStatus there: headless GitHub
discovery may touch git, gh, credential files, macOS Keychain, and the
network. Domain surfaces should request their own cached status when visible.
Brain-facing transcript and credential reads must use asynchronous filesystem,
zlib, and child-process APIs with hard bounds/timeouts. Coalesce same-key
in-flight work. Do not promise-read and then repeatedly inflate a large gzip
archive: globally admit streaming inflations, memory-cache only small archives,
and materialize a larger archive at most once into an unlinked, process-private
temporary file under a hard logical-size/LRU/free-space budget. Admit only one
inflate at a time and retain only the newest queued destination. Thread request
cancellation through admission, file reads, and the inflater. Put a hydration
barrier around chat_subscribe: capture the logical byte offset before the
snapshot, do not broadcast/pump that session before its ack, then replay from
the captured offset. For web chat, keep the initial
tail small, cap older pages at 256 KiB, preserve the cursor on transient
failures, automatically backfill an underfilled viewport, and keep a visible
manual Retry path. Use append-stable logical byte cursors for transcript paging
and advertise cursorKind when a legacy consumer could otherwise interpret the
number as a dense entry index. The chat list owns prepend/bottom anchoring, so keep
overflow-anchor: none on its scroll pane.
The Work tools pane can be narrow after the session list, chat surface, and tools pane are all visible. Do not assume all tab labels fit. The tab strip should collapse to icon buttons under narrow widths while preserving aria-label, tooltips, and stable hit targets.
Measured UI pass after compact tabs:
If changing WorkSidebar, verify with a small Work pane and a larger audit window. The target is no clipped or unreachable tool tabs, not merely no TypeScript errors.
The sessions pane can be squeezed when Work, the sessions list, and the tools pane are all visible. Status/group filter pills must wrap inside the filter panel instead of assuming a single row, and embedded lane selectors must be able to fill a narrow parent without overflowing it.
Measured Work run work-inventory-shell-session-20260512-01:
120.2px filter panel had status/group controls extending 122.8px past the panel edge.8.0px inside the same narrow panel.When editing SessionListPane filter controls or LaneCombobox trigger sizing, verify a small Work viewport with the filter panel open and record the panel/control bounds in the action inventory.
Session and Work-tab context menus are fixed-position menus created from the event clientX/clientY. Do not place them directly at the click point without measuring the rendered menu size and clamping to the viewport.
Measured Work run work-context-menu-edge-20260512-01:
left=534.0px in a 582px viewport and overflowed right by 132.0px.180px menu at left=394.0px, ending 8.0px inside the viewport.When changing SessionContextMenu, verify with a small Work viewport and a context menu opened near the right edge. Keep the inset stable so users can still reach every menu item.
Files context menus have the same requirement. The Files tree context menu is
rendered by FilesPage.tsx; measure its actual rendered width/height and clamp
both axes to the viewport.
Measured Work run work-chat-other-controls-20260512-01:
README.md row near the viewport edge opened the
menu at x=1163.0px with width=200px in a 1164px viewport, overflowing
right by 199px and bottom by 159.1px.x=956.0px, right=1156.0px,
bottom=737.0px in the 1164x745 viewport.When changing Files context-menu contents or row context-menu handling, verify with a right-click near the renderer's right/bottom edges.
Embedded Files has a narrower parent than the full Files route. Keep the Work
tools pane layout responsive: the explorer/editor split should stack when
FilesPage is embedded rather than preserving a fixed 320px explorer column
that pushes editor controls offscreen.
Measured Work run work-chat-other-controls-20260512-01:
right=1170.8px in a 1164px
viewport, the editor collapsed to 1.8px, and the CODE button overflowed
right by 92.2px.right=1151.6px;
the CODE button ended at right=953.8px with no overflow.The Work Chat composer changes its visible controls after provider/model selection. Do not mark a control missing until the matching provider state is set through the real model picker.
Measured Work run work-chat-controls-20260512-02:
Fast mode appeared only after selecting a Codex model with a fast service
tier (GPT-5.4 in the measured run). The valid marker toggled
aria-pressed from false to true.Default permissions, Plan mode,
Full access, and Custom (config.toml) after a Codex model was selected.Add model should
increase the visible slot count, Configure should become Editing, and the
uppercase FOCUSED / PARALLEL execution controls should be checked with a
viewport-aware probe before promotion./clear Clear chat history. Do not promote work.chat.command.select from
that state; use a fixture or real session state with a non-clear command.AgentChatPane.submit.test.tsx -t "handoff"
evidence for open/permission/launch logic unless you intentionally create a
real throwaway chat in perf-pass.AgentChatPane is rendered with
hideLaneToolDrawers from WorkViewArea / WorkStartSurface, so the
chat-toolbar iOS and App Control drawer buttons are intentionally absent.
Verify Work coverage through the WorkSidebar tabs and panels; keep exact
drawer-button rows as fixture-needed/non-Work AgentChatPane fixture
evidence if they remain in the inventory.Agent,
Ask, Plan, and Full auto; the Cursor Cloud actions menu exposed
Send to Cursor Cloud and Open existing cloud chat without launching a
cloud session. CursorCloudInlineLaunch.test.tsx covers canceling an inline
Cursor Cloud send without creating a run.work.chat.composer.clear is not an empty-draft affordance in the current
Work composer. The visible Clear button is gated by turnActive alongside
steer/stop controls, so measure it with an active-turn fixture or sandbox chat
session rather than by typing into the fresh draft surface.Chat context is unavailable here, so measure screenshot start/cancel from a
selected chat/context-capable surface.Primary before searching for
README.md; a missing lane worktree legitimately returns no file results.
For React-controlled picker inputs, prefer focused CDP text input over simply
assigning input.value, because DOM-only value changes can leave the picker
state at Type to search files.... Text-file chips cover select/remove only;
open-preview and copy-image need an image attachment fixture.ChatAttachmentTray.test.tsx is valid focused fixture evidence for image
attachment preview/copy behavior: it mocks getImageDataUrl, verifies the
image lightbox opens, and verifies writeClipboardImage is called from the
copy control.AgentChatMessageList.test.tsx has valid focused fixture evidence for
transcript message copy, cloud PR browser navigation, file-link routing,
transcript code-block copy, tool-call disclosure expansion, full-prompt
toggles, memory/thought disclosure toggles, manual transcript scroll,
jump-to-latest, user-message minimap jump, and inline question tab/prev-next
controls. Keep assistant markdown code blocks routed through
HighlightedCode; that component owns the Copy code control and copy-button
placement preference. Match the inventory row to the exact clicked control; do
not use the localhost URL test as PR-browser evidence. Grouped tool results
render through ChatWorkLogBlock, not the old standalone ToolResultCard;
keep long-result show all / collapse behavior on that reachable
ChatWorkLogBlock row path.AgentChatPane.submit.test.tsx has valid focused fixture evidence for
selecting chat tabs in the Work chat pane. Its CLI-created terminal tests only
auto-reveal terminal tabs; use ChatTerminalDrawer.test.tsx for terminal
drawer toggle, resize, and manual tab-switch evidence.AgentChatPane.companionDrawers.test.tsx covers chat companion iOS, App
Control, proof drawer open/close, right-pane split resize, archived-chat
restore, and persistent identity Clear view through the real
AgentChatPane chrome. This is non-Work fixture evidence for the lane tool
drawers: normal Work embedding passes hideLaneToolDrawers, so iOS/App
Control drawer buttons are intentionally absent there.ChatSubagentsPanel.test.tsx can cover the subagents drawer toggle, detail
view, Back navigation, hidden timeline expansion, and copy-id behavior without
spawning real subagents.AgentChatComposer.test.tsx can cover the active-turn Clear composer
control, queued steer edit/remove callbacks, prompt-suggestion Tab
acceptance, rich visual-context chip select/remove, slash-command selection,
and dismissing an attachment error. FilesPage.test.tsx can cover the
non-embedded Files editor theme toggle, primary-workspace TRUST & EDIT
toggle, and Files tree context-menu COPY PATH. Embedded Work Files does not
render those non-embedded chrome controls, so keep live embedded fail markers
separate from focused Files chrome coverage.SessionListPane.test.tsx can cover the stale running-session warning, child
shell section collapse/expand, and bulk restore footer wiring.
PackedSessionGrid.test.tsx covers persisted tile resize, while
WorkViewArea.test.tsx covers selecting a tiled grid session by clicking its
body, closing an ended tab from the tab strip, and embedded floating-pane
minimize/expand through the actual FloatingPane chrome context.WorkStartSurface.test.tsx can cover the lanes=[] no-lanes empty state
without mutating the perf-pass lane database.Stop loading, do not count a URL-open click while the toolbar is still
busy; that leaves the real Stop button disabled. Use direct browser API
navigation only as setup for a slow localhost page, wait for the visible Stop
button to become enabled, then click the real button and verify loading
returns to false. If captureScreenshot times out before crop mode appears,
record it as invalid screenshot evidence and keep screenshot start/cancel
fixture-needed.setBounds/selectPoint only to
seed a localhost selected element; measure the real UI controls afterward.
The composer may be a textarea[aria-label="Type to vibecode"] rather than a
rich contenteditable after cleanup, so verify Insert draft against the
actual textarea value. Auto-attached browser context chips must be removed
before handing off.ChatBuiltInBrowserPanel.test.tsx can cover starting screenshot crop mode,
canceling crop mode, and clicking the visible Attach control for an already
selected browser element. It does not cover dragging a crop region; keep crop
drag sandbox-only or measure it in a browser-capable throwaway run.builtInBrowser.getStatus().visible === false before
measuring unrelated chat-toolbar controls. The chat Git commit-message input
can then be measured with CDP mouse input without submitting; clear the input
value afterward, and treat close/submit behavior as separate evidence.App Control launch command and CDP port if the fields are restored and
Run/Connect are not clicked. Help wire CDP is not rendered there unless
canAttachToChat is true, and Control/Inspect mode plus focused-element
typing need an active app session.ChatAppControlPanel.test.tsx can cover safe App Control state controls
without launching or driving an app: inserting the Help wire CDP draft,
showing the launch terminal, refreshing a
snapshot, dismissing the message, toggling Control/Inspect, typing in the
local focused-element text field, switching controlled windows, and re-scanning
controlled windows. It can also cover hovering an inspected screenshot
element, selecting a source-context point, and re-attaching that selected
point. Do not use it as evidence for screenshot control clicks,
element-crop attachment, Type/send, Stop, Run, or Connect.refresh-state or preview-refresh. Surface switches, Preview Control /
Capture mode, and the preview agent-action selector are safe state-only
controls; Create preview prompt buttons need a chat-capable fixture or
explicit clipboard/draft handling.ChatIosSimulatorPanel.test.tsx can cover iOS stream retry/recovery by
emitting a stream-error event and verifying the panel restarts the stream
for the selected device. It can also cover state-only launch-target select,
Preview-target select, setup install-command copy, Preview Create closer preview, and
no-target Create preview without launching Simulator or Xcode.
The same fixture can cover live simulator Control/Inspect mode switches,
active-app text-field entry before Send, inspector refresh, and starting
screenshot capture mode. It can also cover selecting a mocked ADE-inspector
element and opening Preview Lab scoped to that element's source file; keep
Preview rendering as separate sandbox-only evidence. It also covers clearing
stale launch-target/project-root errors after the project root changes and a
later listLaunchTargets call succeeds; preserve that behavior when editing
iOS refresh or lane/project-root handling. It does not cover sending text or
dragging a screenshot crop.<select>,
verify the label changes, then restore the original selection. Launch-target
rows still need a project with a launchable iOS app.Expand preview view should flip to Exit expanded preview view, zoom-in should move 100% -> 125%, zoom-out should move 125% -> 100%, and reset should return from a setup zoom-in to 100%.onInsertDraft is absent: the panel falls back to copying the prompt and
leaves the Work composer empty. Keep preview-ask-agent /
preview-add-preview fixture-needed until using a chat-draft-capable surface
or an explicit clipboard-safe harness.aria-pressed or equivalent state after every tab switch.[data-tour="work.crossLaneSwitch"] before matching card buttons. Broad
button selectors can accidentally click Git commit-history rows in the tools
pane, producing invalid multi-select evidence.STASHES,
No changes, and UP TO DATE without a WORKING TREE label. For
work.git.files.back, verify the selected commit-file buttons disappear and
the clean files/stashes view returns instead of requiring that label.work.git.history.hover, verify the specific CommitTimeline tooltip
container (div.pointer-events-none.absolute.z-50). Broad text searches can
match ancestor nodes that include the whole Work surface.title=<path>; editor tab buttons are button.truncate.text-left
without a title inside the shrinkable tab group. Use the editor-tab selector
for work.files.tab.switch and work.files.tab.close.div.absolute.inset-0.z-30). File tree rows and editor tabs
can have the same visible path text as overlay results.LaneGitActionsPane are clickable div rows, while
adjacent visible buttons are per-file actions such as stage/discard. For
work.git.file.select, seed a temporary fixture file if needed, click the
visible row div containing the path, verify the diff pane header, then delete
the fixture file and refresh/clean the perf-pass repo.Stage <path> and
Unstage <path> labels when changing LaneGitActionsPane file rows.includeUntracked flag when unstaged changes
contain kind: "untracked".stash@{0}. Do not use
git stash list --date=... %gd for the action ref: date-based refs can apply
but do not reliably remove the stash entry when restoring. Keep timestamps in
a separate %cI field and restore by applying, then dropping, the ordinal ref.LaneGitActionsPane.test.tsx can cover the staged/unstaged Show all
controls for large change lists by asserting row 300 is hidden under the cap,
clicking Show all, and verifying that row renders.LaneDiffPane.test.tsx can cover commit-diff Show all for large commit
file lists and the visible Retry action for a failed working-tree diff. It
is not evidence for opening the selected diff in Files or saving edited
working-tree diffs.files-editor-theme-toggle or TRUST & EDIT; record explicit fail
markers if probing those rows from the Work tools pane. The embedded editor
mode buttons are valid Work controls: with a real file open, CHANGES and
MERGE can be measured by clicking the visible buttons and verifying their
active background changes to the accent color, then returning to CODE.CHANGES view is active. Measure WORKING TREE, STAGED, and COMMIT by
clicking the visible inner diff buttons, verifying the accent active
background, and for COMMIT verifying the compare-ref select appears with at
least one recent commit option.The perf-pass repo can contain lane records and branches while the physical .ade/worktrees/<lane> directory is missing. The Git history panel previously surfaced raw messages like git working directory not found: ... through Electron IPC.
Work UI should show an operational lane-state message:
Lane worktree is missing. Restore or recreate the lane worktree at <path> before viewing history.Do not expose the raw Error invoking remote method ... prefix in Work Git history. When reproducing, remove a lane worktree directory from perf-pass, open Work > Git > History, and refresh.
ade.ai.getStatus is now the largest first-window Work startup IPC in the
local-runtime-disabled perf pass, around 260ms. Optimize only after checking
model/provider availability behavior in Settings and launch surfaces.400-500ms per tab creation in UI probes. Optimize only after checking that tab reuse and hidden WebContentsView bounds behavior remain correct.getStatus plus an event subscription each, in
useWorkToolStatuses.ts) live for as long as the pane is open rather than for
as long as one tool is on screen — the picker cards and the header's activity
dots report on tools nobody is looking at. Two rules keep that honest and must
not be regressed: a tool that is unavailable in this context
(workToolAvailability) is never read from at all, and no status may be added
that needs a new poller — a tool with no cheap read shows what it is for
instead of a fabricated line. Attached shells have no status event, so
terminal.list is taken once when the pane becomes visible, never on a timer.steps(6) shimmer (.ade-tool-skeleton) and are
capped at 300ms. Keep both: a smooth sweep costs one compositor frame per
display refresh, which is very expensive on the 240Hz panel this repo is
developed on, and an uncapped skeleton turns a wedged machine into a grid of
shimmering placeholders.Row keys used to embed the event's index in the loaded window
(${sessionId}:${index}:${timestamp}). A 30-event prepend kept 0 of 30 keys,
so every older page, background-chat trim to 1,000 events, or snapshot merge
dropped every measured height (all rows back to the estimate), remounted every
row (replayed fade-ins and async highlighting), and defeated the key-matching
prepend anchor. With the auto-loader then firing again near the top, pages
chained and the thread jumped. Preserve all of these:
allocateTranscriptEventRowKey builds
<session>:<type>:m:<messageId>[:<phase>], <session>:<type>:i:<turn>:<item>,
or <session>:<type>@<timestamp>, plus #n for repeats of one base. It is
allocated once per event from context.eventRowKeyOrdinals, so the
incremental collapse and a full recollapse agree (parity test) and no
per-update JSON.stringify is needed. Never reintroduce an index into a row
key.readVisibleChatRows); the list anchor layout effect
moves scrollTop by exactly the first surviving row's DOM delta. The
virtualized window for that commit is computed from the anchor's model
position (windowScrollTop) so the row is mounted. Keep overflow-anchor: none; the list owns anchoring.MAX_CHAINED_AUTO_OLDER_PAGES); the
underfilled-pane backfill is exempt.rowTop < scrollTop) reconcile too; unmeasured
rows use per-kind estimates cached per key; HighlightedCode renders cache
hits synchronously and gives the plain and Shiki <pre> the same box.Tests: chatTranscriptRows.test.ts "row keys are position-independent" and
AgentChatMessageList.test.tsx "stable row keys, list anchoring, and scroll
restore" (fake per-key layout, both render paths).
scripts/perf-chat-scroll.mjs)Bench: launch the dev app with ade app-control launch --command "NO_DEVTOOLS=1 node scripts/dev-desktop.mjs --auto"
(dev.cjs forwards ADE_APP_CONTROL_DEBUG_FLAGS; without them a window behind
others stops painting and every frame metric reads 0), then
node scripts/perf-chat-scroll.mjs --port <cdp> --reload --park <small chat> --session <big chat> [--scenario wheel|top|idle].
--park matters: Work reopens the last chat on reload, which pages its history
in before the run starts. CDP Input.dispatchMouseEvent does not ack in the
dev build, so the bench drives scrollTop in-page with a wheel event per frame.
Measured on a 3.6 MB Claude chat (dev build, 3000 px/s):
scrollCommitKey), with one exact commit after
the scroll settles. Renderer JS 259→126 ms/s scrolling up, 281→161 down.measuredHeights version, not on measurementTick:
the tick trails measurements by a debounce, and offsets from stale heights
misplace the spacers (prepend jumps grew 568→1333 px until fixed).handleScroll too; a scroll that does not
render must still be what a chat switch restores.measureNow self time is the layout of newly mounted rows.backdrop-filter is ~half the GPU while scrolling (52→26% of a core with
it off): composer/banner ~10 pts, user bubbles (ade-liquid-glass) ~5, shell
header ~4. Changing it changes the look; it is a design decision.scripts/perf-chat-scenes.mjs)Scenes (```scene frames) are live while on screen and a still
elsewhere. Every scene frame of a window shares ONE extra renderer process
(sandboxed opaque-origin frames are out of process); it exits when the last
frame unmounts. Bench: launch the dev app with App Control, seed a chat with
scene fences, then
node scripts/perf-chat-scenes.mjs --port <cdp> --session <scene chat> --park <small chat> --reload [--no-sampler] [--focus-scene N].
It reads CPU per process from ps (CDP's browser-process cpuTime stops
tracking across dev-app restarts) and A/Bs best in one app session by swapping
files; see the header. Use --no-sampler for idle numbers: the bench's own
rAF loop makes the host produce a frame every refresh, and every live frame
then costs the host an intersection update per frame (+2–3 points that an
idle app does not pay).
Preserve all of these:
pauseAnimations), and
batches requestAnimationFrame to one flush per 250 ms. 240 Hz display, a
canvas particle loop + a blurred CSS shimmer + SMIL spinners on screen:
scene process 0.2% of a core, GPU 6.2% vs 6.4% for the same scenes as
stills (--no-sampler). The old freeze-without-still path left those loops
running at GPU 42%.readySrc,
settledSrc, revealedSrc) are cleared when the frame unmounts, or a
remount on the same cached URL reads as ready and shows a blank frame.sceneTheme.ts), and a theme change is
posted into frames, never a document rebuild.SceneDataFeed) mounted only for a
scene that asked for data and only while its frame is up, so lane and
session store updates re-render nothing else; sends are deduped by content
and throttled to one a second.content-visibility: hidden) reads as off screen
and unmounts its frames after the linger.The transcript scrolls behind the composer and its status chips
(ChatSurfaceShell overlayFooter). The footer's height reaches the list
through chatComposerOverlayInset and is written straight onto the scroll
pane's padding-bottom and the Jump pill's bottom. Keep it that way: an
inherited CSS variable on the shell would restyle every transcript node on
each prompt line, and React state would re-render the list. The list re-pins
itself when the inset grows while stuck to the bottom. A/B in one dev session
(3.6 MB chat, interleaved): wheel scroll renderer 51.5 vs 52.4%, GPU 56.3 vs
55.2% (noise); cold open to first rows median 172 vs 178 ms, same long frames.
backdrop-filter re-runs the blur and
composites the window every frame. The header live-activity dot (6px opacity
pulse, shown whenever an agent is live) cost ~32% of a GPU core and ~67% of
the main process at idle. Its keyframes now hold eased steps of 0.02 opacity
(step-end): GPU ~6.5%, main ~20%, pixel diff vs the smooth pulse ≤1/255.
Treat any new looping animation in blurred chrome the same way. Find running
ones with document.getAnimations().useLatestCallback, useStableIdentity in lib/stableIdentity.ts).
Inline closures, a fresh Set, a rebuilt turn-diff array or per-turn copy
objects re-rendered every mounted row: 1,105 row renders in 20 idle seconds
(now 0), ~5,100 row renders per 400 streamed events (now ~450).toLocaleTimeString(locales, options) builds an Intl.DateTimeFormat per
call; every row renders a timestamp. Cached formatter: streaming JS
10.2 → 7.3 ms/event.summarizeInlineText) are cached per event object; they
were recomputed for the whole transcript on every streamed delta (~9%).scripts/perf-chat-stream.mjs replays a real transcript into
the browser-mock renderer (window.__adeMockEmitChatEvent) in Playwright's
Chromium. Pass --render-hook with a DevTools hook to count renders; count a
component only when its props or state object changed, because bailed-out
subtrees keep stale PerformedWork flags.Date.parse cache in
chatHistoryMerge (<1 ms per flush either way).AgentChatComposer is not memoized and gets ~100 props
(many inline), so it re-renders ~2x per streamed event with its tooltips.SessionCard uses memoWithLatestHandlers (lib/stableIdentity.ts): the list
hands every card fresh onSelect/onContextMenu/PR handlers, so plain memo
never held. TerminalsPage passes the list stable handles (useLatestCallback)
and lanes without PRs share NO_LANE_PRS. In the real app at idle, 20 s:
card renders 1,092 → under 100 (only cards whose session changed), lane headers 870 → 440, idle renderer JS
270 → 184 ms per 10 s with 32 cards. Lane headers take JSX props, so they
still re-render with the list; the rest of those renders are real session data.AgentChatComposer (renders halved, no
time change; median 5.97 vs 5.77 ms per streamed event), dropping the blur
on hidden (opacity-0) hover toolbars (Chromium already skips it).perf-chat-stream.mjs --background).Measured on a 240 Hz display with per-process CPU sampling (ps cputime
deltas) and CDP Performance.getMetrics. A smooth looping animation ticks at
the display rate. On a 240 Hz display that is 240 style passes a second.
step-end.
The Work sidebar Working breathe used a smooth curve. With three working
sessions the GPU process used ~19.5% of a core and the renderer ~7%. Stepped:
3.8% and 3.2%. Derive the stops from the same ease curve, as for
activity-hdr-pulse.steps(N) so the rate is 60 a second. The Lanes working mark (five lanes)
went from a renderer at ~20% to 6.4%.lib/xtermCursorBlink.ts flips every 500 ms gives the same blink. An
idle focused shell went from a renderer at 11.7% to 3.6%.CodeHighlighter
keeps the HTML of the complete lines and Shiki's grammar state. While an
agent streamed code, highlighting fell from 14.6% to 0.5% of renderer
main-thread samples. The output is byte-identical to codeToHtml.Open finding, not fixed: a switch into a long chat (four long replies, ~48k
DOM nodes) blocks the main thread for 600–900 ms. The cost is two full style
passes over ~60k elements, the markdown parse, and ThreadCommentLayer
getBoundingClientRect reads (~150 ms). A fix needs virtualization or deferred
row mount, so measure the visual effect before you change it.
The WebGL terminal renderer was never active until the fifth pass:
loadAddonCtor imported a variable specifier with @vite-ignore, so neither
Vite nor the packaged app.asar resolved @xterm/addon-webgl. Keep the
specifier a string literal (loadWebglAddonCtor). A streaming shell demo:
renderer 23.7% (DOM) → 12.7% (WebGL).
Measured with two warm projects, one holding a long chat (12,900 elements) and one with a printing shell. Use long tasks, the worst frame gap, a screencast filmstrip, and per-toggle style timings on the surface root.
mountedProjects picks warm
surfaces by recency and renders them in tab order. Before: a chat scrolled
up into history reopened at its first message.content-visibility: hidden
(HIDDEN_PAGE_STYLE), not with inert, pointer-events: none or a
[attr] * CSS rule. Each of those three restyled every element of the
surface (~200 ms apiece); content-visibility toggles in ~3 ms, keeps the
rendering state, stops animations and blocks hit-testing and focus. Code
that asks "is my surface parked?" checks [data-ade-surface-hidden].
Result: switch long tasks 450–640 ms → 0, worst frame gap ~480 → ~120 ms.selection: variant on a large container. It compiles
to .x *::selection, matched against every element on every restyle (40% of
selector time). Chromium inherits ::selection, so one rule on the root
(.ade-app-selection::selection) colors the same. Full restyle of the chat
surface: 205 → 39 ms. Measure selector cost with a trace that includes the
disabled-by-default-blink.debug category (SelectorStats events).ai.getStatus re-reads the login shell's PATH with synchronous shells,
which blocks the brain's event loop and every call behind it (the terminal
stream resumed 323 ms after the click; now 83 ms). Use
invalidateAiDiscoveryCache(root, { forceRefresh: false }) and
getAiStatusCached({ revalidate: true }) for a cache bypass.onRuntimeStatusChanged is also a 15 s heartbeat. Use
subscribeRuntimeIdentityChanges for "the brain may have changed".Open findings: the return to a project with a long chat still costs ~100 ms
of native layout and paint; useWorkSessions polls session.list every 5 s
for a hidden project too (~6 ms of brain time each round); opening a long
chat still forces layout in ThreadCommentLayer and re-parses markdown
(~45 ms).
Measured in the dev app on a real project, App Control detached, ps
cputime over 15 s windows, one chat streaming throughout.
ade app-control session
kept the Electron main process at ~86% of a core and the GPU near 60%,
independent of the UI on screen. Detach (ade app-control stop) before
sampling; toggle UI with a CDP eval click instead.WorkToolPickerBackdrop listened to capture-phase scroll on the
window and treated every layout read as "someone is looking", so any
streaming chat (which scrolls itself) kept the gradient drawing at 12–30 fps
forever, and each frame re-layered the whole page. With six chat tiles that
was ~2.4 s of Layerize in 10 s. Now a scroll counts only when its target
contains the canvas, and only a canvas that actually moved restarts the
freeze clock. Six-tile grid: GPU 30% → 8%, renderer 44% → 7–8%; single
chat: GPU 46% → 9.5%, renderer 26% → 6.6%.ContextUsageDial pulsed its <circle>
while a turn ran; the pulse now runs on an HTML wrapper (same look).useCursorCloudDraftState
ran in every chat pane and called Cursor's repositories endpoint (5/min per
account) on mount; six tiles hit the limit. It now runs only for a chat that
can still launch to Cursor Cloud (no output yet), and the repo list is
shared in flight and cached for 5 minutes.© arul28, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/ade-perf-work of arul28/ADE.
Open the folder on GitHubat commit fbbd974
Ade Perf Work next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ade Perf Work this skillarul28/ADE | 114 | — | ~12k | Automated safety check: Pass | AGPL-3.0 | |
| Releasevaayne/mori | 303 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Updating Xcode Ddisdoronz88/DeveloperDiskImage | 170 | — | ~1k | Automated safety check: Pass | None | |
| Anishelf Releasesamuelhe52/AniShelf | 140 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Flutter Appccplugins/awesome-claude-code-plugins | 968 | — | ~1.1k | Automated safety check: Notes | Apache-2.0 | |
| Wjs Auditing Projectjianshuo/claude-skills | 130 | — | ~2.5k | Automated safety check: Pass | MIT |
vaayne/mori
Release workflow for Mori macOS workspace terminal and MoriRemote iOS app.
doronz88/DeveloperDiskImage
A skill your agent uses when asked to "update ddis" / refresh the DeveloperDiskImage repository (doronz88/DeveloperDiskImage) from a newly installed Xcode, to bump or pin LATESTDDIBUILDID in…
samuelhe52/AniShelf
Prepare and publish AniShelf source-control releases through validation, release commits, annotated tags, and the main-to-release pull request.
ccplugins/awesome-claude-code-plugins
Bootstrap a new Flutter mobile app with clean architecture, Riverpod, FVM-pinned SDK, current packages, and no deprecated APIs.
jianshuo/claude-skills
A skill your agent uses when the user asks to audit what's wrong with a project, "make it right", "看看项目出了什么问题", "为什么用户的需求还没上线", "为什么没提交App Store", "为什么没新build", or wants a holistic…
Shpigford/knockoff
Cut a new Knockoff release — bump the version, roll release notes, tag, and ship to the Chrome Web Store, Firefox Add-ons (AMO), and the Mac & iOS App Store, reporting per-store status at the end.
arul28/ADE
A skill your agent uses when you need to run or drive a local Electron/desktop app and capture what it does — launch it or attach to a running renderer, read its logs or answer its terminal prompts…
arul28/ADE
Iteratively optimize an ADE tab's CPU/memory/IPC/render performance.
arul28/ADE
A skill your agent uses for any browser behavior at all — opening a URL, checking a localhost page, clicking or filling a form, logging in, screenshotting, inspecting the DOM, or verifying a page…
arul28/ADE
A skill your agent uses when an agent needs to mint, share, or open ADE deeplinks (lane, work session, file, commit, artifact, branch, PR, Linear issue) so users — or the agent itself — can jump…
arul28/ADE
A skill your agent uses when you need to run a chat, a CLI session, or a subagent on a specific setup — any model you pay for inside any harness (e.g.
arul28/ADE
A skill your agent uses when creating, inspecting, syncing, committing, pushing, archiving, or rebasing ADE lanes and lane worktrees through ade lanes and ade git.
Categories
Performance and UX patterns discovered for ADE's Work tab, including chat/CLI/shell launch surfaces, the Work tools pane, Git/Files/iOS/App Control/Browser panels, and local-runtime-disabled perf…. Ade Perf Work is an agent skill from arul28/ADE. Performance and UX patterns discovered for ADE's Work tab, including chat/CLI/shell launch surfaces, the Work tools pane, Git/Files/iOS/App Control/Browser panels, and local-runtime-disabled perf runs.
Ade Perf Work fits situations like: tasks that involve iOS development.
Run `npx skills add arul28/ADE --skill ade-perf-work -a claude-code`. Or copy the skill folder (.agents/skills/ade-perf-work in arul28/ADE) into .claude/skills/ade-perf-work in your project. Claude Code loads it when a task matches its description.
Run `npx skills add arul28/ADE --skill ade-perf-work -a codex`. Or copy the skill folder (.agents/skills/ade-perf-work in arul28/ADE) into .agents/skills/ade-perf-work in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add arul28/ADE --skill ade-perf-work -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ade-perf-work, .gemini/skills/ade-perf-work, .github/skills/ade-perf-work and .opencode/skills/ade-perf-work in your project.
Going by SKILL.md and its folder, Ade Perf Work needs the command-line tools its instructions call (node, git and cursor).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ade Perf Work is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 12k tokens (SKILL.md is roughly 48k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ade Perf Work: Release (vaayne/mori, 303 stars), Updating Xcode Ddis (doronz88/DeveloperDiskImage, 170 stars), Anishelf Release (samuelhe52/AniShelf, 140 stars) and Flutter App (ccplugins/awesome-claude-code-plugins, 968 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
arul28 (a GitHub user) maintains it in arul28/ADE, which has 114 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 8, 2026.
Source: arul28/ADE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.