원클릭으로
tidy
Audit and consolidate Larvling's knowledge base, tasks, and sessions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Audit and consolidate Larvling's knowledge base, tasks, and sessions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | tidy |
| description | Audit and consolidate Larvling's knowledge base, tasks, and sessions |
Schema:
topics (id INTEGER PK AUTO, title TEXT NOT NULL, domain TEXT NOT NULL, tags TEXT NOT NULL, created TEXT, updated TEXT)statements (id INTEGER PK AUTO, topic_id INTEGER FK→topics(id), claim TEXT NOT NULL, created TEXT, updated TEXT)tasks (id INTEGER PK AUTO, title TEXT NOT NULL, domain TEXT NOT NULL, status TEXT [open|done|dropped], priority TEXT [low|medium|high], horizon TEXT [now|soon|later], metadata TEXT, created TEXT, updated TEXT)updates (id INTEGER PK AUTO, task_id INTEGER FK→tasks(id), content TEXT NOT NULL, timestamp TEXT)sessions (id TEXT PK, started_at TEXT, ended_at TEXT, duration_min REAL, title TEXT, agent_summary TEXT, exchange_count INT, tags TEXT, ...)Run SQL via:
$PY "${CLAUDE_PLUGIN_ROOT}/scripts/query.py" "<SQL>"
Create tasks to track the audit phases so the user sees progress:
Delegate the full audit to the knowledge-maintenance agent. It will inspect each area, identify issues (duplicates, stale entries, misclassifications, contradictions, orphaned or empty rows), propose changes via AskUserQuestion, and apply only what the user approves.
Once the agent completes, present a brief before/after summary. Do not send follow-up messages to the agent after it finishes.
**Maintenance Complete**
- Knowledge: merged 2 duplicate topics, updated 3 classifications
- Tasks: dropped 4 stale open tasks, merged 1 duplicate
- Sessions: retitled 2, flagged 1 empty for cleanup
- Before: 12 topics, 45 statements, 18 tasks (9 open), 30 sessions
- After: 10 topics, 45 statements, 18 tasks (5 open), 30 sessions
REQUIRED: You MUST call AskUserQuestion (type: Decision) with these options after presenting the maintenance summary. Do not end your response without this menu:
Query, insert, update, or inspect tables in the larvling SQLite database (larvling.db). Use when the user asks to search sessions, messages, topics, statements, tasks, or updates, run reports, or interact with the larvling database.
Show a quick overview of Larvling's state
Export a session conversation to markdown
Remove stored knowledge from Larvling's memory
Search or list knowledge stored in Larvling's memory
Store knowledge that Larvling will remember across sessions