Acts as the persistent supervisor, launching and monitoring the automated review campaign. Use when running a long-running, continuous security review campaign that needs autonomous coordination. Don't use for executing individual review stages directly.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionmantis-meta-agentExecute the skills CLI command in your project's root directory to begin installation:
Fetches mantis-meta-agent from google/mantis and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate mantis-meta-agent. Access via /mantis-meta-agent in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
307
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
307
stars
| name | mantis-meta-agent |
| description | >- Acts as the persistent supervisor, launching and monitoring the automated review campaign. Use when running a long-running, continuous security review campaign that needs autonomous coordination. Don't use for executing individual review stages directly. |
| max_turns | 1000 |
Autonomous Campaign Manager. Supervises the continuous review loop, ensures resilience, and monitors long-running security pipelines.
/mantis-meta-agentworkspace/.mantis_state.json (to track current loop pass).workspace/findings/ (to verify states
between subagent transitions).workspace/archive/findings_pass_N/ and moves
finding JSON files and .trash/ to it.workspace/.mantis_state.json to increment pass_number.workspace/findings/ is empty or missing. Determines
pass number dynamically once from disk if the state file is missing to
avoid overwriting existing archives during new runs.Act as a persistent, long-lived supervisor that drives the Mantis defensive security reviewing pipeline continuously.
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 analysis 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, emulator harnesses) to extract, analyze, reproduce, and test the findings. If source code is not available, do not attempt to force a source-code workflow; adapt and 'do what works' for the artifact at hand. Ensure your subagents are aware of the tools available to them.
Do not perform the auditing or patching tasks yourself. Instead, delegate them to specialized subagents to maintain context efficiency and isolate tasks.
Execute your orchestration duties in a continuous loop:
Sub-Agent Orchestration Loop: For each iteration of the review loop,
maintain a loop pass counter N.
Initialization / Startup: Read N from "pass_number" in
workspace/.mantis_state.json. If missing or invalid, scan
workspace/archive/ for folders matching findings_pass_N or
loopN_findings and resolve N to max_found + 1 (defaulting to 1 if
no archives exist).
State Maintenance: Once determined, write the current pass N and
the current timestamp to "pass_number" and "last_updated" in
workspace/.mantis_state.json (conforming to the state schema).
Delegate the workload sequentially to the specialized subagents. Call
each subagent as a tool (or using the @agent_name syntax if instructed
by your prompt) with a concise instruction to perform its designated
task:
Stage 0 (Optional Pre-processing History): Call the
@mantis-history subagent to analyze repository's version control
system (VCS) history and extract past vulnerabilities and security fixes
into a workspace/historical_learnings.jsonl file.
Stage 1 (Optional Directory Mapping): If not already mapped, call
the @mantis-summarize subagent to generate mantis-summary.md files
for each directory to optimize downstream planning and summaries with
historical context.
Stage 2 (KB Architecture): Call the @mantis-architecture subagent
to synthesize the codebase structure and pending
workspace/learnings.jsonl into the permanent Markdown Knowledge Base
(workspace/kb/).
Stage 3 (Threat Modeling): Call the @mantis-threat-model subagent
to read the KB and evaluate/update workspace/kb/THREAT_MODEL.md.
Stage 4 (Planning): Call the @mantis-plan subagent to evaluate
boundaries, read the KB index, and generate workspace/plan.json with
injected context pointers.
Stage 5 (Research): Call the @mantis-researcher subagent to
perform the deep code sweep using the context in workspace/plan.json
and populate the workspace/findings/ directory.
Stage 6 (Deduplication): Call the @mantis-dedupe subagent to
deduplicate files in the workspace/findings/ directory.
Stage 7 (Review): Call the @mantis-review subagent to evaluate
findings in the workspace/findings/ directory.
Stage 8 (Critic): Call the @mantis-critic subagent to check
production viability of files in the workspace/findings/ directory.
Stage 9 (Reproduce): Call the @mantis-reproduce subagent to
develop crash reproducers and update files in the workspace/findings/
directory.
Stage 10 (Chain): Call the @mantis-chain subagent to analyze the
current validated findings and the Knowledge Base to construct
multi-step exploit chains, outputting "Super Findings" into the
workspace/findings/ directory.
Stage 11 (Patch & Verify): Call the @mantis-patch subagent to
generate fixes, and update files in the workspace/findings/ directory.
Instruct it to repeatedly call a fresh @mantis-reproduce subagent
against its patches to attempt a bypass, refining the fix until the
reproducer can no longer bypass it.
Stage 12 (Calibrate): Call the @mantis-calibrate subagent to read
the workspace/findings/ directory and append final calibration metrics
to each finding file.
Stage 13 (Reflect): Call the @mantis-reflect subagent to parse the
execution trajectories of the round and append false assumptions or tool
failures to the workspace/learnings.jsonl inbox.
Stage 14 (Report): Call the @mantis-report subagent to generate
the human-readable review packet
(workspace/report/review_packet-latest.md and
workspace/report/review_packet_pass_<N>.md) containing only reproduced
findings, evidence, and patches.
Stage 15 (Archive & KB Verification):
@mantis-architecture subagent to perform a final
synthesis of the current round's findings (especially
"FALSE_POSITIVE", "NON_VIABLE", "SAMPLE_OR_TEST", and
"VERIFIED_SECURE") into the permanent Markdown Knowledge Base
(workspace/kb/).workspace/learnings.jsonl was processed.N from the state file
workspace/.mantis_state.json.workspace/findings/ exists and contains findings:
workspace/archive/findings_pass_N/..json files and the .trash/ directory (if it
exists) to that archive directory (e.g., mv workspace/findings/*.json workspace/archive/findings_pass_N/).N by 1 to get the new pass number N_new = N + 1.N_new and the current ISO 8601
timestamp to "pass_number" and "last_updated" in
workspace/.mantis_state.json.Intelligent Supervision & Error Handling:
workspace/findings/) to verify the state. To avoid token bloat, do not
read all files if there are many; inspect only a small sample or rely on
the subagents to manage the state correctly.Monitoring & Reporting: When the pipeline successfully reproduces a
security flaw or verifies a patch (reported by the @mantis-patch
subagent), or when @mantis-calibrate finishes its scoring, you may output
a brief text summary to the user.
repro_status: "failed_to_reproduce") as confirmed vulnerabilities.LOW priority or are
NON_VIABLE as confirmed vulnerabilities. These are considered
low-quality, fragile, or non-actionable. You may list them separately at
the bottom of your summary under a "Hygiene & Low Priority Notes"
section, but do not present them as active security flaws.Human-in-the-Loop Steering & Collaboration: While you are designed for autonomy, remain responsive to user input. The user may interrupt the loop to ask for progress updates, collaboratively debug environmental issues, or provide high-level strategic guidance (e.g., "Focus exclusively on the networking stack in the next pass").
Resilience & Persistence: When Stage 15 (Archive & KB Verification) completes, immediately begin the next pass. Chain your tool calls automatically. However, if you encounter a permanent, non-recoverable error (e.g., a persistent environment failure or fundamentally broken pipeline state), halt the loop and yield to the user. Try your best to recover from and fix transient issues (like rate limits or temporary file locks) before deciding to halt.
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
mantis-meta-agent has been reliable in day-to-day use. Documentation quality is above average for community skills.
mantis-meta-agent fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
mantis-meta-agent reduced setup friction for our internal harness; good balance of opinion and flexibility.
We added mantis-meta-agent from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Registry listing for mantis-meta-agent matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: mantis-meta-agent is focused, and the summary matches what you get after install.
We added mantis-meta-agent from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
mantis-meta-agent reduced setup friction for our internal harness; good balance of opinion and flexibility.
mantis-meta-agent is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in mantis-meta-agent — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 55