cuid2
AGENTS.md3.4k starsChanged 10 months agoMITView on GitHub
This project uses AI-assisted development with structured guidance in the ai/ directory. Agents should examine the ai/* directory listings to understand the available commands, rules, and workflows. Each folder in the ai/ directory contains an index.md file that describes the purpose and contents of that folder. Agents can read these index files to learn the function of files in each folder without needing to read every file. Important: The ai/**/index.md files are auto-generated from frontmatter. Do not create or edit…
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about paralleldrive/cuid2
- prisma/orm“Make cuid2 available in `@default`”GitHub · Jan 2, 2023 · 197 reactions
- prisma/prisma-engines“Update CUID to CUID2 to improve security”GitHub · Mar 29, 2023 · 22 reactions
- A Hacker News story“Cuid2: Next Generation GUIDs”Hacker News · Jan 20, 2023 · 8 points
- A Hacker News story“Cuid2: Next Generation GUIDs”Hacker News · May 12, 2025 · 3 points
- keystonejs/keystone“Deprecation of cuid, upgrade to cuid2”GitHub · Jan 31, 2023 · 3 reactions
The biggest 5 of 57 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 57
Talked about on GitHub, Hacker News and Bluesky (57 times).
On GitHub · 50
- Jan 2, 2023Make cuid2 available in `@default` — prisma/orm197 reactions · 68 comments
- Mar 29, 2023Update CUID to CUID2 to improve security — prisma/prisma-engines22 reactions · 5 comments
- Jan 31, 2023Deprecation of cuid, upgrade to cuid2 — keystonejs/keystone3 reactions · 5 comments
- Jan 9, 2023cuid npm package does not mention the deprecated state — paralleldrive/cuid2 reactions · 1 comment
- Oct 9, 2026chore(deps): bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — miurla/morphic1 reaction · 3 comments
45 more on GitHub
- Dec 16, 2024vlib: add new `rand.cuid2` module — vlang/v1 reaction · 8 comments
- Nov 13, 2023z.string().cuid2() validator doesn't conform to the upstream format — colinhacks/zod1 reaction · 1 comment
- Feb 6, 2023chore(deps): use `cuid2` instead of `cuid` — hexojs/warehouse1 reaction · 8 comments
- Nov 12, 2026deps(deps): bump the production-dependencies group with 45 updates — Heinvv10/apexprotocol0 reactions · 1 comment
- Nov 11, 2026Bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — ddwang/browser-agent0 reactions
- Nov 9, 2026chore(deps):(deps): Bump the production-dependencies group in /backend with 29 updates — Abenezer1244/YWMESSAGING0 reactions · 1 comment
- Nov 9, 2026chore(deps): bump the production-dependencies group with 48 updates — fritzprix/libr-agent0 reactions · 2 comments
- Nov 6, 2026chore(deps):(deps): Bump the production-dependencies group across 1 directory with 29 updates — Abenezer1244/YWMESSAGING0 reactions
- Nov 2, 2026chore(deps): bump the major group across 1 directory with 16 updates — trankhacvy/kvy-cli0 reactions · 1 comment
- Oct 31, 2026Bump the minor-and-patch group across 1 directory with 15 updates — lumosnap/lumo-worker0 reactions
- Oct 29, 2026chore(deps): bump @paralleldrive/cuid2 from 2.2.2 to 2.3.1 — Hutton-h/SKPL-API0 reactions · 1 comment
- Oct 27, 2026Bump the production-dependencies group across 1 directory with 21 updates — Gauthammaster2012Code/linux-build-backend0 reactions · 2 comments
- Oct 8, 2026build(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — Signpost-Labs/signpost-api0 reactions · 1 comment
- Oct 7, 2026build(deps): Bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 in /apps/app — LowCarbCheck/openplate0 reactions · 2 comments
- Oct 5, 2026deps-dev(deps-dev): bump @paralleldrive/cuid2 from 2.2.2 to 2.3.1 — Ottes42/dmx-controller-agent0 reactions · 2 comments
- Oct 5, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — nassim0014/Next.js-SaaS0 reactions · 1 comment
- Oct 5, 2026chore(deps): bump the production-dependencies group across 1 directory with 47 updates — StephenLGF/tomato-desktop0 reactions · 1 comment
- Oct 3, 2026build(deps): bump the production-dependencies group across 1 directory with 12 updates — musabelloabubakar67-blip/DTC-E-lock-App-V20 reactions
- Sep 19, 2026fix: replace 'export =' with named exports in .d.ts files for TS>=5.5… — cristianbote/goober0 reactions · 2 comments
- Sep 5, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — bitbaum/biaslens0 reactions
- Sep 5, 2026Bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — fileshed/fileshed0 reactions
- Aug 31, 2026Bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — GoThassos/uppy-activestorage-upload0 reactions · 1 comment
- Aug 3, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — trankhacvy/kvy-cli0 reactions · 3 comments
- Jul 27, 2026deps(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — ajccarlson/Veud0 reactions · 2 comments
- Jul 23, 2026Code vs Prisma schema vs Seed data discrepencies — sillsdev/appbuilder-container-faithtech0 reactions · 1 comment
- Jul 20, 2026deps: bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — Yukoval-Dakia/the-learning-project0 reactions
- Jul 6, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — jrmoulckers/jrm-recipes0 reactions · 7 comments
- Jun 29, 2026chore(deps)(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — trentas/maritaca0 reactions · 2 comments
- Jun 29, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — nastorehub/NasDoor0 reactions · 6 comments
- Jun 18, 2026chore(deps): bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — eekosystems/Agent-Analytics0 reactions
- Jun 1, 2026Bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — therealclickie/arkim_fresh-assistantchat.app0 reactions
- May 19, 2026chore(deps): bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — wei292224644/langfuse0 reactions
- May 6, 2026chore(deps): bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — duraibyes/agentGuard0 reactions · 1 comment
- Apr 22, 2026chore(deps)(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — Aglan-eng/erplaunch0 reactions · 1 comment
- Apr 9, 2026chore(deps): bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — LuckyAssistant/langfuse0 reactions
- Apr 3, 2026Bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 in /client — joehentges/referrall0 reactions · 1 comment
- Mar 29, 2026Bump @paralleldrive/cuid2 from 2.2.2 to 3.3.0 — joehentges/referrall0 reactions
- Mar 2, 2026build(deps): bump the minor-and-patch group across 1 directory with 20 updates — groundsgg/cockpit0 reactions
- Mar 1, 2026build(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 — kleydon/prisma-session-store0 reactions
- Feb 16, 2026chore(deps):(deps): bump the production-dependencies group across 1 directory with 27 updates — alireza-akbarzadeh/n8n0 reactions · 2 comments
- Feb 16, 2026chore(deps):(deps): bump the production-dependencies group across 1 directory with 26 updates — alireza-akbarzadeh/spotify0 reactions · 1 comment
- Feb 9, 2026chore(server)(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 in /server — ifanfairuz/nduoseh0 reactions · 1 comment
- Jan 29, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.3.0 in /apps/rag — rtCamp/wpai-chatbot-example0 reactions
- Jan 29, 2026chore(deps): bump @paralleldrive/cuid2 from 2.3.1 to 3.1.0 — rtCamp/wpai-chatbot-example0 reactions
- Jan 28, 2026Switch from sequential integer IDs to CUIDs — mikepea/shorty0 reactions
On Hacker News · 5
- Jan 20, 2023Cuid2: Next Generation GUIDs8 points · 2 comments
- May 12, 2025Cuid2: Next Generation GUIDs3 points · 4 comments
- Jan 6, 2023Unique Ids Should Be Secure. Most Ids Aren't3 points · 1 comment
- Jan 27, 2023Cuid2 – Secure, collision-resistant ids optimized for scaling and performance2 points
- Sep 14, 2024ULID or CUID2?1 point · 3 comments
On Bluesky · 2
- Jan 24, 2025🪪 Here's another you may have seen: `cuid()`. This stands for collision-resistant unique ID. These IDs offer uniqueness guarantees and… — @prisma.io0 likes and reposts · 1 reply
- Nov 29, 2024Ready to modernize your ID game? Install Cuid2 today and say goodbye to outdated standards: 👉 Docs: github.com/paralleldriv... 👉 npm:… — @rnkdsh.bsky.social0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
If the project is Python, there is no need to read JavaScript-specific folders
- Distinctive: line 19
If working on backend logic, frontend UI folders can be skipped
- Distinctive: line 20
Only drill into subfolders when the task requires that specific domain knowledge
- Distinctive: line 37
If any conflicts are detected between a requested task and the vision document, agents must:
- Distinctive: line 39
Stop and identify the specific conflict
- Distinctive: line 41
Ask the user to clarify how to resolve the conflict before proceeding
- Distinctive: line 43
Never proceed with a task that contradicts the vision without explicit user approval.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Agent Guidelines
This project uses AI-assisted development with structured guidance in the ai/ directory.
Directory Structure
Agents should examine the ai/* directory listings to understand the available commands, rules, and workflows.
Index Files
Each folder in the ai/ directory contains an index.md file that describes the purpose and contents of that folder. Agents can read these index files to learn the function of files in each folder without needing to read every file.
Important: The ai/**/index.md files are auto-generated from frontmatter. Do not create or edit these files manually—they will be overwritten by the pre-commit hook.
Progressive Discovery
Agents should only consume the root index until they need subfolder contents. For example:
- If the project is Python, there is no need to read JavaScript-specific folders
- If working on backend logic, frontend UI folders can be skipped
- Only drill into subfolders when the task requires that specific domain knowledge
This approach minimizes context consumption and keeps agent responses focused.
Vision Document Requirement
Before creating or running any task, agents must first read the vision document (vision.md) in the project root.
The vision document serves as the source of truth for:
- Project goals and objectives
- Key constraints and non-negotiables
- Architectural decisions and rationale
- User experience principles
- Success criteria
Conflict Resolution
If any conflicts are detected between a requested task and the vision document, agents must:
- Stop and identify the specific conflict
- Explain how the task conflicts with the stated vision
- Ask the user to clarify how to resolve the conflict before proceeding
Never proceed with a task that contradicts the vision without explicit user approval.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

