persona-inspect

Community

Rapidly debug persona SQLite issues with one CLI.

Authorpear-studio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

When persona-related features behave unexpectedly, it’s hard to pinpoint whether the underlying SQLite data—especially cross-table aggregates and LLM trace records—is correct.

Core Features & Use Cases

  • Cross-table persona aggregation inspection: quickly view user persona “whole picture” including relationships, recent messages, score changes, and today’s usage.
  • LLM health and trace troubleshooting: inspect error distributions, latency percentiles, max_rounds, daily usage, and format round-level think/tool_call/tool_result details for the trace pipeline.
  • Schema discovery (DDL): list all persona_ prefixed tables’ DDL to support targeted diagnosis and verification.

Quick Start

Run the persona-inspect tool to fetch a user’s persona profile in the target bot database by executing a single command like: python scripts/dev/persona_inspect.py user <user_id> --bot-id <bot_id>.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: persona-inspect
Download link: https://github.com/pear-studio/nonebot-dicepp/archive/main.zip#persona-inspect

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.