Skip to content
MassifyAIDocumentation

Set up MassifyAI with one prompt

Claude Code

Set me up with MassifyAI in this Claude Code session.
Whenever you need me to do something or reply, end your message with the next action in bold, including what you will check afterward.
1. If MassifyAI's whoami tool is available, call it first. Verify the actual account, organization and project against the workspace I requested. If they match, reuse this connection without reinstalling or signing in again. If they differ, explain the mismatch and resolve the intended workspace before continuing; do not silently change shared defaults.
2. If the tools are missing, check whether the plugin is already installed. Only if absent, run `claude plugin marketplace add AxtroAI/massifyai-plugins`, then `claude plugin install massifyai@massifyai`. Preserve existing connections and unrelated settings. Ask before any installation not already authorized by this setup request.
3. Guide me through the supported client sign-in: /reload-plugins, then /mcp → MassifyAI → Authenticate, completing the browser sign-in or signup. When I reply "go", call whoami. If tools are still unavailable, use the existing server's Reconnect or the documented client reload step; do not repeatedly add another server. If the plugin specifically needs a separate machine sign-in for local skills or recording, follow its supported instructions, explain that distinction, and verify it separately. Do not infer that MCP authentication proves recording or skill sync works.
4. Once whoami confirms the intended workspace, if this setup was requested by a pending tutorial or task, return immediately to that original prompt. Do not run the optional first-win workflow or scan history on this recovery path.
5. For a standalone setup request, offer a first win with the mine-session-skills skill, with a 90-day look-back unless I choose another scope. Before reading history, explain the agents, projects and dates to be read and obtain my consent. I can narrow the scope, skip to curated expertise, or decline. Keep drafts local until I approve an exact upload and destination.
6. Close with "You're set up" only after a successful whoami check. Briefly report the verified account, organization and project, then resume the original task or link the Task Board using consoleUrl returned by whoami. If no consoleUrl is returned, say "the Task Board in the MassifyAI console" without inventing a URL. Name any optional capabilities that remain unverified. Keep normal Claude Code work available.
Never read, print or copy credentials or anything under ~/.massifyai. Do not install, reconnect or scan history when the current working connection already meets this task's needs.

Codex

Set me up with MassifyAI in this Codex session.
Whenever you need me to do something or reply, end your message with the next action in bold, including what you will check afterward.
1. If MassifyAI's whoami tool is available, call it first. Verify the actual account, organization and project against the workspace I requested. If they match, reuse this connection without reinstalling or signing in again. If they differ, explain the mismatch and resolve the intended workspace before continuing; do not silently change shared defaults.
2. If the tools are missing, check whether the plugin is already installed. Only if absent, run `codex plugin marketplace add https://github.com/AxtroAI/massifyai-plugins.git`, then `codex plugin add massifyai@massifyai`. Use HTTPS so a new user does not need an SSH key. Preserve existing connections and unrelated settings. Ask before any installation not already authorized by this setup request.
3. Authenticate the configured MCP server with `codex mcp login MassifyAI` using a 10-minute timeout. Let me complete browser sign-in or signup. If it fails, identify whether this is authentication, network, policy or configuration trouble; retry at most once when appropriate. When sign-in finishes, ask me to reply "go", then call whoami. If the running chat still lacks the tools, guide me through the supported client restart/reload; for CLI use, resume this chat with `codex resume --last`. Preserve the original request and verify whoami afterward.
4. Codex's MCP OAuth and the plugin's machine sign-in are separate. If this task needs Skill Center skills kept locally or plugin history features, use the installed plugin's supported machine sign-in instructions and verify that capability separately. Do not guess script paths or read credential files. A working MCP connection alone is sufficient for an MCP-only tutorial; do not make optional machine features a blocker.
5. Once whoami confirms the intended workspace, if this setup was requested by a pending tutorial or task, return immediately to that original prompt. Do not run optional history mining or create unrelated resources on this recovery path.
6. For a standalone setup request, offer a first win using mine-session-skills if it is available. Use a 90-day look-back only after explaining and obtaining consent for the actual history scope; let me narrow, skip to curated expertise or decline. Keep drafts local until I approve an exact upload and destination. Close with "You're set up" only after successful whoami, report the verified workspace, and link the Task Board using consoleUrl from that response if provided. Distinguish MCP connectivity from any unverified local skills or recording support, and return to normal Codex work.
Never read, print or copy credentials, anything under ~/.massifyai, or Codex credential files. Do not reinstall or sign in again when the existing connection meets the task's needs.

then paste it into Claude Code

Turn Security Watch on or off, and show messages

This page shows an org admin how to turn Security Watch on or off for the whole organization, how to choose whether incidents show the message that caused them (with secrets removed), and how to check that stops are arriving. Security Watch is the MassifyAI console page that records each time the secret guard on a developer's machine stopped a key from reaching the model. Both settings are for the Organization Admin role only; the current beta package includes Claude Code and Codex guards. Check Supported clients for the installed runtime and coverage; the incident test below specifically uses Claude Code.

For what the guard catches and what an incident holds, read Security Watch and the secret guard first.

1. Turn Security Watch on or off

Security Watch is on by default for every organization.

  1. In the MassifyAI console, open the account menu and choose "Settings".
  2. Open the "Data policy" tab. Only an Organization Admin sees this tab's settings.
  3. Find the "Security Watch" switch. Its description reads "Check prompts and file reads for secrets before they reach the model, and record what was stopped. A change takes effect within a minute."
  4. Turn the switch on or off.
  5. Choose "Save". You see "Saved."

The change reaches every machine within a minute.

What "off" means:

  • The guard on your developers' machines checks nothing: prompts with keys go to the model, and the agent may read secret files.
  • Nothing new is recorded in Security Watch.
  • Past incidents stay, and you can still read them.

You can also reach the switch from two links:

  • The Security Watch page (sidebar "Work" › "Security Watch") says "Security Watch is on for your organization." followed by "Turn it off in Settings → Data policy". People who cannot change the setting see "Your org admin can turn it off." instead. While it is off, the page says "Security Watch is off: prompts and file reads aren't checked, and no new incidents are recorded. Past incidents stay below." with a "Turn it on" link for admins, or "Ask your org admin to turn it on." for everyone else.
  • The message a developer sees when a prompt is stopped ends, once MassifyAI has recorded a stop from their machine, with "Your org admin can turn Security Watch off:" and a link to this setting.

2. Show messages, with secrets removed

By default an incident holds no text of what the developer typed: only which kind of key, where and when. If you want reviewers to see the context of a stop, turn this on.

  1. In "Settings" › "Data policy", find "Show messages, with secrets removed, in Security Watch". It is off by default.
  2. Turn it on and choose "Save".

What it stores:

  • For each stop made after you turn it on, about 300 characters of the message around the match, shown on the incident page as "Message (secrets removed)", or "Command (secrets removed)" for a blocked shell command.
  • Each secret in it, and anything else that looks like one, is replaced by its kind, such as [Stripe live key], or by [redacted].
  • The message is built on the developer's machine, with secrets already removed, and is sent only while this setting is on.
  • Stored messages are cleared when they pass the "Data-loss detections" retention period (90 days by default), set on the same tab.

Turning it off stops new messages within a minute and deletes the stored ones within a few minutes. Incidents themselves stay.

3. Check that a stop arrives

Run this from a machine with the massifyai-beta plugin installed (claude plugin list names massifyai-beta@massifyai). It creates a real incident in your organization, labeled as yours.

  1. In a Claude Code session, type a prompt that holds a made-up AWS access key: the letters AKIA followed directly by sixteen capital Z characters, with no space. Send it.
  2. You see "MassifyAI stopped this prompt: it contains what looks like an AWS access key (line 1). Nothing was sent to the model. …". Nothing reached the model.
  3. Within a few seconds, open the console's Security Watch page. A new incident is at the top, with a Detector such as "Secret — AWS access key · stopped · prompt in" followed by your project's name.
  4. Send the same prompt again. The block message now also says which organization recorded it: "This is recorded in" followed by the organization's name and "'s Security Watch." In Security Watch, the same incident's Occurrences count goes up instead of a second incident appearing.

If step 2 does not happen, check that Security Watch is on, that the machine runs massifyai-beta rather than massifyai, and that the plugin is up to date (claude plugin marketplace update massifyai && claude plugin update massifyai-beta@massifyai, then restart Claude Code).

If stops seem to be missing: check the hook destination

MCP and hook credentials can be scoped separately. A live whoami identifies the MCP connection; it does not establish where the local guard reports incidents. With workspace routing, inspect the route-specific hook sign-in metadata and the incident's actual org/project without printing credentials.

Check the installed package, enabled guard, trust, recording/guard roots and the intended destination. Preserve other workspace sign-ins; do not sign out a global default merely because an incident is missing. See Connect workspaces to different organizations.

See the workspace improvement loop and supported clients for the current journey and client boundaries.

Screenshot

Last reviewed: 2026-10-27 · Maintained by MassifyAI documentation team
Hosted MassifyAI; check the client support matrix for environment differences.