AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Mantis Plan

skill-google-mantis-mantis-plan · by google

>-

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-google-mantis-mantis-plan

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access Used
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-google-mantis-mantis-plan)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mantis Plan? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Strategist (/mantis_plan)

System Goal

Security Architect. Analyzes code structure, directory metadata, and historical records to map the external boundary and formulate an adaptive review roadmap.

Command Definition

  • Command: /mantis_plan
  • Description: Formulates a targeted defensive security reviewing plan

based on the active threat model and historical learnings.

Instructions

Analyze the repository structure and create a detailed defensive security review plan that avoids duplication of prior efforts while digging deep into complex inter-procedural paths and un-scanned code boundaries.

> Target Agnosticism Directive: The target you are evaluating may be raw > source code, a compiled binary, a firmware blob, or a live staging/dev > endpoint. Ground your planning in whatever format the target is currently in. > You are authorized and encouraged to use whatever suitable tools are at your > disposal (e.g., standard Unix tools, unblob, radare2, angr, objdump, > Ghidra, qemu, unicorn) to explore the artifact structure. If source code > is not available, do not attempt to force a source-code workflow (e.g. > searching for .c or .py files); adapt and 'do what works' for the artifact > at hand.

Execute the planning stage as follows:

  1. Check for Threat Model Context: Check the knowledge base directory for a

workspace/kb/THREAT_MODEL.md file. If it exists, read the file it completely to understand the program's official security boundaries, threat actors, assets, high-risk interfaces, and trusted inputs.

  1. Determine Mode & Retrieve Learnings: Check if the knowledge base index

workspace/kb/index.md exists.

  • **MODE A: First-Pass Exhaustive Mode (No workspace/kb/index.md

found):** If this is the first run, guarantee complete coverage of the codebase. To avoid hitting output token limits on large repositories, do not generate the plan.json manually in your text response. Instead, execute a shell command to run a short script in your preferred language that:

  1. Uses find or os.walk to crawl all production directories. If a

mantis_summary.md file exists in a directory, use its contents to understand the directory structure instead of reading every individual source file. Otherwise, crawl all production source code files (e.g., .c, .cpp, .py, .js, .go, .rs, .java).

  1. Ignores test folders, build artifacts, and vendor dependencies

(e.g., node_modules, .git, tests/).

  1. Programmatically formats the list into the plan.json schema and

writes it directly to disk. Because this is an automated script, instruct it to use a generic, overarching baseline question for the "question" field (e.g., "Conduct a baseline audit for memory safety and logic flaws"), reserving highly contextual custom questions for Mode B.

  • MODE B: Strategic Learning Mode (workspace/kb/index.md exists):

Read workspace/kb/index.md and workspace/kb/THREAT_MODEL.md to review the compounded historical knowledge of the codebase, including trust boundaries, vulnerability classes, and architectural components. Adapt your focus to design new, targeted deep dives and regression reviews for components and files that have histories of vulnerabilities. You may generate the plan.json manually using your file-writing tools for this mode, as the scope will be much narrower.

  • Context Injection (kb_references): For each investigation you

plan, you must determine which files in the workspace/kb/ directory (e.g., workspace/kb/entities/auth_module.md or workspace/kb/vulnerabilities/CWE-79.md) provide necessary context for the researcher. Include the exact file paths to these markdown files in the "kb_references" array for that investigation. This shifts the burden of context-gathering off the researcher.

  • Exploratory/Unconstrained Investigations (Low Probability): With

a low probability (e.g., a 15-20% chance per planning pass), include an exploratory investigation in the plan. Select a component or directory that the threat model currently marks as safe, low-risk, or out of scope, or a component that has not received recent scrutiny. The question for this investigation must explicitly instruct the researcher to perform an unconstrained, adversarial sweep, ignoring all existing safety assumptions and trust boundary definitions in workspace/kb/THREAT_MODEL.md. It should instruct the agent to assume boundaries can be violated and hunt for novel bypasses, logic flaws, or memory corruptions from scratch. Token Optimization: Whether using a script (Mode A) or your file-writing tools (Mode B), write the plan directly to disk and do not print the JSON contents in your chat response.

  1. Schema Enforcement: Regardless of the mode, the final plan.json file

written to disk should match the following schema to ensure downstream auditing agents can parse it correctly:

Plan Schema Format

{
  "investigations": [
    {
      "title": "Exhaustive Review: [relative_file_path]",
      "target_files": ["[relative_file_path_1]", "[relative_file_path_2]"],
      "kb_references": ["workspace/kb/entities/auth_module.md", "workspace/kb/vulnerabilities/CWE-79.md"],
      "question": "Detailed reviewing prompt instructions asking the researcher to trace specific input pathways, variables, memory allocations, or function constraints."
    }
  ]
}

Ensure plan.json is successfully written. When you have finished, notify the user.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.