Agent skill
extract-algorithm
Parse and document algorithm pseudocode from research papers. Use when preparing for implementation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/extract-algorithm
SKILL.md
Extract Algorithm
Identify, document, and translate algorithms from research papers into structured pseudocode for implementation planning.
When to Use
- Converting paper algorithms to code
- Understanding computational complexity
- Planning implementation steps
- Documenting algorithm variations
Quick Reference
# Extract text from PDF focusing on algorithms
pdftotext paper.pdf - | grep -A 20 -i "algorithm\|pseudocode" | head -50
# Convert pseudo-code to structured documentation
# Use cleaner formatting with numbered steps
Workflow
- Locate algorithm: Find algorithm description, pseudocode, or flowchart in paper
- Document steps: Extract numbered steps or pseudocode from paper
- Identify inputs/outputs: List parameters, preconditions, postconditions
- Note special cases: Document edge cases and conditional logic
- Translate to implementation plan: Convert to implementation checklist
Output Format
Algorithm documentation:
- Algorithm name and source reference
- Inputs (parameters, data types, constraints)
- Outputs (return values, side effects)
- Pseudocode or step-by-step description
- Complexity analysis (time and space)
- Special cases and error handling
- Implementation notes and tips
References
- See
analyze-equationsskill for mathematical formula extraction - See
identify-architectureskill for understanding algorithm structure - See CLAUDE.md > Key Development Principles for implementation guidance
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?