Python Fundamentals — Claude Code skill: Python basics
The Python Fundamentals skill covers Python syntax, data structures, functions, OOP, and the standard library. Use it to work through learning exercises or understand Python code in a project.
LicenseRef-Proprietary 222 installs ★ 7 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a claude-codeWhat Python Fundamentals does
The material covers data types, conditionals, loops, functions, and introductory object-oriented programming. It explains lists, tuples, dictionaries, sets, type annotations, and decorators. Ask about a code fragment or how to choose a data structure for a task.
Examples work with files, pathlib, dates, JSON, CSV, and modules such as collections, itertools, and functools. The exercises include sorting files by extension, building a contact book that saves to JSON, and analyzing text with CSV output.
The skill also addresses PEP 8, exception handling, code documentation, and managing environments with pip and venv. It teaches through exercises rather than providing a ready-made library to add to an application.
What it helps with
- understand Python conditions, loops, and functions
- choose a data structure for a given task
- write classes that work together
- read and write JSON or CSV data
- build a program that counts words in a text file
Example prompts for the agent
- Explain how Python dictionaries and sets work, with a relevant example.
- Help me build a contact book class that can search entries and save them as JSON.
- Review this Python code and suggest how to handle its exceptions.
How to install Python Fundamentals
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a claude-code2Manually: put the files in place
~/.claude/skills/python-fundamentals/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/python-fundamentals/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a codex2Manually: put the files in place
.agents/skills/python-fundamentals/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a cursor2Manually: put the files in place
.cursor/skills/python-fundamentals/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-python skills/python-fundamentals2Manually: put the files in place
.github/skills/python-fundamentals/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-python --path skills/python-fundamentalsManually: put the files in place
.devin/skills/python-fundamentals/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about Python Fundamentals
How do I install Python Fundamentals in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-python --skill python-fundamentals -a claude-code. The skill file is at ~/.claude/skills/python-fundamentals/SKILL.md.
What does Python Fundamentals do?
It helps explain Python data types, control flow, functions, OOP, and standard library modules. Its exercises cover file handling, a contact book, and text analysis.
Which Python standard library topics does the skill cover?
It includes files and pathlib, date and time operations, JSON, CSV, plus examples using collections, itertools, and functools.