{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "camilleroux-genart-skill--measure-rarity-of-trait-table",
 "repo": "camilleroux/genart-skill",
 "repo_url": "https://github.com/camilleroux/genart-skill",
 "repo_slug": "camilleroux-genart-skill",
 "title": "Measure the rarity your trait table actually produces",
 "page_title": "How to measure the rarity your trait table actually produces with Genart Skill",
 "summary": "Run a census over thousands of hashes to see how often each trait appears.",
 "who": "A generative artist designing traits and rarity tables for an edition who wants real frequencies instead of guessed weights.",
 "problem": "Rarity weights written by hand often do not match what the code produces across an edition.",
 "outcome": "A measured rarity report from a census run, showing what the trait table produces across the sample size.",
 "steps": [
  "`/plugin marketplace add camilleroux/genart-skill`",
  "`/plugin install genart@camilleroux-genart`",
  "`npm i -D playwright && npx playwright install chromium` (inferred, check the README)",
  "`node \"$CLAUDE_PLUGIN_ROOT/scripts/render.mjs\" myproject --census 5000`"
 ],
 "agent_prompt": "Using the genart plugin from camilleroux/genart-skill, run node \"$CLAUDE_PLUGIN_ROOT/scripts/render.mjs\" <sketch-folder> --census 5000 and report the measured trait frequencies. Expect a rarity summary for the 5000 sampled hashes. Verify that the measured percentages are compared against the intended weights in the trait table before changing any weights.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The census measures what the code produces for the sampled hashes, so it shows the rarity of this sketch, not any guarantee for a live edition.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "javascript",
 "requirements": [
  "Claude Code installed",
  "Node.js, to run the two scripts with node",
  "A p5.js, Canvas 2D, three.js or SVG sketch in a project folder",
  "Playwright installed in your project (npm i -D playwright && npx playwright install chromium)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/camilleroux-genart-skill/measure-rarity-of-trait-table/",
 "md": "https://dedupedai.com/use-cases/camilleroux-genart-skill/measure-rarity-of-trait-table/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/camilleroux-genart-skill--measure-rarity-of-trait-table.json",
 "api_version": "v1"
}
