Skip to content
MassifyAI

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

Use case · Create a skill

Turn a bug fix into a reusable skill.

Fix a bug with Claude Code or Codex, then ask your agent to turn what worked into a skill. Try it on another case, improve it with feedback, and use it again on similar tasks.

A skill is a set of instructions your coding agent can use again.

Illustrative example

You → your coding agent

“Turn this fix into a skill I can use again.”

Skill draft

Keep outdated info off the screen

Use when
An article, search or question changes while new info is loading.
What to do
  1. Check that each response belongs to the latest request.
  2. Ignore info and errors from older requests.
  3. Check that the current info still loads correctly.

Useful for: News summaries · Search results · Chat replies

Local draft · Save to Skill Center when you choose

A skill your coding agent can use again

  1. A short explanation of what fixed the bug
  2. Instructions for handling similar problems
  3. Results from trying the skill on another case
  4. A draft to reuse or save to Skill Center

Keep the draft on your computer, or choose to save it in MassifyAI.

Keep the lesson beyond this chat

You switch to another article, but the previous article’s summary appears. Your agent fixes the bug. Now keep the steps that worked for similar problems.

Kept in the conversation
What you have
The fix and its explanation in this conversation.
What it says
“Only show info if it still belongs to the latest request.”
Next time
Find this conversation and explain the lesson again.
Written as a reusable skill
What you have
A skill called “Keep outdated info off the screen.”
What it says
When an article, search or question changes while new info is loading, check that each response belongs to the latest request. Ignore info and errors from older requests.
Next time
Give your agent the draft’s file path, or select the saved skill, and ask it to apply the checks to your new task.

Illustrative example. Try the skill before relying on it; save it to Skill Center only when you choose.

Create and reuse a skill with your coding agent

Illustrative requests and results. The exercise produces your actual draft and test notes; saving to Skill Center is optional.

  1. Fix the bug

    You → your coding agent

    “Fix the old summary appearing after I switch articles.”

    Fix checked

    Earlier answers no longer replace the current article’s summary.

    Use your own solved bug or the included news demo. Check the fix before turning it into a skill.

  2. Turn the fix into a skill

    You → your coding agent

    “Turn what worked into a skill I can use again.”

    Skill draft

    Keep outdated info off the screen

    Your agent writes when to use the skill, what to check and how to tell whether it worked.

  3. Try it on another case

    You → your coding agent

    “Try this skill when I change my search while results are loading.”

    Checks to try

    Outdated info stays hidden. The current search results still load.

    Give feedback and improve unclear steps. Also check when the skill is unnecessary, such as a static article.

  4. Use it in your next task

    You → your coding agent

    “Load this skill and use it on my next task.”

    Ready to reuse

    Use the same checks for a similar news, search or chat task.

    Give your agent the local draft’s file path, or choose to save it in MassifyAI Skill Center and select it there.

1. Start here

The ready-to-use example starts with a runnable, deliberately buggy demo, then turns the verified fix into a local skill draft. No earlier tutorials or API key are needed. Choose Prompt template to use your own verified fix or approved session history.

Ready to paste. No editing needed.
First follow https://www.massifyai.com/docs-assets/setup/connection-check.md (set up only if needed).

Turn the Daybreak debugging lab into one reusable skill. Keep everything local: no uploads, installs or agent profiles until I approve.

Load the mine-session-skills skill (the MassifyAI plugin's copy, else an installed one, else the Skill Center with skills_load, without installing) and follow its Episode mode. Skip its saving step and the Fresh Eyes Reviewer. Say which copy you used.
Read https://www.massifyai.com/docs-assets/examples/stale-briefing-demo/README.md, download the starter ZIP, inspect it, and extract stale-briefing-demo/ into a new .tutorials/stale-briefing-demo (or a new sibling). Node 22+, nothing installed. Read the scripts, start node serve.mjs, and give me the loopback URL.
Reproduce before editing (generate for A, select B, finish A) and record node --test regression.test.mjs (expect 3 pass, 8 fail). Fix only the local controller so an obsolete request can't publish an answer, citation, relevance, error or loading cleanup; all 11 tests should pass. Repeat the browser check, and report anything you couldn't run.
Write short fix notes (failure, decisive check, root cause, fix, before/after, limits), labeled as simulated responses.
Draft the skill as mine-session-skills says, at .mined-skills/stale-news-summary-review/SKILL.md, and run its checks. Then try it on the topic-change and stale-error cases, and on a static article where it shouldn't apply.

Show me the draft with its check and trial results and links to the draft and evidence, and refine it with me. "Continue" means keep refining, not upload. If I later ask to upload, first confirm the revision, destination, new skill or update, and visibility.
After pasting, replace each <placeholder> with your example details.
First follow https://www.massifyai.com/docs-assets/setup/connection-check.md. Complete setup only if needed, then continue below.

Help me turn a verified debugging lesson into one reusable skill, starting with <starting material>. Keep the work local until I explicitly approve an upload. Do not install anything or create an agent profile.

Choose evidence appropriate to that starting material. If I selected an already solved episode, inspect its actual fix and verification evidence. If I selected older coding-agent history, load and read the MassifyAI plugin's mine-session-skills skill, explain the available histories and ask me to confirm a project/date scope before scanning. Use its extraction scripts, never raw transcript databases, and do not expose credentials or private reasoning. Show up to three sanitized candidates with evidence, a turning point and a reusable method; let me choose one. If history is unavailable, explain the limitation and offer the lab rather than pretending a lesson was mined.

If starting with the included Daybreak lab, read <demo guide>, download its starter ZIP and inspect its files. Extract the top-level stale-briefing-demo/ contents into a new <exercise folder>, choosing a new sibling if it already exists; preserve existing work. Use Node 22 or later, with no dependency installation or API key. Read the scripts before running them, start node serve.mjs from the demo directory, and return the actual loopback URL so I can try it. Do not change my existing application or the hosted starter.

In the lab, reproduce before editing: generate a briefing for article A, select article B, then finish A's waiting response. Inspect the stale answer and citation against the current source. Record node --test regression.test.mjs before fixing; the intentional starter should have 3 passing and 8 failing tests. Repair the local controller so an obsolete request cannot publish an answer, citation, relevance, error or loading cleanup. Keep the tests and normal current-request behavior intact. Verify source/topic/question changes, both A/B completion orders, old failures and cleanup, same-input retries and A → B → A; all 11 tests should pass afterward. Repeat the browser check. If a browser/runtime is unavailable, report unrun checks instead of claiming success. For a real application, use its actual controls and tests within the scope I selected; never introduce this bug just to create an episode. If there is no reproducible bug or verified fix, offer the isolated lab.

Write concise fix notes from what actually happened: failure, decisive check, root cause, correction, before/after evidence and remaining limits. Label lab evidence as simulated responses, not model-quality evaluation or a production incident. Draft a complete SKILL.md at <draft path> with a clear name/description, when to use it, when not to, decision rules, pitfalls and verification. Start at revision 1 or preserve and increment an existing draft. Separate the general method from incident-specific details. Check for an existing Skill Center skill to improve if connected, but do not overwrite it.

Show the full draft and ask for focused feedback. Refine it with me; if I reject it, identify what is missing and revisit only the agreed evidence. Keep a working file link to the latest complete revision. Before proposing upload, try it on a second relevant case and an out-of-scope case. For the lab, run the topic-change and stale-error cases on the corrected local demo; contrast them with a static article with no asynchronous updates, where the skill should not apply. On other applications, distinguish a walkthrough from an actual execution and stay within the authorized scope. Revise any ambiguous or overconfident instructions.

Finish with the tested local draft, fix notes, trial results and limitations. End with visible file links to the skill draft and evidence. Do not upload, install, publish shared instructions, create a profile or deploy. If I later ask to upload, first confirm the exact final revision, destination organization/project, new-skill or update target, and Personal or Project visibility; then save only that approved revision and return its real saved or pending-review link. “Continue” or approval of a draft revision means keep refining, not permission to upload. Explain how to reuse either the local draft or the published skill in a fresh session.

2. Refine and try it in the same chat

Optional: continue in the same chat with the draft and evidence already available. Give feedback and walk through another case; the agent revises only if it finds a real gap. Keep the draft local until you choose to share it.

Ready to paste. No editing needed.
First follow https://www.massifyai.com/docs-assets/setup/connection-check.md. Complete setup only if needed, then continue below.

Continue in the same chat with the skill draft and fix evidence we just created. Read the latest complete draft at .mined-skills/stale-news-summary-review/SKILL.md, or the actual saved path returned earlier, and its actual fix notes and trial evidence. Do not require a new chat or scan older history.

My feedback is: make the request-identity check explicit for stale failures and loading cleanup, not only successful answers. Apply the current method to this additional case: the reader submits question A, changes the question and starts B while A is still pending, then A fails before B completes. Explain which existing rule leads to each check, whether the draft covers stale answers, citations, errors and loading cleanup, and where the method should not apply. Include a static article with no asynchronous updates as a counterexample.

Use a read-only walkthrough unless I have explicitly authorized a bounded execution. Clearly label walkthrough reasoning separately from the tests we already ran; do not invent new execution evidence or change application code. Revise the local draft only where this exercise exposes an actual gap. If revised, preserve useful instructions, increment its revision and show the full updated file link and a concise change summary. If no revision is needed, say which checks the current draft already covers. Keep the draft local; do not upload, install, create a profile or modify shared records.
After pasting, replace each <placeholder> with your example details.
First follow https://www.massifyai.com/docs-assets/setup/connection-check.md. Complete setup only if needed, then continue below.

Continue in the same chat with the skill draft and fix evidence we just created. Read the latest complete draft at <draft path>, or the actual saved path returned earlier, and its actual fix notes and trial evidence. Do not require a new chat or scan older history.

My feedback is: <feedback>. Apply the current method to this additional case: <new case>. Explain which existing rule leads to each check, whether the draft covers stale answers, citations, errors and loading cleanup, and where the method should not apply. Include a static article with no asynchronous updates as a counterexample.

Use a read-only walkthrough unless I have explicitly authorized a bounded execution. Clearly label walkthrough reasoning separately from the tests we already ran; do not invent new execution evidence or change application code. Revise the local draft only where this exercise exposes an actual gap. If revised, preserve useful instructions, increment its revision and show the full updated file link and a concise change summary. If no revision is needed, say which checks the current draft already covers. Keep the draft local; do not upload, install, create a profile or modify shared records.

Check your result

The isolated lab fails before the fix and passes all 11 regressions afterward. You have a complete local skill draft, evidence links, and results from a relevant trial plus an out-of-scope walkthrough. Upload remains a separate choice.

Want more detail? Read the related guide.

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