diff --git a/agents/conductors/batch/_batch.py b/agents/conductors/batch/_batch.py
index dd5f7fee..f027d091 100644
--- a/agents/conductors/batch/_batch.py
+++ b/agents/conductors/batch/_batch.py
@@ -359,7 +359,7 @@ def _dispatch_payload(r: dict) -> str:
perform should carry no decisions โ everything decided was decided when they
approved the batch.
"""
- return f"/start_dev {r['path']} --auto"
+ return f"Use the start-dev skill. {r['path']} --auto"
def emit(d: dict) -> None:
diff --git a/agents/conductors/cortex/_cortex.py b/agents/conductors/cortex/_cortex.py
index eceee6c8..ccc60c6c 100644
--- a/agents/conductors/cortex/_cortex.py
+++ b/agents/conductors/cortex/_cortex.py
@@ -370,7 +370,7 @@ def _task_row(summary: str, payload: str) -> str:
def _html_task(text_html: str, payload: str) -> str:
"""One row on the HTML page: a real copy button, then the text."""
return (f'
{text_html}
')
@@ -402,10 +402,10 @@ def checkin_payload(c: dict) -> str:
the same machine: the pull needs the laptop the science lives on, the
check-in itself runs on whatever surface you are holding."""
return "\n".join([
- "/cortex โ on the laptop: `pyauto-brain cortex pull` โ pull every "
+ "Use the cortex skill. โ on the laptop: `pyauto-brain cortex pull` โ pull every "
"active science project through its own sync CLI and show me where "
"each run stands.",
- f"/cortex โ anywhere: `pyauto-brain cortex checkin --apply --push` โ "
+ f"Use the cortex skill. โ anywhere: `pyauto-brain cortex checkin --apply --push` โ "
f"stamp, re-render and push the board since the last check-in "
f"({c.get('checkin') or CHECKIN_NEVER}), then read me the by-project "
"summary. Record nothing about results โ I will tell you what to log.",
@@ -416,7 +416,7 @@ def resume_payload(key: str, row: dict) -> str:
"""The one chip a project card carries: pick up where the human left off.
Every path is the row's; the assistant is named, never read here."""
ledger = f"{row.get('local_path', '')}/{row.get('ledger', '')}"
- text = (f"/cortex โ resume {key}: read {CORTEX_REPO} projects/{key}.md "
+ text = (f"Use the cortex skill. โ resume {key}: read {CORTEX_REPO} projects/{key}.md "
f"(Now, Runs, Log) and then {ledger}")
assistant = (row.get("assistant") or "none").strip()
if assistant != "none":
diff --git a/agents/conductors/intake/_intake.py b/agents/conductors/intake/_intake.py
index 486726bd..ae891cde 100755
--- a/agents/conductors/intake/_intake.py
+++ b/agents/conductors/intake/_intake.py
@@ -540,7 +540,7 @@ def _next_action(proposed, confidence, work_type=None):
"afterwards it stands on the dashboard's Human review section "
"until you sign it off.")
return (f"Review the header, then `--apply` to write {proposed}; "
- "afterwards `/start_dev {}` routes it.".format(proposed))
+ "afterwards `Use the start-dev skill. {}` routes it.".format(proposed))
# --- apply (the only writing path) -------------------------------------------
@@ -901,7 +901,7 @@ def _epic_prompt(e: dict) -> str:
"rows in PyAutoMind/active.md, and the referenced repos' open issues "
"and PRs, to work out the last completed phase and what is currently "
"in flight. Then pick the next logical step and continue it through "
- "the normal workflow (/start_dev โ filing the phase's prompt first "
+ "the normal workflow (Use the start-dev skill โ filing the phase's prompt first "
"if none exists), updating the ledger as the work advances.")
if e.get("notes"):
parts.append(f"Note: {e['notes']}")
@@ -1261,7 +1261,7 @@ def bundle_prompt(b: dict) -> str:
session from the member prompts themselves. The contract it states is the
`start_bundle` skill's, in short form: one issue per member (the no-bulk-
issue rule still holds), one shared worktree per repo, per-task PRs so
- `/prm` closes each member out unchanged.
+ the prm skill closes each member out unchanged.
"""
members = [m["path"] for m in b["members"]]
L = [f"You are the judgment tier for the PyAutoMind bundle "
@@ -1274,15 +1274,15 @@ def bundle_prompt(b: dict) -> str:
L += ["", f"Why they are bundled: {b['rationale']}"]
L += [
"",
- "Contract (the `start_bundle` skill is the full body):",
+ "Contract (the `start-bundle` skill is the full body):",
"1. Read each member prompt above in full, and plan all of them "
"before editing anything. The members are independent โ if any turns "
"out to depend on another, say so and drop it from the bundle.",
- "2. Run `/start_dev ` for EACH member: one plan, one "
+ "2. Use the start-dev skill for EACH member prompt: one plan, one "
"issue, one registry entry per member. Never file them as a bulk "
"issue queue and never merge them into one issue.",
"3. One shared worktree per repo, not one per member: run "
- "`/start_library` (or `/start_workspace`) once, naming the bundle as "
+ "the start-library skill (or the start-workspace skill) once, naming the bundle as "
"the task and listing every member's repos. A worktree holds one "
"branch at a time, so inside it members are worked one at a time, "
"each on its own `feature/` branch cut from "
@@ -1295,8 +1295,8 @@ def bundle_prompt(b: dict) -> str:
"unavailable, follow WORKFLOW's direct-execution fallback. The "
"current session plans, judges and talks to the user; the execution "
"delegate edits, tests and reports back.",
- "5. Ship each member on its own: `/ship_library` or "
- "`/ship_workspace`, ONE PR per task, so `/prm` closes each member out "
+ "5. Ship each member on its own: the ship-library skill or "
+ "the ship-workspace skill, ONE PR per task, so the prm skill closes each member out "
"unchanged. Never one PR for the bundle.",
"6. Report per member: issue, branch, PR, and pass/fail counts.",
]
@@ -1399,7 +1399,7 @@ def _bundle_head(b: dict) -> str:
BUNDLE_BLURB = (
"Sets of INDEPENDENT tasks that make sense in one orchestrated session: "
"an architect session plans them, subagents implement them, and every "
- "member still gets its own issue and its own PR โ so `/prm` closes each "
+ "member still gets its own issue and its own PR โ so the prm skill closes each "
"one out unchanged. Not an epic: nothing here is ordered or phase-gated, "
"and every member also appears in its usual section above โ a bundle is "
"an extra view of the backlog, never a replacement. Pinned bundles "
@@ -1562,19 +1562,19 @@ def recent_events(c: dict, limit: int = RECENT_MAX) -> list:
if r.get("date"):
events.append({"date": r["date"], "event": r.get("event") or "issued",
"title": r["title"], "path": r["path"],
- "payload": f"/start_dev {r['path']}"})
+ "payload": f"Use the start-dev skill. {r['path']}"})
# The backlog is the LARGEST pool of work the Mind holds โ 150 prompts
# against a handful of live rows โ so a feed that skipped it could see
# almost none of what has been happening. Epic members stay out, as they do
# in every pick list on the page: they are worked in order through their
- # epic, and a Recent row hands out a standalone `/start_dev`.
+ # epic, and a Recent row hands out a standalone the start-dev skill.
for r in c.get("records") or []:
if r.get("date") and not r.get("epic"):
events.append({"date": r["date"], "event": "filed",
"title": r["title"], "path": r["path"],
- "payload": f"/start_dev {r['path']}"})
+ "payload": f"Use the start-dev skill. {r['path']}"})
# Flagging a task for review IS an event on the work in hand, and it hands
- # out its own payload rather than a `/start_dev` (there is nothing to start).
+ # out its own payload rather than a the start-dev skill (there is nothing to start).
for r in c.get("human_review") or []:
if r.get("date"):
events.append({"date": r["date"], "event": "review",
@@ -1986,7 +1986,7 @@ def _pick_key(r: dict) -> tuple:
# `human_review/` prompts are the one section of the page that is not work to
# start. The task already shipped; what is outstanding is a person reading it
# and saying it is sound. So its ๐ hands out a read-and-report prompt rather
-# than a `/start_dev`, and it ends by naming both exits โ sign off (retire the
+# than a the start-dev skill, and it ends by naming both exits โ sign off (retire the
# prompt) or don't (file the follow-up) โ because a review that stops at
# "looks fine" leaves the row on the board forever.
HUMAN_REVIEW_BLURB = (
@@ -2085,8 +2085,8 @@ def _task_row(summary: str, payload: str) -> str:
fenced code blocks. So every task row is a `` whose summary IS
the task line โ the ๐ toggle sits at the left of the text, costing no
extra line and no repeated label โ and whose hidden body is the fenced
- message that routes Claude to the task: tap the row, tap copy, paste into
- a Claude Code chat. The blank lines around the fence and after
+ message that routes the assistant to the task: tap the row, tap copy, paste into
+ an AI assistant chat. The blank lines around the fence and after
`` are what make GitHub's renderer treat the fence as markdown
and the next row as a new element rather than raw HTML โ do not remove
them. The summary is HTML (see `_summary_label`); markdown would not
@@ -2118,8 +2118,8 @@ def _registry_payload(e: dict, key: str, verb: str) -> str:
"""
prompt = (e["prompt"].split() or [""])[0]
if prompt.endswith(".md"):
- return f"/start_dev {prompt}"
- return (f"/route {verb} the {key} PyAutoMind task "
+ return f"Use the start-dev skill. {prompt}"
+ return (f"Use the route skill. {verb} the {key} PyAutoMind task "
f"{e['slug']} โ its record is in {key}.md")
@@ -2138,7 +2138,7 @@ def _bullet(r: dict) -> str:
head = f"{_summary_label(r['title'])}"
if facets:
head += f" โ {facets}"
- return _task_row(head, f"/start_dev {r['path']}")
+ return _task_row(head, f"Use the start-dev skill. {r['path']}")
def _epic_members(c: dict) -> dict:
@@ -2268,7 +2268,7 @@ def render_dashboard(c: dict) -> str:
many prompts are there?"), and it must read on a phone (rows over wide
tables, long sections behind ``, and every task a single
collapsed row whose ๐ toggle hides its copy block, so picking one from a
- phone is copy โ paste into a Claude chat, not retyping a path โ see
+ phone is copy โ paste into an AI assistant chat, not retyping a path โ see
`_task_row`). Links are repo-root-relative so they resolve from the
page's GitHub blob URL.
"""
@@ -2288,7 +2288,7 @@ def render_dashboard(c: dict) -> str:
L += [
"Every task the Mind is holding, on one page: what is in flight, what "
"is parked, and the whole backlog to pick from. Pick a task and run "
- "its `/start_dev` command in a Claude Code chat to start it. "
+ "its start-dev skill prompt in an AI assistant chat to start it. "
"[Recent](#recent) is the same work by date โ what has been happening "
"rather than what to do next.",
"",
@@ -2345,7 +2345,7 @@ def render_dashboard(c: dict) -> str:
if r["status"]:
head += f" โ {_summary_label(_clip(r['status']))}"
head += _pr_column(r)
- flight.append(_task_row(head, f"/start_dev {r['path']}"))
+ flight.append(_task_row(head, f"Use the start-dev skill. {r['path']}"))
L += _items(flight) or ["- _(nothing in flight)_"]
L += [""]
@@ -2425,7 +2425,7 @@ def render_dashboard(c: dict) -> str:
if c.get("epics") or stray:
L += ["## Epics", "",
"Long-running multi-phase programmes. Each epic's ๐ prompt has "
- "Claude read its ledger, work out where it stands, and continue "
+ "the assistant read its ledger, work out where it stands, and continue "
f"from the next logical point. {EPIC_ORDER_CAUTION} "
"Full record in [`epics.md`](epics.md).", ""]
for e in c.get("epics") or []:
@@ -2598,7 +2598,7 @@ def _attr(value: str) -> str:
def _html_task(text_html: str, payload: str) -> str:
"""One task row on the HTML page: a real copy button, then the text."""
return (f'
{text_html}
')
@@ -2627,7 +2627,7 @@ def record_row(r):
*(_summary_label(x) for x in (r["target"], r["difficulty"],
r["autonomy"], r["priority"])),
work_type=r["work_type"])
- return _html_task(text, f"/start_dev {r['path']}")
+ return _html_task(text, f"Use the start-dev skill. {r['path']}")
H = [
"",
@@ -2643,8 +2643,8 @@ def record_row(r):
"",
hero(THEME_ORGAN, "Dashboard",
"Every task the Mind is holding. Tap a task's ๐ and its "
- "/start_dev command is on your clipboard โ paste it "
- "into a Claude Code chat to route Claude straight to that task. "
+ "start-dev skill prompt is on your clipboard โ paste it "
+ "into an AI assistant chat to route the assistant straight to that task. "
'Recent is the same work by date โ what has '
"been happening rather than what to do next."),
# The four numbers a human wants before reading a single row.
@@ -2705,7 +2705,7 @@ def h2(title, src):
text += (f' โ '
f'{_summary_label(_clip(r["status"]))}')
text += _pr_column(r)
- H.append(_html_task(text, f"/start_dev {r['path']}"))
+ H.append(_html_task(text, f"Use the start-dev skill. {r['path']}"))
if not c["in_flight"]:
H.append('
',
+ f'AI prompt">๐',
""]
H += [""]
rest = len(recent) - RECENT_PAGE
@@ -2939,7 +2939,7 @@ def link(path):
"text": _one(f"{r['title']} โ {_clip(r['status'])}"),
"url": prs[0]["url"] if prs else (r.get("issue") or None),
# the row's own ๐ payload on the page
- "prompt": f"/start_dev {r['path']}"})
+ "prompt": f"Use the start-dev skill. {r['path']}"})
for r in c.get("human_review") or []:
title = re.sub(r"^human review:\s*", "", r["title"], flags=re.I)
items.append({"severity": "yellow",
@@ -2956,12 +2956,12 @@ def link(path):
"text": _one(f"waiting on {g['lib']}'s release: "
f"{row['title']}"),
"url": row.get("issue") or None,
- "prompt": f"/start_dev {row['path']}"})
+ "prompt": f"Use the start-dev skill. {row['path']}"})
for r in picks:
items.append({"severity": "info",
"text": _one(f"pick: {r['title']}"),
"url": link(r["path"]),
- "prompt": f"/start_dev {r['path']}"})
+ "prompt": f"Use the start-dev skill. {r['path']}"})
order = {"red": 0, "yellow": 1, "info": 2}
items.sort(key=lambda i: order[i["severity"]]) # stable: section order kept
return items[:STATE_ITEM_CAP]
diff --git a/board/_board.py b/board/_board.py
index 0825b561..55de22bb 100755
--- a/board/_board.py
+++ b/board/_board.py
@@ -5,7 +5,7 @@
holding everything /wake_up used to assemble interactively โ the overnight
scheduled-run sweep, the Heart's readiness headline, version-stamp consistency,
the community's waiting conversations, resume context from the Mind, and the
-upkeep doors โ each actionable row carrying a one-tap ๐ copy-for-Claude
+upkeep doors โ each actionable row carrying a one-tap ๐ copy-for-assistant
payload. The morning routine becomes: run `bin/morning.sh` in a terminal
(the local sync/clean leg), open this board, tap what needs you.
@@ -52,7 +52,7 @@
# this page and the Mind dashboard are visibly the same family.
sys.path.insert(0, str(Path(__file__).resolve().parent))
from _theme import ( # noqa: E402
- JS as _THEME_JS, boards_footer, css as _theme_css, hero, pills, stats,
+ JS as _THEME_JS, boards_footer, css as _theme_css, hero, pills, stats, portable_prompt,
)
# The organ cockpit feed contract (state.json) โ the validator every organ
# shares, so this board cannot publish a feed the cockpit would reject.
@@ -81,7 +81,7 @@
VERPAT = r"[0-9]{4}\.[0-9]+\.[0-9]+\.[0-9]+"
# The local morning leg โ the one thing the board cannot do for you. Rendered
-# as a copyable TERMINAL command (not a Claude payload) at the top of the page.
+# as a copyable TERMINAL command (not an AI prompt) at the top of the page.
MORNING_CMD = "bash PyAutoBrain/bin/morning.sh"
@@ -329,7 +329,7 @@ def fetch_badge(pages_base, repo):
def community_ref(e):
- """The ref a `/community triage` chip carries: `owner/repo#N` for an
+ """The ref a `Use the community skill. triage` chip carries: `owner/repo#N` for an
issue or PR, the thread URL for a discussion (`#N` would read as an
issue โ see the conductor's `parse_ref`)."""
if e.get("type") == "discussion":
@@ -1028,6 +1028,18 @@ def badge_color(data):
# --------------------------------------------------------------- renders ----
+def _portable_board_data(value):
+ """Keep legacy feeds readable across clients without changing commands."""
+ if isinstance(value, list):
+ return [_portable_board_data(item) for item in value]
+ if isinstance(value, dict):
+ return {key: (portable_prompt(item)
+ if key in {"prompt", "delegate"} and isinstance(item, str)
+ else _portable_board_data(item))
+ for key, item in value.items()}
+ return value
+
+
def render_badge(data):
"""The cross-board headline contract the umbrella router consumes."""
return json.dumps({
@@ -1087,7 +1099,7 @@ def _overnight_state_item(r):
"startup_failure": "failed", "action_required": "action_required",
"queued": "active", "in_progress": "active", "waiting": "active",
"pending": "active", "requested": "active"}.get(conclusion, "unknown")
- prompt = (f"/bug overnight: {where} concluded "
+ prompt = (f"Use the bug skill. overnight: {where} concluded "
f"{conclusion} โ {r.get('url') or 'no run url'}")
item.update(severity="info" if canonical == "active" else "red",
state=canonical, text=f"overnight: {where} {conclusion}",
@@ -1132,7 +1144,7 @@ def _state_items(data):
"text": " ".join(f"community: {e['repo']}#{e['number']} awaiting a "
f"reply{days}".split()),
"url": e.get("url"),
- "prompt": f"/community triage {community_ref(e)}",
+ "prompt": f"Use the community skill. triage {community_ref(e)}",
})
for d in data.get("degraded") or []:
items.append({"severity": "info",
@@ -1150,6 +1162,7 @@ def render_state(data):
badge message) plus the actionable rows, so the cockpit never disagrees
with the badge beside it.
"""
+ data = _portable_board_data(data)
repo = data.get("repo") or "PyAutoBrain"
pages_url = (data.get("boards") or {}).get("brain") or \
f"https://{str(data.get('org', '')).lower()}.github.io/{repo}/"
@@ -1180,6 +1193,7 @@ def _overnight_line(r):
def render_md(data):
"""The terminal/GitHub digest โ the same prioritized card /wake_up used
to emit, generated instead of assembled."""
+ data = _portable_board_data(data)
blocking, attention = verdict(data)
spark = sparkline(data.get("history") or [])
L = [
@@ -1221,9 +1235,9 @@ def render_md(data):
L.append("## โค๏ธ Readiness & release")
if data["heart"]:
L.append(f"- Heart verdict: **{data['heart'].get('message', '?')}** โ "
- f"[board]({data['boards'].get('heart', '')}) ยท re-run via `/health`")
+ f"[board]({data['boards'].get('heart', '')}) ยท re-run via the health skill")
else:
- L.append("- Heart board unreachable โ consult `/health` directly")
+ L.append("- Heart board unreachable โ consult the health skill directly")
plan = data.get("heart_plan")
if plan:
# The gaps are worth one line, not N: the Heart already wrote the plan
@@ -1283,25 +1297,25 @@ def render_md(data):
f"{counts['open_external']} external issue(s), "
f"{counts['open_external_prs']} external PR(s) open โ "
f"**{counts['awaiting_response']} awaiting our reply** "
- "(respond via `/community`; never auto-reply)")
+ "(respond via `Use the community skill.`; never auto-reply)")
awaiting_keys = {(e.get("type"), e["repo"], e["number"]) for e in c["awaiting_response"]}
for e in c["awaiting_response"]:
days = (f"{e['waiting_days']:.0f}d"
if e.get("waiting_days") is not None else "?")
- L.append(f" - `/community triage {community_ref(e)}` "
+ L.append(f" - `Use the community skill. triage {community_ref(e)}` "
f"[{days} waiting] @{e['author']}: {e['title'][:70]}")
for e in c["open_external_issues"] + c["open_external_prs"] + c.get("open_discussions", []):
if (e.get("type"), e["repo"], e["number"]) in awaiting_keys:
continue
note = ("ours to watch" if e.get("awaiting_response") is False
else "unchecked")
- L.append(f" - `/community triage {community_ref(e)}` "
+ L.append(f" - `Use the community skill. triage {community_ref(e)}` "
f"[{note}] @{e['author']}: {e['title'][:70]}")
for e in c["awaiting_review"]:
- L.append(f" - `/community triage {e['repo']}#{e['number']}` "
+ L.append(f" - `Use the community skill. triage {e['repo']}#{e['number']}` "
f"[review requested] @{e['author']}: {e['title'][:70]}")
else:
- L.append("- scan unavailable โ run `/community` for the live surface")
+ L.append("- scan unavailable โ run `Use the community skill.` for the live surface")
L.append("")
L.append("## ๐ Resume")
counts = data["resume"]["counts"]
@@ -1319,7 +1333,7 @@ def render_md(data):
for k, n in data["eyes"].items())
+ f" โ [Eyes board]({data['boards'].get('eyes', '')})")
for t in data["resume"]["tasks"]:
- L.append(f" - `/start_dev {t['path']}` โ {t['title'][:70]}")
+ L.append(f" - `Use the start-dev skill. {t['path']}` โ {t['title'][:70]}")
pending = data["resume"]["pending_prs"]
if pending:
L.append(f"- {len(pending)} pending-release PR(s):")
@@ -1331,9 +1345,9 @@ def render_md(data):
L.append("## ๐งน Upkeep")
if data["open_issues"] is not None:
L.append(f"- {data['open_issues']} open issue(s) org-wide โ reconcile "
- "via `/issue_cleanup` (closing stays confirmation-gated)")
- L.append("- `/hygiene` โ code-quality debt sweep")
- L.append("- `/repo_cleanup` โ stale branches / stashes / dirty checkouts (local)")
+ "via `Use the issue-cleanup skill.` (closing stays confirmation-gated)")
+ L.append("- `Use the hygiene skill.` โ code-quality debt sweep")
+ L.append("- `Use the repo-cleanup skill.` โ stale branches / stashes / dirty checkouts (local)")
L.append("")
hygiene = data.get("hygiene")
if hygiene:
@@ -1394,10 +1408,12 @@ def _attr(s):
def _row(text_html, payload, term=False):
- """One actionable row: a copy button (๐ Claude payload, โจ terminal
+ """One actionable row: a copy button (๐ AI prompt, โจ terminal
command) then the text."""
+ if not term:
+ payload = portable_prompt(payload)
icon, cls, label = ("โจ", "copy term", "Copy the terminal command") \
- if term else ("๐", "copy", "Copy the Claude command")
+ if term else ("๐", "copy", "Copy the AI prompt")
return (f'
{text_html}
')
@@ -1455,6 +1471,7 @@ def _hygiene_row(row):
# actionable row โ and dressed by the shared board theme, so this page and
# that one are visibly the same family (board/_theme.py).
def render_html(data):
+ data = _portable_board_data(data)
blocking, attention = verdict(data)
esc = html.escape
H = [
@@ -1472,7 +1489,7 @@ def render_html(data):
hero(THEME_ORGAN, "Board",
"The organism's morning door โ what ran overnight, who is "
"waiting, and what needs you. Tap ๐ to put a command on your "
- "clipboard for a Claude Code chat; โจ rows are terminal "
+ "clipboard for an AI assistant chat; โจ rows are terminal "
"commands."),
]
verdict_cls = "bad" if blocking else ("warn" if attention else "ok")
@@ -1501,7 +1518,7 @@ def render_html(data):
H.append("
โจ Morning sync (local)
")
H.append(_row(
"Sync every repo to main + clean generated cruft โ run in a terminal "
- "at the workspace root, not in a Claude chat.",
+ "at the workspace root, not in an AI assistant chat.",
MORNING_CMD, term=True))
H.append("
๐ Overnight
")
@@ -1532,7 +1549,7 @@ def render_html(data):
# escaped here.
text = subject + reason + pills((r["repo"], ""), (state, tone))
if failed and not r["blocked"]:
- H.append(_row(text, f"/bug overnight: {r['repo']}/{r['workflow']} "
+ H.append(_row(text, f"Use the bug skill. overnight: {r['repo']}/{r['workflow']} "
f"concluded {r['conclusion']} โ "
f"{r['url'] or 'no run url'}"))
else:
@@ -1544,14 +1561,14 @@ def render_html(data):
msg = data["heart"].get("message", "?")
H.append(_row(
f'Heart verdict โ Heart board โ'
- + pills((msg, _verdict_tone(msg))), "/health"))
+ + pills((msg, _verdict_tone(msg))), "Use the health skill."))
else:
H.append(_row("Heart board unreachable โ consult the clinician "
- "directly." + pills(("unreachable", "y")), "/health"))
+ "directly." + pills(("unreachable", "y")), "Use the health skill."))
plan = data.get("heart_plan")
if plan:
# One tap for the whole stale tier, above the gaps it closes: the
- # Claude prompt always, the shell chain when the Heart could offer one.
+ # AI prompt always, the shell chain when the Heart could offer one.
H.append(_row(f'Clear all {plan.get("count", "?")} evidence gaps โ one prompt'
+ pills(("stale", "y")), plan["prompt"]))
if plan.get("command"):
@@ -1614,7 +1631,7 @@ def render_html(data):
f'{esc(r["version"] or "?")} โ consensus '
f'{esc(v["consensus"])}'
+ pills((r["repo"], ""), ("drift", "r")),
- f"/bug version drift: {r['repo']} stamp {r['version']} is "
+ f"Use the bug skill. version drift: {r['repo']} stamp {r['version']} is "
f"out of step with the coupled-set consensus {v['consensus']}"))
else:
H.append(_plain('no stamps resolved'))
@@ -1633,7 +1650,7 @@ def render_html(data):
(f'{counts["open_external_prs"]} PR(s)', "n"),
(f'{counts["awaiting_response"]} awaiting our reply',
"y" if counts["awaiting_response"] else "g")),
- "/community"))
+ "Use the community skill."))
def community_row(e, note, tone):
"""Every conversation gets its own one-tap triage chip.
@@ -1651,7 +1668,7 @@ def community_row(e, note, tone):
return _row(
f'{link} @{esc(e["author"])}: {title}'
+ pills((kind, ""), (note, tone)),
- f"/community triage {community_ref(e)}")
+ f"Use the community skill. triage {community_ref(e)}")
awaiting_keys = {(e.get("type"), e["repo"], e["number"]) for e in c["awaiting_response"]}
for e in c["awaiting_response"]:
@@ -1668,7 +1685,7 @@ def community_row(e, note, tone):
for e in c["awaiting_review"]:
H.append(community_row(e, "review requested", "y"))
else:
- H.append(_row("Scan unavailable โ run the Ears directly.", "/community"))
+ H.append(_row("Scan unavailable โ run the Ears directly.", "Use the community skill."))
H.append("
๐ Resume
")
counts = data["resume"]["counts"]
@@ -1701,7 +1718,7 @@ def community_row(e, note, tone):
+ pills(facets.get("target"), facets.get("difficulty"),
facets.get("autonomy"), facets.get("priority"),
work_type=facets.get("type")),
- f"/start_dev {t['path']}"))
+ f"Use the start-dev skill. {t['path']}"))
pending = data["resume"]["pending_prs"]
if pending:
for p in pending:
@@ -1709,7 +1726,7 @@ def community_row(e, note, tone):
f'{esc(p["repo"])}#{p["number"]}'
f' โ {esc(p["title"][:70])}'
+ pills(("pending-release", "y")),
- f"/prm {p['url']}"))
+ f"Use the prm skill. {p['url']}"))
elif pending is not None:
H.append(_plain('no pending-release PRs open'))
@@ -1721,11 +1738,11 @@ def community_row(e, note, tone):
if data["open_issues"] is not None else "")
for text, door in (
(f"{issue_note}reconcile the trackers (closing stays "
- "confirmation-gated).", "/issue_cleanup"),
+ "confirmation-gated).", "Use the issue-cleanup skill."),
("Code-quality debt sweep โ slow tests, CLI noise, dep-cap drift "
- "(the Hygiene section below is its scan).", "/hygiene"),
+ "(the Hygiene section below is its scan).", "Use the hygiene skill."),
("Stale branches, stashes, dirty checkouts (runs locally).",
- "/repo_cleanup"),
+ "Use the repo-cleanup skill."),
):
H.append(_row(text + pills((door, "")), door))
@@ -1739,7 +1756,7 @@ def community_row(e, note, tone):
if flagged:
for row in flagged:
H.append(_row(_hygiene_row(row),
- str(row.get("delegate") or "/hygiene")))
+ str(row.get("delegate") or "Use the hygiene skill.")))
else:
H.append(_plain("Every mode came back clean"
+ pills(("nothing flagged", "g"))))
@@ -1761,7 +1778,7 @@ def community_row(e, note, tone):
if row.get("status") in HYGIENE_QUIET_STATUSES:
continue
H.append(_row(_hygiene_row(row),
- str(row.get("delegate") or "/hygiene")))
+ str(row.get("delegate") or "Use the hygiene skill.")))
for wt in devbox.get("worktrees", []):
# Unpushed work and a dirty tree are the things that lose work;
# a stash is a note to self. Tone them accordingly.
@@ -1796,16 +1813,16 @@ def community_row(e, note, tone):
# world: a conductor acts, a faculty only opines. Accent the
# actors; leave the read-only ones quiet.
H.append(_row(
- f'/{esc(d["verb"])} โ {esc(d["desc"])}'
+ f'{esc(d["verb"].replace("_", "-"))} โ {esc(d["desc"])}'
+ pills((d["tier"], "" if d["tier"] == "conductor" else "n")),
- f"/{d['verb']}"))
+ f"Use the {d['verb'].replace('_', '-')} skill."))
skills = [d for d in doors if d["tier"] == "skill"]
if skills:
H.append('
Workflow doors โ compositions and '
'dev-flow entries, no agent of their own:
')
for d in skills:
- H.append(_row(f'/{esc(d["verb"])} โ {esc(d["desc"])}'
- + pills(("workflow", "n")), f"/{d['verb']}"))
+ H.append(_row(f'{esc(d["verb"].replace("_", "-"))} โ {esc(d["desc"])}'
+ + pills(("workflow", "n")), f"Use the {d['verb'].replace('_', '-')} skill."))
H.append("")
if data["degraded"]:
@@ -1821,6 +1838,7 @@ def community_row(e, note, tone):
def render_json(data):
+ data = _portable_board_data(data)
return json.dumps(data, indent=2) + "\n"
diff --git a/board/_theme.py b/board/_theme.py
index 0654262c..a5165de8 100644
--- a/board/_theme.py
+++ b/board/_theme.py
@@ -1,7 +1,7 @@
"""board/_theme.py โ the shared look of the one-tap board family.
Every organ publishes the same kind of page: a phone-first, self-contained
-list of rows, each carrying a ๐ copy-for-Claude payload. Until now each
+list of rows, each carrying a ๐ copy-for-assistant payload. Until now each
renderer carried its own copy of the same GitHub-grey stylesheet, so the
family looked like six unrelated pages that happened to share a layout โ and
none of them looked like the organ whose logo sits at the top of its README.
@@ -821,3 +821,22 @@ def boards_footer(links, current):
document.addEventListener("click",e=>{
const b=e.target.closest("button.copy");if(b)copyCmd(b);});
"""
+
+
+def portable_prompt(payload):
+ """Adapt legacy AI door payloads; never reinterpret arbitrary shell paths.
+
+ Fresh producers emit prose directly. This handles older cached board feeds
+ and configured delegates while those producers roll out independently.
+ """
+ import re
+
+ match = re.match(
+ r"^/(health|bug|release|start[-_]dev|start[-_]bundle|route|cortex|"
+ r"community|prm|issue[-_]cleanup|hygiene|repo[-_]cleanup|"
+ r"feature|refactor|docs|research|workspace|build|board|eyes|memory|"
+ r"profiling|batch|vitals|samplers|sizing|intake|cli[-_]noise[-_]clean|"
+ r"dep[-_]audit|audit[-_]docs|ci[-_]speedup)(?=\s|$)", payload)
+ if not match:
+ return payload
+ return f"Use the {match[1].replace('_', '-')} skill." + payload[match.end():]
diff --git a/tests/test_batch_plan.py b/tests/test_batch_plan.py
index 2e782491..421b142b 100644
--- a/tests/test_batch_plan.py
+++ b/tests/test_batch_plan.py
@@ -179,7 +179,7 @@ def test_dispatch_payloads_carry_no_decisions():
"""The launch is the human's act, so what they perform should carry nothing
still to be decided โ everything was decided when they approved the batch."""
d = _batch.plan([rec("draft/x/y/z.md")], budget=100)
- assert d["dispatch"] == ["/start_dev draft/x/y/z.md --auto"]
+ assert d["dispatch"] == ["Use the start-dev skill. draft/x/y/z.md --auto"]
# ------------------------------------------------- the derived review queue --
diff --git a/tests/test_board.py b/tests/test_board.py
index 50dd9b82..86272dcc 100644
--- a/tests/test_board.py
+++ b/tests/test_board.py
@@ -55,7 +55,7 @@
"pr_median_s": 640.0, "max_s": 745.0, "runs_counted": 14,
"state": "warn", "spark": "โโโโ ",
"actions_url": "https://example.invalid/RepoA/actions",
- "prompt": "/bug smoke gate RepoA: median 9m12s over 14 runs, was 7m"},
+ "prompt": "Use the bug skill. smoke gate RepoA: median 9m12s over 14 runs, was 7m"},
{"repo": "RepoB", "workflow": "Unit Tests", "median_s": 61.0,
"max_s": 74.0, "runs_counted": 12, "state": "ok", "prompt": None,
"actions_url": "https://example.invalid/RepoB/actions"},
@@ -70,7 +70,7 @@
"repos": [],
"rows": [{"repo": "RepoA", "entry": "scripts/x.py", "marker": "SLOW",
"date": "2026-07-14", "measured": False,
- "prompt": "/bug no_run: RepoA scripts/x.py SLOW since "
+ "prompt": "Use the bug skill. no_run: RepoA scripts/x.py SLOW since "
"2026-07-14 with no measurement โ retime it"}],
},
}
@@ -81,7 +81,7 @@
"workflow": "Smoke Tests",
"run_url": "https://example.invalid/run/12",
"duration_s": 300,
- "prompt": "/bug kill timer: RepoA Smoke Tests TIMEOUT (300s) on "
+ "prompt": "Use the bug skill. kill timer: RepoA Smoke Tests TIMEOUT (300s) on "
"https://example.invalid/run/12",
}
@@ -93,7 +93,7 @@
"repo": "RepoA",
"repo_url": "https://example.invalid/RepoA",
"run_url": "https://example.invalid/run/9",
- "prompt": "/bug Heart board: RepoA nightly smoke red โ https://example.invalid/run/9",
+ "prompt": "Use the bug skill. Heart board: RepoA nightly smoke red โ https://example.invalid/run/9",
# v3: a stale row carries the command that re-runs its check; a red
# one has no such remedy โ the fix is code, not a re-run.
"command": None,
@@ -463,16 +463,16 @@ def test_html_is_self_contained_with_one_tap_payloads(tmp_path):
assert "fetch(" not in stripped
assert "@import" not in stripped
# One-tap payloads for each actionable row family.
- assert 'data-cmd="/start_dev active/some_task.md"' in page
- assert 'data-cmd="/health"' in page
- assert 'data-cmd="/community"' in page
- assert 'data-cmd="/issue_cleanup"' in page
- assert 'data-cmd="/prm https://example.invalid/pr/5"' in page
- assert "/bug overnight:" in page # the failing run's payload
+ assert 'data-cmd="Use the start-dev skill. active/some_task.md"' in page
+ assert 'data-cmd="Use the health skill."' in page
+ assert 'data-cmd="Use the community skill."' in page
+ assert 'data-cmd="Use the issue-cleanup skill."' in page
+ assert 'data-cmd="Use the prm skill. https://example.invalid/pr/5"' in page
+ assert "Use the bug skill. overnight:" in page # the failing run's payload
# The local morning leg is a TERMINAL chip, not a Claude payload.
assert 'data-cmd="bash PyAutoBrain/bin/morning.sh"' in page
# The doors roster is on the page.
- assert 'data-cmd="/intake"' in page
+ assert 'data-cmd="Use the intake skill."' in page
# The header line every sibling board carries: the markdown twin and the
# way back to the repository front door on github.com.
assert 'markdown version' in page
@@ -593,11 +593,11 @@ def test_every_community_conversation_gets_its_own_chip(tmp_path):
]}}))
page = _run(["--html"], tmp_path, stub).stdout
# One ๐ triage chip per conversation โ awaiting-reply and watched alike.
- assert 'data-cmd="/community triage ExampleOrg/RepoA#7"' in page
- assert 'data-cmd="/community triage ExampleOrg/RepoB#9"' in page
+ assert 'data-cmd="Use the community skill. triage ExampleOrg/RepoA#7"' in page
+ assert 'data-cmd="Use the community skill. triage ExampleOrg/RepoB#9"' in page
md = _run([], tmp_path, stub).stdout
- assert "`/community triage ExampleOrg/RepoA#7`" in md
- assert "`/community triage ExampleOrg/RepoB#9`" in md
+ assert "`Use the community skill. triage ExampleOrg/RepoA#7`" in md
+ assert "`Use the community skill. triage ExampleOrg/RepoB#9`" in md
def test_broadcast_discussion_is_visible_as_ours_to_watch(tmp_path):
@@ -615,12 +615,12 @@ def test_broadcast_discussion_is_visible_as_ours_to_watch(tmp_path):
page_result = _run(["--html"], tmp_path, stub)
assert page_result.returncode == 0, page_result.stderr
page = page_result.stdout
- assert f'data-cmd="/community triage {url}"' in page
+ assert f'data-cmd="Use the community skill. triage {url}"' in page
assert "ours to watch" in page
md_result = _run([], tmp_path, stub)
assert md_result.returncode == 0, md_result.stderr
md = md_result.stdout
- assert f"`/community triage {url}` [ours to watch]" in md
+ assert f"`Use the community skill. triage {url}` [ours to watch]" in md
assert "0 awaiting our reply" in md
@@ -639,7 +639,7 @@ def test_heart_blockers_render_with_their_own_prompts(tmp_path):
stub = _fabricate(tmp_path, _default_fixtures())
page = _run(["--html"], tmp_path, stub).stdout
blocker = HEART_BOARD_JSON["blockers"][0]
- # The Heart's own /bug prompt is the chip payload โ never re-derived.
+ # The Heart's own Use the bug skill. prompt is the chip payload โ never re-derived.
assert f'data-cmd="{blocker["prompt"]}"' in page
assert "nightly smoke red" in page
md = _run([], tmp_path, stub).stdout
@@ -653,15 +653,15 @@ def test_heart_blockers_render_with_their_own_prompts(tmp_path):
{"text": "install verification not run", "severity": "stale",
"repo": None, "repo_url": None, "run_url": None,
"command": "pyauto-heart verify_install --report-json",
- "prompt": "/health run `pyauto-heart verify_install --report-json` โ โฆ"},
+ "prompt": "Use the health skill. run `pyauto-heart verify_install --report-json` โ โฆ"},
{"text": "no release validation for current source", "severity": "stale",
"repo": None, "repo_url": None, "run_url": None, "command": None,
- "prompt": "/health dispatch a release rehearsal with `/release rehearse` โ โฆ"},
+ "prompt": "Use the health skill. dispatch a release rehearsal with `/release rehearse` โ โฆ"},
],
"stale_plan": {
"count": 2,
"command": None,
- "prompt": "/health clear the Heart's 2 evidence gap(s) โ โฆ\n1. โฆ\n2. โฆ",
+ "prompt": "Use the health skill. clear the Heart's 2 evidence gap(s) โ โฆ\n1. โฆ\n2. โฆ",
},
}
@@ -799,7 +799,7 @@ def _devbox_payload(ts):
"hygiene": {"rows": [
{"mode": "artifacts", "status": "debris", "count": 4,
"summary": "4 generated packaging leftovers across 2 repos",
- "delegate": "/repo_cleanup"},
+ "delegate": "Use the repo-cleanup skill."},
{"mode": "crlf", "status": "clean", "count": 0,
"summary": "clean", "delegate": "/refactor"},
]},
@@ -818,7 +818,7 @@ def test_devbox_observation_renders_age_stamped(tmp_path):
page = _run(["--html"], tmp_path, stub).stdout
assert "Dev box" in page and "5h" in page
assert "packaging leftovers" in page
- assert 'data-cmd="/repo_cleanup"' in page # the row's own delegate door
+ assert 'data-cmd="Use the repo-cleanup skill."' in page # the row's own delegate door
assert "crlf" not in page # clean rows are not rendered
assert "feature/x" in page and "2 unpushed" in page
@@ -829,7 +829,7 @@ def _hygiene_stub(tmp_path):
"repos_present": 12, "rows": [
{"mode": "deps", "kind": "surface", "status": "debris",
"count": 3, "summary": "3 dependency caps trail the floor",
- "delegate": "/bug"},
+ "delegate": "Use the bug skill."},
{"mode": "crlf", "kind": "debris", "status": "clean",
"count": 0, "summary": "clean", "delegate": "/refactor"}]}
hyg.write_text("#!/usr/bin/env bash\ncat <<'EOF'\n"
@@ -851,7 +851,7 @@ def test_cloud_hygiene_scan_renders_and_supersedes_devbox_rows(tmp_path):
# rows' own delegate doors; clean rows stay quiet.
assert "Hygiene" in page and "12/14" in page
assert "dependency caps trail the floor" in page
- assert 'data-cmd="/bug"' in page
+ assert 'data-cmd="Use the bug skill."' in page
# The dev-box section keeps only what the cloud cannot see: worktrees.
assert "packaging leftovers" not in page
assert "feature/x" in page
@@ -904,7 +904,7 @@ def _publish_env(tmp_path, hygiene_json=None):
default_decision = {"decision": "HygieneDecision", "rows": [
{"mode": "artifacts", "kind": "debris", "status": "debris", "count": 2,
"summary": f"2 leftovers under {home}/Code somewhere",
- "delegate": "/repo_cleanup"}]}
+ "delegate": "Use the repo-cleanup skill."}]}
hyg.write_text("#!/usr/bin/env bash\ncat <<'EOF'\n"
+ json.dumps(hygiene_json or default_decision)
+ "\nEOF\n")
@@ -1081,3 +1081,12 @@ def test_a_six_column_shadow_row_still_renders(tmp_path):
page = _run(["--html"], tmp_path, stub).stdout
assert "witness holds" not in page
assert 'merged-unchanged' in page
+
+
+def test_legacy_copy_payload_is_portable_but_terminal_payload_is_unchanged():
+ import sys
+ sys.path.insert(0, str(BRAIN_HOME / "board"))
+ import _board as b
+ page = b._row("Legacy", "/health Inspect & preserve edits")
+ assert 'data-cmd="Use the health skill. Inspect <repo> & preserve edits"' in page
+ assert 'data-cmd="/health"' in b._row("Terminal", "/health", term=True)
diff --git a/tests/test_board_theme.py b/tests/test_board_theme.py
index 995fd94f..7fb00e01 100644
--- a/tests/test_board_theme.py
+++ b/tests/test_board_theme.py
@@ -348,3 +348,15 @@ def test_every_theme_entry_but_the_umbrella_is_a_declared_board():
# The reverse of the palette check: a palette for a board nobody declares
# is a footer chip that can never appear.
assert set(_theme.ORGANS) <= set(POLICY_BOARDS) | {"organism"}
+
+
+def test_legacy_dashboard_prompts_preserve_arguments_and_paths():
+ for door in ("health", "start_dev", "cli_noise_clean", "dep_audit",
+ "audit_docs", "ci_speedup"):
+ suffix = " draft/bug/widgets/task.md --auto\nKeep user edits."
+ assert _theme.portable_prompt("/" + door + suffix) == (
+ "Use the " + door.replace("_", "-") + " skill." + suffix)
+ for shell in ("/tmp/script", "/health/check", "bash bin/morning.sh",
+ "pyauto-heart tick && pyauto-heart readiness",
+ "Use the health skill. Inspect CI."):
+ assert _theme.portable_prompt(shell) == shell
diff --git a/tests/test_cortex_conductor.py b/tests/test_cortex_conductor.py
index 02cfd8d5..52bbfe63 100644
--- a/tests/test_cortex_conductor.py
+++ b/tests/test_cortex_conductor.py
@@ -190,7 +190,7 @@ def test_one_resume_chip_per_active_project_and_no_other_chips(skeleton):
chips = re.findall(r"๐ ([^<]+)", page)
assert chips == ["check in since last time", "resume example", "resume single"]
# the paste, verbatim
- assert ("/cortex โ resume example: read PyAutoCortex projects/example.md "
+ assert ("Use the cortex skill. โ resume example: read PyAutoCortex projects/example.md "
"(Now, Runs, Log) and then /tmp/example/wiki/project/state.md and "
"the assistant example_assistant's AGENTS.md; tell me where I left "
"off and what I said I would do next. Submit nothing and log "
@@ -198,10 +198,10 @@ def test_one_resume_chip_per_active_project_and_no_other_chips(skeleton):
# `assistant: none` names no assistant
assert ("and then /tmp/single/NOTES.md; tell me where I left off" in page)
# two lines, because the two halves do not run on the same machine
- assert ("/cortex โ on the laptop: `pyauto-brain cortex pull` โ pull every "
+ assert ("Use the cortex skill. โ on the laptop: `pyauto-brain cortex pull` โ pull every "
"active science project through its own sync CLI and show me "
"where each run stands." in page)
- assert ("/cortex โ anywhere: `pyauto-brain cortex checkin --apply --push` "
+ assert ("Use the cortex skill. โ anywhere: `pyauto-brain cortex checkin --apply --push` "
"โ stamp, re-render and push the board since the last check-in "
"(2026-09-02T09:00Z), then read me the by-project summary." in page)
assert "Record nothing about results โ I will tell you what to log." in page
@@ -278,8 +278,8 @@ def test_the_html_twin_wears_the_theme_with_real_copy_buttons(skeleton):
assert "