Skip to main content

query-bfzs-db

Use when debugging bfzs application data, verifying session messages, checking agent presets, or inspecting tool call history. Triggers: user asks about sessions, messages, tool usage, or agent preset configuration in bfzs.

소스 정보

저장소
ydf0509/lc-agent
최근 소스 활동
2026년 7월 6일 04:39
감지된 SKILL.md 언어
영어
스타
6
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
query-bfzs-db
description
Use when debugging bfzs application data, verifying session messages, checking agent presets, or inspecting tool call history. Triggers: user asks about sessions, messages, tool usage, or agent preset configuration in bfzs.
# Query bfzs Database ## Overview Query the bfzs SQLite databases directly to inspect sessions, messages, agent presets, and tool call history — without needing the server running. ## When to Use - Debugging what tools/presets are actually being used in a session - Verifying message content without manual browser testing - Checking if the correct `preset_id` was applied to a session - Inspecting tool call history for a specific conversation ## Quick Reference | Command | Purpose | |---------|---------| | `--sessions [--limit N] [--search KEYWORD]` | List recent sessions, with optional keyword search | | `--presets` | List agent presets (all fields: model, prompt, tools, mcp, skills) | | `--users` | List users and their agent access permissions | | `--last` | Use the most recent session (shortcut) | | `--last --msgs` | UI messages for most recent session (fast, has usage) | | `--last --tools` | Tool calls for most recent session | | `--msgs <session-uuid>` | UI messages from chat_ui_messages table (fast, shows usage/traces) | | `<session-uuid>` | Full messages from LangGraph checkpoint | | `--tools <session-uuid>` | Tool calls only, from LangGraph checkpoint | | `--state` | Runtime MCP servers and tool groups status (server must be running) | ## Implementation ```powershell $Python = "D:\ProgramData\miniconda3\envs\py312\python.exe" $Script = "D:\codes\lc-agent\.agents\skills\query-bfzs-db\scripts\query_session.py" # Most common: see last session's UI messages & $Python $Script --last --msgs # List recent sessions & $Python $Script --sessions --limit 20 # Search sessions by title & $Python $Script --sessions --search "funboost" # List agent presets (all fields) & $Python $Script --presets # List users and permissions & $Python $Script --users # Full checkpoint messages for a specific session & $Python $Script "session-uuid-here" # Tool calls for a specific session & $Python $Script --tools "session-uuid-here" ``` ## Database Locations | DB | Path | Contents | |----|------|---------| | Data | `D:\codes\lc-agent-bfzs\bfzs_data.db` | sessions, agent_presets, users | | Checkpoint | `D:\codes\lc-agent-bfzs\bfzs_checkpoints.db` | LangGraph state with messages |
GitHub에서 보기