Extract Algorithm
Researchextract-algorithmExtract Algorithm is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Parse and document algorithm pseudocode from research papers. Use when preparing for implementation.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/analysis/extract-algorithm-homericintelligence-projectodyssey-2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/extract-algorithm, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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