Numerical investigation
Production-tested skills for AI coding agents. Compatible with Claude Code, Codex, Gemini CLI, Cursor, and more.
npx -y skills add leon2k2k2k/agent-skills --skill numerical-investigationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Complete guide for numerical mathematical investigations. Conducts structured interview to understand background, designs implementation and tests, creates detailed plan, then executes code, testing, and reporting.
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.0 KB, 590 tokens by cl100k_base, as published. Nobody here has run it
Mathematical Numerical Investigation
Guide users through complete numerical investigations from problem understanding to final report.
When to Use
- User wants to numerically test mathematical behavior
- Checking asymptotic limits or convergence
- Verifying conjectures computationally
- Extending analysis (e.g., n=1 to n=2)
- Parameter sweeps or existence checks
Three-Phase Workflow
Phase 1: Interview - Understand Background
Ask clarifying questions to understand the problem:
1. Core Question
- What mathematical behavior are you testing?
- What's the main conjecture or hypothesis?
2. Mathematical Setup
- What objects, maps, equations are involved?
- What are the key parameters?
- What varies, what's fixed?
3. Scenarios to Test
- What specific cases should be checked?
- Expected outcomes vs possible failures?
- Edge cases or special values?
4. Background Reading
- Any notes, papers, or code to read first?
- Previous results to build on?
- Existing codebase to understand?
5. Success Criteria
- What does "success" look like numerically?
- What would be concerning?
- Quantitative thresholds?
Interview style: Conversational, use user's terminology, ask follow-ups.
Phase 2: Design - Create Investigation Plan
After understanding the problem, design the investigation:
1. Reading (if needed)
- Read provided materials
- Explore existing code
- Identify reusable components
2. Implementation Strategy
- Language: Python, Julia, Mathematica?
- Libraries needed
- Reuse vs rewrite existing code
3. Test Design
- What to compute
- Parameter ranges and sampling
- Initial guesses, edge cases
- Numerical tolerances
4. Output/Report Design
- Figures to generate
- Data formats
- Report structure
5. Code Organization
- Directory structure
- Configuration files
- Naming conventions
Then: Create detailed plan, iterate with user until approval.
Phase 3: Execute - Implement and Report
After plan approval:
1. Implementation
- Write code according to plan
- Set up directory structure
- Create configuration
2. Testing
- Run initial tests
- Verify convergence/correctness
- Check edge cases
3. Full Run
- Execute complete investigation
- Generate all outputs
- Collect data
4. Report Generation
- Create figures
- Write summary
- Interpret results
- Deliver to user
Use agents/subtasks for long computations, parallel testing, visualizations.
Resources
references/interview-guide.md- Detailed Phase 1 questionsreferences/design-guide.md- Phase 2 decision frameworkreferences/plan-template.md- Plan structure templatereferences/execution-checklist.md- Phase 3 checklist
What ships with it: 4 files
6.5 KB alongside SKILL.md
references/
- design-guide.md2.1 KB
- execution-checklist.md1.0 KB
- interview-guide.md2.0 KB
- plan-template.md1.3 KB