Best use case
number-theory-toolkit is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Provide number theory algorithm implementations and guidance
Teams using number-theory-toolkit should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/number-theory-toolkit/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How number-theory-toolkit Compares
| Feature / Agent | number-theory-toolkit | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Provide number theory algorithm implementations and guidance
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Number Theory Toolkit Skill
## Purpose
Provide implementations and guidance for number theory algorithms commonly used in competitive programming.
## Capabilities
- Modular arithmetic operations
- Extended Euclidean algorithm
- Chinese Remainder Theorem
- Modular inverse and exponentiation
- FFT/NTT for polynomial multiplication
- Linear sieve implementations
## Target Processes
- number-theory-algorithms
- prime-algorithms
- combinatorics-counting
## Algorithm Catalog
### Modular Arithmetic
- Modular exponentiation (binary exp)
- Modular inverse (Fermat/Extended GCD)
- Modular square root (Tonelli-Shanks)
### GCD and Extensions
- Euclidean algorithm
- Extended Euclidean algorithm
- Linear Diophantine equations
### Chinese Remainder Theorem
- CRT for coprime moduli
- General CRT
### FFT/NTT
- Fast Fourier Transform
- Number Theoretic Transform
- Polynomial multiplication
## Input Schema
```json
{
"type": "object",
"properties": {
"algorithm": { "type": "string" },
"parameters": { "type": "object" },
"language": {
"type": "string",
"enum": ["cpp", "python", "java"]
},
"modulo": { "type": "integer" }
},
"required": ["algorithm"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"explanation": { "type": "string" },
"complexity": { "type": "string" }
},
"required": ["success"]
}
```Related Skills
redux-toolkit
Redux Toolkit patterns including slice creation, async thunks, RTK Query, state normalization, and DevTools integration.
Type Theory
Expert skill in type theory foundations for implementing type systems including inference, checking, and subtyping
cuda-toolkit
Deep integration with NVIDIA CUDA toolkit for kernel development, compilation, and debugging. Execute nvcc compilation with optimization flags analysis, generate and validate CUDA kernel code, analyze PTX/SASS assembly output, and configure execution parameters.
unity-ui-toolkit
Unity UI Toolkit skill for runtime UI development, USS styling, UXML templates, and custom visual elements.
critical-theory-application
Apply theoretical frameworks (postcolonial, feminist, Marxist, post-structuralist) to cultural texts and phenomena
scipy-optimization-toolkit
SciPy scientific computing skill for numerical optimization, integration, and signal processing in physics
sensitivity-analysis-toolkit
Comprehensive sensitivity analysis for optimization
robust-statistics-toolkit
Robust statistical methods resistant to outliers
numerical-linear-algebra-toolkit
High-performance numerical linear algebra operations
probabilistic-analysis-toolkit
Analyze randomized algorithms with probability theory tools and concentration inequalities
process-builder
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
babysitter
Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)