mantis-reflect

Parse execution trajectories and agent logs to extract structured insights.

731|84|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/google/mantis --skill mantis-reflect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mantis-reflect
Source: https://github.com/google/mantis/tree/main/mantis-reflect
Command: npx skills add https://github.com/google/mantis --skill mantis-reflect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the "black box" nature of autonomous agent loops by parsing execution trajectories to identify recurring mistakes, false assumptions, and successful strategies.

Core Features & Use Cases

  • Trajectory Analysis: Automatically parses complex execution logs (transcript.jsonl) to extract structured insights.
  • Knowledge Persistence: Appends findings to a centralized learnings file, ensuring future agents benefit from past failures.
  • Use Case: If a researcher agent repeatedly fails to exploit a specific parameter due to an incorrect trust boundary assumption, this skill captures that insight so subsequent agents avoid the same dead-end.

Quick Start

Run the mantis-reflect command to analyze the current execution trajectory and append new findings to the workspace learnings file.

Frequently Asked Questions about mantis-reflect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract insights from autonomous agent execution trajectories?

To extract insights from execution trajectories, you can parse complex agent logs to identify structured data regarding successes, failures, and false assumptions. This process reveals recurring mistakes in autonomous workflows.

What is the best way to analyze agent logs for false assumptions in security reviews?

Analyzing agent logs for false assumptions in security reviews involves parsing execution trajectories to identify incorrect trust boundary assumptions. This captures insights so subsequent agents avoid repeating the same dead-ends.

How does knowledge persistence work for continuous improvement in autonomous agent workflows?

Knowledge persistence for continuous improvement works by appending extracted findings to a centralized learnings file. This ensures future agents benefit from past failures and successful strategies without altering existing log data.

Can I perform non-destructive log analysis on transcript.jsonl files?

Yes, you can perform non-destructive log analysis on transcript.jsonl files. The analysis satisfies requirements for idempotent data appending and tracks provenance via snapshot IDs without modifying the original execution logs.

Does multi-stage security review harnesses support automated trajectory analysis?

Multi-stage security review harnesses support automated trajectory analysis by applying parsing logic to execution logs. This extracts structured insights regarding recurring mistakes and successful strategies for continuous workflow improvement.

Why do autonomous agents repeatedly fail to exploit specific parameters during security reviews?

Autonomous agents repeatedly fail to exploit specific parameters due to incorrect trust boundary assumptions captured in execution logs. Parsing these trajectories extracts structured insights to prevent future agents from hitting the same dead-end.