Mine9

The i-have-adhd Plugin: A Smart Contract Architect's Verdict on Prompt Engineering's Hidden Liabilities

BitBlock
Special
1100 GitHub stars for a 10-line prompt template. That's not a tool. That's 1100 developers confessing they can't get Claude to stop talking. In DeFi, we call that a liquidity drain. You burn gas on verbose outputs, waste time on pleasantries, and lose focus on the execution. The "i-have-adhd" Claude Code Skill promises to fix that. But as someone who audits smart contracts for a living—who has watched entire protocols collapse because a single integer overflow slipped past a team's best intentions—I see the same composability risks here that we flag in flash loan attacks. Code is law, but audit is mercy. And this plugin has never been audited. The plugin is a System Prompt template: ten rules designed to force Claude's output into a terse, action-oriented format. "First line directly provides action." "Eliminate pleasantries." "Assume the reader knows the context." "Remove redundant filler." "Move less relevant items to the end." "Limit list to 5 items." "Avoid markdown unless needed." "Keep code snippets minimal." "Do not repeat what the user already said." "End with a clear next step." That's it. No model retraining. No fine-tuning. No cryptographic proof that the output is correct. Just a layer of instructions stacked on top of a black-box inference engine. From my seat—someone who led the 2017 2x Capital audit, where a leverage calculation bug nearly drained $15M—this feels familiar. The plugin optimizes for speed and brevity. So did the 2x contract. It skipped error checks to save gas. It paid the price. The i-have-adhd ruleset optimizes for developer throughput. But it ignores the core principle of any secure system: verifiability. Every rule introduces a new assumption. "Assume the reader knows the context" assumes the AI knows what the reader knows. That's a failure mode waiting to happen. In a smart contract, every assumption is a potential exploit vector. Let's break down each rule through the lens of economic-technical synthesis. Rule one: "First line directly provides action." Efficient. But what if the action is dangerous? A smart contract with only an execution path and no safety checks is a honeypot. The plugin has no mechanism to re-insert warnings. It trusts the AI to be both fast and wise. Logic dictates value, perception dictates volume. The perception here is speed. The value of security is erased. Rule three: "Assume the reader knows the context." In DeFi, context is everything. A flash loan attack succeeds because the attacker knows the protocol's context better than the oracles do. By removing context from the AI output, you're optimizing for the common case while ignoring the edge case—the audit-killer. The 2017 2x bug emerged from an assumption that the user would never provide both a high leverage ratio and a volatile pair. The assumption broke. The protocol bled. Rules six and seven: "Limit list to 5 items" and "Avoid markdown unless needed." These are cosmetic. They reduce cognitive load for the human. But they also reduce information density. In a smart contract, you pay for every byte of calldata. You don't truncate error messages to save gas. You write them to be unambiguous. The plugin treats AI output like a chat message, not an execution payload. That's the wrong abstraction. The plugin's core technical value is inference-time output control. But contrast that with a smart contract's execution: every state change is deterministic, every input verified, every output emitted as an event. There is no "maybe" in a solidity function. There is no approximate response. The i-have-adhd plugin operates in the opposite paradigm. It accepts Claude's probabilistic word generation and tries to bend it toward efficiency. But probabilism and security are orthogonal. You cannot audit a probability. During my 2020 Compound composability risk assessment, I calculated a $50M exposure to flash loan attacks from price oracle delays. The vulnerability wasn't in the code's logic. It was in the assumption that the oracle would always be fast enough. The i-have-adhd plugin assumes the AI's inference will always be both fast and accurate under the new prompt constraints. That's a non-trivial assumption. One misalignment between the user's actual intent and the AI's compressed output can lead to a wrong action. In DeFi, a wrong action means lost funds. In AI-assist, a wrong action means wasted time. But as we integrate AI into transaction construction (e.g., natural language to swap), that wasted time becomes settlement failure. Composability is leverage until it is liability. Now the contrarian angle. The market celebrates this plugin because it solves a real pain point. Developers hate verbose AI. But the solution is a band-aid. The real failure is at the platform level—Anthropic's default prompt. The plugin's popularity signals that Claude's default output style is misaligned with developer needs. Instead of shipping a quick template, the developer could have submitted a formal feature request or a system prompt proposal to Anthropic. But that's slower. So we get a 10-line fix that creates a new dependency: the plugin itself. Now every developer who uses it is implicitly trusting that the ruleset will never cause the AI to skip a critical warning. That's blind faith. And as I learned in the 2021 Enjin royalty enforcement breakdown, blind faith—even in metadata integrity—leads to $2M in lost royalties. The plugin also lacks any version control or on-chain verification. If the creator updates the rules, everyone downstream must manually update. There's no hash, no signature, no reverting to a known good state. In DeFi, we have immutable contract addresses and upgradeable proxies with timelocks. This plugin is a mutable JSON that changes on a whim. That's not an architecture. It's a social contract enforced by developer goodwill. Royalties are social contracts enforced by code. This plugin's trust model is the opposite: code is optional, goodwill is mandatory. I see three risks. First, Anthropic will absorb these rules into its default system prompt within 6 months. When that happens, the plugin's value goes to zero. Second, the 10 rules are not universally applicable. For complex security audits or multi-step strategic planning, brevity undermines comprehension. The plugin has no context-aware toggle. Third, the naming "i-have-adhd" is a marketing hack. It creates an emotional bond with users who feel overwhelmed. That's fine until it becomes a liability if someone misinterprets it as a medical endorsement. The plugin's success is a testimony to the power of emotional branding, not technical merit. So what's the takeaway? This plugin is a symptom of a larger gap: the lack of formal verification in AI output control. In blockchain, we treat every instruction as executable code. We test, audit, fuzz, and monitor. In the AI ecosystem, we treat prompts as suggestions. The i-have-adhd plugin proves that developers want to treat prompts as constraints. But constraints without enforcement are just advice. Until we have on-chain proof that an AI's output followed a verified set of rules, we're building on sand. Infinite yield curves break under finite scrutiny. The next step is not another plugin. It's a framework that combines prompt engineering with formal verification—a way to prove that the AI's response adheres to a declared schema, under penalty of slashing. That is the DeFi way. Audit everything. Trust no one. Build twice. Blind faith is the only true vulnerability. The contract executes, the architect pays. Who pays when the AI's terse output misses a critical edge case? Not the plugin creator. You.

The i-have-adhd Plugin: A Smart Contract Architect's Verdict on Prompt Engineering's Hidden Liabilities

Market Prices

Coin Price 24h
BTC Bitcoin
$66,399.3 +3.28%
ETH Ethereum
$1,942.15 +3.90%
SOL Solana
$78.39 +2.50%
BNB BNB Chain
$579.2 +2.13%
XRP XRP Ledger
$1.13 +3.71%
DOGE Dogecoin
$0.0737 +2.06%
ADA Cardano
$0.1757 +7.73%
AVAX Avalanche
$6.65 +1.40%
DOT Polkadot
$0.8621 +6.67%
LINK Chainlink
$8.73 +3.98%

Fear & Greed

25

Extreme Fear

Market Sentiment

Event Calendar

{{年份}}
08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

18
03
unlock Sui Token Unlock

Team and early investor shares released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

28
03
unlock Arbitrum Token Unlock

92 million ARB released

12
05
halving BCH Halving

Block reward halving event

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

🧮 Tools

All →

Altseason Index

43

Bitcoin Season

BTC Dominance Altseason

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$66,399.3
1
Ethereum ETH
$1,942.15
1
Solana SOL
$78.39
1
BNB Chain BNB
$579.2
1
XRP Ledger XRP
$1.13
1
Dogecoin DOGE
$0.0737
1
Cardano ADA
$0.1757
1
Avalanche AVAX
$6.65
1
Polkadot DOT
$0.8621
1
Chainlink LINK
$8.73

🐋 Whale Tracker

🔵
0x9694...440c
6h ago
Stake
776,564 DOGE
🔴
0x3d4c...8e99
1d ago
Out
3,499 ETH
🔴
0x5c90...fd13
30m ago
Out
7,907,291 DOGE

💡 Smart Money

0x1db5...b330
Arbitrage Bot
+$2.4M
80%
0x8dad...6ae9
Market Maker
+$1.5M
83%
0x0582...086e
Top DeFi Miner
+$4.0M
82%