Commit Graph
14 Commits
Author SHA1 Message Date
Timothy Kassis 991bd993ac Update optimize-for-gpu skill documentation and assets
- Enhanced the skill description for clarity and accuracy regarding GPU acceleration.
- Updated compatibility notes to reflect requirements for RAPIDS 26.06 and Python 3.11+.
- Revised the library selection guidance to emphasize preferred usage patterns and legacy considerations.
- Improved the optimization workflow section with detailed steps for defining contracts and checking suitability.
- Added new code transformation patterns and clarified the use of cuSpatial and cuVS.
- Updated the cuCIM reference to include installation instructions and performance characteristics.
- Replaced the existing optimize-for-gpu.png image with a new version to better illustrate the skill's capabilities.
2026-08-07 13:35:13 -07:00
Timothy Kassis 5c0d8b3029 Merge pull request #221 from KalinNonchev/add-deepspot-m-skill
Add DeepSpot-M skill
2026-08-07 20:10:12 +00:00
Timothy Kassis 947764127b deepspot-m: document the ~19k-gene panel limit, drop redundant eval calls, add diagram
- State that predict_genes only accepts symbols in the released tokens.csv
  panel (model.gene_names) and raises KeyError otherwise; temper the
  transcriptome-coverage claims to match.
- Use from_pretrained's device argument; the model already returns in eval
  mode and predict_genes runs under no_grad, so drop the redundant
  model.eval()/no_grad lines (also clears MDBLOCK_PYTHON_EVAL_EXEC scan FPs).
- Rebuild the tile batch inside the multi-source loop, matching the advice
  beneath the example.
- Pin the install to deepspotm==1.0.0.
- Add the required docs/images/deepspot-m.png workflow diagram.
2026-08-07 13:09:04 -07:00
Timothy Kassis f8c6f0ef73 Introduced a new skill for relsa-severity-assessment 2026-08-07 12:08:05 -07:00
Timothy Kassis 3378ecea57 citation-management: correct documented commands, bump to 2.0
SKILL.md's one copy-pasteable Phase 3 command used --remove-duplicates, which
argparse rejects; the real flag is --deduplicate. A sweep of every documented
invocation against the actual --help output found eleven more flags that do not
exist: validate_citations.py --auto-fix, --strict, --output,
--check-required-fields, --check-authors, --check-duplicates, --check-syntax;
format_bibtex.py --validate, --report, --style; doi_to_bibtex.py --clipboard;
and search_google_scholar.py --open-access-only. Several sat in worked examples
an agent would run verbatim.

citation_validation.md documented an "auto-fix" mode of validate_citations.py
that never existed -- the script only reports. Those sections now point at
format_bibtex.py, which is what rewrites.

Other corrections:

- --report wrote a JSON document to report.txt.
- three of five declared dependencies were never imported.
- Phase 2.5 was marked MANDATORY but needed web access that allowed-tools did
  not grant; WebSearch and WebFetch are now declared.
- no compatibility field, despite needing a Python version, a package, and
  network access.
- the schematics section told a citation skill to produce diagrams by default,
  and named generate_schematic.py while generate_schematic_ai.py sat beside it
  unexplained. Reduced to a pointer at scientific-schematics.
- venue reference counts are labelled as rules of thumb rather than submission
  requirements, which is what they are.

Documents search_openalex.py and the shared _common.py, and regenerates the
workflow diagram, which no longer matched what the skill does.

Version 1.8 -> 2.0: format_bibtex.py no longer overwrites its input by default.
2026-07-31 10:59:16 -07:00
Timothy Kassis 390c8b8b49 Update generate-image.png to reflect recent changes in image generation process. 2026-07-31 10:43:31 -07:00
Timothy Kassis bd99c01e3f Update image generation and citation management scripts to use 'uv pip install' for package installations. Modify skill versions for infographics and generate-image to reflect recent changes. Enhance error handling and review logic in infographic generation scripts, ensuring better feedback on quality assessments. 2026-07-31 10:26:56 -07:00
Timothy Kassis 0e451065e3 Update skill versions and enhance security measures across multiple skills. Added a triage report to SECURITY.md, improved endpoint validation in autoskill, and updated various skills to version 1.1 or 1.2. Enhanced documentation for imaging-data-commons and other skills to clarify installation and usage instructions. 2026-07-28 10:50:49 -07:00
Timothy Kassis 4fb7e0bc29 Test every script-bearing skill, and enforce that it stays that way
AGENTS.md has always said that a skill shipping scripts/ puts its tests in
tests/<name>/, but nothing checked it: 54 of the 100 such skills had no suite
at all, including docx, pptx, xlsx, pdf and scanpy. All 100 now do.

tests/_meta is the guard. It runs the shared structural contract across every
skill in a single process -- safe because it parses scripts with ast and never
imports them -- and fails when a skill ships scripts/ without a suite or
without a [skills.<name>] entry in skill-requirements.toml. It needs no
scientific packages and finishes in seconds, so skill-tests.yml blocks every
pull request on it, plus the packages=[] suites.

tests/_contract holds what the per-skill suites were each reimplementing:
frontmatter conformance, the 500-line limit, no tests or bytecode under
skills/, local links resolving, scripts parsing, no eval/exec/os.system, no
standard-library shadowing, no hardcoded local paths, valid shell scripts. Also
the --help contract, which skips when a skill's packages are absent and runs
for real under --isolated, and shared behaviour for the files docx/pptx/xlsx
and five schematic-shipping skills carry byte-identical copies of, with drift
detection so they cannot diverge silently.

67 new suites, 3325 test functions. The existing suites were retrofitted: 18
no longer pin an exact skill version, so a version bump no longer breaks a
test; 11 duplicated structural methods removed; 19 wired to the --help
contract; and 5 that failed collection without their packages now skip
cleanly. run_all.py in the bare project environment goes from 6 failures to 0.

Writing the tests surfaced 19 defects in the skills, fixed here with version
bumps. The ones that changed scientific output:

  - openpiv reported vorticity 0 for a rotating flow, from a sign error in
    openpiv's y-up coordinate relabelling; solid-body rotation now gives 2w
    exactly, on grids of either orientation
  - deepchem returned solubility predictions in z-scored space while labelling
    them log(mol/L), because it transformed a y-less dataset instead of
    untransforming the output
  - neuropixels-analysis had the Allen and IBL ISI thresholds swapped,
    contradicting its own references/QUALITY_METRICS.md and inverting the two
    standards' relative strictness
  - scanpy's summarize() raised TypeError on every AnnData under anndata 0.13,
    which reports an unnamed None key on .layers; scanpy convert was broken
  - experimental-design's Latin hypercube was never reproducible: pyDOE3 draws
    from its own default_rng and ignores numpy's global seed
  - primekg shipped a hardcoded path naming a person, which is why
    no_personal_paths is now a contract rule

The remainder is upstream API drift, each verified against the installed
package: retired symbols in bioservices 1.16, gget helpers that returned lists
where a string was written, ArviZ 1.x kwargs in pymc, a positional-only
factory in pymoo, ReduceLROnPlateau(verbose=) in torch 2.13, a removed scvelo
parameter, and PyPDF2 in scientific-slides.

Two manifest environments could not build and are pinned: gget, where an
unpinned scanpy walked back to 1.9.8 and pulled llvmlite 0.36 which does not
compile on 3.13, and pymatgen, pinned to the snapshot its own _common.py
enforces rather than loosening that check. deepchem gains torch, without which
no model class exists.

python tests/run_all.py --isolated: 101 passed, 0 failed.
2026-07-28 10:20:12 -07:00
Timothy Kassis dbe942214d Add new skill for genomic data analysis
Introduces a skill for analyzing genomic data, including features for variant calling, mutation analysis, and lineage tracking. The implementation includes several command-line interfaces for querying genomic databases and generating reports. Updates documentation to reflect the new skill and its functionalities, ensuring users can effectively utilize the new features.
2026-07-27 16:54:06 -07:00
Timothy Kassis 07891681fb Add bulk RNA-seq diagram to documentation 2026-07-27 16:41:05 -07:00
Timothy Kassis ce01a273b3 More diagrams for skills 2026-07-27 16:40:44 -07:00
Timothy Kassis 11c4e1e516 Add zarr image 2026-07-27 16:37:07 -07:00
Timothy Kassis effadea79f Add skill images 2026-07-27 16:35:34 -07:00