CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pymc-bayesian-modeling

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

59

Quality

74%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./backend/cli/skills/coding/pymc/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

73%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, highly actionable skill body: an 8-step workflow with real validation checkpoints and feedback loops, executable code throughout, and a genuine, well-documented bundle of references, scripts, and templates. The main cost is token efficiency — several sections (Best Practices, Quick Reference, distribution/sampling guides) restate content covered elsewhere.

Suggestions

Trim the 'Best Practices' and 'Quick Reference' sections, which restate the per-step key practices and code already shown in the workflow and model-pattern sections.

Replace the inline 'Distribution Selection Guide' and 'Sampling and Inference' sections with brief decision pointers to references/distributions.md and references/sampling_inference.md, whose content they duplicate.

Fix the prediction example so it defines X_scaled via pm.Data in the step-2 model, making the pm.set_data call in step 8 actually runnable as written.

DimensionReasoningScore

Conciseness

Mostly efficient — dense code, 'Key practices' bullets, and concrete thresholds (R-hat < 1.01, ESS > 400) rather than concept explanations. But several sections restate earlier content: 'Best Practices' repeats the per-step key practices, 'Quick Reference' re-shows the sampling/diagnostic snippets, and the 'Sampling and Inference' section duplicates the pm.sample defaults from step 4. Not a 2 because none of it is beginner-concept padding Claude already knows.

3 / 5

Actionability

Nearly all guidance is executable copy-paste code with real parameters, and the cited script functions (check_diagnostics, compare_models, model_averaging) exist in the bundle. Minor gaps keep it from 5: `pm.set_data({'X_scaled': ...})` assumes a pm.Data variable never defined in the step-2 model, and snippets use `X = ...` placeholders.

4 / 5

Workflow Clarity

The 8-step workflow is clearly sequenced with explicit validation checkpoints (prior predictive check before fitting, R-hat/ESS/divergence thresholds after) and feedback loops for error recovery ('Divergences → Increase target_accept=0.95', the 'If issues arise' remedies, and the symptom→solution 'Common Issues' section). Matches the anchor-5 pattern of validate → fix → retry.

5 / 5

Progressive Disclosure

Bundle structure is real and well-signaled: one-level-deep references (distributions.md, sampling_inference.md, workflows.md), scripts, and templates are all listed in a Resources section with per-file 'use when' guidance, and inline pointers appear at point of need. Held below 5 because the inline 'Distribution Selection Guide' and 'Sampling and Inference' sections substantially duplicate the dedicated reference files.

4 / 5

Total

16

/

20

Passed

Description

66%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A solid, specific description with strong technique-level keywords and clear distinctiveness. Its main weakness is the missing explicit 'Use when...' trigger clause, which leaves the when-side only weakly implied and caps completeness.

Suggestions

Add an explicit trigger clause, e.g., 'Use when the user mentions Bayesian modeling, PyMC, MCMC/sampling, priors, or posterior inference, or asks to build, fit, or compare probabilistic models.'

Include natural synonyms users would say — 'priors', 'posterior', 'uncertainty quantification', 'Bayes' — to round out trigger term coverage.

Mention the remaining core capabilities (prior predictive checks, prediction/uncertainty intervals, missing-data handling) to close the specificity gaps.

DimensionReasoningScore

Specificity

Lists several concrete actions — 'Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks' — each tied to named techniques. Falls short of anchor 5 because coverage has gaps (no prior predictive checks, missing-data handling, or prediction workflows mentioned).

4 / 5

Completeness

The 'what' is clear and concrete, but the trailing 'for probabilistic programming and inference' is a purpose fragment, not an explicit 'Use when...' clause or equivalent trigger guidance — which caps completeness at 3 per the judging guidelines. Not a 2 because the what-side is specific and the domain framing weakly implies when.

3 / 5

Trigger Term Quality

Good natural keyword coverage: 'Bayesian', 'PyMC', 'hierarchical models', 'MCMC', 'variational inference', 'probabilistic programming' — terms users would actually say. A few natural variations are missing (e.g., 'priors', 'posterior' as a standalone term, 'Bayes', 'uncertainty quantification').

4 / 5

Distinctiveness Conflict Risk

Naming PyMC plus distinctive techniques (NUTS, LOO/WAIC) gives it a clear niche with minimal conflict risk. Not a 5 because it could also match general Bayesian statistics questions where the user isn't working in PyMC (e.g., Stan, NumPyro, or pure-theory requests).

4 / 5

Total

15

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (582 lines); consider splitting into references/ and linking

Warning

metadata_version

'metadata.version' is missing

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

13

/

16

Passed

Repository

synthetic-sciences/openscience

Path

backend/cli/skills/coding/pymc/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.