Ordinal

Use this skill to convert an integer to its ordinal string (1->1st, 22->22nd, 113->113th). Deterministic, offline. For ranks and dates.

ncreighton Updated

File contents

ordinal

Use this skill to convert an integer to its ordinal string (1->1st, 22->22nd, 113->113th). Deterministic, offline. For ranks and dates.

  • Kind: tool | Niche: ai | Cost tier: free | Version: 0.1.0

Empire Integration

import sys
sys.path.insert(0, r'C:\D\Claude Code Projects\_SHARED')
import empire_bootstrap  # wires all shared paths

Usage

As a CLI:

python run.py --number <number>

From a Python agent (ATEN runtime):

from skill_library import executor
result = executor.execute("ordinal", {number=...})

Parameters

Name Type Required Description
number number yes Integer to convert

Returns

object{"status": "ok"|"error", "result": ...}

ncreighton/empire-skills/tree/main/skills/ordinal commit 05036faaa3

Frequently asked questions

npx skillmds@latest add ncreighton/ordinal