← Back to Skills Marketplace
hqzzdsda

Belief State Runtime

by hqzzdsda · GitHub ↗ · v1.0.0 · MIT-0
macoslinux ✓ Security Clean
21
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install belief-state-runtime
Description
LLM-driven epistemic reasoning engine. Evaluates claims against evidence, outputs calibrated confidence and structured belief state (VERIFIED/CONTESTED/UNCER...
README (SKILL.md)

belief-state-runtime.skill

Evaluates the trustworthiness of a claim based on evidence.

When to use

  • User asks "is this true?" or "can I trust this?"
  • Agent collects information from multiple sources and needs to assess reliability
  • Detecting contradictions between evidence pieces
  • Quantifying confidence in a conclusion

⚡ AUTO WORKFLOW (Default - Always Run This First)

IMPORTANT: When this skill is triggered, you MUST follow this workflow automatically:

from assess import get_assessment_prompt, assess_claim_with_response

# Step 1: SEARCH FOR EVIDENCE (MANDATORY)
# Use your search tool to find real, verifiable evidence about the claim.

# Step 2: Get the assessment prompt
prompt = get_assessment_prompt(claim="The claim", evidence="Search results + user's evidence")

# Step 3: YOU (the AI) answer the prompt with 6 boolean judgments
# Based on your search results and analysis:
#   - direct_support: Does the evidence support the claim?
#   - new_info: Does it provide new information?
#   - logical_consistent: Is it logically consistent?
#   - direct_refute: Does it explicitly refute the claim?
#   - limitation: Are there limitations or exceptions?
#   - error_outdated: Is the claim outdated or wrong?
#
# Your answer format:
#   {"direct_support": true/false, "new_info": true/false, ...}

# Step 4: Get final result
result = assess_claim_with_response(
    claim="The claim",
    evidence="Search results + user's evidence",
    llm_response='{"direct_support": true, ...}'  # YOUR judgment
)

# Step 5: Present the result to the user

Workflow Summary

Step Action Tool/Function
1 Search for evidence online-search / multi-search-engine
2 Get assessment prompt get_assessment_prompt(claim, evidence)
3 Make 6 judgments YOU (the AI)
4 Get result assess_claim_with_response(claim, evidence, llm_response)
5 Present to user Your response

How it works

  1. Search for evidence (MANDATORY): Use search tools to find real, verifiable evidence.
  2. Rule layer (Python): assess.py computes source reliability, evidence density, temporal freshness.
  3. LLM layer (YOU): The AI agent answers 6 boolean questions about the evidence.
  4. Aggregation (Python): Combines rule signals and your judgments into calibrated confidence.

Output

{
  "state": "VERIFIED",
  "confidence": 0.83,
  "confidence_range": [0.68, 0.98],
  "features": {"direct_support": true, ...},
  "summary": "Evidence strongly supports the claim"
}

States:

  • VERIFIED (confidence >= 0.65): Agent can cite this information
  • CONTESTED (0.25 \x3C confidence \x3C 0.65): Agent should note disagreement
  • UNCERTAIN (confidence \x3C= 0.25): Agent should seek more information

Files

  • assess.py — self-contained skill with your custom domain/keyword/threshold/weight rules
  • config.json — your configuration in JSON format

External Endpoints

None. This skill is a pure computation engine. All evidence search is delegated to the host Agent.

Security & Privacy

  • No API keys required
  • No external network calls
  • No user data collection
  • All computation runs locally

Compatible with OpenClaw · Claude Code · Codex · Cursor · GitHub Copilot.

Customized via belief-state-runtime configurator

Usage Guidance
Install only if you are comfortable with the agent searching for evidence when you ask it to verify claims. Treat the confidence output as advisory, especially when the claim or evidence may contain prompt-injection text, and prefer reviewing cited evidence yourself before relying on high-impact conclusions.
Capability Assessment
Purpose & Capability
The artifacts consistently describe and implement a belief-state/fact-verification workflow: score evidence quality, ask for six boolean judgments, and return VERIFIED/CONTESTED/UNCERTAIN with confidence.
Instruction Scope
The trigger language and mandatory search workflow are broad, so the host agent may perform evidence searches whenever the skill is invoked, but this is disclosed and aligned with claim verification.
Install Mechanism
The package contains SKILL.md, assess.py, and config.json only; no install script, dependency installation, subprocess execution, or package-manager behavior was found.
Credentials
The runtime requires Python and uses local computation; online evidence search is delegated to the host agent rather than performed by the code.
Persistence & Privilege
No persistence, background worker, privilege escalation, credential/session access, filesystem writes, or network-call implementation was found.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install belief-state-runtime
  3. After installation, invoke the skill by name or use /belief-state-runtime
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
belief-state-runtime 1.0.0 - Initial release of an LLM-driven epistemic reasoning engine for claim verification. - Evaluates claims against real evidence and outputs a structured belief state (VERIFIED, CONTESTED, UNCERTAIN) with calibrated confidence. - Implements a clear five-step workflow, including automated evidence gathering, boolean judgments, and result aggregation. - Designed for reliability checks, contradiction detection, and quantifying uncertainty. - All processing occurs locally—no external calls, API keys, or user data collection required.
Metadata
Slug belief-state-runtime
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Belief State Runtime?

LLM-driven epistemic reasoning engine. Evaluates claims against evidence, outputs calibrated confidence and structured belief state (VERIFIED/CONTESTED/UNCER... It is an AI Agent Skill for Claude Code / OpenClaw, with 21 downloads so far.

How do I install Belief State Runtime?

Run "/install belief-state-runtime" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Belief State Runtime free?

Yes, Belief State Runtime is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Belief State Runtime support?

Belief State Runtime is cross-platform and runs anywhere OpenClaw / Claude Code is available (macos, linux).

Who created Belief State Runtime?

It is built and maintained by hqzzdsda (@hqzzdsda); the current version is v1.0.0.

💬 Comments