Daily Workflow
Start every session the same way
A session that starts with recall inherits everything previous sessions learned:
etch_recall_project_memory → digest + record brief first, always
etch_get_status → availability, unsaved changes
etch_get_document_tree → current document
If recall reports the digest stale (records advanced 10+ revisions or the digest is older than 7 days), refresh it near the end of the session with etch_write_project_digest.
Project Memory
Project Memory is a bounded, machine-local store keyed by one normalized site URL. Staging and production URLs are separate keys with separate records; moving between them is an explicit rebind, never an automatic merge.
| Tool | Use |
|---|---|
etch_recall_project_memory | Read the digest and brief. Always first. |
etch_remember_project_memory | Store a confirmed Decision, Observation, or Reference the user stated. |
etch_inspect_project_memory | Audit exactly what is stored, per project. |
etch_correct_project_memory | Fix a stored record's payload under an expected revision. |
etch_forget_project_memory | Delete one record or a confirmed aggregate. |
etch_write_project_digest | Write/refresh the narrative digest (purpose, conventions, recent work, open threads). |
etch_recover_project_memory | Explicitly rebind after a URL change, or quarantine a corrupt store. |
What it stores: bounded, allowlisted facts - decisions, observations, references, a digest, and an activity log (the last 50 successful non-read operations per project). What it never stores: credentials, raw page payloads, or your user skill files. Successful non-read calls are appended to the activity log automatically, so a returning session can see what was recently done.
Two habits keep it healthy:
- Confirm before remembering. The tool stores user-confirmed statements, not agent guesses.
- If a staging site becomes production (or a domain changes), the agent runs a recover preview first and applies the rebind only after confirming the target is empty and both URLs are the same project.
ACSS-aware styling
On sites running Automatic.css, the agent should work in tokens, not invented values:
etch_detect_acss → detected, source, version, stylesheet URLs, sample palette/scale variables
When detection reports ACSS, the bundled acss core skill takes over styling: variables first (var(--token)), the t-shirt spacing scale, the 7-step shade system, contextual backgrounds with automatic text color, the .scheme--dark + light-dark() dark-mode flow, and b:/s:/m:/l:/xl:/xxl: breakpoint prefixes.
Detection works in safe mode, the default connection. The agent asks Etch directly when the builder offers that, and otherwise uses the builder's own skill list, which includes the Automatic.css guide only while ACSS is active. source in the result says which signal decided (etch.acss, skills, stylesheet, or none). Only the stylesheet URLs and sample variables need the tooling connected in unsafe mode; in safe mode the result says so in its note. See Troubleshooting.
Automatic.css settings
On Etch builds that offer it, the agent can work with the ACSS dashboard settings directly:
| Tool | Use |
|---|---|
etch_list_acss_settings | Read the settings (id, type, screen, current and default value) and whether ACSS is on. |
etch_update_acss_settings | Change settings. This saves right away and regenerates the ACSS stylesheets, the same way the dashboard does. |
etch_set_acss_enabled | Turn ACSS on or off. Turning it off removes the ACSS stylesheets, so the agent asks you first. |
Prefer a settings change over CSS that overrides ACSS output: a new brand color or spacing value then stays editable in ACSS instead of being buried in override CSS.
For global CSS - @keyframes, @property, @font-face, utility classes, root variables - the stylesheet tools persist immediately, so prefer them for site-wide CSS and buffered styles for document-specific rules.
Assets and collections
On Etch builds that offer it, the agent can list, inspect, upload, download, rename, re-describe, compress, and delete the project's files, and organize them into collections (folders).
- File contents never pass through the conversation. An upload reads a file from your computer, and a download writes into a folder you name.
- Only allowed folders. By default the agent uploads from and downloads into Downloads, Desktop, Pictures, and the system temp folder. To allow others, see Install.
- Downloads never replace a file that already exists unless you ask for it.
- Size. Etch stores files up to 24.9 MiB. An upload can compress a raster image (WebP, AVIF, JPEG, or PNG, with quality and resize) before it is stored.
- Compressing in place keeps the asset id, so blocks and fields that use the asset by id keep working, but its file extension and URL follow the new format. Hard-coded asset URLs then break; ask for a compressed copy instead when that matters.
- Deleting is refused while an image field still uses the asset. Deleting a collection keeps its assets and moves its child collections to the root.
Long uploads tell your MCP client they are still running. If one times out anyway, the upload may still have finished: the agent checks the asset list before uploading again, so the same file is not uploaded twice.
Data sources
On Etch builds with data sources, the agent can list, read, create, change, and delete them (json, api, or js types). Before building a loop or binding on one, it can resolve it with etch_resolve_data_source to see the data it returns, exactly as data('key') would on the canvas.
Resolving runs the source: an api source fetches its URL and a js source runs its code. Renaming a data source key breaks every expression that names the old key, and expressions that name a deleted source resolve to nothing.
The edit lock
Some projects let only one tab at a time save. Only the tab that holds the lock can save; a save refused because another tab holds it says so and explains what to do.
- Requesting control. The agent asks you before it calls
etch_request_control. The person editing in the other tab can decline, but if they do not answer within about 30 seconds, Etch hands control over anyway. Once control is granted, the agent's builder tab reloads to load the last save, and the agent waits for it to reconnect before it continues. Because the reload drops unsaved edits in that tab, request control before editing, not after. - Handing control back.
etch_hand_over_controlsaves first and hands over only after the save succeeded, then reports whether the save and the hand-over really happened. Handing over without saving drops the tab's unsaved edits, so the agent asks you first.
When a feature is missing
Assets, data sources, ACSS settings, and the edit lock depend on what your Etch build offers. Before using one, the agent checks what the open builder says it supports. If a feature is missing, the tool returns TOOL_UNAVAILABLE naming it. That is a property of your Etch build, not a temporary error; etch_get_status lists the supported features under environment.capabilities.
Agent skills
The server ships skills that teach agents the correct Etch workflow, and your agent should read the core skill before its first edit on a site:
| Skill | Contents |
|---|---|
etchapi | The 13 block variants, safe block shapes, read-then-write flow, stylesheets, loops, components, CSS authoring rules. |
acss | The ACSS token-first workflow and the full variable catalogue. |
Your own conventions go into user skills - markdown files under mcp/skills/user/<slug>/SKILL.md, manageable through the tools (etch_create_local_skill, etch_update_local_skill, etch_validate_local_skills) or by hand. User skills are local to the machine and never leave it. etch_list_skills shows everything available.
Working across targets and documents
- Multiple tabs. Every builder tab with AI Connector clicked appears in
etch_list_targets; the agent selects the working target explicitly. Different agents may work different targets simultaneously. - Navigation.
etch_go_tomoves the builder between areas (builder, templates, style manager, content hub, loop manager, asset manager);etch_open_post/etch_open_templateswitch documents - refused while buffered changes are unsaved. - History.
etch_undo/etch_redowalk the document; undo is the always-available recovery from a bad apply, repeatable step by step. - Color scheme.
etch_get_color_scheme/etch_set_color_schemekeep generated style values matching your builder theme.
End-of-session routine
Before wrapping up a substantive session:
- Save (or explicitly discard) any buffered document changes.
- Store the session's durable facts with
etch_remember_project_memory- confirmed decisions, observations, references. - Refresh the digest with
etch_write_project_digestif recall flagged it stale or the session changed direction.
The next session on that site starts where this one ended.