| name | edge-verifier |
| description | Verifies relationships between a source text (e.g. Episode, Task) and existing Knowledge Graph lessons. Runs KNN/Hybrid search to find candidates, then uses LLM (scillm) to verify "verifies", "contradicts", or "related" stances with strict rationales.
|
| allowed-tools | Bash |
| triggers | ["verify edges","link content","generate relationships","schedule verification"] |
| metadata | {"short-description":"KNN + LLM verification for KG edges"} |
| provides | ["edge-verification"] |
| composes | ["scillm","task-monitor"] |
| taxonomy | ["validation","knowledge","precision"] |
Edge Verifier
This skill links new content to the existing Knowledge Graph by:
- Recall: Running a KNN/Hybrid search (
graph_memory.search) to find potential related lessons.
- Verify: Using
scillm (LLM) to audit the relationship, classifying it as verifies, contradicts, or neutral.
- Link: Creating verified
lesson_edges in ArangoDB.
Usage
Manual Execution
.pi/skills/edge-verifier/run.sh --source_id <ID> --text "Content to verify..."
.pi/skills/edge-verifier/run.sh --source_id <ID> --text "..." --type "episode_turn"
Scheduling (Scheduler Integration)
This skill is designed to be scheduled via the /scheduler skill for continuous verification of new memory artifacts.
Register with Scheduler
.pi/skills/scheduler/run.sh register \
--name "edge-verify-nightly" \
--cron "0 2 * * *" \
--command ".pi/skills/edge-verifier/run.sh --batch" \
--description "Nightly edge verification"
Jobs and logs are stored under ~/.pi/scheduler/. See .pi/skills/scheduler/SKILL.md for full options.
Prerequisites
.env must expose ArangoDB credentials.
CHUTES_API_KEY for LLM calls.