Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ArabelaTso/Skills-4-SE --skill pseudocode-to-python-codegit clone --depth 1 https://github.com/ArabelaTso/Skills-4-SEWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/arabelatso/skills-4-se/pseudocode-to-python-code)<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/pseudocode-to-python-code"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/pseudocode-to-python-code/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/pseudocode-to-python-code"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/pseudocode-to-python-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00110 | $0.02473 |
| Opus 5 | $0.00055 | $0.01236 |
| Sonnet 5 | $0.00022 | $0.00495 |
| Haiku 4.5 | $0.00011 | $0.00247 |
Grade A, and why
pseudocode-to-python-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pseudocode to Python Code
Convert pseudocode and algorithm descriptions into complete, executable Python code with proper structure, documentation, and tests.
Workflow
1. Understand the Input
Identify the input format and extract the algorithm logic:
Natural language description:
- Example: "Sort an array using bubble sort"
- Extract: Algorithm name, input/output, basic steps
Structured pseudocode:
- Example: "FOR i FROM 0 TO n-1 DO..."
- Parse: Control structures, data operations, logic flow
Algorithm specification:
- Example: "Precondition: array is non-empty. Postcondition: array is sorted"
- Identify: Constraints, requirements, expected behavior
Mixed format:
- Combine natural language with pseudocode keywords
- Extract both high-level intent and specific logic
2. Analyze Algorithm Structure
Break down the algorithm into components:
- Identify data structures: Arrays, dictionaries, sets, queues, stacks, trees, graphs
- Identify control flow: Loops (for, while), conditionals (if/else), recursion
- Identify operations: Sorting, searching, insertion, deletion, traversal
- Identify edge cases: Empty input, single element, duplicates, boundaries
- Identify complexity: Time and space complexity considerations
3. Map to Python Constructs
Use references/pseudocode-patterns.md for common mappings:
Control structures:
- IF/ELSE →
if/elif/else - FOR loops →
for i in range()orfor item in collection - WHILE loops →
while condition: - REPEAT-UNTIL →
while True:withbreak
Data structures:
- Arrays →
list - Hash maps →
dict - Sets →
set - Stacks →
listwithappend()/pop() - Queues →
collections.deque - Priority queues →
heapq
Common operations:
- Swap →
a, b = b, a - Min/Max →
min(),max() - Sort →
sorted()orlist.sort() - Search →
inoperator,list.index(), or binary search
4. Generate Python Code
Follow this structure using assets/template.py as a base:
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 367 lines · 110 tokens per session scan A a79f5b0b60d4
pseudocode-to-python-code is a skill published in the GitHub repository ArabelaTso/Skills-4-SE (252 stars, last pushed 22d ago), licensed Apache-2.0. It adds 110 tokens to every session and 2,473 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
astropy
Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.
cobrapy
Constraint-based metabolic modeling (COBRA). FBA, FVA, gene knockouts, flux sampling, SBML models, for systems biology and metabolic engineering analysis.
bioservices
Unified Python interface to 40+ bioinformatics services. Use when querying multiple databases (UniProt, KEGG, ChEMBL, Reactome) in a single workflow with consistent API. Best for cross-database analysis, ID mapping across services. For quick single-database lookups use gget; for sequence/file manipulation use…
polars
High-performance DataFrame library for Python ETL, analytics, and pandas migration. Use for expression-based data manipulation with lazy query optimization, parallel execution, streaming out-of-core processing, Arrow interoperability, and optional GPU execution.
pennylane
Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…
fastapi-expert
Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms…