/tma1:tma1-search runs instead · from tma1
Searches past agent sessions by keyword and reads session transcripts. Useful when an answer exists in a previous conversation — how something was fixed, what was decided, or what an agent tried before.
This skill never runs in Claude Code
It ships in tma1 at skills/, but /tma1:tma1-search (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
TMA1 keeps every agent session on this machine — yours and other agents' — in a local database. This skill is the read path: find the session, then read it.
/tma1-search retry backoff # keyword search, this project, last 7 days
/tma1-search flaky test --agent codex # only Codex's sessions
/tma1-search migration --days 30 # widen the window
/tma1-search pipeline --all-projects # every project, not just this one
/tma1-search --session 3d8f1d0a # read one session directly
--session takes a full id or a prefix of 6+ characters — the abbreviated
id in the <tma1-context> block works. Do not infer a session id from
a bare token: commit hashes look the same, and cp: ids don't look
like hex at all. Anything that isn't behind --session is search text.
mcp__tma1__search_sessions with:
query: the keyword text (everything that isn't a flag)agent_source: --agent value if given (codex /
copilot / claude / self); omit for every agentsince_min: --days N × 1440, default omitted (7 days)project: "*" when --all-projects is given; otherwise omitmcp__tma1__get_session_transcript with the session_id
from step 1. has_more: true means older messages exist; call again
with the returned next_offset if the answer isn't in this page.sessions[] — session_id, agent_source, last_activity_ago,
hit_count, and snippets[] (each a window around a match).match_mode — term is the indexed pass: whole words, case-sensitive.
substring means that pass found nothing, so the search widened to a
case-folded substring scan; results may include noise, say so.scope_truncated: true — this project has more sessions in the window
than the search scanned. Narrow with --agent or --days.note — present only when nothing matched. Say so plainly; don't invent
a plausible past session.The indexed pass matches whole words and is case-sensitive, so Cwd does
not find peerCwdFilter and neither does peercwdfilter. Search for the
identifier as it is written in the code. When that pass finds nothing the
search widens to a case-folded substring scan and tells you so with
match_mode: substring — that is the mode that rescues a mistyped case,
at the cost of noisier hits.
/tma1-peer.tma1 skill's exec_query.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/tma1Query TMA1 observability data (Claude Code, Codex, GitHub Copilot CLI, any OTel SDK). Use when the user asks: how much did I spend, token usage, what has my agent been doing, agent cost, show me traces, show me events, check for errors, model comparison, tool usage./tma1-peerList recent sessions on this project by agent — peer agents (Codex, Copilot CLI) or your own past sessions. Invoke when the user wants you to read another agent's review feedback, see what someone else tried, act on cross-agent context, or recall your own earlier work here. Trigger phrases: "what did codex do", "what did copilot do", "peer sessions", "cross-agent context", "what did I do earlier", "我之前在这个项目做了什么", "/tma1-peer"./tma1-setupInstall and configure TMA1 local observability (Claude Code, Codex, GitHub Copilot CLI, any OTel SDK). Use when the user says: install tma1, setup observability, monitor my agent, track token usage, set up telemetry.npx claudepluginhub tma1-ai/tma1 --plugin tma1Other plugins' skills for the same job