Analyzes the repository's version control system (VCS) history to extract past vulnerabilities, security fixes, and vulnerability patterns. Use as an initial pre-processing step to build a historical vulnerabilities database (workspace/historical_learnings.jsonl) that informs subsequent stages about past issues and fixes. Don't use for code reviews, writing test scripts, or patching code.
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
Time estimate: 15-45 minutes depending on use case complexity
Prerequisites
Submit your Claude Code skill and start earning
epx add google/mantis/mantis-historyCompatible with
Supported agents
| name | mantis-history |
| description | >- Analyzes the repository's version control system (VCS) history to extract past vulnerabilities, security fixes, and vulnerability patterns. Use as an initial pre-processing step to build a historical vulnerabilities database (workspace/historical_learnings.jsonl) that informs subsequent stages about past issues and fixes. Don't use for code reviews, writing test scripts, or patching code. |
Historical Vulnerability Extractor. Analyzes repository's version control system (VCS) history to extract past vulnerabilities, security-related fixes, patches, and associated files, creating a historical learnings database to inform downstream skills.
/mantis-historyworkspace/historical_learnings.jsonl).workspace/.mantis_state.json (to track current loop pass).mantis-summary.md (optional, if available).workspace/historical_learnings.jsonl.revision_ids, skipping any already processed commits.Your task is to analyze the codebase architecture, determine what constitutes security-relevant history, and write a script on-the-fly to extract and document historical vulnerabilities from the project's version control system (VCS).
Execute the history analysis stage as follows:
Phase 1: Analyze Codebase and Define Target History:
mantis-summary.md if available) or
quickly inspect the root codebase structure to understand the primary
files, programming languages, and core components.Phase 2: Write a History Extraction Script:
workspace/.mantis_state.json and resolve the current ISO 8601
timestamp.revision_id to whether it was
analyzed. If a revision has already been processed and cached, skip
it. This makes repeated historical analyses instant and zero-cost.workspace/historical_learnings.jsonl, matching
the following format:workspace/historical_learnings.jsonl){
"revision_id": "...",
"title": "...",
"description": "...",
"code_paths": ["file:line_number"],
"vuln_type": "...",
"mitigation_diff": "...",
"cve": "...",
"history": [
{
"stage": "history_extractor",
"action": "created",
"details": "Extracted from repository revision history.",
"pass_number": <current_pass_number>,
"timestamp": "<current_iso8601_timestamp>"
}
]
}
workspace/historical_learnings.jsonl file.workspace/historical_learnings.jsonl has been written successfully and
contains extracted data.When complete, notify the user.
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionmantis-historyExecute the skills CLI command in your project's root directory to begin installation:
epx add google/mantis/mantis-historyFetches mantis-history 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:
.cursor/skills/mantis-history
Restart Cursor to activate mantis-history. Access via /mantis-historyin your agent's command palette.
Learn more:View source on GitHubSkills CLI docsAbout CursorWhat are agent skills?
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-dedupe
google/mantis · security · same repo
mantis-chain
google/mantis · security · same repo
mantis-report
google/mantis · security · same repo
go-rust-reverse
zhaoxuya520/reverse-skill · security · same category
ida-reverse
zhaoxuya520/reverse-skill · security · same category
ghidra-reverse
zhaoxuya520/reverse-skill · security · same category
I recommend mantis-history for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Solid pick for teams standardizing on skills: mantis-history is focused, and the summary matches what you get after install.
We added mantis-history from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
mantis-history reduced setup friction for our internal harness; good balance of opinion and flexibility.
Solid pick for teams standardizing on skills: mantis-history is focused, and the summary matches what you get after install.
mantis-history is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
We added mantis-history from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
mantis-history reduced setup friction for our internal harness; good balance of opinion and flexibility.
We added mantis-history from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Solid pick for teams standardizing on skills: mantis-history is focused, and the summary matches what you get after install.
showing 1-10 of 74