Agent skill
edge-verifier
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/edge-verifier
Metadata
Additional technical details for this skill
- short description
- KNN + LLM verification for KG edges
SKILL.md
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 asverifies,contradicts, orneutral. - Link: Creating verified
lesson_edgesin ArangoDB.
Usage
Manual Execution
# Verify edges for a specific source text
.pi/skills/edge-verifier/run.sh --source_id <ID> --text "Content to verify..."
# With explicit options
.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
.envmust expose ArangoDB credentials.CHUTES_API_KEYfor LLM calls.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?