FhenixProtocol

8 mods across 1 repository, 12 stars between them.

FhenixProtocol/fhenix-toolkit

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).

12 3mo ago A 1,048 tokens original MIT

fhe-reviewer

04

FhenixProtocol/fhenix-toolkit

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…

12 3mo ago A 81 tokens original MIT

fhenix-contracts

05

FhenixProtocol/fhenix-toolkit

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…

12 3mo ago A 90 tokens original MIT

fhenix-review

06

FhenixProtocol/fhenix-toolkit

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…

12 3mo ago A 118 tokens original MIT

fhenix-sdk

07

FhenixProtocol/fhenix-toolkit

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…

12 3mo ago A 101 tokens original MIT

fhenix-tests

08

FhenixProtocol/fhenix-toolkit

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…

12 3mo ago A 107 tokens original MIT