zama-protocol-zama-solidity

zama-protocol-zama-solidity is a cursor rule for Cursor from zama-ai/skills. It costs 87 tokens per session (889 once invoked), scanned A, original, no licence file.

Rules for writing Solidity smart contracts whose data remains encrypted while contracts operate on it through Zama’s Fully Homomorphic Encryption system. Solidity is the programming language commonly used for Ethereum smart contracts.

In plain words
What is it for?
Use them for Zama FHEVM contracts, encrypted values and permissions, confidential tokens, and related Foundry or OpenZeppelin code.
Why use it?
They help keep encrypted data and access permissions consistent when developing or debugging confidential contracts.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them for Zama FHEVM contracts, encrypted values and permissions, confidential tokens, and related Foundry or OpenZeppelin code.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/zama-ai/skills/zama-protocol-zama-solidity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/zama-ai/skills

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for zama-protocol-zama-solidity

README.md
[![agentmods](https://agentmods.dev/badge/rules/zama-ai/skills/zama-protocol-zama-solidity/github.svg)](https://agentmods.dev/rules/zama-ai/skills/zama-protocol-zama-solidity)
Your own site
<a href="https://agentmods.dev/rules/zama-ai/skills/zama-protocol-zama-solidity"><img src="https://agentmods.dev/badge/rules/zama-ai/skills/zama-protocol-zama-solidity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for zama-protocol-zama-solidity

Your own site · 80×15
<a href="https://agentmods.dev/rules/zama-ai/skills/zama-protocol-zama-solidity"><img src="https://agentmods.dev/badge/rules/zama-ai/skills/zama-protocol-zama-solidity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.00889
Opus 5.5 $0.00035 $0.00356
Sonnet 5.5 $0.00017 $0.00178
Haiku 4.5 $0.00009 $0.00089

Measured 25d ago against content hash 3539493be23d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

zama-protocol-zama-solidity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/zama-protocol-zama-solidity.mdc · 52 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed · -10 lines · -41 tokens per session 3539493be23d
  2. 2mo ago First seen · 62 lines · 128 tokens per session scan A 5883c3cdf486

Subscribe to this mod's changes

zama-protocol-zama-solidity is a cursor rule published in the GitHub repository zama-ai/skills (4 stars, last pushed 15d ago), with no licence file. It adds 87 tokens to every session and 889 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

zama-protocol-zama-solidity compared with cursor rules from other repositories

zama-protocol-zama-solidity next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
zama-protocol-zama-solidityzama-ai/skillsCursor rule415d agononeA87Cursor
solana-integration-constraintsMetaMask/metamask-connect-cursor-pluginCursor rule21mo agoMITA1,207Cursor
cardano-mcpJimmyh-world/Cardano_MCPCursor rule11y agoMITA3,030Cursor
elizaos_v2_onchain_pluginsAIFlowML/cursor_rulesCursor rule241y agononeA0Cursor
solana_core_architectureAIFlowML/cursor_rulesCursor rule241y agononeA4Cursor
tactton-ai-core/contract-knowledgeCursor rule171y agononeA614Cursor
stacks-developmentMcsavvy/stacks-next-template-chainhooks-with-dbCursor rule410mo agononeA7Cursor