library-module-organization-and-accessibility

library-module-organization-and-accessibility is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 26 tokens per session (1,618 once invoked), scanned B, original, Apache-2.0.

Guidance for organising a multi-module Python library so scientific functions are easy to import, document, and maintain.

In plain words
What is it for?
It helps expose functions through stable import paths, add them to API documentation, and check them with coverage, style, and continuous-integration tests.
Why use it?
It prevents new utilities from being hidden, missing from the public API, or left out of generated documentation and automated checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps expose functions through stable import paths, add them to API documentation, and check them with coverage, style, and continuous-integration tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility
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.

Any agent
npx skills add HolobiomicsLab/asb-skill-collections --skill library-module-organization-and-accessibility
Clone the repo
git clone --depth 1 https://github.com/HolobiomicsLab/asb-skill-collections

Made for: Claude Code, Codex.

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 library-module-organization-and-accessibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility/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.

agentmods 80×15 button for library-module-organization-and-accessibility

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/library-module-organization-and-accessibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,618 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00026 $0.01618
Opus 5 $0.00013 $0.00809
Sonnet 5 $0.00005 $0.00324
Haiku 4.5 $0.00003 $0.00162

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

Security

Grade B, and why

library-module-organization-and-accessibility scanned grade B with 1 finding 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 7d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- Sphinx build completes without warnings or errors, and the function name and docstring appear in the generated API reference HTML under cooltools.lib.
collections/epigenomics/v1/skills/library-module-organization-and-accessibility/SKILL.md · 107 lines

How it starts

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

library-module-organization-and-accessibility

Summary

Organizing a scientific Python library into well-documented subpackages and utilities ensures that functions are discoverable, importable, and properly integrated into the published API. This skill covers how to structure cooltools so that utilities like adaptive_coarsegrain are accessible via established import paths (e.g., cooltools.lib) and appear in generated documentation.

When to use

You are building or extending a multi-module Python library for scientific computation (e.g., Hi-C analysis, image processing) and need to ensure that new utility functions are discoverable by end-users through stable import paths, appear in auto-generated API documentation, and pass code coverage and style linting checks as part of the library's continuous integration.

When NOT to use

  • The function is a private internal utility that should not be exposed to end-users; keep it in a private module without exporting it in init.py.
  • The library uses lazy importing or plugin discovery mechanisms that do not rely on explicit init.py registration; follow the library's established pattern instead of forcing standard module organization.
  • Documentation is generated by an alternative system (e.g., MkDocs, pdoc) that does not use Sphinx; adapt the documentation build step accordingly.

Inputs

  • Python source file containing a new utility function (e.g., adaptive_coarsegrain.py)
  • cooltools library repository with setup.py or pyproject.toml
  • Existing cooltools.lib subpackage init.py
  • Pytest configuration (pytest.ini or pyproject.toml [tool.pytest.ini_options])
  • Sphinx configuration (conf.py) and documentation source files

Outputs

  • Function callable via stable import path (cooltools.lib.adaptive_coarsegrain)
  • Function entry in cooltools.lib API reference documentation (HTML/PDF from Sphinx)
  • pytest test report with coverage metrics and style compliance
  • Updated module docstring reflecting new utilities

Read the full file on GitHub · 107 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. 7d ago First seen · 107 lines · 26 tokens per session scan B f34231ad93d4

Subscribe to this mod's changes

library-module-organization-and-accessibility is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 5d ago), licensed Apache-2.0. It adds 26 tokens to every session and 1,618 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

pytdc

Use Therapeutics Data Commons through the PyTDC Python package for registry discovery, approved dataset access, task-aware splits (scaffold, cold-start, temporal, combination), evaluator metrics, benchmark groups, and bounded molecular-oracle workflows. Use this skill to find which TDC datasets exist for a therapeutic…

K-Dense-AI/drug-discovery-agent-skills · 150 tokens

datamol

Pythonic wrapper around RDKit with a simplified interface and sensible defaults. Preferred for standard drug discovery work — SMILES/SELFIES/InChI conversion, molecule standardization and sanitization, descriptors, ECFP and other fingerprints, Tanimoto distance matrices, Butina clustering and diverse subset picking…

K-Dense-AI/drug-discovery-agent-skills · 178 tokens

biopython-sequence-analysis

Biopython sequence analysis: parse FASTA/FASTQ/GenBank/GFF (SeqIO), NCBI Entrez (esearch/efetch/elink), remote/local BLAST, pairwise/MSA alignment (PairwiseAligner, MUSCLE/ClustalW), phylogenetic trees (Phylo). Use for gene family studies, phylogenomics, comparative genomics, NCBI pipelines. For…

jaechang-hits/SciAgent-Skills · 118 tokens

pymc-bayesian-modeling

Bayesian modeling with PyMC 5: priors, likelihood, NUTS/ADVI sampling, diagnostics (R-hat, ESS), LOO/WAIC comparison, prediction. Hierarchical, logistic, GP variants; predictive checks.

jaechang-hits/SciAgent-Skills · 59 tokens

pyimagej-fiji-bridge

Python bridge to ImageJ2/Fiji for macros, plugins (Bio-Formats, TrackMate, Analyze Particles), NumPy↔ImagePlus/ImgLib2 exchange, and ImageJ Ops. Automates Fiji headlessly from Python. Use scikit-image for pure Python without Fiji plugins; napari for visualization.

jaechang-hits/SciAgent-Skills · 73 tokens

trackpy-particle-tracking

Python library for single-particle tracking (SPT) in video microscopy via the Crocker-Grier algorithm. Locate particles (fluorescent spots, colloids, vesicles, cells) per frame, link into trajectories, filter short tracks, and compute MSD for diffusion analysis. 2D/3D with subpixel accuracy; reads TIF stacks, AVI…

jaechang-hits/SciAgent-Skills · 103 tokens