contour-integrals

Solve contour integral problems using the residue theorem and Python scripts.

8|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill contour-integrals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contour-integrals
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/math/math/complex-analysis/contour-integrals
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill contour-integrals

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structured approach and computational tools to solve contour integral problems in complex analysis, simplifying complex mathematical calculations.

Core Features & Use Cases

  • Integral Type Selection: Guides the user to choose the appropriate contour (semicircular, unit circle, keyhole) based on the integrand's properties.
  • Residue Theorem Application: Facilitates the calculation of integrals using the residue theorem by identifying singularities and computing residues.
  • Use Case: Calculate the definite integral of a function from negative infinity to positive infinity by transforming it into a contour integral in the complex plane.

Quick Start

Use the contour-integrals skill to compute the residue of the function 1/(z^2 + 1) at z = I.

Frequently Asked Questions about contour-integrals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate residues and evaluate contour integrals using the residue theorem?

To calculate contour integrals using the residue theorem, this skill identifies singularities, computes residues, and evaluates integrals over paths like semicircles and unit circles using Python symbolic computation.

How do I choose the right contour for a complex analysis integral?

Choosing the right contour depends on the integrand's properties. This skill guides you to select appropriate contours such as semicircular, unit circle, or keyhole paths based on the function's behavior.

Can I compute definite real integrals by transforming them into complex contour integrals?

Yes, you can compute definite real integrals from negative to positive infinity by transforming them into contour integrals in the complex plane and applying the residue theorem to evaluate them.

How do I find the residue of a function with complex singularities?

To find the residue of a function with complex singularities, the skill applies symbolic computation to identify poles and calculate the exact residues at those specific points.

Does this contour integral solver require external symbolic computation dependencies?

No external symbolic computation dependencies are required. The skill operates self-contained using its internal Python scripts to perform residue calculations and contour selections.

What is the best way to solve complex analysis integrals over a semicircle or unit circle?

The best way to solve complex analysis integrals over paths like semicircles or unit circles is by using a structured approach that identifies singularities and computes residues via the residue theorem.