Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By zaxardery8011-designMITIn 1 marketplace
Checks whether an AI agent kept its working agreements, from logged belief revisions to decisions carried into CLAUDE.md. Needs PowerShell 7 or newer.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Lint rules for your AI agent's discipline, not its code.
I've run a personal AI agent 24/7 since May 2026. The code was fine. The failures were discipline. It said "fixed and verified" without verifying, silently reversed its own judgments, and made policy decisions that rotted in memory while its behavior drifted back to old habits.
Code linters catch style violations. Memory tools catch broken links and stale notes. Harness linters (e.g. AgentLint) check that your rules files are well-written. soplint checks something else: did the agent actually keep the working agreements you made with it?
Start with the engine first. soplint is the guardrail, not the runtime: it audits discipline after you already have an agent that can run. If you want a local agent that can take tasks, run workers, and leave file-based evidence, start with aiwff-runtime. 中文入口: 本機任務引擎導入頁。
Three mechanisms, all extracted from four months of real incidents:
Every time your agent overturns a prior judgment, it must log it:
Import-Module ./lib/BeliefLog.psm1
Add-BeliefRevision -From "Assumed the cache layer was thread-safe" `
-To "Race confirmed under load; needs a lock" `
-Trigger estimate_correction -ConfidenceShift "high->low"
One JSON line per revision (from_belief, to_belief, trigger, confidence_shift), appended to a greppable JSONL file. The trigger field is a deliberate enum. Free-text triggers turn an audit log into noise.
Why external file instead of a prompt rule? Because prompt rules fail. I watched my agent violate a written "acknowledge belief changes" rule three times in one day. An agent can ignore an instruction silently; a missing or stale log file is loud. A lint check audits that the log is actually being written. (Could an agent with write access fake entries? Technically yes. That's a far higher bar than ignoring a prompt, and fakes leave greppable inconsistencies.)
pwsh -NoProfile -File bin/soplint.ps1
| Check | What it catches | The incident behind it |
|---|---|---|
decision_propagation | A "new default" decision written to memory but never propagated to your agent's operating instructions (CLAUDE.md) | A dispatch-policy decision rotted in memory for two weeks while every fresh session did the old thing |
belief_revision_audit | The belief log not being written (lint the audit itself) | An audit nobody audits is decoration |
memory_frontmatter | Memory files missing required metadata | Unsearchable memories are write-only memories |
index_health | Memory index oversized or with duplicate entries | A bloated index silently truncates what your agent loads each session |
Each check exits non-zero on failure, so wiring into CI or a cron job is trivial. Failures should land somewhere your agent has to face them. An inbox, a ping, a blocked merge.
hooks/pretool-guard.ps1 runs as a PreToolUse hook. For shell commands, it reduces the PowerShell input to AST command signatures before applying external deny/novelty regex rules, avoiding common quoted-string false positives. This is a guardrail, not a sandbox. Rules live in external JSON:
See rules/guard-rules.example.json for the expected rule-file shape.
Scope: the AST parse understands PowerShell commands. If your agent shells out through bash or python, you need an equivalent parser on that side. The deny-rules JSON is portable, the parser is not.
# 1. Configure
Copy-Item soplint.config.example.json soplint.config.json
# edit paths: memory_dir, claude_md_path, beliefs_log, index_file
# 2. Run the checks
pwsh -NoProfile -File bin/soplint.ps1
# 3. Run the test suite
pwsh -NoProfile -File tests/run_all_tests.ps1
Requires PowerShell 7+ (runs on Linux / macOS / Windows. CI covers all three). See examples/CLAUDE.md.example for the SOP block to paste into your agent's instructions.
One-line install as a Claude Code plugin:
/plugin marketplace add zaxardery8011-design/soplint
That registers the marketplace and the soplint skill. The skill checks PowerShell 7, writes soplint.config.json with your agent's paths, runs bin/soplint.ps1, and reports pass/fail.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub zaxardery8011-design/soplint --plugin soplintPlugins from other owners that cover similar ground