Mantis Launch logo

Mantis Launch

OrganizationPopular
google
mantis-launch

Launches automated vulnerability review campaigns on target files or repositories. Use to initiate Mantis vulnerability review pipelines with automated preflight checks, environment auto-configuration, and runtime overrides (sandboxes, models, endpoints). Don't use for configuring settings without scanning or for manual single-stage reviews.

Overview

Publishergoogle
Repositorymantis
Skill namemantis-launch
Stars
1.6K
Forks
154
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by google on GitHub. Read the source before you install it.

Installation

Install the Mantis Launch AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/google/mantis.git /tmp/mantis
mkdir -p .claude/skills
cp -r /tmp/mantis/reference/skills/mantis-launch .claude/skills/mantis-launch
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mantis Launch in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mantis Launch on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mantis Launch is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Campaign Launcher (/mantis-launch)

System Goal

Autonomous Security Review Pipeline Launcher. Initiates end-to-end vulnerability discovery, independent verification, exploit viability analysis, crash reproduction, automated patch generation, and risk calibration campaigns across a target file or entire codebase repository.

Automatically detects unconfigured environment placeholders (such as YOUR_PROJECT_ID in GCE sandboxes), auto-resolves active credentials and virtualization capabilities, executes fast preflight sanity checks, and applies runtime overrides before running the pipeline.

Command Definition

  • Command: /mantis-launch
  • Description: Launches automated multi-agent vulnerability discovery and validation campaigns.
  • Execution Commands:
    bash
    python3 "${MANTIS_HOME:-/path/to/mantis}/reference/scripts/launch.py" <target_file_or_dir> [flags...]
    "${MANTIS_HOME:-/path/to/mantis}/reference/run.sh" <target_file_or_dir> [flags...]

Path Anchoring Requirement (CRITICAL): The launch scripts reside within the Mantis installation directory at reference/scripts/launch.py and reference/run.sh. You MUST invoke these scripts via an absolute path or via $MANTIS_HOME. NEVER execute ./reference/run.sh or python3 reference/scripts/launch.py using a relative path inside audited target repositories.

  • CLI Options:
    • target (positional): Path to a single source file (e.g. src/auth.py) or a root repository directory (e.g. . or /path/to/repo).
    • --sandbox / -s: Override sandbox mechanism (static-only, gvisor, microsandbox, gce).
    • --model / -m: Override AI model (e.g. gemini-3.7-flash, vertex_ai/claude-opus-5, vertex_ai/zai_org/glm-5.2-maas, openai/{MODEL_ID}).
    • --api-base: Custom endpoint URL for OpenAI-compatible LLM deployments (e.g. http://localhost:8000/v1).
    • --reasoning-effort: Reasoning effort level (low, medium, high).
    • --timeout: LLM request timeout in seconds.
    • --db / -d: Custom path to SQLite knowledge database (default: knowledge.db).
    • --workflow / -w: Path to custom workflow.json layout definition.
    • --preflight-only / --test / --preflight: Run preflight checks and exit without starting the campaign.
    • --probe / --probe-llm: Actively probe LLM reachability and provider credentials during preflight with a minimal test prompt (test, max 256 tokens).
    • --interactive: Launch interactive configuration wizard before execution.
    • --dry-run: Display launch plan and indexed files without calling AI models.
    • --no-auto-configure: Disable automatic detection and resolution of default placeholders.

Automated Auto-Healing & Preflight

Before starting a security campaign, mantis-launch:

  1. Placeholder Auto-Detection: Inspects workflow.json for unconfigured defaults (e.g. project: "YOUR_PROJECT_ID").
  2. Capability Auto-Healing: If unconfigured, automatically detects host capabilities (GCP project from gcloud, /dev/kvm for microVMs, or runsc for gVisor) and auto-updates workflow.json or falls back safely to static-only.
  3. Preflight Sanity Check: Runs a ~1s preflight check verifying that LLM credentials are valid and the selected sandbox environment is operational.

Common CLI Workflows

1. Launch Standard Review on Target File or Repository

bash
# Scan a specific file
"$MANTIS_HOME/reference/run.sh" src/server/auth.py

# Scan an entire repository
"$MANTIS_HOME/reference/run.sh" .

2. Launch with Static Analysis Only (Zero Sandbox Requirements)

bash
"$MANTIS_HOME/reference/run.sh" . --sandbox static-only

3. Launch with Specific Model (e.g. Claude or Custom OpenAI Server)

bash
# Vertex AI Claude
"$MANTIS_HOME/reference/run.sh" . --model vertex_ai/claude-opus-5

# Local vLLM / Ollama server
"$MANTIS_HOME/reference/run.sh" . --model openai/custom-model --api-base http://localhost:8000/v1

4. Verify Preflight Readiness Without Scanning

bash
python3 "$MANTIS_HOME/reference/scripts/launch.py" . --preflight-only

5. Inspect Results After Launch

All findings, exploit reproduction logs, verified patches, and risk calibration scores are recorded in knowledge.db. Query guidance using mantis-advise:

bash
python3 "$MANTIS_HOME/reference/scripts/advise.py" --file src/server/auth.py

Input/Output Contract

  • Reads:
    • Target source code files (under target path or repository).
    • workflow.json (declarative graph layout and config).
  • Writes:
    • knowledge.db (findings, campaign_artifacts, risk_scores, learnings tables).
    • sessions.db (ADK session state trajectories).
    • Formatted terminal report and execution logs.

Frequently asked questions

What does the Mantis Launch AI skill do?

Launches automated vulnerability review campaigns on target files or repositories. Use to initiate Mantis vulnerability review pipelines with automated preflight checks, environment auto-configuration, and runtime overrides (sandboxes, models, endpoints). Don't use for configuring settings without scanning or for manual single-stage reviews.

Why use Mantis Launch on TypingMind?

Because you install it once and use it with any model. Mantis Launch is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mantis Launch in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/google/mantis/tree/main/reference/skills/mantis-launch. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Mantis Launch?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mantis Launch?

As many as you like. As long as a model supports skills, you can use Mantis Launch with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mantis Launch AI skill free?

Yes. It is published on GitHub by google under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇