
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
falsify-skill
Advanced tools
The scientific thinking protocol for AI agents — falsify before you believe. 5-stage falsification skill (axioms → hypothesis → adversarial → verify → converge) for Codex, Claude Code, Cursor, Gemini CLI & 20+ agents. Dual-model evals 26/28. 五段式科学思维协议:公理
The scientific thinking protocol for AI agents. Falsify before you believe.
像一流科学家一样思考:先证伪,再相信;先标不确定,再下结论。
falsify is a single-Markdown skill that installs a 5-stage scientific thinking protocol on any AI agent (Codex, Claude Code, DeepSeek Harness, Cursor, Gemini CLI, …). It stops the agent from giving confident answers it cannot falsify.
The Iron Law:
NO VERDICT WITHOUT A FALSIFIABLE HYPOTHESIS.
没有可证伪的假设,就没有结论。
| Before (typical agent) | After (falsify) | |
|---|---|---|
| Architecture question | Confident pro/con list → "Redis is a great fit" | Axioms → assumptions flagged → "I am 40% sure, because we have no volume data; cheapest first step is measuring, not adding Redis" |
| Bug diagnosis | "Probably a memory leak" | Hypothesis → adversarial check (deploy window? coincidence?) → evidence → calibrated verdict + residual risk |
| Data claim | "Yes, X is 5x faster" | Demands benchmark definition → labels claim hearsay if unverifiable → refuses to state it as fact |
| "Is this the best approach?" | Answers "yes, it's best" | Rewrites "best" as unfalsifiable → answers "best for [criteria] under [constraints]" |
Copy/paste into your CLI prompt (works for any agent that supports skills):
Install the falsify skill from https://github.com/263311487-ux/falsify, refer to the repo's AGENTS.md for instructions.
Or with the skills CLI:
npx skills add 263311487-ux/falsify
Or from npm (installs the SKILL.md into Codex and Claude Code skill dirs automatically):
npx falsify-skill
npm i -g falsify-skill && falsify-skill
Or manually: clone the repo and copy SKILL.md into your agent's skills directory
(~/.codex/skills/falsify/, ~/.claude/skills/falsify/, .cursor/skills/falsify/, …).
The npm package is a falsification coach, not just an installer — paste any claim and it walks it through the protocol:
npx falsify-skill "这个慢查询显然是缓存的问题,把缓存修了就好。"
# ① Red-flag words → 显然 detected — exactly the words the protocol distrusts
# ② Mode routing → Depth (high-stakes, acted-on)
# ③ Iron Law rewrite → if [H] then I should observe [O]; if ¬O, H is dead
# ④ Five-stage gap → 5/5 missing (axiomatize → hypothesize → adversarialize → verify → converge)
# ⑤ Upgrade template → rivals, prediction, kill condition, evidence grade, confidence
Works in English too, and is scriptable:
npx falsify-skill "The API is definitely the fastest solution"
npx falsify-skill --json "肯定是内存泄漏" # machine-readable verdict for CI / scripts
echo "restart fixed it, no need to dig deeper" | npx falsify-skill
It's a heuristic template, not an LLM judge — it reminds you what the protocol demands. The full protocol installs into your agent:
npx falsify-skill --install
falsify is distilled from 70+ community sources and backed by academic work on how agents should reason:
The five stages (SKILL.md is the full protocol):
公理化 Axiomatize → separate axioms / assumptions / hearsay
假设化 Hypothesize → if [H] then we observe [O]; if [¬O], H is dead
对抗 Adversarialize → steelman the opponent, attack yourself first
验证 Verify → hunt disconfirming evidence, grade it, run the cheapest test
收束 Converge → calibrated verdict, remaining unknowns, lesson to the ledger
references/mental-models.md.templates/thinking-ledger.md) so reasoning is auditable.evals/ ships 28 cases + rubric so you can verify the skill changes behavior.See evals/cases.md and evals/rubric.md. Threshold: pass = 12/18 with no violation of the Iron Law.
Real-community cross-validation (external dogfood) is documented in evals/dogfood-external-20260827.md: 4 real questions from GitHub issues and Stack Overflow, 4/4 passed, and 3/3 cases with a known ground truth matched reality.
Confirmed in a live incident (2026-09): during home-assistant/core#181420 — the Aladdin garage-door leak where strangers' doors appeared in users' Home Assistant — the protocol kept two hypotheses open (local credential mix-up vs. server-side cross-tenant leak) and pointed to one discriminating test. The vendor (Genie) subsequently confirmed rolling back a server-side change they suspect caused it — the server-side hypothesis survived, the local one was excluded. Full write-up: evals/dogfood-cli-20260907.md.
Cross-model proof (2026-08-27, v0.8.3): the full 28-case suite is run on two external DeepSeek models — not our own agent — in both directions:
deepseek-reasoner generator × deepseek-chat judge → 26/28 pass, avg 15.3/18deepseek-chat generator × deepseek-reasoner judge → 26/28 pass, avg 16.4/18The two rounds fail on disjoint cases (reasoner: 3/9; chat: 6/22); each failing case was regenerated manually and produced protocol-compliant output, so the failures are single-run variance, not stable protocol gaps. This round also fixed a real routing gap the reasoner exposed (live incidents must act at ~70% confidence, not run the full protocol) via a mandatory MODE SELECTION gate. Reproduce in one command: DEEPSEEK_API_KEY=... node evals/run_evals.mjs --model deepseek-reasoner. Reports: evals/results/deepseek-reasoner-2026-08-27.md · evals/results/deepseek-chat-2026-08-27-final.md.
Deployment note (reasoner-class models):
reasoning_contentandcontentshare themax_tokensbudget; on very deep debugging questions the reasoner can spend the entire budget on reasoning and return empty content (observed at 6k–16k tokens). Set a generousmax_tokens, add a retry-on-empty policy, or preferdeepseek-chatfor latency-constrained deployments.
The best coding agents are already excellent at producing answers. They are less good at not believing their own answers. falsify borrows the only epistemology that has a 400-year track record of not lying to itself — the scientific method — and turns it into five stages an agent can actually run.
Built on a simple inheritance: 公理 → 假设 → 对抗 → 验证 → 收束. Axiom → Hypothesis → Adversarialize → Verify → Converge.
falsify is one leg of a three-part workflow: think → verify → present.
Install any of them in one command:
npx skills add 263311487-ux/falsify
npx dsh-verify
npx imprint
MIT. See LICENSE.
FAQs
The scientific thinking protocol for AI agents — falsify before you believe. 5-stage falsification skill (axioms → hypothesis → adversarial → verify → converge) for Codex, Claude Code, Cursor, Gemini CLI & 20+ agents. Dual-model evals 26/28. 五段式科学思维协议:公理
We found that falsify-skill demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.