mantis-configure

mantis-configure is a skill for Claude Code, Codex from google/mantis. It costs 77 tokens per session (1,905 once invoked), scanned A, original, Apache-2.0.

A setup and validation tool for a Mantis security-review pipeline, including its isolated execution environment, AI model, API connection, and credentials.

In plain words
What is it for?
Use it to create or update workflow.json, select a sandbox and model, set a custom model endpoint, choose reasoning effort, and run preflight checks.
Why use it?
It helps catch configuration or access problems before a security review starts and lets the pipeline use different sandbox types and model providers.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or update workflow.json, select a sandbox and model, set a custom model endpoint, choose reasoning effort, and run preflight checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/mantis/mantis-configure
About the project

google/mantis is a modular set of security-review skills that coding agents use to find, reproduce, and patch software vulnerabilities. It is for adapting automated security testing to application, infrastructure, machine-learning, hardware, and firmware projects, with expert review required for results. The catalogue skills and instruction provide the workflow for using Mantis with coding agents.

google/mantis · 2,454 stars · on GitHub · cloud.google.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add google/mantis --skill mantis-configure
Clone the repo
git clone --depth 1 https://github.com/google/mantis

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mantis-configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/google/mantis/mantis-configure/github.svg)](https://agentmods.dev/skills/google/mantis/mantis-configure)
Your own site
<a href="https://agentmods.dev/skills/google/mantis/mantis-configure"><img src="https://agentmods.dev/badge/skills/google/mantis/mantis-configure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mantis-configure

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/mantis/mantis-configure"><img src="https://agentmods.dev/badge/skills/google/mantis/mantis-configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,905 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.01905
Opus 5.5 $0.00031 $0.00762
Sonnet 5.5 $0.00015 $0.00381
Haiku 4.5 $0.00008 $0.00191

Measured yesterday against content hash 7f00cd90de45, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mantis-configure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

reference/skills/mantis-configure/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.8-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-image or mantis-sandbox:latest).
    • --subnet: GCE Subnet name (e.g. mantis-isolated-subnet).
    • --workdir: Sandbox guest workdir (default: /workspace).
    • --workflow / -w: Path to workflow.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 to workflow.local.json.
    • --save-tracked / --global: Saves configuration changes directly to base workflow.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 in workflow.json to use the specified default model.
    • --json: Outputs configuration status and preflight diagnostics in JSON.

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 7f00cd90de45
  2. 1mo ago Changed · +10 lines 8547c0f1485c
  3. 1mo ago First seen · 175 lines · 77 tokens per session scan A 16e191ace4eb

Subscribe to this mod's changes

mantis-configure is a skill published in the GitHub repository google/mantis (2,454 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 1,905 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.

browser-use/browser-use · 26 tokens

ai-prompt-regression-testing

Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.

sickn33/agentic-awesome-skills · 37 tokens

jobs

Manage agy staffer background jobs - collect results, check status, cancel, follow-up conversation, and setup. Use when an agy job needs collecting, when the user asks "is the agy job done", "show agy's result", "cancel the agy job", "continue the agy conversation", or "set up agy". This is the orchestrator's skill…

keli-wen/agy-staff · 99 tokens

output-dev-eval-testing

Create offline evaluation tests for Output SDK workflows using @outputai/evals. Use when implementing test evaluators with verify(), creating dataset YAML files, building eval workflows, or running workflow tests via CLI.

growthxai/output · 46 tokens

output-dev-scenario-file

Create test scenario JSON files for Output SDK workflows. Use when creating test inputs, documenting expected behaviors, or setting up workflow testing.

growthxai/output · 32 tokens

output-plan-workflow

Use when the user asks to create, build, generate, scaffold, or plan a new workflow. Orchestrates the full planning process including architecture, steps, prompts, evaluators, and testing strategy using specialized subagents.

growthxai/output · 50 tokens