Skip to content
Back to skills

Is Positive

ASecurity

Check if a number is positive

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
testingpython

Security analysis

A100/100

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

Scanned June 6, 2026

npx -y skills add bdambrosio/Cognitive_workbench --skill is-positive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Is Positive?

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

Security grade badge for Is Positive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-is-positive/badge)](https://www.skillsdirectory.com/skills/bdambrosio-is-positive)

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: is-positive
description: Check if a number is positive
type: python
schema_hint:
  target: "$variable or Note ID"
  out: "$variable (optional)"
parameters: none
examples:
  - '{"type":"if","condition":{"type":"tool_condition","tool":"is-positive","target":"$score"},"then":[...]}'
---

# Is Positive

Checks if the input value is a positive number (greater than zero).

## Purpose

Simple boolean condition for numeric validation and control flow.

## Input Format

Accepts:
- Integer or float value
- String representation of number

## Output Format

Returns boolean:
- `True` if value > 0
- `False` otherwise

## Examples

Input: 5
Output: True

Input: -3
Output: False

Input: "42"
Output: True

Files in this skill

  • Skill.md710 B
  • tool.py537 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.

Comments

Loading comments…

Newsletter

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