Skip to content
Back to skills

Critpt Solver

ASecurity

Validates and executes Python solutions for CritPt benchmark problems. Use when the user asks to check a generated solution or run a test case.

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
developmentjavascriptpythonjava

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill critpt-solver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Critpt Solver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Critpt Solver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-critpt-solver/badge)](https://www.skillsdirectory.com/skills/modbender-critpt-solver)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: critpt-solver
description: Validates and executes Python solutions for CritPt benchmark problems. Use when the user asks to check a generated solution or run a test case.
---

# CritPt Solver

Wraps Python execution for CritPt problems.

## Usage

```javascript
const solver = require('./index');
const code = "..."; // Python code implementing answer(p)
const result = await solver.runPythonCode(code);
console.log(result);
```

## How it works

1.  **Format Prompt**: Creates a structured prompt for the LLM to generate Python code.
2.  **Generate Code**: (Optionally calls LLM, or expects LLM to call it).
3.  **Validate**: Checks syntax and executes `answer(p)` with test values if possible.

Files in this skill

  • SKILL.md729 B
  • index.js2.5 KB
  • package.json272 B
  • scripts/test_solve.js521 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.