primer-design
Skill by K-Dense-AI
Designs and audits PCR and RT-qPCR primers with Primer3, then screens them for off-target amplification against local reference sequences. Aimed at researchers who need traceable, thermodynamically assessed primer pairs.
Install primer-design
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/primer-design ~/.claude/skills/primer-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/primer-design ~/.gemini/antigravity-cli/skills/primer-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
primer-design is an agent skill for designing and auditing PCR and RT-qPCR primers. It uses Primer3 with explicit thermodynamic conditions and records sequence coordinates for each candidate oligo. It can also check existing primer pairs, design exon-junction or isoform-specific assays, mask variants, and add cloning tails.
Specificity is checked with reference-based searches, either a bounded local exhaustive search using the standard library or a BLAST-assisted search that needs blastn and makeblastdb. The skill reports hairpins, homodimers and heterodimers, and it separates computational candidates from experimentally validated assays. It is aimed at users who design or review primers for PCR assays.
Written from the project's SKILL.md and checked against it.
What it can do
- Primer designDesigns primer pairs for PCR and RT-qPCR with Primer3 and a declared configuration.
- Thermodynamic assessmentCalculates core Tm, hairpins, homodimers, heterodimers and 3-prime end stability under stated conditions.
- Existing pair auditChecks existing primer pairs by assessing both full oligos and annealing cores.
- Exhaustive local screeningEnumerates binding sites in a bounded local reference to find candidate off-target products.
- BLAST-assisted screeningRuns a local BLAST search to find primer binding sites, then rechecks complete primer-length sites.
- Multiplex compatibilityExamines oligo interactions and cross-pair products when multiplex mode is enabled.
- Exon-junction and isoform assaysGuides design of exon-junction, transcript isoform and allele-discriminating assays.
- Cloning tailsAppends declared 5-prime tails to primer cores and reassesses the full oligos.
- Primer-BLAST interpretationHelps interpret Primer-BLAST results.
What you need
- Python 3.11 or later
- primer3-py 2.3.1
- blastn and makeblastdb on PATH for the BLAST engine
Try asking
- Design qPCR primers for this 900 bp cDNA region with the attached FASTA
- Check whether these existing primer pairs amplify off-target sites
- Screen my primer pairs for off-target products using a local BLAST search
Good to know
- Computational predictions do not replace experimental validation of an assay.
- Degenerate, bisulfite, probe and modified-base assays need specialized workflows beyond the bundled model.
- Search caps make a result incomplete; BLAST discovery is heuristic and not exhaustive.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/primer-design/SKILL.md, skills/primer-design/scripts/_common.py, skills/primer-design/scripts/_specificity.py, skills/primer-design/scripts/check_thermodynamics.py, skills/primer-design/scripts/design_primers.py, skills/primer-design/scripts/screen_specificity.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB -
assets/assay-report-template.md2 KB -
assets/demo-template.fasta577 B -
assets/qpcr-config.json233 B -
assets/requirements.txt18 B
Show all 15 files
-
references/design-workflows.md10 KB -
references/input-contract.md12 KB -
references/sources.md4 KB -
references/specificity.md10 KB -
references/thermodynamics.md7 KB -
scripts/_common.py5 KB -
scripts/_specificity.py20 KB -
scripts/check_thermodynamics.py9 KB -
scripts/design_primers.py15 KB -
scripts/screen_specificity.py11 KB
Alternatives to primer-design
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
primer-design: common questions
Does primer-design validate primers in the lab?
No. The source says it distinguishes computational candidates from experimentally validated assays, and experimental validation is a separate step.
Which Python version does primer-design need?
The compatibility notes require Python 3.11 or later and primer3-py 2.3.1. The design examples were tested with Python 3.13.
Does primer-design send sequences to an online service?
The supplied scripts use local files and do not submit sequences online. Network access is needed only for installation, reference retrieval or external Primer-BLAST.
How do I install primer-design?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is primer-design free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is primer-design safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to primer-design?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
