Dignified Python Standards
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
Write, refactor, and review Python for clarity, explicit behavior, local reasoning, strong types, constructive domain modeling, and minimal abstraction.
$ npx skills add basicmachines-co/basic-memory --skill pythonic-code -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install basicmachines-co/basic-memory pythonic-code --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pythonic-code .claude/skills/pythonic-code && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pythonic-code" agent skill from https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-code into .claude/skills/pythonic-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pythonic-code", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-codeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add basicmachines-co/basic-memory --skill pythonic-code -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install basicmachines-co/basic-memory pythonic-code --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/pythonic-code .agents/skills/pythonic-code && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pythonic-code" agent skill from https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-code into .agents/skills/pythonic-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pythonic-code", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add basicmachines-co/basic-memory --skill pythonic-code -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install basicmachines-co/basic-memory pythonic-code --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/pythonic-code .cursor/skills/pythonic-code && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pythonic-code" agent skill from https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-code into .cursor/skills/pythonic-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pythonic-code", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/basicmachines-co/basic-memory.git --path .agents/skills/pythonic-code--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add basicmachines-co/basic-memory --skill pythonic-code -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install basicmachines-co/basic-memory pythonic-code --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/pythonic-code .gemini/skills/pythonic-code && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pythonic-code" agent skill from https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-code into .gemini/skills/pythonic-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pythonic-code", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install basicmachines-co/basic-memory pythonic-codeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add basicmachines-co/basic-memory --skill pythonic-code -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/pythonic-code .github/skills/pythonic-code && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pythonic-code" agent skill from https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-code into .github/skills/pythonic-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pythonic-code", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add basicmachines-co/basic-memory --skill pythonic-code -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install basicmachines-co/basic-memory pythonic-code --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/pythonic-code .opencode/skills/pythonic-code && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pythonic-code" agent skill from https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pythonic-code into .opencode/skills/pythonic-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pythonic-code", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pythonic-codeWrite, refactor, and review Python for clarity, explicit behavior, local reasoning, strong types, constructive domain modeling, and minimal abstraction.
Pythonic Code is an agent skill from basicmachines-co/basic-memory. Write, refactor, and review Python for clarity, explicit behavior, local reasoning, strong types, constructive domain modeling, and minimal abstraction. Use when creating or changing nontrivial Python, simplifying object-heavy, helper-heavy, or overly procedural code, evaluating whether code is Pythonic, or reviewing Python maintainability in Basic Memory repositories.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts (for example `agents/openai.yaml`, `evals/context/AGENTS.md` and `evals/evals.json`).
It sits in Development, covering Domain-driven design and Refactoring. It works with Python. The repository describes itself as: AI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN. The licence is AGPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6982cfc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pythonic Code loads about 2.1k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 1,102 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from basicmachines-co/basic-memory at commit 6982cfc, republished under its AGPL-3.0 licence (© basicmachines-co). 1,102 words, ~2,063 tokens.
.claude/skills/pythonic-code/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.Write Python that makes domain behavior obvious to human and AI readers. Apply a WWGD lens: choose the simplest correct design that feels native to Python and is easy to verify.
The preferred design method is Constructive Domain Modeling: define the valid values and outcomes a program can construct, then let their types carry obligations to the code that consumes them.
AGENTS.md or CLAUDE.md instructions.docs/ENGINEERING_STYLE.md when present.docs/DOMAIN_MODEL.md when the change touches domain language, ownership, identity,
source-of-truth rules, or lifecycle behavior.Let local project rules override generic style advice.
Constructive Domain Modeling describes what the program supports instead of starting with a broad representation and a growing list of invalid combinations.
type alias.match cases. Use typing.assert_never when it proves
exhaustive handling, and avoid catch-all cases that hide a newly added variant.Before narrowing an ORM model or compatibility schema, trace its writers and serialized forms. Storage may remain broad while a parser constructs a safer domain value for the core workflow.
functools.partial when binding behavior is clearer than creating
another object.functools.singledispatch only when behavior genuinely varies by the first argument's
runtime type and open registration is an intentional extension point.Protocol for genuine replaceable behavior. Do not use property-only protocols to
describe internal result data; return a concrete frozen dataclass unless callers truly require
structural interoperability.Do not replace one class hierarchy with clever functional machinery. Prefer the form with the fewest concepts, hidden rules, and call hops.
_prepare_*, _resolve_*, _apply_*, and _build_* calls as a prompt to
reconsider the data flow or name one meaningful phase object.If extracting a helper makes the reader navigate more but understand no less, keep the logic local.
Any, broad casts,
speculative getattr, or unstructured dictionaries.Establish the valid states, outcomes, and boundary parser first. Implement the direct path, make closed variants exhaustive, then add only the abstractions required by real variation, state, or boundaries.
Preserve observable behavior, keep the diff focused, and add or update a regression test when the behavior is risky. Look for status strings coupled to optional fields, repeated validation, "should never happen" branches, and expected outcomes carried by exceptions. Replace them only when a smaller constructive model removes a real unsupported state. Do not mechanically rewrite already-clear code, convert I/O failures to Result types, or reshape persisted data before tracing its writers.
Report concrete readability, abstraction, typing, lifecycle, and domain-model risks. Explain the smallest practical improvement. Ask which invalid state or unhandled obligation a proposed type actually removes; stronger-looking types without a concrete payoff are not an improvement. Do not edit unless the user asks for fixes.
Run the narrowest command that proves the change, then widen according to risk:
Lead the final response with the outcome and verification. Explain design choices only when they are non-obvious or materially affect future work.
© basicmachines-co, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files (scripts) in .agents/skills/pythonic-code of basicmachines-co/basic-memory.
Open the folder on GitHubat commit 6982cfc
Pythonic Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pythonic Code this skillbasicmachines-co/basic-memory | 4.1k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| Dignified Python Standardsdocling-project/docling | 68k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Readable Pycrazyguitar/pysheeet | 8.2k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Nexus MapperHaaaiawd/Nexus-skills | 166 | 1 repos | ~2.5k | Automated safety check: Notes | None | |
| Refactor OpCVCUDA/CV-CUDA | 2.7k | — | ~1.5k | Automated safety check: Pass | Custom licence | |
| Readable Verilog GeneratorEriemon/verilog-generator | 308 | — | ~5.4k | Automated safety check: Pass | Apache-2.0 |
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
crazyguitar/pysheeet
Readable Python code rules inspired by The Art of Readable Code.
Haaaiawd/Nexus-skills
Generate a persistent .nexus-map/ knowledge base that lets any AI session instantly understand a codebase's architecture, systems, dependencies, and change hotspots.
CVCUDA/CV-CUDA
Find and safely apply per-operator refactoring / redundancy-reduction opportunities in a CV-CUDA operator (near-duplicate Tensor/VarShape kernels, reinvented shared utilities, dead code).
Eriemon/verilog-generator
A skill your agent uses when creating, writing, reviewing, annotating, repairing, refactoring, or validating readable Verilog RTL, including synthesizable Verilog-2001 .v files, existing-RTL…
mindfold-ai/Trellis
Python design patterns for CLI scripts and utilities — type-first development, deep modules, complexity management, and red flags.
basicmachines-co/basic-memory
Views, sets, unsets and validates cmux settings in ~/.config/cmux/cmux.json with a helper script that checks keys against the schema.
basicmachines-co/basic-memory
End-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs…
basicmachines-co/basic-memory
Opens markdown files in a formatted cmux panel beside the terminal that re-renders on every change, handy for plans and task lists.
basicmachines-co/basic-memory
Keeps agent actions scoped to the cmux workspace and terminal that invoked it, and lays out pane and surface commands that avoid disrupting the user's own focus.
basicmachines-co/basic-memory
Produces PR, changelog and two-week retro images for the Basic Memory repository from evidence in PR bodies, saved to fixed paths under docs/assets/infographics.
basicmachines-co/basic-memory
Adds Pydantic Logfire tracing, logging and metrics to Python, JavaScript or TypeScript and Rust projects, with the correct setup order and library extras.
Works with
Categories
Write, refactor, and review Python for clarity, explicit behavior, local reasoning, strong types, constructive domain modeling, and minimal abstraction. Pythonic Code is an agent skill from basicmachines-co/basic-memory. Write, refactor, and review Python for clarity, explicit behavior, local reasoning, strong types, constructive domain modeling, and minimal abstraction.
Pythonic Code fits situations like: changing nontrivial Python; simplifying object-heavy; overly procedural code; evaluating whether code is Pythonic.
Run `npx skills add basicmachines-co/basic-memory --skill pythonic-code -a claude-code`. Or copy the skill folder (.agents/skills/pythonic-code in basicmachines-co/basic-memory) into .claude/skills/pythonic-code in your project. Claude Code loads it when a task matches its description.
Run `npx skills add basicmachines-co/basic-memory --skill pythonic-code -a codex`. Or copy the skill folder (.agents/skills/pythonic-code in basicmachines-co/basic-memory) into .agents/skills/pythonic-code in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add basicmachines-co/basic-memory --skill pythonic-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pythonic-code, .gemini/skills/pythonic-code, .github/skills/pythonic-code and .opencode/skills/pythonic-code in your project.
Going by SKILL.md and its folder, Pythonic Code needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Pythonic Code is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Pythonic Code: Dignified Python Standards (docling-project/docling, 68k stars), Readable Py (crazyguitar/pysheeet, 8.2k stars), Nexus Mapper (Haaaiawd/Nexus-skills, 166 stars) and Refactor Op (CVCUDA/CV-CUDA, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
basicmachines-co (a GitHub organization) maintains it in basicmachines-co/basic-memory, which has 4,107 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.
Source: basicmachines-co/basic-memory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.