Number theory toolkit

From a5c-ai/babysitter · View interactive version

Number theory toolkit is an AI agent skill from the GitHub repository a5c-ai/babysitter. Provide number theory algorithm implementations and guidance

How to use this skill

Skill file

Number Theory Toolkit Skill

Purpose

Provide implementations and guidance for number theory algorithms commonly used in competitive programming.

Capabilities

Target Processes

Algorithm Catalog

Modular Arithmetic

GCD and Extensions

Chinese Remainder Theorem

FFT/NTT

Input Schema

{
  "type": "object",
  "properties": {
    "algorithm": { "type": "string" },
    "parameters": { "type": "object" },
    "language": {
      "type": "string",
      "enum": ["cpp", "python", "java"]
    },
    "modulo": { "type": "integer" }
  },
  "required": ["algorithm"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "code": { "type": "string" },
    "explanation": { "type": "string" },
    "complexity": { "type": "string" }
  },
  "required": ["success"]
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.