mantis-configure
Skill2.3k starsChanged 3 months agoApache-2.0View on GitHub
Configures and validates Mantis pipeline environments, sandbox mechanisms, and AI models. Use to set up workflow.json, auto-detect host capabilities, switch between sandboxes (static-only, gvisor, microsandbox, gce), select AI models, and run fast 1-2s preflight tests. Don't use for scanning source code or running attack campaigns.
Trending
More talk lately.about the whole repository
Who's talking about google/mantis
- @camilleroux.com“Mantis : toolkit open source de Google pour agents de coding, conçu pour trouver, reproduire et corriger …”Bluesky · Sep 15, 2026 · 3 likes
- @tech-trending.bsky.social“GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously find, …”Bluesky · Oct 1, 2026 · 1 likes
- @netmarkjp.bsky.social“#ばばさん通信ダイジェスト 賛否関わらず話題になった/なりそうなものを共有しています。 GitHub - google/mantis: A modular, stack-agnostic toolkit for …”Bluesky · Sep 23, 2026 · 1 likes
- @javanrasokat.bsky.social“Three repos that are leading our path forward in scaling AppSec workflows: 1. github.com/google/mantis 2. …”Bluesky · Jul 3, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.google.mantis: 0-unstable-2026-10-04 → 0-unstable-2026-10-05”GitHub · Oct 5, 2026
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub and Bluesky (24 times).
On GitHub · 19
- Oct 5, 2026agent-skills.github.google.mantis: 0-unstable-2026-10-04 → 0-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.google.mantis: 30447e1 → f5656dd — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.google.mantis: f48a85e → 30447e1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026Update skill: /google-mantis-patch (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-meta-agent (critical risk) — aiskillstore/marketplace0 reactions
14 more on GitHub
- Oct 4, 2026Update skill: /google-mantis-dedupe (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-threat-model (low risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-history (medium risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-structural-index (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-calibrate (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026agent-skills.github.google.mantis: 0-unstable-2026-09-28 → 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.google.mantis: 0-unstable-2026-09-18 → 0-unstable-2026-09-28 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.google.mantis: init at 0-unstable-2026-09-18 — sudosubin/agents.nix0 reactions
- Sep 22, 2026fix(rust): patch parameter bounds validation bugs to avoid panic — morrowc/mrtparser0 reactions
- Sep 22, 2026fix(cpp): add minimal bound checks for packet lengths — morrowc/mrtparser0 reactions
- Sep 11, 2026mode — chogng/ash0 reactions
- Sep 8, 2026chore(security): instala skill kit Mantis (google/mantis) para auditoria de segurança via agente de IA — Marks-Mah/Birthub-3600 reactions · 1 comment
- Jul 27, 2026Integrate Google Mantis Skills as CRSs — ossf/oss-crs0 reactions
- Jul 3, 2026Add Google Mantis — agentic AI security review pipeline — ottosulin/awesome-ai-security0 reactions
On Bluesky · 5
- Sep 15, 2026Mantis : toolkit open source de Google pour agents de coding, conçu pour trouver, reproduire et corriger des vulnérabilités de façon… — @camilleroux.com3 likes and reposts · 1 reply
- Oct 1, 2026GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously find, reproduce, and patch vulnerabilities.… — @tech-trending.bsky.social1 likes and repost
- Sep 23, 2026#ばばさん通信ダイジェスト 賛否関わらず話題になった/なりそうなものを共有しています。 GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously… — @netmarkjp.bsky.social1 likes and repost
- Jul 3, 2026Three repos that are leading our path forward in scaling AppSec workflows: 1. github.com/google/mantis 2. github.com/anthropics/d... 3.… — @javanrasokat.bsky.social1 likes and repost
- Oct 1, 2026🤖 GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously find,... 要約:… — @ai-bs-bot.bsky.social0 likes and reposts · 1 reply
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- mantis-adviseSkill
- mantis-architectureSkill
- mantis-calibrateSkill
- mantis-chainSkill
- mantis-criticSkill
- mantis-dedupeSkill
- mantis-historySkill
- mantis-meta-agentSkill
- mantis-patchSkill
- mantis-pipeline-adapterSkill
- mantis-planSkill
- mantis-reflectSkill
- mantis-reportSkill
- mantis-reproduceSkill
- mantis-researcherSkill
- mantis-reviewSkill
- mantis-structural-indexSkill
- mantis-summarizeSkill
- mantis-threat-modelSkill
- mantis-launchSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
NEVER execute python3 reference/scripts/configure.py using a relative path inside audited target repositories.
- Distinctive: line 97
Check if LLM configuration and sandbox requirements are operational:
- Distinctive: line 152
When invoked programmatically from Python:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pipeline Configurator (/mantis-configure)
System Goal
Environment and Model Configurator. Configures workflow.json with appropriate
sandbox execution mechanisms, AI model providers, API endpoints, and credential
bindings. Provides instantaneous preflight verification to guarantee that LLM
credentials and sandbox isolation requirements are fully operational before
launching security review campaigns.
Command Definition
- Command:
/mantis-configure - Description: Configures Mantis pipeline settings (sandboxes, models,
credentials, preflight validation) in
workflow.json. - Execution Command:
python3 "${MANTIS_HOME:-/path/to/mantis}/reference/scripts/configure.py" [flags...]
Path Anchoring Requirement (CRITICAL): The configuration script resides
within the Mantis installation directory at reference/scripts/configure.py.
You MUST invoke this script via an absolute path or via $MANTIS_HOME.
NEVER execute python3 reference/scripts/configure.py using a relative path
inside audited target repositories.
- CLI Options:
--sandbox/-s: Sandbox mechanism (static-only,gvisor,microsandbox,gce).--model/-m: Default LLM 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 servers (e.g.http://localhost:8000/v1).--reasoning-effort: Reasoning effort level (low,medium,high).--timeout: LLM request timeout in seconds.--project/-p: GCP Project ID (for GCE sandbox or Vertex AI routing).--zone/-z: GCP Zone (e.g.us-central1-b).--image/-i: Sandbox image name (e.g.mantis-sandbox-imageormantis-sandbox:latest).--subnet: GCE Subnet name (e.g.mantis-isolated-subnet).--workdir: Sandbox guest workdir (default:/workspace).--workflow/-w: Path toworkflow.json(defaults to auto-discovery).--db/-d: Path to SQLite knowledge database (default:knowledge.db).--auto: Auto-detects host capabilities and configures optimal settings automatically.--save: Explicitly saves configuration changes toworkflow.local.json.--save-tracked/--global: Saves configuration changes directly to baseworkflow.json.--interactive: Interactive step-by-step terminal wizard.--test/--preflight: Executes fast (1-2s) static validation tests verifying LLM configuration format and sandbox readiness.--probe/--probe-llm: Actively probes LLM reachability, provider credentials, and client dependencies with a minimal test prompt (test, max 256 tokens).--show: Displays current configuration and diagnostic status.--dry-run: Simulates configuration changes without modifying files.--update-nodes: Updates all agent nodes inworkflow.jsonto use the specified default model.--json: Outputs configuration status and preflight diagnostics in JSON.
Supported Sandbox Mechanisms
| Sandbox | Description | Isolation Level | Requirements |
static-only | Static analysis only; reproducer and dynamic patching disabled. | Zero Host Risk | None (Always available) |
gvisor | Networkless OCI container executed under Google gVisor (runsc). | Process & Kernel sandbox | docker or podman with runsc registered |
microsandbox | Ephemeral Linux microVM with hardware virtualization. | Virtual Machine | /dev/kvm read/write access |
gce | Hardened ephemeral Google Compute Engine VM via IAP SSH tunnel. | Cloud Hypervisor | gcloud CLI, active GCP auth & project |
Supported Model Providers
- Gemini Models (Google / Vertex AI):
gemini-3.7-flash,gemini-3.5-flash-litevertex_ai/gemini-3.7-flash,vertex_ai/gemini-3.5-flash-lite
- Claude Models (Vertex AI Model Garden):
vertex_ai/claude-opus-5
- MaaS & Open Source Models (Vertex Model Garden):
vertex_ai/zai_org/glm-5.2-maas
- Custom OpenAI-Compatible Endpoints:
openai/{MODEL_ID}orvertex_ai/openai/{MODEL_ID}- Supports custom
--api-base(e.g. vLLM, Ollama, LiteLLM proxy),--reasoning-effort, and--timeout.
Common CLI Workflows
1. Fast Preflight Verification (~1s) & Active Reachability Probe
Check if LLM configuration and sandbox requirements are operational:
# Fast static validation (~1s):
python3 "$MANTIS_HOME/reference/scripts/configure.py" --test
# Active live reachability probe against LLM provider:
python3 "$MANTIS_HOME/reference/scripts/configure.py" --test --probe2. Auto-Detect and Configure
Automatically inspect host capabilities (/dev/kvm, docker/runsc, gcloud)
and select the best available sandbox:
python3 "$MANTIS_HOME/reference/scripts/configure.py" --auto3. Switch to Static Analysis (Zero Dependencies)
python3 "$MANTIS_HOME/reference/scripts/configure.py" --sandbox static-only4. Configure gVisor Container Sandbox
python3 "$MANTIS_HOME/reference/scripts/configure.py" --sandbox gvisor --image mantis-sandbox:latest5. Configure GCE Ephemeral Cloud Sandbox
python3 "$MANTIS_HOME/reference/scripts/configure.py" --sandbox gce --project my-gcp-project --zone us-central1-b6. Switch AI Model to Claude or Custom Endpoint
# Vertex AI Claude
python3 "$MANTIS_HOME/reference/scripts/configure.py" --model vertex_ai/claude-opus-5
# Custom Local vLLM / OpenAI server
python3 "$MANTIS_HOME/reference/scripts/configure.py" --model openai/my-model --api-base http://localhost:8000/v17. Interactive Configuration Wizard
python3 "$MANTIS_HOME/reference/scripts/configure.py" --interactivePython API Reference
When invoked programmatically from Python:
from scripts.configure import (
detect_capabilities,
ensure_configured,
ensure_configured_async,
is_default_or_unconfigured,
run_preflight_checks,
run_preflight_checks_async,
update_workflow_config,
)
# 1. Check if configuration contains default placeholders
is_unconf, issues = is_default_or_unconfigured(config)
# 2. Run fast preflight checks (sync or async)
ok, messages = run_preflight_checks(config, test_llm=True, test_sandbox=True)
# or: ok, messages = await run_preflight_checks_async(config)
# 3. Ensure configured (auto-resolves defaults if unconfigured)
valid_config = ensure_configured(auto=True)
# or: valid_config = await ensure_configured_async(auto=True)Input/Output Contract
- Reads:
workflow.jsonand optionalworkflow.local.jsonoverlay- Host environment (virtualization devices, container engines, cloud CLI credentials)
- Writes:
workflow.local.json(orworkflow.jsonwhen--save-trackedis set)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

