@awesomate/hosting-mcp
Version:
Awesomate MCP server — lets Claude manage your Awesomate WordPress hosting, plan, limits, n8n automations, and build Node/static apps + databases
236 lines (207 loc) • 16.5 kB
Markdown
---
name: awesomate-business-map
description: Set up and run a business on the Awesomate business map from Claude Code. The seven departments, roles and who holds them, each role's processes (written down and automated), helpers (workflows and agents) at their levels, the customer's path with a role and a hand-off on every step, role limits, decisions, role tasks, quarterly priorities and KPIs. Use at the START of work on any Awesomate account that is new to you, when the user says "set up the business", "onboard this business", "business map", "customer journey", "who does what", "roles", "hand-offs", "where does this go", "what should we automate or delegate next", "processes automated", and EVERY time you build or publish a workflow, n8n agent, Knowledge agent, hub agent, or app assistant for an Awesomate account, so it is placed on the map in the same step. Companion to awesomate-hosting (the map in brief), awesomate-n8n (decisions, the Awesomate node), awesomate-onebrain (procedures) and awesomate-knowledge (agents).
---
# The Awesomate business map
The map is how the owner sees their business: who does what, what is written
down, what is automated and how far it may go alone, and where each customer is
on their path. Anything you build that is not on the map looks to the owner as
if it was never built. So: **map first, build second, and place every build in
the same step.**
This skill comes from the Ember & Leaf showcase build (October 2026). About
twenty workflows and three agents were built before any of them was on the map,
so the owner saw "automated 0 of 37" and a customer's path with empty
Responsible, Procedures and Helpers rows. The order below avoids that.
## 1. The model, in the owner's words
| Thing | What it is | In the tools |
| --- | --- | --- |
| Department | Seven every business has. Standard names Strategy, Team and systems, Sales, Finance, Delivery, Quality, Marketing (keys 7, then 1 to 6), but each business may rename them and put them in its own order (`department.rename`, `department.order`): read its names and order from the map. Call each by its name, never by its verb (Envision, Form, Promise...); when you need a number, say `shownNo`, never `departmentNo`. | `departmentNo` 1 to 7 (a fixed key, never said) |
| Sub-department | Three standard ones per department (the owner may rename and reorder them) plus up to three of their own. Say the name, never the number. | `subDepartmentNo` (a key, never said) |
| Role | A hat. One person often wears several. It has holders, a role it reports to, and limits. | `roleId`, `slug` |
| Process (responsibility) | Up to five per role, each with a level 1 to 5. **Written down** when it links a 1Brain page; **automated** when a helper on that role does it (`doneByHelperId`). The map's "written x of N" and "automated x of N" count these. | `responsibilities.set`, `responsibility.update` |
| Helper | A workflow or agent on a role, with the level it works at. | `helper.attach` |
| Level | 1 finds out, 2 suggests, 3 recommends and waits for a person's yes, 4 does it then tells, 5 tells only the exceptions. | `declaredLevel` |
| Limits | What the role's holder approves alone. An agent's action above them is held for the next person up. | `role.limits` {`approveLimitCents`, `discountLimitPct`} |
| Customer's path | Up to nine steps from finding the business to coming back. Each has a department, a **role** and a hand-off. The board's Responsible, Procedures and Helpers rows come from the step's role. A new path locks its first step ("Finds you") and last ("Leaves a review"), both in Marketing: rename them with `path.step.update`, never drop or move them; new steps go between. A path saved before has no locks until its review step is added (`canAddReview`). | `path.set`, `path.step.update` |
| Priorities | Up to five per role per quarter. | `priority.add` |
| KPIs | A number with a target and someone responsible. | `kpi.add`, `add_figures` |
Read with `awesomate_business_map`:
- `read` with `format: 'summary'` first: each role's id, holder, processes
(written, automated) and helpers, the path with its roles, and what is not on
a role yet. Add `department` (1 to 7) or `role` (a slug or title) to narrow it.
- `read` in markdown for context to quote; `read` in json only when you need a
field the summary leaves out (it runs to tens of kilobytes).
- `role {slug}`: one role's processes, helpers and each helper's
`instructionLine`.
- `gaps`: what is missing, most important first.
`awesomate_get_context`'s `attention.map` says what the map is missing:
`pathSet` (false: the owner has not set the customer's path), path steps with no
role, helpers on no role, processes written and automated of all, and active n8n
workflows that are not on the map. When the path is not set, or any of the
missing counts (steps without a role, helpers on no role, workflows not on the
map) is above zero, say so in one line before the task. Written and automated
are progress, not problems.
Change it with `awesomate_business_map_change` `propose`. Every change is a
suggestion the owner accepts or turns down in Tasks: say "it's waiting for you
in Tasks", never "done".
## 2. A new business: the order
**Every change is checked against the map as the owner has accepted it.** A
change cannot name a role, a person or a process that is only proposed: it is
refused as not on the map. So send each round as one batch
(`awesomate_business_map_change` `propose` with `changes`, up to 50, all or
none), naming a role or person added earlier in the same batch as `"@n"`, the
n-th change, in id fields only. A process or a helper is never named by `"@n"`,
so whatever needs one goes in the next round: after each round tell the owner
what is waiting in Tasks and carry on once they have accepted it.
1. **Learn the business.** `awesomate_get_context` (check `features.business_map`
is available), then `awesomate_business` for its details, then the map
(`read` summary, `gaps`), and `awesomate_onebrain` `status` to see whether
1Brain is connected. Where the account has business documents
(`features.business_docs`) and you are on the owner's own key, also read `awesomate_business {read:'plan'}`: for a new
business, start them in the same session with the owner before the map rounds,
so the roles and path below are built on what they said. With the owner's yes,
`awesomate_business_decide {action:'research'}` reads their website, then ask
the questions from `awesomate_business {read:'questions'}` one at a time and
save their words with `awesomate_business_decide {action:'answer'}`
(awesomate-hosting, "Writing in the business's name" has the rules). On a team member's key
`plan` is refused: tell them the owner sets the documents up, and carry on.
2. **Agree the customer's path and the roles with the owner** before building
anything. The path is up to nine steps, each a phrase the owner would use
(Find us, Ask, Get a price, Book, Pay, The job, Feedback, Review, Come back),
each with its department, the role that looks after it and the hand-off ("Ends
when X; hands to Y"). One role per distinct hat on the path.
3. **Round 1: the roles and people.** Propose `role.add` for each role (its
processes can go in the same change as `items`: up to five, worded as
processes, "Offer the best three times for each booking request", each at the
level you are aiming for) and `person.add` for anyone not on the map yet.
4. **Round 2, once accepted: the path and who holds what.** `path.set` **with
`roleId` on every step** (a step with no role leaves the board's rows empty and
shows in `gaps` as `path_unowned`), `holder.set` for each role, and
`role.limits` (how big a refund, discount or quote may be before it goes up
the line). Add or reword processes with `responsibility.update` or
`responsibilities.set` if round 1 did not carry them.
5. **Then build**, step by step along the path, placing each build as in
section 3 with the process it does (`duty`), which needs that process to be
accepted already.
6. **Procedures.** For each process, link a 1Brain page (`awesomate_onebrain_change`
`link_role`, or `propose_draft` to write one), then set its `procedure` with
`responsibility.update`. If 1Brain is not connected, say so once and keep the
procedure in the project for now.
7. **KPIs** for the path: conversion from one step to the next and time in a
step are the useful ones.
## 3. Place every build in the same step
When you publish a workflow or an agent, propose `helper.attach` on the role
whose process it does. Publishing a Knowledge agent
(`awesomate_knowledge_agents_change`) or an n8n Agent (`awesomate_n8n_agents`
`publish_agent`) answers with a `map` hint while it is not on a role yet: build
the proposal from its `attach`, adding `roleId` (its `suggestedRole`, or the role
the owner names), `declaredLevel`, `duty`, and the label the owner knows it by
when the hint has none. A hub agent is made live by the owner in the hub, so
propose its placement (kind `agent`, its id) once they have. An email series has
no helper kind of its own: it belongs to a process, so name it in that process's
text.
| What you built | `kind` | `ref` |
| --- | --- | --- |
| n8n workflow | `build` | its workflow id in n8n |
| n8n Agent (the Agents tab in n8n) | `n8n_agent` | its agent id in n8n |
| Knowledge agent (website chat) or hub agent (/agents in the hub) | `agent` | its agent id: one id for both, the one in `/agents/<id>` |
| An app's assistant, or anything else outside | `external` | a stable name of your own, like `<app id>:assistant` |
| A library template or bundle | `template` or `bundle` | as the map's unplaced list gives it |
| Anything in the map's unplaced list | as its `attach` gives it | |
- **Name the process it does in the same proposal:** `duty` is the text of one
of the role's processes, and accepting the change marks that process done by
the helper. Without it the process does not count as automated until a second
change sets `doneByHelperId` (with `responsibility.update`, once the owner has
accepted the helper and it has an id).
- **Set `declaredLevel` to what it really does.** A workflow that holds for a
decision is 3, one that acts and then tells is 4, an agent that only answers
questions is 2. With no level a helper shows as suggest-only.
- **Use the name the owner sees** as the label ("Booking request", not an id).
- **A helper can hold the role** (`role.heldBy`, `helper.holds`): it then does
the role's work within the role's limits, at most one per role, and the
role's responsible person looks after it. Read who holds a role with the
`role` action or `read` in json: `read` with the `summary` format (with or
without its role filter) leaves holding out and names a person as `holder`.
Only an `agent` or a `build` helper can hold a role, never the owner's role.
Give it with `holder.set` {`roleId`, `helperId`} (or `holds: true` on
`helper.attach`, with the role's responsible person as supervisor), take it
back with `helper.update` {`id`, `holds: false`}. Giving needs someone
responsible for the role and the account's Agents in roles and Decisions
features (check `features` in `awesomate_get_context`, and relay a refusal);
taking back always works. Nothing enforces the limits unless the workflow
asks: when a workflow holds a role, add a Check limits step before each
action that spends money, gives a discount or reaches a customer
(awesomate-n8n's [decisions reference](../awesomate-n8n/references/decisions.md)).
## 4. Change one thing, not the whole list
`path.set` replaces every step of the path and `responsibilities.set` replaces
all of a role's processes. To change one, use:
- `responsibility.update` {`roleId`, `text` (as the map shows it), `newText`?,
`level`?, `exceptions`?, `procedure`?, `doneByHelperId`?}: the role's other
processes stay exactly as they are.
- `path.step.update` {`position`, `label` (as the map shows it), `newLabel`?,
`departmentNo`?, `roleId`?, `handoffRule`?}: the other steps stay as they are.
When you do send a whole list, read it first and send every entry back: in
`responsibilities.set` a field left out keeps what that process had, and null
clears it.
## 5. Running the business on the map
- **Decisions.** A workflow that needs a person's yes uses the Awesomate node's
Hold for a Decision, naming a role (awesomate-n8n `references/decisions.md`).
It goes to that role's holder, then up the line. You may read decisions
(`awesomate_tasks` `decisions`) but never answer them.
- **Role tasks.** `awesomate_tasks_change` `add {role}` puts a task in a role's
shared queue; if nobody takes it in 4 business hours it goes to the role's
responsible person. This key is the owner's, so the task is given as the
owner: never add one as if an agent raised it.
- **Agent instructions.** When an agent helps a role, put that helper's
`instructionLine` (from `role {slug}`) in its instructions.
- **Figures from an automation** reach a KPI only once its workflow is a helper
on a role.
## 5a. When the owner lets you act for them
`awesomate_get_context` carries `delegation` (`{areas, endsAt}` or `null`).
With `map` in `areas`, `awesomate_business_map_change` `apply_own {id}` applies
a change THIS key proposed (its `changeId`), checked against the map as it is
now. Only the changes Claude may make for the owner: adding a role nobody
holds yet, renaming a role or rewording its mission, rewording a process or
naming the helper that does it, a helper's notes, priorities, procedures, the
customer's path, and department and sub-department names and order.
- **Never** people, who holds a role (a person or a helper), levels, approval
limits, who reports to whom, who sees what, or the owner's own role. Those
answer `owner_decides` and stay waiting in Tasks: tell the user so.
- `null`, or no `map` in `areas`: propose as usual and say it waits for the
owner. Never treat `null` as yes.
- A refusal (`not_your_proposal`, `not_delegated`, `delegation_ended`,
`no_longer_valid`) changed nothing: relay its sentence.
- Say it is made only when `apply_own` answered without an error, and that it
is on the owner's daily "What Claude changed" card.
## 6. Hub agents (the agent builder at /agents/<id>/build)
These are not configured by the `awesomate_knowledge_*` tools, which edit the
Knowledge agent's instructions, scope and answers. A hub agent's actions and
skills are drafted with `awesomate_agents` (read: `list`, `get`, `workflows`; `try` has the draft answer one message)
and `awesomate_agents_change` (`add_action`, `update_action`, `remove_action`,
`add_skill`, `update_skill`, `remove_skill`, `test_action`): every change lands
in the draft, and going live is the owner's click or yes in the hub, unless
the owner lets this key act for them in Agents (`delegation.areas` in
`awesomate_get_context` includes `agents`; the awesomate-hosting skill, section
3a, has the rules): then `make_live` does it.
What an action's workflow needs:
- it starts with an enabled "When executed by another workflow" trigger;
- its input names are lower case (`^[a-z][a-z0-9_]{0,63}$`) and each is text, a
number or yes/no;
- its last item carries `ok: true` and a `say` sentence (and optionally a
`reference`), or the run counts as failed;
- it accepts plain words as well as codes, because the builder's test sends
what the owner types;
- the hub runs the published version, so publish it again after an edit.
A skill is a markdown file with optional front matter (`name`, `when`) and the
steps as its body. Check the agent's channels before promising an action works
in the website chat. Only mark an action "Reaches a customer" or "Spends money"
when it really does, or every use waits for a person.
## 7. Before you call a build done
- [ ] It is on its role (`helper.attach` proposed, with a real `declaredLevel`
and the `duty` it does).
- [ ] Its path step has that role.
- [ ] If it holds for decisions, the role has a holder and limits.
- [ ] The proposals are listed for the owner, each waiting in Tasks.
- [ ] Any gap in the platform you hit is sent to Awesomate as an improvement.
- [ ] Anything people see in it (a page, an email, a form, a widget) went through the
awesomate-design skill: the brand's look and its critique.