Plugin Claude Code
Fhenix Protocol's official Claude Code plugin for CoFHE development.
Plugin Claude Code
Fhenix Protocol's official Claude Code plugin for CoFHE development.
Instructions file
Instructions for FhenixProtocol/fhenix-toolkit, covering claude.md — fhenix-toolkit, activation map, how the skills work together, when to invoke explicitly and hard rules (never violate, regardless of skill).
Plugin Claude Code
Build confidential smart contracts and dApps with Fhenix CoFHE (FHE.sol + @cofhe/sdk).
Agent
Deep audit subagent for confidential CoFHE code. Loads the full gotcha catalog (30+ items) and security checklist, walks the diff function-by-function, and emits a prioritized review report. Invoke for substantive review passes — PRs > 200 LOC of FHE code, security-sensitive merges, pre-launch audits. Reports back to…
Skill Claude CodeCodex
Use when working on Solidity files importing @fhenixprotocol/cofhe-contracts/FHE.sol or fhenix-confidential-contracts, or using euint/ebool/eaddress types. Teaches confidential contract patterns — branchless updates with FHE.select, the four ACL verbs, the two decryption flows, and the confidential-token standards…
Skill Claude CodeCodex
Use when auditing or reviewing confidential code for Fhenix CoFHE — both on-chain (FHE.sol) and off-chain (@cofhe/sdk). Catches ACL bugs, decrypt-flow mismatches, plaintext leaks, confidentiality-vs-anonymity confusion, and the 30+ recurring gotchas in this catalog. Activates only in review/audit contexts — PR diffs…
Skill Claude CodeCodex
Use when working with @cofhe/sdk in TypeScript — encrypting inputs, managing permits, choosing decrypt modes (decryptForView vs decryptForTx), or wiring CoFHE into a Next.js / wagmi / viem dApp. Activates on imports of @cofhe/sdk or its subpaths, on hooks named useCofhe or usePermit, and on prompts like "encrypt this…
Skill Claude CodeCodex
Use when writing or extending tests for confidential CoFHE code — Foundry mocks, Hardhat plugin, encrypted input fixtures, SDK decrypt flows (decryptForView and decryptForTx) in tests. Activates on .test.ts / .t.sol files importing FHE.sol, @cofhe/sdk, @cofhe/hardhat-plugin, or @fhenixprotocol/cofhe-mock-contracts; on…