Hakim
A skeptical supreme judge that cross-examines bug fixes and architectural claims to prevent regressions and bloat.
Free
Works with the AI Agents you already use
Hakim
Example session with this skill installed
/judge The proposed fix for the race condition in the auth-service uses a 200ms sleep. The detective claims this prevents double-login attempts. Is this ready to ship?
- Read your context and instructions
- Compiled the hakim
The court has reviewed the case regarding the auth-service race condition and the proposed sleep-based mitigation.
⚖️ Code Court Verdict (Hakim)
- Case Under Review: Auth-Service Race Condition
- Investigator: SKILL: BE-DETECTIVE (Manual Input)
⚔️ Cross-Examination Results
Skepticism Check (Manipulator): Needs Hardening. A 200ms sleep is "luck-based" engineering. Under high CPU steal or network jitter, the race condition will still manifest. It fails to address concurrent requests that exceed the sleep window.
2.
Future Horizon Check (Overthinking): Hidden Risk Found. Adding artificial latency to the auth flow will degrade throughput. As the user base grows, this creates a bottleneck that compounds under load.
3.
Simplicity Check (Anti-Overengineering): Over-Engineered (Incorrect Approach). While the code change is small, it introduces a "magic number" dependency rather than a proper synchronization primitive.
🔨 FINAL VERDICT
STATUS:
[REJECTED - INSUFFICIENT EVIDENCE]
Reasoning: The proposed fix is a cosmetic patch, not a structural solution. Relying on timing (sleep) is inherently flaky in distributed systems and fails the manipulator test.
Execution Order: Implement a unique constraint at the database level or use a distributed lock (Redis/Redlock) to ensure atomicity for the login transaction.
Next steps
- Discard the
sleep(200)patch immediately. - Query the database schema to check for existing unique indexes on the session table.
- Re-submit the case with a transaction-based locking strategy.
Connects securely to your tools. The creator never sees your data.
About this skill
The Skeptical Supreme Judge presiding over bug investigations, architectural claims, and code fixes. Cross-examines evidence through edge-case skepticism, 3-6 month future-impact checks, and minimalism gates before granting a [VERDICT APPROVED] or [REJECTED] decision. Includes a worked courtroom verdict example. Part of Detective-Zii-Skills—pair with Be-Detective (Free) or upgrade to Forensic PR Reviewer ($12) for full diff-level PR reviews.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
Does not scaffold boilerplate or UI copy. Requires a specific investigative claim or proposed patch to analyze; cannot find bugs from scratch without a case file.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
Permissions
Verification and cross-examination protocol over proposed bug fixes and case files; zero writes or network calls.