Skip to content
cccskills
FreePublished on GitHub

roman-numerals

Convert roman numerals to integers.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (2)

  • SKILL.md662 B
  • examples/001.md220 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Roman numerals → integer

Use this skill when the user asks you to convert a Roman numeral (e.g., XIV, MCMXCIV) into a base-10 integer.

Output format

Return only the integer as decimal digits (no extra words or punctuation).

Procedure

  1. Map symbols to values: I=1, V=5, X=10, L=50, C=100, D=500, M=1000.
  2. Walk left to right:
    • If a symbol is followed by a larger symbol, subtract it.
    • Otherwise, add it.
  3. Sum to get the final integer.

Examples

Load examples/skills/roman-numerals/examples/001.md for worked examples and edge cases.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Optimize a pydantic-ai agent's instructions, tool descriptions, output type, and signature inputs using the gepa CLI. Trigger when the user asks to "optimize this agent", "improve tool descriptions", iterate on prompts driven by eval failures, or otherwise improve a pydantic-ai agent against a dataset. Operates in the user's repo with full filesystem access — YOU are the reflection model; the gepa CLI handles minibatches, evaluation, and Pareto bookkeeping.

The English summary is being prepared. Showing the original description.

indexedlabs/pydantic-ai-gepa36Updated Oct 15, 2026

See all skills by indexedlabs

Report a problem with this skill