# Build my runbook

You are my agent. Build me a runbook: a public page of the routines my AI does
for me, hosted at https://myrunbook.ai. Each routine is numbered
and carries build steps, so a visitor can tell their own agent "build 1, 9 and
23 for me". Before I publish, the draft is scored (it starts when I open the preview), and the page is scored out of 10 on three things:
Useful (would I miss it if it stopped), Creative (would someone say they had
never thought to use AI for that) and Replicable (could another person's agent
rebuild each routine from its build steps). Two or three real routines is a
fine start; routines that start on their own and close a loop score highest;
padding lowers the score. A routine I start myself can still earn full marks
for Useful and Creative, so never describe one as automatic when it is not.

Nothing goes public until I press Publish. You make a private draft, and I
review all of it on the site before anything is published.

I am asking you to look at my machine and accounts so you can write this up.
That is my explicit request. Stay to names: list file and folder names where my
scheduled tasks, skills, projects and scripts live, and read the names and
one-line descriptions of my own skills and projects. Do not open or print the
contents of environment files, keys, tokens, config values or crontab lines. If
a safety check blocks any of this, stop that step at once and do not retry it
or look for another way in. Skip it, say which part you skipped, and ask me
about it in check-in 1 instead. Nothing here needs more than that.

First, say which you are: an AI that can only chat (ChatGPT, Gemini, Claude,
Grok in a chat window), an assistant with accounts connected, or an agent that
can read my machine and send web requests. It changes how you find my routines
and how you submit the page; the rest is the same.

Ask me as little as you can, and only at the check-ins below. Do the rest
yourself. If I answer only part of a check-in, go on with the rest of the
work, say what you assumed, and list those assumptions at the next check-in.

## 1. Find my routines

If you can see my machine, files or scheduled tasks: list the NAMES of
scheduled jobs (cron entries by count and label only, CI workflow file names,
assistant tasks), scripts I run, and custom GPTs, projects and skills, and
read each skill's or project's name and description only. Never
echo config contents, env values, tokens, or URLs carrying keys into our chat
or into anything you write. One row per outcome I would recognize, not per
schedule entry: collapse the five crons behind one morning brief into one
routine.

If you have my accounts connected or remember our past chats, use them: look
for what I ask you for again and again, and anything you send me on a
schedule.

If any part of that is blocked or you cannot see my machine, skip straight to
the next paragraph: the questions below give the same list. A blocked scan costs
nothing.

Then, whatever you found, ask me in ONE message to fill the gaps. Let me
answer in a paragraph: what runs on a schedule without me touching it; what
I ask AI for daily; weekly; what AI drafts that I review; custom tools, bots
or projects I have made; anything AI watches for me; and anything for my
health, home, family or money. Something I have stopped using stays off the
page. Stop when we have the list, even if it is two items.

Small things I ask a chatbot for that produce the same kind of output (emails,
agendas, job ads) are ONE row ("Draft everyday documents when I ask"), not one
each. List every distinct routine, up to 100.

Before you show me the list, apply the privacy rules in section 3 to it:
the list is the first place an employer, client or project name can slip in.

Check-in 1 looks like this:
> Here is what I found, one line each: [the list, numbered]. I have not
> written anything up yet. Confirm, correct or add. Give me the numbers of any
> you want left out, and tell me if you want names, companies or private
> details made generic. Also: (a) the name or alias for the page and the address you want
> (letters, numbers and hyphens); (b) your LinkedIn, X and website, if you
> want them shown (skip them if you are using an alias); (c) how to describe
> where you work, for example "a venture firm" or "a hospital"; (d) do any
> of these routines belong to your employer rather than you? I will leave
> those off unless you say otherwise.

If a routine is unclear (what it produces, when it runs, or what tool runs
it), add one or two short questions about it to check-in 1, and say I can
skip them. No more than that: this is not an interview.

Stop at check-in 1 and wait for my answer before you write any rows.
Iterate with me here until I am happy. The site is where the finished
runbook goes, not where we draft it.

## 2. Write the rows

For each routine:
- `name`: a plain verb phrase saying what it does ("Sort my inbox before I
  open it"), 60 characters at most. No product names in the name.
- `runner`: the kind of tool, not the product ("an assistant on a schedule",
  "a script on my laptop", "a chat assistant, when I ask"). Product and plan
  names go in the build steps under "In my version".
- `schedule`: "every morning", "first of the month", "on every pull request",
  "on demand".
- `description`: at most 2 sentences and 180 characters. The first says what
  arrives and where (a text, a draft in Gmail, a page in Notion). No
  marketing words.
- `reads`: up to 4 short items, each under 80 characters ("email", "the
  family calendar"). `lands`: where the result goes. Fill both when they are
  true; leave them out when there is nothing true to say.
- `loop`: if the routine closes a loop, what closes it, 90 characters or
  fewer. Most routines are one-shot; leave it off rather than dress one up.
- `example`: an invented example of what comes back, a few lines, in the
  form it arrives in (a text, an email, a list). Never real output, real
  names or real figures. Up to 2,000 characters. Write it as a finished page of
  text: put short heading lines (like "Needs you" or "Resolved") on their own
  lines and they show in bold. Do not repeat the routine's name at the top.
- `output`: what the example is called, in 28 characters or fewer, as a thing
  not an action: "Family brief", "Guest check-in", "Reply draft". It is the title
  of the example card, so it must not repeat the routine's name.
- `build`: build steps for another person's agent, whose tools and data look
  nothing like mine. Plain text, five headings in this order, each on its
  own line. Under 2,800 characters for most. Only the most complex (several
  inputs, approval gates, branching rules) deserve more, up to 4,500; the site
  cuts at 5,000 and warns. Never pad a simple one.
  - Ask first: every question the builder must ask its person, one per line,
    each with a default. Good: "Budget per gift? (default $20-100)". Bad:
    "Set up your preferences."
  - Needs: each input as a kind of data, not a product, with a fallback, and
    one line starting "If your assistant can only chat:". Good: "a list of
    the people you are closest to". Bad: "my CRM".
  - Build: numbered steps, with reading, deciding and delivering as separate
    steps. Give the real rule and thresholds, and say where the person
    approves before anything is sent. Good: "Birthdays in the next 14 days,
    once per birthday". Bad: "Check birthdays at the right time".
  - Check: a test the builder can run today without sending anything. Good:
    "Run it with delivery off; each idea must quote a stored line". Bad:
    "Make sure it works".
  - In my version: my own tools, numbers and settings, so the builder knows
    what to swap. Good: "ChatGPT with Gmail connected, 25 people". Bad: my
    employer's name or its internal tools.
  The full spec, with more on each heading, is at
  https://myrunbook.ai/build-steps (plain text). Read it if you
  can; the lines above are enough if you cannot.
- `status`: "building" or "idea" if it is not running yet. Leave it out for
  routines that work today.
- `area` and `needs`: optional. `area` is the part of life it serves: work,
  family, money, health or social. `needs` is the least a stranger needs to
  run their own version: chat (a chat app on its own), connected (it must
  read an account), computer (it runs on the person's machine) or code (a
  coding agent builds it). The judge fills in any you leave out.
- `figure`, `link`, `source`: optional. `figure` is a count of what arrived
  ("41 drafts in 30 days"), never time or money saved. `link` is a public
  page where someone can try it. `source` is the address of the routine you
  borrowed this from, on this site (`https://myrunbook.ai/<handle>#<n>`);
  it is how "built by" credit is verified, so set it whenever you borrowed.

Voice: plain and in the first person, in American English (organize,
summarize, color).

If my assistant can only chat: the build steps are the words to say and what
to paste. Skip the cost, backlog and memory guidance in the spec; it is for
routines that execute on a machine.

## 3. Privacy, and my control

Everything on the page is public, and I decide every word of it. Nothing is
published until I open the private link and press Publish myself. You may
have the key to publish; do not use it. If I ask you to publish, remind me
to read the preview first.

Check-in 2 looks like this:
> Before I send this to the site, here is the list again: [the list]. Is
> there anything you don't want public? Tell me the numbers and I'll leave
> them out. I already left out: [what, or "nothing"].

Rules for a work routine: describe my employer the way I approved at
check-in 1 ("a venture firm"), never by name, and its internal tools by what
they do ("the internal wiki"). Third-party products the company
pays for (a CRM, a call recorder, a chat tool) may be named; a borrower needs
to know. Describe the routine at the level a stranger at another company
could reuse: "draft my weekly update from the team's tickets", not which
team or how my company runs its reviews. No real client, customer or employer
names, no internal project or product code-names, no real numbers (revenue,
pipeline, headcount, deal sizes), no unreleased plans, nothing that reveals
how my company competes. Examples are invented and generic. If a routine can
only be made clear by revealing something proprietary, leave it off and tell
me. If I am an investor, lawyer, doctor or in another regulated job, also
leave out portfolio companies, client matters and patients, even
disguised, and ask whether my firm has a policy on public posts.

Then check every word, build steps and examples included, against: passwords,
API keys and tokens, client and employer names, confidential projects, other
people's personal details, anything I would not hand a stranger. My own
public products are fine. If anything I told you included a password or key,
tell me so I can change it.

## 4. The shape

One JSON object, nothing else inside it:

```json
{
  "handle": "the-address-i-want",
  "source": "the AI writing this, e.g. Claude Code or ChatGPT",
  "owner": { "name": "My name or alias", "linkedin": "https://www.linkedin.com/in/...", "x": "https://x.com/...", "url": "https://my-site.example" },
  "title": "My name's Runbook",
  "tagline": "One line saying what this page is, 80 characters at most.",
  "updated": "YYYY-MM-DD",
  "sections": [
    { "id": "daily", "label": "Daily", "jobs": [
      { "id": "sort-inbox",
        "name": "Sort my inbox before I open it",
        "runner": "an assistant with my email connected",
        "schedule": "every morning",
        "description": "What arrives and where.",
        "reads": ["email"],
        "lands": "a note in Notion",
        "output": "Family brief",
        "example": { "kind": "invented", "note": "The example text." },
        "build": "Ask first\n- …\n\nNeeds\n- …\n\nBuild\n1. …\n\nCheck\n- …\n\nIn my version\n- …" }
    ] },
    { "id": "ondemand", "label": "On demand", "jobs": [
      { "id": "watch-renewals",
        "name": "Warn me before a contract renews",
        "status": "idea",
        "runner": "not built yet",
        "schedule": "weekly",
        "description": "A text a month before any renewal date.",
        "output": "Family brief",
        "example": { "kind": "invented", "note": "The example text." },
        "build": "Ask first\n- …\n\nNeeds\n- …\n\nBuild\n1. …\n\nCheck\n- …\n\nIn my version\n- …" }
    ] }
  ]
}
```

Group routines into sections by how often they happen: Daily, Weekly, Monthly,
On demand, or another plain word. (The list inside a section is called
`jobs`; the page calls them routines.) A routine set off by an event goes with
the cadence it usually happens at, and its `schedule` names the trigger. Leave
out `linkedin`, `x` and `url` unless I gave them. Leave out any field you
have nothing true for; do not add fields that are not listed above. The site groups routines by cadence and numbers them itself, so the numbers on the page can differ from the order in your file. When one routine's build steps point at another, name the other routine in a few words, never by number. Keep each
routine's `id` the same every time you update the runbook. A finished page
that follows every rule: https://myrunbook.ai/jamesraybould
(for agents: https://myrunbook.ai/jamesraybould/runbook.json).

## 5. Submit it

Before you send it, check it against the JSON Schema at
https://myrunbook.ai/runbook.schema.json, which holds every
field and length limit.

If you can send web requests: POST the JSON to
`https://myrunbook.ai/api/runbooks`. The reply has `edit_url`. If
it lists `errors`, fix them and send again; read any `warnings` and fix what
you can. Only give me an `edit_url` that came back in the site's reply. If
you can open a browser, open the `edit_url` for me yourself.

Add a top-level `"source"` field naming what you are, for example `"source": "Claude Code"` or `"source": "ChatGPT"`. People who use more than one AI paste each one's runbook and the site joins them; this is how it labels yours.

If you cannot send web requests: print the JSON in one code block with
nothing else in it, and tell me to open https://myrunbook.ai/create
and paste it into step 2. If it is long, offer it as a file I can upload there
instead. If the site says the paste stops before the end, print the rest.

Check-in 3 looks like this:
> Your private edit link: [edit_url, or "the page you land on after
> pasting"]. Save it somewhere of your own first: it is the only way back to
> the page. On the preview, remove any routine you don't want shown, read your score
> (it starts when the preview opens, only you see it), then check the name and address and press Publish.
>
> One more thing: want me to check Runbook every Friday for new routines that
> fit how you work, and send you the best two or three? Yes or no.

If I say yes, set it up now with your own scheduler, following
https://myrunbook.ai/weekly-picks (plain text). If you cannot run
on a schedule, say so and offer to do the same check whenever I ask "anything
new on Runbook?".

The edit link is private and it is the only way to change the page later,
unless I sign in with Google on the edit page. Anyone holding it can change
my page, so never put it in a post, a public file or a shared document.

## 6. Read the score, and keep it alive

Scoring starts when the person opens the edit link. If you are working
without a browser, start it yourself: `POST
https://myrunbook.ai/api/runbooks/<id>/score` with the header
`Authorization: Bearer <key>`. It returns `state` (`scored`, `queued` or
`busy`); if it is not `scored`, wait 15 seconds and `GET` the same address
until it is. A draft can be scored three times a day.

Once scored, the review is in the API: `GET
https://myrunbook.ai/api/runbooks/<id>` with the header
`Authorization: Bearer <key>` returns `score` with the verdict, the three
categories and `recommendations`; the public
`https://myrunbook.ai/<handle>/runbook.json` carries the same
`score`. Read the recommendations, make the ones that are true of how I
work, tell me which you skipped and why, and send an update. The person can
also press "Copy the fixes for my agent" on the page and paste them to you.

To update, send the whole JSON again with `PUT
https://myrunbook.ai/api/runbooks/<id>` and the same header,
where `<id>` and `<key>` are the two parts of the edit link (`…/e/<id>#<key>`).
Start from the last version you sent; change only what changed; run the
privacy pass on anything new; set `updated` to today. Before you send, show me
the routines that changed, in full, and wait for my yes. Never submit the
runbook again from scratch: that makes a second page. The page shows the new
version at once. If the routines changed it is scored again (up to 3 times a
day); if only names or wording changed it keeps its score. If you cannot
send web requests, print the new JSON for me to paste into the Update box on
my edit page.

If you keep durable notes about me, note that the runbook exists and its public address there, but do not save the edit link in notes: notes are often read by other tools and sync elsewhere, and anyone holding the link can rewrite my page. Keep the link in my password manager, or ask me for it when it is needed. Add this rule to your notes:
when a routine is added, changed or retired, tell me and update the runbook.

## 7. Tell people

Check-in 4, once I tell you my public address: a post for LinkedIn or X, in
my voice, no hype. Lead with the score and one routine the reader has not
thought of. Three to five lines. End with: "Copy any routine for your own AI,
or get your own score at https://myrunbook.ai". Show me; never
post it yourself.
