programming-and-coding

programming-and-coding is a skill for Claude Code from yale-som-hpc/claude-code-marketplace. It costs 23 tokens per session (1,316 once invoked), scanned A, original, Unlicense.

A set of practical principles for writing and reviewing research code. It favors simple, readable, incremental changes and established tools over unnecessary complexity.

In plain words
What is it for?
Use it when designing, implementing, reviewing, or optimizing code for research projects.
Why use it?
It helps researchers avoid building more than the task needs and makes code easier to understand, test, and maintain. It also highlights caution around code that can create remote-service costs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hpc plugin — 23 skills, 3 commands shipped together

Install

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.

agentmods
npx agentmods add skills/yale-som-hpc/claude-code-marketplace/programming-and-coding
Any agent
npx skills add yale-som-hpc/claude-code-marketplace --skill programming-and-coding
Clone the repo
git clone --depth 1 https://github.com/yale-som-hpc/claude-code-marketplace

Made for: Claude Code.

Or install hpc, the plugin that ships this one along with the rest of its 23 skills, 3 commands.

Wrote 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.

agentmods badge for programming-and-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/programming-and-coding.svg)](https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/programming-and-coding)
Your own site
<a href="https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/programming-and-coding"><img src="https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/programming-and-coding.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01316
Opus 5 $0.00012 $0.00658
Sonnet 5 $0.00005 $0.00263
Haiku 4.5 $0.00002 $0.00132

Measured 6d ago against content hash 6eea129479cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

programming-and-coding 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 6d 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.

plugins/hpc/skills/programming-and-coding/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Programming and Coding

Core principles

  • KISS — prefer the simplest correct solution; if code needs a paragraph to explain, simplify it.
  • YAGNI — build for the task in front of you, not a hypothetical future. Make the smallest change that works; don't add features, abstractions, or configuration nobody asked for.
  • Clarity over cleverness; explicit over implicit; flat over nested. Readability beats micro-optimization unless performance is measured and critical.
  • DRY carefully — DRY is about duplicated knowledge, not similar-looking code. Prefer simple duplication over premature coupling.
  • Boring tools first — stdlib / base language, then established libraries, before anything exotic.
  • Incremental changes — baby steps. Small, testable changes that do the minimal work.
  • Working code is documentation — express intent through names, types, and structure; comments explain why.
  • Premature optimization is the root of all evil - make it run, make it correct, make it fast, in that order.
  • Be super careful where code could generate costs, particularly hitting remote resources and subscriptions.

Code structure and style

  • Use descriptive names: firm_panel instead of df2, event_window instead of tmp, treatment_group instead of x, adminUserEmail instead of email.
  • Write small, focused functions (~20 lines). One thing per function. Prefer pure functions: same input, same output.
  • Use types, classes, and structures to make impossible states impossible (or difficult) to represent.
  • Keep files small. Check with wc -l. Aim for <500 lines.
  • Prefer deep, useful modules with simple interfaces over many shallow abstractions.
  • Name intermediate conditions; optimize for debugging and reader working memory, not fewest lines.
  • Make state explicit, small, and owned. Avoid ambient globals, hidden mutation, and action-at-a-distance.
  • Prefer immutable data if convenient. Otherwise localize mutations to where ownership is obvious and prefer copy-at-boundaries if practical.
  • Prefer side effects at the edges: CLI, HTTP, DB, filesystem, clock, randomness, network.

Read the full file on GitHub · 95 lines

Changes

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.

  1. 6d ago First seen · 95 lines · 23 tokens per session scan A 6eea129479cc

Subscribe to this mod's changes

programming-and-coding is a skill published in the GitHub repository yale-som-hpc/claude-code-marketplace (5 stars, last pushed 1mo ago), licensed Unlicense. It adds 23 tokens to every session and 1,316 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens