tracecat: Command for Claude Code

.claude/commands/reparent.md

reparent is a command for Claude Code from TracecatHQ/tracecat. It costs 0 tokens per session (896 once invoked), scanned A, original, AGPL-3.0.

A command for reorganising Alembic database migrations when a project has multiple migration endpoints, called heads, instead of one linear history.

In plain words
What is it for?
Use it to rebase Alembic migrations into a single ordered sequence after parallel database changes have created multiple heads.
Why use it?
It addresses conflicting migration branches that can make it unclear which database change should run next.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is TracecatHQ/tracecat's own configuration. It tells Claude Code how to work on tracecat itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tracecat configures →

About the project

Tracecat is an open-source security automation platform where teams and AI agents build agents, workflows, cases, tables, and integrations. Security teams use it to automate operational work, either through its managed service or by self-hosting. The catalogue entries provide skills, commands, instructions, and settings for working with Tracecat.

TracecatHQ/tracecat · 3,856 stars · on GitHub · tracecat.com

Reuse

Borrowing it

Nothing to install: this file belongs to TracecatHQ/tracecat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TracecatHQ/tracecat/main/.claude/commands/reparent.md
Clone the repo
git clone --depth 1 https://github.com/TracecatHQ/tracecat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reparent

README.md
[![agentmods](https://agentmods.dev/badge/commands/tracecathq/tracecat/reparent/github.svg)](https://agentmods.dev/commands/tracecathq/tracecat/reparent)
Your own site
<a href="https://agentmods.dev/commands/tracecathq/tracecat/reparent"><img src="https://agentmods.dev/badge/commands/tracecathq/tracecat/reparent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reparent

Your own site · 80×15
<a href="https://agentmods.dev/commands/tracecathq/tracecat/reparent"><img src="https://agentmods.dev/badge/commands/tracecathq/tracecat/reparent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 896 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00896
Opus 5.5 $0.00000 $0.00358
Sonnet 5.5 $0.00000 $0.00179
Haiku 4.5 $0.00000 $0.00090

Measured 1mo ago against content hash 876ad6880fac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reparent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/reparent.md · 84 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 84 lines · 0 tokens per session scan A 876ad6880fac

Subscribe to this mod's changes

reparent is a command published in the GitHub repository TracecatHQ/tracecat (3,856 stars, last pushed today), licensed AGPL-3.0. It costs nothing until one of its globs matches a file; then it loads 896 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories

review

Review code changes against project conventions.

vstorm-co/full-stack-ai-agent-template · 6 tokens

convert

Convert a file from one format to another, routed by media category. Documents (PDF/HWP/HWPX/HWPML) extract to Markdown via oma-pdf/oma-hwp; images, video, and audio transcode to a target format via ffmpeg.

first-fluke/fullstack-starter · 54 tokens

docs

Documentation drift detection and sync via oma-docs. Verify mode finds broken refs in all repo markdown (default glob /.md), sync mode proposes patches for docs affected by a git diff, i18n mode surfaces stale translations, and lint mode checks CJK em-dash style plus wrong-language placeholders across all locales.

first-fluke/fullstack-starter · 67 tokens

explain

Drive a diff/PR/branch or a topic → self-contained interactive HTML explainer via the oma-explanation skill. Resolves the target, writes a draft, renders it with oma explain render, runs secret gates and validation, saves under .agents/results/explain/, and reports TL;DR plus path.

first-fluke/fullstack-starter · 62 tokens

recap

Daily or period recap via oma-recap. Resolves a date or window from natural language, invokes oma recap --json, delegates theme analysis and Markdown formatting to the skill, and reports a TL;DR plus saved path.

first-fluke/fullstack-starter · 47 tokens

video

Agent-native, key-optional video generation workflow that turns a brief into a finished MP4 — script → parallel asset generation (voice/visual/caption) → render-spec → HyperFrames compositor (MPT alternative) → QA loop → output + manifest.

first-fluke/fullstack-starter · 50 tokens