mantis-meta-agent
БесплатноБез исполняемых скриптовНе проверенActs as the persistent supervisor, launching and monitoring the automated review campaign. Use when running a long-running, continuous security review…
от google★ 2 881 звезда на GitHubОб этом скилле
Meta-Agent Orchestrator (/mantis-meta-agent)
System Goal
Autonomous Campaign Manager. Supervises the continuous review loop, ensures resilience, and monitors long-running security pipelines.
Command Definition
- Command:
/mantis-meta-agent - Description: Acts as the persistent supervisor, launching and monitoring the automated review campaign.
- Parameters:
--sync: OPT-IN boundary sync + snapshot pinning. When present (or when the user explicitly instructs a sync for this pass), synchronize the target with its upstream at the START of the pass (Block C) and pin an immutable per-pass snapshot (Block D). When ABSENT (the default), do NOT sync and do NOT pin: leaveactive_snapshot/snapshot_historyunwritten, leavesnapshot_pinnedunset, and run the pass against the live tree exactly as today (single static snapshot;--target_rootsemantics unchanged).--snapshot_keep=<N>: retention for pinned snapshots under<state_root>/.mantis_snapshots/(Block D step 6 GC). DEFAULT 2 (this pass + previous), safe because correctness never re-reads an older snapshot; raise it for patch/PoC rebasing against a finding's discovery snapshot.--state_root=<absolute path>: directory that containsworkspace/and.mantis_snapshots/. DEFAULT: the absolute path of the current working directory at meta-agent launch (i.e., the parent ofworkspace/). Ifstate_rootresolves insideCODE_ROOT(the colocated case — the default when launching from inside the target repo), Step 3 (PIN) MUST (a) HALT and yield to the user with a message to pass--state_rootoutsideCODE_ROOT— this is the DEFAULT and the only safe behavior without explicit opt-in. Auto-relocate (option b) is opt-in ONLY via an explicit--auto_relocate_stateflag (or an equivalent user instruction to auto-relocate for this pass); without it, never move user state. When the user has explicitly opted in, auto-relocate by movingworkspace/and.mantis_snapshots/to a sibling directory outsideCODE_ROOTand updatingstate_rootfor the remainder of the pass. This is the "colocated state" transition thatmantis-pipeline-adapterScenario 1 requires. The relocation is a MOVE (not copy-then-delete) and is skipped ifworkspace/.workspace_edit.lockis held (INV-5: no user data loss). The MOVE MUST be atomic on the same filesystem: move into a fresh temp dir under the sibling's parent, thenrename(2)to the final sibling path; refuse and HALT if the sibling already exists or the temp dir cannot be created (never clobber an existing directory). Ifrename(2)fails, leave the source untouched and HALT — do NOT fall back to copy-then-delete.--auto_relocate_state: OPT-IN flag. Whenstate_rootresolves insideCODE_ROOT(colocated state — the default when launching from inside the target repo), the default behavior is to HALT and yield to the user. Passing this flag (or giving an equivalent user instruction) authorizes the atomic-MOVE auto-relocate path described under--state_rootabove. Without it, never move user state.
Input/Output Contract
- Reads:
workspace/.mantis_state.json(to track current loop pass; and to readactive_snapshot/snapshot_historyfor snapshot provenance and Block E PREV-reference).- Individual JSON findings in
workspace/findings/(to verify states between subagent transitions, including each finding'spatch_statusfor the pre-sync backup-hygiene gate). workspace/.workspace_edit.lock(GATE A of the pre-sync backup-hygiene step: must be FREE before deleting stale*.bak-*files).CODE_ROOT/.mantis_snapshot_idsentinel (the snapshot reuse/STOP check in Block D step 0).
- Writes:
- Creates archive directory
workspace/archive/findings_pass_N/and moves finding JSON files and.trash/to it; and (Stage 15) COPIESworkspace/.mantis_state.jsonandworkspace/kb/(incl.THREAT_MODEL.md) into it as the pass boundary reference. - Updates
workspace/.mantis_state.json: incrementspass_number, updateslast_updated, and (always) refreshesvcs_info. When--syncwas requested this pass, also writesactive_snapshot({root, snapshot_id, snapshot_pinned, pass, vcs_type}) withsnapshot_pinnedreflecting reality (truewhen pinned,falsein HALT);snapshot_historyis appended by Block D step 5 (one entry per pass:{pass, snapshot_id, snapshot_pinned, timestamp}) — Step 4 RECORD below does NOT re-append. These new keys are defined inschema.json#/$defs/state; they are optional and absent in MODE-OFF (no--sync). - When
--syncpins a snapshot (Block D): materializes an immutable snapshot copy under<state_root>/.mantis_snapshots/pass_<N>/(deliberately OUTSIDE any/workspace/path segment, so manti
- Creates archive directory
Установить mantis-meta-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mantis-meta-agent?
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.
Как установить скилл mantis-meta-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mantis-meta-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic