deepagents-thread-inspector
Inspect and explain conversations in the local Deep Agents Code SQLite session store.
Skill by langchain-aiOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/langchain-ai-deepagents-thread-inspector
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: monitoring-observability, debugging
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/deepagents-thread-inspector
What's inside
- Skill name
deepagents-thread-inspector- Description
- Inspect and explain conversations in the local Deep Agents Code SQLite session store. Use to look up the current thread's title or name, as a fallback when LangSmith trace tooling is unavailable, for offline or untraced sessions, or when asked to identify or summarize a local dcode thread, inspect checkpoint metadata, list recent local threads, or parse $DEEPAGENTS_HOME/.state/sessions.db and a thread UUID or prefix.
- License
- MIT
- Compatibility
- designed for deepagents-code
- Instructions
- 49 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- inspect_sessions.py · scripts/
SKILL.md (first lines)
# Deep Agents Thread Inspector For conversation inspection, prefer LangSmith tooling when available for a traced thread. For saved thread titles, use the local store. Use `scripts/inspect_sessions.py` instead of manually decoding database blobs. It opens the database read-only and deserializes the root message channel with LangGraph's strict MsgPack loader — reading the materialized messages from the latest checkpoint, or replaying writes in checkpoint order when that fast path is unavailable — and emits JSON. ## Look up the current thread's title Call `get_current_thread_id` to identify this conversation, then run the script with that ID and `--mode summary` as shown below. Read `thread.thread_name`: it contains the saved title, including manual renames, with a fallback to the latest root checkpoint's name for older stores. If it is `null`, report that the thread has no saved title. If the current ID is unavailable, ask for it; do not infer the current thread from the most recent entry in the thread list. ## Inspect local state Resolve `SKILL_DIR` to the directory containing this `SKILL.md`; do not assume a user, project, or installation-specific location. Start with the smallest useful view: ```bash python3 "$SKILL_DIR/scripts/inspect_sessions.py" THREAD_ID --mode latest-turn ``` A unique thread-ID prefix is accepted. Select another view when needed: ```bash python3 "$SKILL_DIR/scripts/inspect_sessions.py" THREAD_ID --mode summary python3 "$SKILL_DIR/scripts/inspect_sessions.py" THREAD_ID --mode transcript ``` Use `--include-metadata` only when run, repository, model, checkpoint, or LangGraph metadata matters. Use `--max-content N` to raise or lower the default 4,000-character limit per message, tool result, or tool-call argument. If the user does not know the ID, list recent threads first: ```bash python3 "$SKILL_DIR/scripts/inspect_sessions.py" --list 20 ``` Pass `--db PATH` only for a non-default session store. The default is `$DEEPAGENTS_HOME/.state/sessions.db`, or `~/.deepagents/.state/sessions.db` when that variable is unset. `DEEPAGENTS_SESSIONS_DB` overrides both. The script applies the same rules dcode does, so a relative or `~user` value is rejected rather than resolved to a database dcode never writes. ## Explain the result Synthesize the JSON rather than pasting it verbatim. - State the user's request, the assistant's conclusion, and significant tool actions or failures. - Distinguish stored facts from your interpretation. - For the latest turn, describe only the final user message and subsequent activity unless earlier context is required to make it understandable. - Mention truncation when a relevant record has `content_truncated` or `args_truncated` set. - Surface reconstruction problems when the result includes a top-level `warnings` array (for example, a corrupt checkpoint, a skipped write, or malformed metadata) so conclusions are appropriately hedged. - Do not expose unrelated credentials, tokens, personal data, or hidden reasoning that may appear in local records. ## Safety Keep inspection read-only. Do not deserialize an untrusted database: checkpoint deserialization is intended for trusted local Deep Agents state. Do not mutate or delete session rows unless the user separately and explicitly requests it.
From langchain-ai/deepagents, MIT.
More from langchain-ai/deepagents
- 0.872score
configuration-hardening
langchain-aiOfficial
Review Talon tool placement and defensive prompts when requested or when adding or changing tools or subagents; apply confirmed changes and verify active…
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.870score
skill-creator
langchain-aiOfficial
Guide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool integrations.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
schema-exploration
langchain-aiOfficial
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
gpu-document-processing
langchain-aiOfficial
Use when processing large PDFs, document collections, or bulk text extraction tasks that benefit from GPU-accelerated processing.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
query-writing
langchain-aiOfficial
Writes and executes SQL queries from simple SELECTs to complex multi-table JOINs, aggregations, and subqueries.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
web-research
langchain-aiOfficial
Searches multiple web sources, synthesizes findings, and produces cited research reports using delegated subagents.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
social-media
langchain-aiOfficial
Drafts engaging social media posts, writes hooks, suggests hashtags, creates thread structures, and generates companion images.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
langgraph-docs
langchain-aiOfficial
Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
arxiv-search
langchain-aiOfficial
Searches arXiv for preprints and academic papers, retrieves abstracts, and filters by topic.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
remember
langchain-aiOfficial
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback —…
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
data-visualization
langchain-aiOfficial
Use for creating publication-quality charts and multi-panel analysis summaries.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
cuml-machine-learning
langchain-aiOfficial
Use for GPU-accelerated machine learning on tabular data using NVIDIA cuML.
SkillAFreshness: A★ 30.6KClaude Code +9
Signals
- Stars
- 30,550
- Forks
- 4,302
- Open issues
- 163
- Last commit (this folder)
- Oct 22, 2026 (5 days ago)
- Last release
- Oct 23, 2026 (3 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/langchain-ai/deepagents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from langchain-ai
- 0.872score
configuration-hardening
langchain-aiOfficial
Review Talon tool placement and defensive prompts when requested or when adding or changing tools or subagents; apply confirmed changes and verify active…
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.870score
skill-creator
langchain-aiOfficial
Guide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool integrations.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
social-media
langchain-aiOfficial
Drafts engaging social media posts, writes hooks, suggests hashtags, creates thread structures, and generates companion images.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
schema-exploration
langchain-aiOfficial
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
web-research
langchain-aiOfficial
Searches multiple web sources, synthesizes findings, and produces cited research reports using delegated subagents.
SkillAFreshness: A★ 30.6KClaude Code +9 - 0.869score
langgraph-docs
langchain-aiOfficial
Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns.
SkillAFreshness: A★ 30.6KClaude Code +9
Cite this page
deepagents-thread-inspector skill. Agent Mart. https://agentmart.dev/skills/langchain-ai-deepagents-thread-inspector (last updated 2026-10-24)