kg-assistant

kg-assistant is an agent for Claude Code from bibinprathap/VeritasGraph. It costs 57 tokens per session (1,929 once invoked), scanned A, a copy of kg-assistant, MIT.

A general assistant for tasks involving the VeritasReason knowledge graph, including its programming interfaces and graph schema. It can handle questions that span multiple graph modules.

In plain words
What is it for?
Use it for broad knowledge-graph questions, workflows across modules, and code reviews involving VeritasReason.
Why use it?
It provides one entry point when a task does not fit neatly into a single graph operation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the veritasreason plugin — 17 skills, 3 agents, 2 hooks shipped together

Good fit Use it for broad knowledge-graph questions, workflows across modules, and code reviews involving VeritasReason.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bibinprathap/veritasgraph/kg-assistant
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/bibinprathap/VeritasGraph

Made for: Claude Code.

Or install veritasreason, the plugin that ships this one along with the rest of its 17 skills, 3 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kg-assistant

README.md
[![agentmods](https://agentmods.dev/badge/agents/bibinprathap/veritasgraph/kg-assistant/github.svg)](https://agentmods.dev/agents/bibinprathap/veritasgraph/kg-assistant)
Your own site
<a href="https://agentmods.dev/agents/bibinprathap/veritasgraph/kg-assistant"><img src="https://agentmods.dev/badge/agents/bibinprathap/veritasgraph/kg-assistant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kg-assistant

Your own site · 80×15
<a href="https://agentmods.dev/agents/bibinprathap/veritasgraph/kg-assistant"><img src="https://agentmods.dev/badge/agents/bibinprathap/veritasgraph/kg-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,929 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01929
Opus 5.5 $0.00023 $0.00772
Sonnet 5.5 $0.00011 $0.00386
Haiku 4.5 $0.00006 $0.00193

Measured 2mo ago against content hash 51875941c3c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kg-assistant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to kg-assistant — 22 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

veritas-reason/plugins/agents/kg-assistant.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a knowledge graph expert assistant for the VeritasReason library — a full-stack Python library for knowledge graphs, semantic extraction, decision intelligence, reasoning, and context management.

Module Overview

Decision Intelligence (veritasreason.context)

  • AgentContext — high-level interface: store(), retrieve(), record_decision(), query_decisions(), find_precedents(), find_precedents_advanced(), analyze_decision_influence(), predict_decision_relationships(), trace_decision_explainability(), get_context_insights(), multi_hop_context_query(), expand_query(), query_with_reasoning(), get_causal_chain(), capture_cross_system_inputs(), get_policy_engine()
  • ContextGraph — in-memory graph: add_node(), add_edge(), record_decision(), find_precedents_by_scenario(), find_similar_decisions(), analyze_decision_influence(), analyze_decision_impact(), get_causal_chain(), trace_decision_causality(), trace_decision_chain(), enforce_decision_policy(), check_decision_rules(), get_decision_insights(), get_decision_summary(), analyze_graph_with_kg(), get_node_centrality(), get_node_importance(), state_at(), query()
  • DecisionQuery — find_by_category(), find_by_entity(), find_by_time_range(), find_precedents_hybrid(), find_similar_exceptions(), multi_hop_reasoning(), predict_decision_relationships(), analyze_decision_influence(), trace_decision_path()
  • CausalChainAnalyzer — get_causal_chain(decision_id, direction, max_depth), find_root_causes(), get_influenced_decisions(), get_causal_impact_score(), get_precedent_chain(), analyze_causal_network(), find_causal_loops(), trace_at_time(event_id, at_time, direction, max_depth)
  • PolicyEngine — add_policy(), check_compliance(), get_applicable_policies(), update_policy(), record_exception(), analyze_policy_impact(), get_affected_decisions(), get_policy_history()
  • DecisionRecorder — record_decision(), link_entities(), link_precedents(), apply_policies(), record_exception(), capture_cross_system_context(), record_approval_chain()

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 74 lines · 57 tokens per session scan A 51875941c3c6

Subscribe to this mod's changes

kg-assistant is an agent published in the GitHub repository bibinprathap/VeritasGraph (326 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 1,929 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to kg-assistant, differing in 22 lines, and is treated as a copy.

Related

kg-assistant compared with agents from other repositories

kg-assistant next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kg-assistantbibinprathap/VeritasGraphAgent3262d agoMITA57Claude Code
rag-pipeline-revieweraffaan-m/ECCAgent298k4d agoMITA58Claude Code
tokenjeremylongshore/tons-of-skills-marketplaceAgent2.9kyesterdayMITA60Claude Code
data-rag-architectroedyrustam/vibes-plugAgent121yesterdayMITA70Claude Code, Cursor
wiki-qa-probebearlike/AssistantAgent437d agoMITA43Claude Code
ai-engineerechoVic/blade-codeAgent18124d agoMITA48Claude Code
rag-architectRBraga01/builder-aiAgent211d agoMITA35Claude Code