/meho:prefer-mehofrom meho
Routes all repo operations through a MEHO backplane for audit, policy enforcement, and event broadcasting. Use at session start and before any read, change, or execution to prefer MEHO MCP tools and CLI verbs over local scripts or raw API calls.
Ships in meho. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This repo operates infrastructure through a MEHO backplane. Prefer MEHO surfaces over local fallbacks unless the operator explicitly says otherwise. Each area has its own skill (meho:operations, meho:knowledge, meho:memory, meho:broadcast) with the concrete verbs; this skill is the routing spine they share.
MEHO writes an append-only audit row for every operation, broadcasts a live
event for every operation, and enforces tenant + role policy on every
operation. None of those guarantees hold for a local scripts/*.sh
wrapper, a raw curl, or a hand-edited file. Routing through the backplane
by default keeps every action on one identity + audit plane, and turns a
genuine capability gap into a filed, tracked issue instead of a silent
old-habit reach.
Before doing any work, establish which backplane serves this repo and that you can reach it. This is one cheap step at session start; every routing decision after it assumes a known, reachable backplane.
.mcp.json points MCP clients at the tenant's backplane over the
mcp-remote stdio shim) and the MEHO_INSTANCE environment variable the
CLI reads (e.g. https://meho.example.com — do not hard-code it in
command examples). If no token is cached,
meho login "$MEHO_INSTANCE" obtains one via the backplane's OAuth 2.0
device-code flow.meho status (CLI) or the meho_status MCP tool reports
reachability, your tenant, and your role..mcp.json, no
MEHO_INSTANCE — is an onboarding gap to raise, not a licence to work
locally. Say so and get the repo wired before falling through to local
tools.Once the backplane is known, route each need to its governed surface
first. The local column is the break-glass fallback you reach only
after the break-glass protocol below — never as a first move. Tool names
are the exact registered MCP names (see docs/codebase/mcp.md); the CLI
verbs run the same governed dispatch.
| The task needs … | MEHO surface (reach here first) | Local break-glass |
|---|---|---|
| a personal preference or note | the engineer's own laptop memory — it stays there; if it turns out to be a team fact, add it to MEHO knowledge (next row) | n/a — the laptop memory is the normal place, not a fallback |
| a prior incident or team lesson | MCP search_knowledge / add_to_knowledge · CLI meho kb … | grep / edit under a local kb/ |
| a vendor- or version-specific fact | MCP list_doc_collections → search_docs / ask_docs (capability-gated — see note) | local docs/ sidecars |
| the live state of a target | MCP search_operations → preview_operation → call_operation, with result_query to page a set-shaped result (never a raw dump) · CLI meho operation … / meho <connector> <op> | a local connector wrapper |
| dependencies / blast radius | MCP query_topology (+ list_targets for inventory) · CLI meho targets … | reading a local targets.yaml |
| who did what / forensics | CLI meho audit … (the working path); MCP query_audit is operator-gated (mcp:admin) | local wrapper logs |
| coordination with other operators | MCP meho_broadcast_recent / meho_broadcast_announce / meho_broadcast_watch (MCP-only — no CLI verbs yet, see note) | recording intent in the work ticket |
| a guided multi-step procedure the agent drives itself | MCP meho_runbook_list_templates / meho_runbook_start / meho_runbook_next / meho_runbook_abort | following a local runbook doc by hand |
| recurring, durable, multi-step work | MCP meho_automation_list — route-if-discovered (see note) | a local script or manual sequence |
search_docs / ask_docs answer only over
collections the tenant has enabled — check list_doc_collections first.
If there is no collection for the product, say so rather than
answering a vendor-version question from training data.meho_automation_list reports whether the automation add-on is paired for
this tenant (required_addon_family="automation"; absent otherwise) and
what surface it advertises. Today an operator launches and observes a
blueprint run through the automation console / REST — there is no CLI, and
no agent-side launch or status tool — so the agent's job is to identify
the right blueprint and hand off, not to drive the run. Runbooks
(agent-driven, step-at-a-time, on the default surface) and automation
blueprints (operator-launched, durable, a paired add-on family) are not
interchangeable.Every answer that rests on retrieved docs, memory, or knowledge cites its provenance: the source, the observation time, the applicable product version, and any coverage gaps ("not in the corpus"; "memory scoped to one operator"; "knowledge last verified "). A retrieved or remembered fact never substitutes for a required live observation — when the question is about a live target's current state, the corpus or memory tells you what to expect, and the governed read tells you what is true. Label hypothesis vs verified explicitly; an unmarked guess is worse than no answer.
A verified outcome goes back to the right store, through the backplane, so the next session inherits it:
add_to_knowledge), never
a file in a repo's knowledge folder. When the tenant keeps its lessons in
its own wiki, the tenant's export job (a job the tenant runs that calls
MEHO's knowledge export) also brings the lesson there as a candidate
page, and a person reviews it. A person can also write the wiki page
directly;add_to_knowledge);Mark hypothesis vs verified on the way in, and keep provenance (what was observed, when, against which target). Writing a lesson back through the backplane rather than a local file is what makes it audited and visible to the team.
A session proposes; it never approves. Parking a destructive operation
for two-person review is a session action, but approving or rejecting that
parked operation — and granting an elevated role — are human decisions
with no MCP path under any scope: meho_approvals_approve,
meho_approvals_reject, and meho_agents_grant_elevate exist in the
console / CLI only, and an MCP tools/call for them answers with a
remediation naming that path. Never wait on your own approval.
work_ref instead.Break-glass is the word for any reach past the backplane: a local
wrapper, a raw vendor call, or a local kb/ / memory file used because the
governed surface could not serve the need. It is never silent and never
casual — it is an explicit, recorded action, and for a genuine
capability gap a filed one.
"MEHO can't do it" must be established, not assumed: check
search_operations / list_operation_groups / list_targets against the
live deploy before declaring a gap. Then, before breaking glass:
A capability gap the change depends on must be linked from the change (the signal or the registration ticket travels with the PR) — preference states where you should route; it is not permission to route past the backplane unrecorded.
~/.config/meho/credentials.json. The broadcast feed never carries
credentials.This plugin has its own version, in .claude-plugin/plugin.json. It is not
the MEHO release version. Every change to the plugin raises it; a CI check
fails a pull request that changes the plugin and keeps the old version.
Claude Code installs a new copy only when the version goes up. To get the
latest routing rules, run claude plugin update meho@meho and restart Claude
Code, or turn on auto-update for the meho marketplace in /plugin. This
replaces the copy-and-merge template refresh for Claude Code consumers.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub evoila/meho --plugin meho5 skills in this plugin
/broadcastCross-operator awareness for a MEHO-wired repo. Use before working on any target: check the live broadcast feed for agents already working on it. People read the feed; only agents post, so a person's session never calls meho_broadcast_announce.
/knowledgePrefer MEHO knowledge and the capability-gated vendor-docs corpus for finding or recording facts in a MEHO-wired repo. Use when searching for operational facts or prior findings, recording a new fact, or answering a vendor- or version-specific question — reach for `search_knowledge` / `add_to_knowledge` and `list_doc_collections` / `search_docs` / `ask_docs` instead of `grep`-ing a local `kb/` or answering from memory.
/memoryUse when deciding where a personal preference, an operator note, or a lesson goes in a MEHO-wired repo. A personal preference or note stays in the engineer's laptop memory. A lesson the team should reuse goes into MEHO's knowledge store with `add_to_knowledge`.
/operationsPrefer MEHO surfaces to inspect and operate against infrastructure in a MEHO-wired repo. Use when acting on any target, reading live state, querying inventory or topology, or reviewing operational history — reach for `search_operations` / `call_operation`, per-connector `meho <connector> …` verbs, `list_targets` / `query_topology`, and `meho audit …` over local wrappers, raw API calls, or local files.
Other plugins' skills for the same job