
momentic-explore-prompt
Generate an explore-prompt.md file that gives Momentic's explore agent (momentic ai explore diff / momentic ai explore latest) repo-specific context — which applications to test, the URLs tests must target, how to authenticate, where to save generated tests, and repo quirks. Use when setting up or improving the prompt file passed via --prompt-file.
- Installs
- 14.7K
- Last 24h
- —
- Trending rank
- —
- Security
- Pass
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/momentic-ai/skills --skill momentic-explore-prompt- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads momentic-explore-prompt automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files, each dated to when it ran.
SKILL.md
The instructions your agent reads when the skill is triggered.
Generating an explore-prompt.md
What this file is
The explore agent (momentic ai explore diff over a git range, or
momentic ai explore latest over the whole app) identifies changed user
journeys and builds Momentic tests for them. Both accept extra instructions
appended to the explorer's system prompt via two repeatable options:
--prompt <text>— inline text. Repeatable.--prompt-file <path>— a file whose contents are appended. Repeatable.
Passing any --prompt or --prompt-file replaces the project's cloud custom
prompt. The combined instructions are all --prompt-file contents followed by
all --prompt values, each in the order passed — so multiple flags stack rather
than one overriding the other.
explore-prompt.md is the conventional file passed to --prompt-file. It is
repo-specific: it tells the explorer which apps exist in this repo, the URLs
its tests must target, how to sign in, exactly where to save generated tests,
and any quirks it must respect. It is NOT a place to restate general Momentic
behavior — that already lives in the momentic-test skill.
Usage:
momentic ai explore diff --prompt-file ./explore-prompt.md
Gather the repo facts first
Do not write the prompt from memory. Inspect the repo and confirm each fact:
- Applications under test. Enumerate every frontend/app the generated
tests will drive. For each, determine the URL the tests must hit. This is
the served/deployed URL used at run time, which is often NOT the Vite/dev URL
used while authoring locally. Cross-check
momentic.config.yamlenvironments[].baseUrland how each app is started in CI (the workflow that runsmomentic ai explore diff). - Authentication. How should the explorer sign in? Prefer a reusable login
module — record its exact
nameandid. Note access assumptions (e.g. "this user can reach all parts of the app"). - Test placement. The folder each app's tests belong in, expressed relative to the workspace, including any mandatory path prefix. Make the constraints unambiguous.
- Throwaway / nested tests. Where tests created as a side effect of an
explore run must be saved (usually the single gitignored
momentic/junk/folder). Confirm which path is gitignored. - Quirks. Externally-persisted data that survives runs (must be randomized per run to avoid collisions), auth peculiarities, flaky areas, base-URL caching flags, etc.
Structure to produce
Write concise, imperative markdown. Recommended sections:
- Applications and target URLs — one bullet per app: name — the URL tests must target — purpose — how it is served/run — the login module (name + id) if auth is required.
- Journey → application mapping — how to map an in-scope diff to the app(s) it affects so the right editor/port is driven.
- Test placement rules — the destination folder per app, with explicit
HARD RULEcallouts for any mandatory prefix. The explorer will otherwise save tests in the wrong place. - Throwaway / nested test rule — the gitignored junk folder that every
nested test must land in, and that naming a file
junk-*does NOT count. - Quirks to watch out for — the repo-specific gotchas gathered above.
Rules for a good prompt
- Target URLs must be the URLs tests actually run against, never the authoring dev-server URLs.
- Be explicit about path constraints and use
HARD RULE:callouts — path mistakes are the most common and most costly explorer failure. - Keep it repo-specific and short. Omit anything already covered by general Momentic docs/skills.
- Reference login modules by both
nameandidso the explorer can pin the exact module.
Reference template
Below is a placeholder-only skeleton with the sections a good prompt has. Fill in the bracketed values with your repo's real apps, URLs, modules, and folders — do not ship the placeholders.
This repo has <N> frontend application(s). When tests run, each app is served at
the URL below — target these, not the dev-server URLs used while authoring.
- <app-name> — <one-line purpose> at <https://url-tests-must-target>. Sign in
first using the module named `<login-module-name>` (id: <login-module-id>).
<access assumptions, e.g. this user can reach all parts of the app>.
- <app-name-2> — <purpose> at <https://url-2>. Tests MUST use <https://url-2>
as their base URL.
When identifying changed user journeys, map each in-scope diff to the
application(s) above so the right app/port is driven.
Place new tests in the folder matching the app they drive. Every target path is
relative to your workspace and the `<mandatory-prefix>/` segment is MANDATORY —
never drop it:
- <app-name> journeys → <mandatory-prefix>/<app-folder>/.
- <app-name-2> journeys → <mandatory-prefix>/<app-2-folder>/.
HARD RULE — keep the `<mandatory-prefix>/` prefix on the authored test. Saving
to any path that omits it is a hard failure.
HARD RULE: any test created as a side effect of building another test is
throwaway and MUST be saved into the gitignored `<junk-folder>/` directory.
Naming a file `junk-*` does NOT count — only that directory is gitignored.
Some quirks to watch out for:
- <quirk, e.g. externally-synced data persists across runs — randomize any data
you write each run so runs don't conflict>.
FAQ
What does the momentic-explore-prompt skill do?
Generate an explore-prompt.md file that gives Momentic's explore agent (momentic ai explore diff / momentic ai explore latest) repo-specific context — which applications to test, the URLs tests must target, how to authenticate, where to save generated tests, and repo quirks. Use when setting up or improving the prompt file passed via --prompt-file.
How do I install momentic-explore-prompt?
Run npx skills add https://github.com/momentic-ai/skills --skill momentic-explore-prompt in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/momentic-explore-prompt/ (personal) or .claude/skills/momentic-explore-prompt/ (project).
Which AI agents can use momentic-explore-prompt?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is momentic-explore-prompt safe to install?
Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains momentic-explore-prompt?
It is published by momentic-ai in momentic-ai/skills. It has 14,705 recorded installs.
More from momentic-ai/skills
momentic-test
momentic-ai/skills
Create, run, and maintain Momentic browser E2E tests and modules stored as .test.yaml and .module.yaml files.
momentic-result-classification
momentic-ai/skills
Classify or explain Momentic test run results using Momentic MCP tools. Use when the user asks to categorize a failure, understand why a run failed, triage test results, or compare run results to past run results.
momentic-mobile-test
momentic-ai/skills
Create, run, and maintain Momentic mobile E2E tests and modules for Android and iOS. Use Momentic MCP tools for live device validation, and use direct v2 YAML edits only for high-confidence local mobile v2 changes.
momentic-spec
momentic-ai/skills
Improve code correctness using Momentic specs in the feature development process
momentic-maintain
momentic-ai/skills
Diagnose, classify, triage, and repair failing Momentic tests with MCP run tools, the Momentic CLI, and manual run artifacts. Use when a developer asks what happened on a branch, DevX or on-call asks why main is red, or the user wants to inspect classifications, de-flake quarantined or recovered tests, reduce retries, re-classify runs, run AI triage, or repair failures.
mo-qa
momentic-ai/skills
Run and control Mo QA sessions with Momentic's qa CLI. Use for bug bashes, status checks, report export, replies to Mo, file transfer, or repairs based on Mo findings.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available