Skill
Verification gating for AI-generated artifacts. Policy checks to catch dangerous patterns before execution.
meshailabs
@meshailabs
Install
$ openclaw skills install @meshailabs/moltblockmoltblock — Trust Layer for AI Agents
Description
Moltblock provides verification gating for AI-generated artifacts. It runs policy checks to catch dangerous patterns before they reach production.
What moltblock does:
- Generates artifacts via LLM API calls, then runs policy checks against the output
- Returns a structured verification result (pass/fail with evidence)
- Optionally reads config files (
moltblock.json,~/.moltblock/moltblock.json) if present — no config is required - API keys are read from environment variables at runtime and sent only to the configured LLM provider endpoint
- No code execution occurs — moltblock only performs policy checks on generated artifacts
When to Use
Use moltblock when the task involves:
- High risk (always verify): Destructive operations (
rm -rf,DROP TABLE), privilege escalation (sudo,chmod 777), credential/key access (.ssh/,id_rsa,.env), system modification, raw disk writes - Medium risk (verify when uncertain): Network requests (
curl,wget,fetch), file writes, database modifications, subprocess spawning, dynamic code evaluation - Low risk (skip verification): Simple text responses, math, reading public information, code that doesn't touch the filesystem or network
Tool: moltblock
Verify a task before execution.
Usage
npx moltblock@0.11.8 "<task description>" --provider <provider> --json
Parameters
| Parameter | Required | Description |
|---|---|---|
| task | Yes | The task description to verify |
| --provider | No | LLM provider: openai, google, zai, local (auto-detected from env) |
| --model | No | Model override |
| --json | No | Output structured JSON result |
Environment Variables
Moltblock auto-detects the LLM provider from whichever API key is set. If no key is set, it falls back to a local LLM at localhost:1234. Set one of these for a cloud provider:
OPENAI_API_KEY— OpenAI (primary)ANTHROPIC_API_KEY— Anthropic/Claude (optional)GOOGLE_API_KEY— Google/Gemini (optional)ZAI_API_KEY— ZAI (optional)
Example
# Verify a task
npx moltblock@0.11.8 "implement a function that validates email addresses" --json
Output (JSON mode)
{
"verification_passed": true,
"verification_evidence": "All policy rules passed.",
"authoritative_artifact": "...",
"draft": "...",
"critique": "...",
"final_candidate": "..."
}
Installation
Use directly with npx (recommended, no install needed):
npx moltblock@0.11.8 "your task" --json
Or install globally:
npm install -g moltblock@0.11.8
Configuration
No configuration file is required. Moltblock auto-detects your LLM provider from environment variables and falls back to sensible defaults.
Optionally, place moltblock.json in your project root or ~/.moltblock/moltblock.json to customize model bindings:
{
"agent": {
"bindings": {
"generator": { "backend": "google", "model": "gemini-2.0-flash" },
"critic": { "backend": "google", "model": "gemini-2.0-flash" },
"judge": { "backend": "google", "model": "gemini-2.0-flash" }
}
}
}
See the full configuration docs for policy rules and advanced options.
Source
- Repository: github.com/moltblock/moltblock
- npm: npmjs.com/package/moltblock
- License: MIT
Security
When used as a skill, moltblock performs policy checks only — no code is generated, written to disk, or executed. The tool analyzes task descriptions against configurable policy rules and returns a pass/fail verification result.
API key scope: Consider using a limited-scope API key dedicated to verification rather than a key with broader permissions.
Disclaimer
Moltblock reduces risk but does not eliminate it. Verification is best-effort — policy rules and LLM-based checks can miss dangerous patterns. Always review generated artifacts before executing them. The authors and contributors are not responsible for any damage, data loss, or security incidents resulting from the use of this tool. Use at your own risk.
Top skills in this category
novel-generator 是一个中文爽文小说生成技能。用户只需提供一句话方向(如"写个都市重生爽文"),AI 代理即可自动完善提示词、规划大纲、逐章创作并输出为独立 Markdown 文件。 核心特性: 智能提示词生成:从一句话方向自动补全世界观、人设、冲突、爽点设计 分章节创作:每章 2000-3000 字,层层递进,章章有爽点 记忆系统:通过 .learnings/ 记录角色、地点、情节、世界观,确保故事前后一致 情节图解:关键战斗、人物关系、势力分布自动生成 Mermaid 图 失败记录:穿帮、矛盾、崩塌等问题自动记录,持续优化 多题材支持:都市、修仙、玄幻、重生、系统流、末世、科幻、游戏 兼容 Claude Code、Cursor、OpenAI Codex、GitHub Copilot 等所有支持 Agent Skills 的工具。
@ityhg根据用户提供的内容方向自动生成提示词并创作爽文小说。适用场景:(1) 用户提供小说方向/题材/关键词,(2) 需要生成章节连贯的长篇爽文,(3) 需要维护角色、地点、情节的连续性,(4) 需要为关键情节生成图解,(5) 需要记录生成失败场景以优化后续创作。支持都市、修仙、玄幻、重生、系统流等多种题材。Use wh...
Skill Vetter
@spclaudehomeSecurity-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
Clawdhub
@steipeteUse the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.
SuperDesign
@mpociotExpert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Video Frames
@steipeteExtract frames or short clips from videos using ffmpeg.