{"id":50903032,"url":"https://github.com/borisbolliet/class-sz-claude-plugin","last_synced_at":"2026-06-16T04:31:50.272Z","repository":{"id":359904341,"uuid":"1247619697","full_name":"borisbolliet/class-sz-claude-plugin","owner":"borisbolliet","description":"Specialized Claude Code assistant for class_sz / classy_szfast — tSZ power spectrum, halo-model SZ, JAX pipeline, and SOLikeT-style cobaya likelihoods","archived":false,"fork":false,"pushed_at":"2026-05-24T02:06:21.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T04:15:18.970Z","etag":null,"topics":["class-sz","classy-sz","claude-code","claude-code-plugin","cobaya","cosmology","halo-model","tsz"],"latest_commit_sha":null,"homepage":"https://github.com/CLASS-SZ/class_sz","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borisbolliet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-23T15:00:19.000Z","updated_at":"2026-05-24T02:06:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/borisbolliet/class-sz-claude-plugin","commit_stats":null,"previous_names":["borisbolliet/class-sz-claude-plugin"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/borisbolliet/class-sz-claude-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisbolliet%2Fclass-sz-claude-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisbolliet%2Fclass-sz-claude-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisbolliet%2Fclass-sz-claude-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisbolliet%2Fclass-sz-claude-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borisbolliet","download_url":"https://codeload.github.com/borisbolliet/class-sz-claude-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisbolliet%2Fclass-sz-claude-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34391702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["class-sz","classy-sz","claude-code","claude-code-plugin","cobaya","cosmology","halo-model","tsz"],"created_at":"2026-06-16T04:31:49.451Z","updated_at":"2026-06-16T04:31:50.268Z","avatar_url":"https://github.com/borisbolliet.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# classy_szlite Assistant (Claude Code plugin)\n\nSpecialized [Claude Code](https://code.claude.com) assistance for\n[**classy_szlite**](https://github.com/CLASS-SZ/classy_szlite) — a pure-JAX\ncosmology code that exposes:\n\n- CMB angular power spectra (TT, TE, EE)\n- Linear and nonlinear matter Pk\n- Cosmological distances (H(z), comoving, angular-diameter)\n- Derived parameters (σ8, Ω_m, S8, ...)\n- Halo-model tSZ Cl^yy (Arnaud-10 GNFW pressure profile)\n\n…all backed by the high-accuracy **`v2` CosmoPower emulators** used in\nthe [ACT DR6 extended-cosmology analyses](https://arxiv.org/abs/2503.14454),\nand entirely differentiable with `jax.grad` / `jax.jacfwd`.\n\nDesigned to compose with the\n[cobaya-claude-plugin](https://github.com/borisbolliet/cobaya-claude-plugin)\n— enable both to get a full tSZ MCMC workflow.\n\n## What you get\n\n- **`/class-sz:explain`** — auto-loads when the conversation is about\n  classy_szlite, tSZ Cl^yy bandpower fits, GNFW / Arnaud pressure\n  profiles, the `cl_yy_factory` fast path, JAX gradient probes, or\n  cobaya wiring of a classy_szlite-backed theory. Bundles a focused\n  classy_szlite API + parameter reference.\n\n- **`/class-sz:tszfast [param=value …]`** — runs a quick `Cl^yy`\n  calculation through `classy_szlite.cl_yy_factory`; supports\n  parameter sweeps and `jax.grad` probes. Useful for sanity-checks\n  before a long MCMC.\n\n- **`/class-sz:build-likelihood \u003cName\u003e [--data-dir DIR]`** — scaffolds\n  a standalone Gaussian likelihood (no SOLikeT dep) + classy_szlite\n  Theory + foreground Theory + a working cobaya YAML for a **tSZ\n  Cl^yy bandpower** dataset (binned bandpowers + N×N covariance — not\n  a y-map pixel likelihood). Uses `cl_yy_factory` so the per-step\n  cost is ~5 ms/eval after init.\n\n- **`class-sz-engineer` subagent** — specialist for end-to-end\n  classy_szlite + cobaya work (scaffold, install, run, summarise).\n  Use for heavy multi-step tasks where you don't want install / chain\n  output flooding the main thread.\n\n## Install\n\nIn any Claude Code session, run these three commands:\n\n```\n/plugin marketplace add https://github.com/borisbolliet/class-sz-claude-plugin.git\n/plugin install class-sz@class-sz-claude-plugin\n/reload-plugins\n```\n\nAfter `/reload-plugins`, `/class-sz:explain`, `/class-sz:tszfast`,\n`/class-sz:build-likelihood` show in `/help` and the\n`class-sz-engineer` subagent appears in the Agent picker.\n\nTo update later (after I push a new commit):\n\n```\n/plugin uninstall class-sz@class-sz-claude-plugin\n/plugin marketplace remove class-sz-claude-plugin\n/plugin marketplace add https://github.com/borisbolliet/class-sz-claude-plugin.git\n/plugin install class-sz@class-sz-claude-plugin\n/reload-plugins\n```\n\n## Environment\n\nThe skills and the `class-sz-engineer` subagent assume:\n\n- Python venv: `~/pyvenvs/py312-class_sz/bin/python` (with\n  `classy_szlite`, `cobaya`, `numpyro`, `getdist`, `jax`)\n- classy_szlite source (optional, for editable install):\n  `~/GitHub/classy_szlite`\n- Emulator data: `~/class_sz_data/ede/` (or the path in\n  `$CLASSY_SZLITE_DATA_DIR`) — see\n  [cosmopower-organization/ede](https://github.com/cosmopower-organization/ede)\n- Reference workflow data (ACT-DR6 may26 setup):\n  `~/Desktop/class-sz-plugin-tests/` (data/, clyy_v2.py, clyy_v2.yaml,\n  may26.proposal.covmat)\n\nAdjust paths in `agents/class-sz-engineer.md` and the skill\n`allowed-tools` if your venv lives elsewhere.\n\n## Try it\n\n```\n/class-sz:explain\nHow do I sample profile parameters at fixed cosmology with NUTS?\n\n/class-sz:tszfast P0=10 beta=5.0\n\n/class-sz:build-likelihood ACTClyy --data-dir \"~/Desktop/class-sz-plugin-tests/data\"\n```\n\n## Layout\n\n```\n.claude-plugin/marketplace.json     # single-plugin marketplace\nplugins/class-sz/\n  .claude-plugin/plugin.json        # plugin manifest\n  skills/\n    explain/SKILL.md                # always-on classy_szlite knowledge\n    explain/reference.md            # loaded on demand\n    tszfast/SKILL.md                # /class-sz:tszfast\n    build-likelihood/SKILL.md       # /class-sz:build-likelihood\n  agents/\n    class-sz-engineer.md            # subagent\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisbolliet%2Fclass-sz-claude-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisbolliet%2Fclass-sz-claude-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisbolliet%2Fclass-sz-claude-plugin/lists"}