[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QHAE5QZ6M8DDNQZD07988N":3,"skill-same:01M6QHAE5QZ6M8DDNQZD07988N":135},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6QHAE5QZ6M8DDNQZD07988N","primer-design",null,"Designs and audits PCR and RT-qPCR primers with Primer3, explicit thermodynamic conditions, reference-based off-target amplification searches, and traceable sequence coordinates. Use for designing primer pairs, checking existing primers, exon-junction or isoform-specific assays, variant masking, cloning tails, multiplex compatibility, and interpreting Primer-BLAST results. Includes bounded local in-silico PCR and BLAST screening; distinguishes computational candidates from experimentally validated assays.","Tashima-Tarsh\u002FDisha6.6","Tashima-Tarsh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269906498?v=4","01M6PBH98X03XERH0HFT4PFB1P","NITISH KUMAR","01M6PBH9DA0M6KM3Z12P848F0K",0,"MIT","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"primer design","primer","design","computational","sequence","bounded","for","path","junction","screening","scientific","thermodynamics","local","compatibility","cloning","only","access","PCR","network","library","2026-11-10 10:12:30",false,"---\nname: primer-design\ndescription: Designs and audits PCR and RT-qPCR primers with Primer3, explicit thermodynamic conditions, reference-based off-target amplification searches, and traceable sequence coordinates. Use for designing primer pairs, checking existing primers, exon-junction or isoform-specific assays, variant masking, cloning tails, multiplex compatibility, and interpreting Primer-BLAST results. Includes bounded local in-silico PCR and BLAST screening; distinguishes computational candidates from experimentally validated assays.\nlicense: MIT\ncompatibility: Requires Python 3.11+ and primer3-py 2.3.1 for design and thermodynamics. Local exhaustive screening uses the standard library; BLAST screening additionally needs blastn and makeblastdb on PATH. Network access is needed only for installation, reference retrieval, or external Primer-BLAST.\nmetadata:\n  version: \"1.1\"\n  skill-author: K-Dense Inc.\n  last-reviewed: \"2026-10-01\"\ncategory: \"scientific-computing\"\n---\n\n# Primer design and specificity\n\nProduce candidate oligos in 5-prime-to-3-prime orientation, with the exact template,\nchemistry, intended products, and search scope behind each conclusion. Calculate\nsequence-dependent quantities with the supplied tools. A familiar gene name, good\nPrimer3 penalty, or a single BLAST alignment cannot establish primer specificity.\n\n## Choose the workflow\n\n| Request | Start here |\n| --- | --- |\n| New genomic PCR or RT-qPCR pair | Define the assay and reference; design; assess thermodynamics; screen products. |\n| Check an existing pair | Prepare pair TSV; assess both full oligos and annealing cores; screen with explicit intended coordinates. |\n| Exon junction, transcript isoform, allele discrimination | Read [design-workflows.md](references\u002Fdesign-workflows.md); supply sequence annotation before imposing constraints. |\n| Cloning\u002Fadaptor-tailed primers | Design annealing cores, append declared 5-prime tails, reassess full oligos, reconstruct the final product. |\n| Multiplex panel | Enable `--multiplex` in both thermodynamics and specificity tools to assess oligo interactions and cross-pair products. |\n| Degenerate, bisulfite, probe, or modified-base assay | Use the specialized workflow in [design-workflows.md](references\u002Fdesign-workflows.md); the bundled ordinary-DNA model is insufficient. |\n\nThe local tooling supports paired primers with unambiguous ACGT cores. Advanced assay\ntypes have substantive design and validation guidance, but are not silently reduced\nto ordinary PCR. This skill designs assays; expression normalization, experimental\ndiagnostic validation, and guide-RNA design are separate tasks.\n\n## Establish the assay contract\n\nObtain what changes the result; use explicit provisional assumptions for an exploratory\ndesign, and identify them in the report:\n\n- **Purpose and template:** genomic DNA, cDNA, plasmid, or another defined substrate;\n  target organism, accession **with version**, assembly\u002Ftranscript release, strand,\n  desired isoforms, and product-size range. Name wanted and unwanted templates.\n- **Sequence evidence:** local FASTA plus source\u002Fretrieval date and its SHA-256 hash.\n  A locus excerpt uses local coordinates; record its mapping to the full reference.\n  Include relevant paralogs, pseudogenes, alternate contigs, transcript isoforms,\n  vector backbone, and host sequence in the appropriate screen.\n- **Reaction conditions:** polymerase\u002Fbuffer, monovalent salt, total divalent salt,\n  total dNTP, and oligo concentrations. Primer3 uses mM for salts\u002FdNTP and nM for DNA.\n  Record the initial reaction concentration separately from Primer3's effective\n  annealing-oligo concentration parameter. Engine defaults are assumptions.\n- **Constraints:** target interval, allowed\u002Fexcluded binding regions, junctions,\n  variant exclusions and their source, fixed primers, tails, or multiplex membership.\n  Do not guess exon boundaries or silently substitute another assembly.\n- **Definition of an acceptable result:** relevant off-target references, amplicon\n  lengths, mismatch search limits, controls, and experimental validation appropriate\n  to the assay. There is no universal thermodynamic cutoff that validates all PCRs.\n\nUse [input-contract.md](references\u002Finput-contract.md) for file schemas and coordinate\nexamples. Copy [assay-report-template.md](assets\u002Fassay-report-template.md) into the\nanalysis directory to collect evidence. Reference retrieval may be manual or through\nan established sequence API; preserve accession\u002Fversion and verify the returned\nsequence. The supplied scripts use local files and do not submit sequences online.\n\n## Install and verify\n\nSet `SKILL_DIR` to this skill's actual installed directory. Work in a separate analysis\ndirectory so environments, reference databases, and results do not enter the skill.\n\n```bash\nuv venv --python 3.13 .venv-primer\nuv pip install --python .venv-primer\u002Fbin\u002Fpython -r \"$SKILL_DIR\u002Fassets\u002Frequirements.txt\"\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fdesign_primers.py\" --help\n```\n\nUse the environment's `Scripts\u002Fpython.exe` on Windows. The design\u002Fthermodynamic\nexamples target primer3-py **2.3.1**, tested with Python **3.13**. For the optional\nBLAST engine, install NCBI BLAST+ from its official distribution and check:\n\n```bash\nblastn -version\nmakeblastdb -version\n```\n\nLocal integration checks also exercise BLAST+ 2.17.0; other releases require checking\ntheir output and search behavior before claiming equivalent coverage.\n\nRead [sources.md](references\u002Fsources.md) when updating dependencies or API assumptions.\nThe scripts record engine versions and effective settings in their JSON reports.\n\n## 1. Design candidates\n\nFor an initial functional demonstration, use the bundled synthetic sequence. It is\nnonbiological example input, not an experimentally validated assay:\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fdesign_primers.py\" \\\n  --template \"$SKILL_DIR\u002Fassets\u002Fdemo-template.fasta\" \\\n  --preset qpcr --config \"$SKILL_DIR\u002Fassets\u002Fqpcr-config.json\" \\\n  --output design.json --pairs-out pairs.tsv --expected-out expected.tsv\n```\n\nFor actual work, substitute the reviewed target FASTA and constraints. A multi-record\nFASTA requires `--record` with its exact ID. The `pcr` preset requests 100–1000 bp;\n`qpcr` requests 70–200 bp. Override these starting ranges in the configuration.\nThe example overrides its range to 90–180 bp and includes a specific target interval.\nMultiple `SEQUENCE_TARGET` intervals are alternatives: Primer3 flanks at least one.\nTo require coverage of every interval, supply one enclosing target and verify the\nreturned product; separate assays require separate design runs.\n\nThe tool:\n\n- Passes validated `sequence_args` and `global_args` to Primer3. Unsupported or\n  misspelled tags fail rather than silently changing the task.\n- Converts ambiguous template positions to `N` and forbids ambiguous primer bases.\n  It does not interpret lowercase sequence as a repeat mask; use explicit exclusions.\n- Optionally imports `--mask-bed` exclusions in **the supplied template's coordinates**.\n  Use BED intervals for variant\u002Frepeat masking only after validating the reference\n  mapping; it does not infer allele frequencies or convert arbitrary VCFs.\n- Verifies returned forward and reverse sequences against the template and checks\n  product lengths. Primer3's right-primer position is converted into a half-open\n  binding interval; the reverse primer is already in ordering orientation.\n- Optionally appends `--forward-tail` and `--reverse-tail` to cores. The design score\n  and core Tm do not include those tails; step 2 checks complete oligos.\n\nInspect `engine_explanations` when no candidates are found. Change a biologically\njustified constraint and rerun; do not silently relax all constraints or return an\ninvented sequence. Preserve previous reports when comparing parameter choices.\n\n`expected.tsv` describes intended products **on the design template**. If screening\nanother reference, map these coordinates to its exact record IDs and orientation.\nA cDNA product cannot be relabeled as a genomic interval across introns.\n\n## 2. Assess thermodynamics\n\nUse the **same chemistry as the design**. The following explicit values match the\nbundled design defaults; replace them together when the actual conditions differ:\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fcheck_thermodynamics.py\" \\\n  --pairs pairs.tsv --mv-conc 50 --dv-conc 1.5 --dntp-conc 0.6 \\\n  --dna-conc 50 --temp-c 37 --output thermodynamics.json\n```\n\nThe report contains core Tm, core and full-oligo hairpins\u002Fhomodimers, full-oligo\nheterodimers, self 3-prime end stability, and both directional inter-oligo 3-prime\nend-stability calculations. Delta-G and\ndelta-H are reported in kcal\u002Fmol; delta-S in cal\u002F(mol K). `--temp-c` controls the\ntemperature for delta-G, **not** a recommended PCR annealing temperature.\n\nIf design used different Tm\u002Fsalt models, also set `--tm-method` and\n`--salt-corrections-method` to match; see the mapping in the input contract.\n\nFor a panel, add `--multiplex` to examine all unordered oligo combinations, including\nforward\u002Fforward and reverse\u002Freverse between different pairs. Distinguish a panel to\nbe combined from alternative candidates that will be tested separately.\n\nRead [thermodynamics.md](references\u002Fthermodynamics.md) before interpreting these\nvalues. Full oligos longer than 60 bases are reported as unresolved; they are never\nsilently truncated. Modified bases and degenerate mixtures require a suitable model.\nThermodynamic predictions support ranking and experimental planning, not a blanket\nclaim of primer quality.\nNonfinite Tm or a Tm at\u002Fbelow absolute zero is rejected as a calculation\u002Finput\nfailure; such a result must not be ranked as an ordinary low-Tm primer.\n\n## 3. Screen amplification products\n\nRead [specificity.md](references\u002Fspecificity.md) before making a specificity claim.\nSearch each primer on both strands and pair inward-facing binding sites. A binding\nhit alone is not an amplicon; absence of a reported hit is not proof of absence.\n\n### Exhaustive bounded local search\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fscreen_specificity.py\" \\\n  --pairs pairs.tsv --reference \"$SKILL_DIR\u002Fassets\u002Fdemo-template.fasta\" \\\n  --expected expected.tsv --engine exhaustive \\\n  --min-product 40 --max-product 1000 --max-mismatches 2 \\\n  --three-prime-bases 5 --max-three-prime-mismatches 0 \\\n  --output specificity.json\n```\n\nThis enumerates full-length, ungapped binding sites in a **bounded local reference**\nand checks F\u002FR, R\u002FF, F\u002FF, and R\u002FR products for each pair. Reference ambiguity is\ntreated conservatively as unresolved sequence; it cannot establish a clean result.\nThe mismatch limits are a search model, not a validated polymerase discrimination\nrule. Tight 3-prime thresholds can exclude amplifiable mismatched sites; broaden\nthe search when evaluating that uncertainty.\n\nUse `--circular RECORD_ID` for a circular molecule. Wrapped products use canonical\nstart coordinates and unwrapped ends greater than the reference length; only\nproducts spanning at most one molecule are considered. Caps on comparisons, hits,\nand products prevent unbounded work; hitting a cap makes the result incomplete.\n\n### BLAST-assisted local search\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fscreen_specificity.py\" \\\n  --pairs pairs.tsv --reference \"$SKILL_DIR\u002Fassets\u002Fdemo-template.fasta\" \\\n  --expected expected.tsv --engine blast \\\n  --min-product 40 --max-product 1000 --max-mismatches 2 \\\n  --three-prime-bases 5 --max-three-prime-mismatches 0 \\\n  --output specificity-blast.json\n```\n\nThe script builds a temporary local BLAST database, runs short-query alignment,\nrechecks complete primer-length candidate sites, and records commands and versions.\nIt checks configured hit limits and tool failures. BLAST discovery is heuristic:\nsuccessful execution and unsaturated limits do not establish exhaustive coverage.\nThe reference is loaded in memory; plan memory and search bounds for large genomes.\nThe small example verifies execution, not human-genome sensitivity or scalability.\n\nFor broader public-reference screening, follow the official NCBI Primer-BLAST\nworkflow in [specificity.md](references\u002Fspecificity.md), choosing the organism,\ndatabase, intended templates, maximum product length, and mismatch policy deliberately.\nSubmitting a sequence sends it to NCBI; keep local-only work local. Primer-BLAST\nis not a documented REST API implemented by these scripts.\n\n### Interpret the result\n\n- `potential_off_target`: inspect every unexpected product, including its orientation,\n  length, mismatch positions, and reference identity; redesign or justify its relevance.\n- `intended_target_not_found`: resolve mapping, reference, sequence, and search problems\n  before drawing specificity conclusions.\n- `no_expected_target`: results are a product inventory, without a target-specific\n  conclusion. Supply all intended product intervals for the assay.\n- `incomplete`: reference uncertainty, resource limits, or failed computation leaves\n  the conclusion unresolved. Inspect the reported reason and repeat appropriately.\n- `no_off_target_found_within_search_scope`: state the exact reference and search\n  model. Check the report's exhaustive\u002Fheuristic flags; this is not empirical validation.\n\nFor a multiplex reaction, add `--multiplex` to the specificity command as well as\nthe thermodynamics command. The specificity tool then searches every cross-pair\noligo combination, retaining the original oligo identities and tails. It treats\ncross-pair products as unintended; intentionally shared-primer designs require\nexplicit standalone combinations with reviewed expected products. The\n`--max-panel-combinations` cap defaults to 10,000 and is checked before expansion.\nThermodynamic `--multiplex` checks structures; specificity `--multiplex` checks\nreference products. Both are necessary for this panel assessment.\n\n## 4. Validate the assay and deliver evidence\n\nSelect candidates using assay purpose, coverage, specificity evidence, and chemistry,\nnot just the lowest Primer3 penalty. Preserve multiple candidates when uncertainty\nremains. Follow [design-workflows.md](references\u002Fdesign-workflows.md) for the relevant\nexperimental checks: expected product identity\u002Fsize, negative and no-template controls,\ngenomic contamination controls for RT-qPCR, and efficiency\u002Fdynamic-range assessment\nwhen quantification is intended. A single melt peak alone does not prove identity.\n\nDeliver the completed [report template](assets\u002Fassay-report-template.md), pair TSV,\ndesign\u002Fthermodynamic\u002Fspecificity JSON, and source manifest. Include:\n\n1. Exact ordering sequences, separated annealing cores and tails, primer lengths,\n   intended product coordinates\u002Fsize, and any relevant transcript\u002Fjunction mapping.\n2. Chemistry and model settings; engine versions; reference accession\u002Frelease, source,\n   retrieval date, and file hashes; explicit exclusions and rationale.\n3. Intended and potential unintended products; uncertainty from unknown bases,\n   incomplete references, heuristic searches, caps, and unsupported assay chemistry.\n4. Experimental evidence actually obtained, outstanding validation, and the reason\n   for each recommended candidate. Label untested candidates accurately.\n\n## Validation and limits of this implementation\n\nThe repository suite at `tests\u002Fprimer-design\u002F` exercises actual Primer3 calculations,\norientation and coordinate reconstruction, masking, tails, concentration handling,\noff-target product geometry, mismatch\u002Fambiguity behavior, failure states, and local\nBLAST integration when its executables are installed. Synthetic fixtures establish\nsoftware behavior; they do not validate a biological assay or prove genome-wide recall.\n\nTools return 0 when their computation completes, 1 for a completed design with no\ncandidates or incomplete long-oligo thermodynamics, and 2 for invalid input or tool\nfailure. Read the JSON scientific status even after exit 0: finding an off-target is\na successfully completed calculation. See the input contract for screen-specific exits.\n\n## Citing Scientific Agent Skills\n\nIf used in published work, cite the upstream methods in [sources.md](references\u002Fsources.md)\nand [Scientific Agent Skills](https:\u002F\u002Farxiv.org\u002Fabs\u002F2609.00065). Report the software\nversions and assay-specific settings required to reproduce the actual analysis.\n","# Primer design and specificity\n\nProduce candidate oligos in 5-prime-to-3-prime orientation, with the exact template,\nchemistry, intended products, and search scope behind each conclusion. Calculate\nsequence-dependent quantities with the supplied tools. A familiar gene name, good\nPrimer3 penalty, or a single BLAST alignment cannot establish primer specificity.\n\n## Choose the workflow\n\n| Request | Start here |\n| --- | --- |\n| New genomic PCR or RT-qPCR pair | Define the assay and reference; design; assess thermodynamics; screen products. |\n| Check an existing pair | Prepare pair TSV; assess both full oligos and annealing cores; screen with explicit intended coordinates. |\n| Exon junction, transcript isoform, allele discrimination | Read [design-workflows.md](references\u002Fdesign-workflows.md); supply sequence annotation before imposing constraints. |\n| Cloning\u002Fadaptor-tailed primers | Design annealing cores, append declared 5-prime tails, reassess full oligos, reconstruct the final product. |\n| Multiplex panel | Enable `--multiplex` in both thermodynamics and specificity tools to assess oligo interactions and cross-pair products. |\n| Degenerate, bisulfite, probe, or modified-base assay | Use the specialized workflow in [design-workflows.md](references\u002Fdesign-workflows.md); the bundled ordinary-DNA model is insufficient. |\n\nThe local tooling supports paired primers with unambiguous ACGT cores. Advanced assay\ntypes have substantive design and validation guidance, but are not silently reduced\nto ordinary PCR. This skill designs assays; expression normalization, experimental\ndiagnostic validation, and guide-RNA design are separate tasks.\n\n## Establish the assay contract\n\nObtain what changes the result; use explicit provisional assumptions for an exploratory\ndesign, and identify them in the report:\n\n- **Purpose and template:** genomic DNA, cDNA, plasmid, or another defined substrate;\n  target organism, accession **with version**, assembly\u002Ftranscript release, strand,\n  desired isoforms, and product-size range. Name wanted and unwanted templates.\n- **Sequence evidence:** local FASTA plus source\u002Fretrieval date and its SHA-256 hash.\n  A locus excerpt uses local coordinates; record its mapping to the full reference.\n  Include relevant paralogs, pseudogenes, alternate contigs, transcript isoforms,\n  vector backbone, and host sequence in the appropriate screen.\n- **Reaction conditions:** polymerase\u002Fbuffer, monovalent salt, total divalent salt,\n  total dNTP, and oligo concentrations. Primer3 uses mM for salts\u002FdNTP and nM for DNA.\n  Record the initial reaction concentration separately from Primer3's effective\n  annealing-oligo concentration parameter. Engine defaults are assumptions.\n- **Constraints:** target interval, allowed\u002Fexcluded binding regions, junctions,\n  variant exclusions and their source, fixed primers, tails, or multiplex membership.\n  Do not guess exon boundaries or silently substitute another assembly.\n- **Definition of an acceptable result:** relevant off-target references, amplicon\n  lengths, mismatch search limits, controls, and experimental validation appropriate\n  to the assay. There is no universal thermodynamic cutoff that validates all PCRs.\n\nUse [input-contract.md](references\u002Finput-contract.md) for file schemas and coordinate\nexamples. Copy [assay-report-template.md](assets\u002Fassay-report-template.md) into the\nanalysis directory to collect evidence. Reference retrieval may be manual or through\nan established sequence API; preserve accession\u002Fversion and verify the returned\nsequence. The supplied scripts use local files and do not submit sequences online.\n\n## Install and verify\n\nSet `SKILL_DIR` to this skill's actual installed directory. Work in a separate analysis\ndirectory so environments, reference databases, and results do not enter the skill.\n\n```bash\nuv venv --python 3.13 .venv-primer\nuv pip install --python .venv-primer\u002Fbin\u002Fpython -r \"$SKILL_DIR\u002Fassets\u002Frequirements.txt\"\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fdesign_primers.py\" --help\n```\n\nUse the environment's `Scripts\u002Fpython.exe` on Windows. The design\u002Fthermodynamic\nexamples target primer3-py **2.3.1**, tested with Python **3.13**. For the optional\nBLAST engine, install NCBI BLAST+ from its official distribution and check:\n\n```bash\nblastn -version\nmakeblastdb -version\n```\n\nLocal integration checks also exercise BLAST+ 2.17.0; other releases require checking\ntheir output and search behavior before claiming equivalent coverage.\n\nRead [sources.md](references\u002Fsources.md) when updating dependencies or API assumptions.\nThe scripts record engine versions and effective settings in their JSON reports.\n\n## 1. Design candidates\n\nFor an initial functional demonstration, use the bundled synthetic sequence. It is\nnonbiological example input, not an experimentally validated assay:\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fdesign_primers.py\" \\\n  --template \"$SKILL_DIR\u002Fassets\u002Fdemo-template.fasta\" \\\n  --preset qpcr --config \"$SKILL_DIR\u002Fassets\u002Fqpcr-config.json\" \\\n  --output design.json --pairs-out pairs.tsv --expected-out expected.tsv\n```\n\nFor actual work, substitute the reviewed target FASTA and constraints. A multi-record\nFASTA requires `--record` with its exact ID. The `pcr` preset requests 100–1000 bp;\n`qpcr` requests 70–200 bp. Override these starting ranges in the configuration.\nThe example overrides its range to 90–180 bp and includes a specific target interval.\nMultiple `SEQUENCE_TARGET` intervals are alternatives: Primer3 flanks at least one.\nTo require coverage of every interval, supply one enclosing target and verify the\nreturned product; separate assays require separate design runs.\n\nThe tool:\n\n- Passes validated `sequence_args` and `global_args` to Primer3. Unsupported or\n  misspelled tags fail rather than silently changing the task.\n- Converts ambiguous template positions to `N` and forbids ambiguous primer bases.\n  It does not interpret lowercase sequence as a repeat mask; use explicit exclusions.\n- Optionally imports `--mask-bed` exclusions in **the supplied template's coordinates**.\n  Use BED intervals for variant\u002Frepeat masking only after validating the reference\n  mapping; it does not infer allele frequencies or convert arbitrary VCFs.\n- Verifies returned forward and reverse sequences against the template and checks\n  product lengths. Primer3's right-primer position is converted into a half-open\n  binding interval; the reverse primer is already in ordering orientation.\n- Optionally appends `--forward-tail` and `--reverse-tail` to cores. The design score\n  and core Tm do not include those tails; step 2 checks complete oligos.\n\nInspect `engine_explanations` when no candidates are found. Change a biologically\njustified constraint and rerun; do not silently relax all constraints or return an\ninvented sequence. Preserve previous reports when comparing parameter choices.\n\n`expected.tsv` describes intended products **on the design template**. If screening\nanother reference, map these coordinates to its exact record IDs and orientation.\nA cDNA product cannot be relabeled as a genomic interval across introns.\n\n## 2. Assess thermodynamics\n\nUse the **same chemistry as the design**. The following explicit values match the\nbundled design defaults; replace them together when the actual conditions differ:\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fcheck_thermodynamics.py\" \\\n  --pairs pairs.tsv --mv-conc 50 --dv-conc 1.5 --dntp-conc 0.6 \\\n  --dna-conc 50 --temp-c 37 --output thermodynamics.json\n```\n\nThe report contains core Tm, core and full-oligo hairpins\u002Fhomodimers, full-oligo\nheterodimers, self 3-prime end stability, and both directional inter-oligo 3-prime\nend-stability calculations. Delta-G and\ndelta-H are reported in kcal\u002Fmol; delta-S in cal\u002F(mol K). `--temp-c` controls the\ntemperature for delta-G, **not** a recommended PCR annealing temperature.\n\nIf design used different Tm\u002Fsalt models, also set `--tm-method` and\n`--salt-corrections-method` to match; see the mapping in the input contract.\n\nFor a panel, add `--multiplex` to examine all unordered oligo combinations, including\nforward\u002Fforward and reverse\u002Freverse between different pairs. Distinguish a panel to\nbe combined from alternative candidates that will be tested separately.\n\nRead [thermodynamics.md](references\u002Fthermodynamics.md) before interpreting these\nvalues. Full oligos longer than 60 bases are reported as unresolved; they are never\nsilently truncated. Modified bases and degenerate mixtures require a suitable model.\nThermodynamic predictions support ranking and experimental planning, not a blanket\nclaim of primer quality.\nNonfinite Tm or a Tm at\u002Fbelow absolute zero is rejected as a calculation\u002Finput\nfailure; such a result must not be ranked as an ordinary low-Tm primer.\n\n## 3. Screen amplification products\n\nRead [specificity.md](references\u002Fspecificity.md) before making a specificity claim.\nSearch each primer on both strands and pair inward-facing binding sites. A binding\nhit alone is not an amplicon; absence of a reported hit is not proof of absence.\n\n### Exhaustive bounded local search\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fscreen_specificity.py\" \\\n  --pairs pairs.tsv --reference \"$SKILL_DIR\u002Fassets\u002Fdemo-template.fasta\" \\\n  --expected expected.tsv --engine exhaustive \\\n  --min-product 40 --max-product 1000 --max-mismatches 2 \\\n  --three-prime-bases 5 --max-three-prime-mismatches 0 \\\n  --output specificity.json\n```\n\nThis enumerates full-length, ungapped binding sites in a **bounded local reference**\nand checks F\u002FR, R\u002FF, F\u002FF, and R\u002FR products for each pair. Reference ambiguity is\ntreated conservatively as unresolved sequence; it cannot establish a clean result.\nThe mismatch limits are a search model, not a validated polymerase discrimination\nrule. Tight 3-prime thresholds can exclude amplifiable mismatched sites; broaden\nthe search when evaluating that uncertainty.\n\nUse `--circular RECORD_ID` for a circular molecule. Wrapped products use canonical\nstart coordinates and unwrapped ends greater than the reference length; only\nproducts spanning at most one molecule are considered. Caps on comparisons, hits,\nand products prevent unbounded work; hitting a cap makes the result incomplete.\n\n### BLAST-assisted local search\n\n```bash\n.venv-primer\u002Fbin\u002Fpython \"$SKILL_DIR\u002Fscripts\u002Fscreen_specificity.py\" \\\n  --pairs pairs.tsv --reference \"$SKILL_DIR\u002Fassets\u002Fdemo-template.fasta\" \\\n  --expected expected.tsv --engine blast \\\n  --min-product 40 --max-product 1000 --max-mismatches 2 \\\n  --three-prime-bases 5 --max-three-prime-mismatches 0 \\\n  --output specificity-blast.json\n```\n\nThe script builds a temporary local BLAST database, runs short-query alignment,\nrechecks complete primer-length candidate sites, and records commands and versions.\nIt checks configured hit limits and tool failures. BLAST discovery is heuristic:\nsuccessful execution and unsaturated limits do not establish exhaustive coverage.\nThe reference is loaded in memory; plan memory and search bounds for large genomes.\nThe small example verifies execution, not human-genome sensitivity or scalability.\n\nFor broader public-reference screening, follow the official NCBI Primer-BLAST\nworkflow in [specificity.md](references\u002Fspecificity.md), choosing the organism,\ndatabase, intended templates, maximum product length, and mismatch policy deliberately.\nSubmitting a sequence sends it to NCBI; keep local-only work local. Primer-BLAST\nis not a documented REST API implemented by these scripts.\n\n### Interpret the result\n\n- `potential_off_target`: inspect every unexpected product, including its orientation,\n  length, mismatch positions, and reference identity; redesign or justify its relevance.\n- `intended_target_not_found`: resolve mapping, reference, sequence, and search problems\n  before drawing specificity conclusions.\n- `no_expected_target`: results are a product inventory, without a target-specific\n  conclusion. Supply all intended product intervals for the assay.\n- `incomplete`: reference uncertainty, resource limits, or failed computation leaves\n  the conclusion unresolved. Inspect the reported reason and repeat appropriately.\n- `no_off_target_found_within_search_scope`: state the exact reference and search\n  model. Check the report's exhaustive\u002Fheuristic flags; this is not empirical validation.\n\nFor a multiplex reaction, add `--multiplex` to the specificity command as well as\nthe thermodynamics command. The specificity tool then searches every cross-pair\noligo combination, retaining the original oligo identities and tails. It treats\ncross-pair products as unintended; intentionally shared-primer designs require\nexplicit standalone combinations with reviewed expected products. The\n`--max-panel-combinations` cap defaults to 10,000 and is checked before expansion.\nThermodynamic `--multiplex` checks structures; specificity `--multiplex` checks\nreference products. Both are necessary for this panel assessment.\n\n## 4. Validate the assay and deliver evidence\n\nSelect candidates using assay purpose, coverage, specificity evidence, and chemistry,\nnot just the lowest Primer3 penalty. Preserve multiple candidates when uncertainty\nremains. Follow [design-workflows.md](references\u002Fdesign-workflows.md) for the relevant\nexperimental checks: expected product identity\u002Fsize, negative and no-template controls,\ngenomic contamination controls for RT-qPCR, and efficiency\u002Fdynamic-range assessment\nwhen quantification is intended. A single melt peak alone does not prove identity.\n\nDeliver the completed [report template](assets\u002Fassay-report-template.md), pair TSV,\ndesign\u002Fthermodynamic\u002Fspecificity JSON, and source manifest. Include:\n\n1. Exact ordering sequences, separated annealing cores and tails, primer lengths,\n   intended product coordinates\u002Fsize, and any relevant transcript\u002Fjunction mapping.\n2. Chemistry and model settings; engine versions; reference accession\u002Frelease, source,\n   retrieval date, and file hashes; explicit exclusions and rationale.\n3. Intended and potential unintended products; uncertainty from unknown bases,\n   incomplete references, heuristic searches, caps, and unsupported assay chemistry.\n4. Experimental evidence actually obtained, outstanding validation, and the reason\n   for each recommended candidate. Label untested candidates accurately.\n\n## Validation and limits of this implementation\n\nThe repository suite at `tests\u002Fprimer-design\u002F` exercises actual Primer3 calculations,\norientation and coordinate reconstruction, masking, tails, concentration handling,\noff-target product geometry, mismatch\u002Fambiguity behavior, failure states, and local\nBLAST integration when its executables are installed. Synthetic fixtures establish\nsoftware behavior; they do not validate a biological assay or prove genome-wide recall.\n\nTools return 0 when their computation completes, 1 for a completed design with no\ncandidates or incomplete long-oligo thermodynamics, and 2 for invalid input or tool\nfailure. Read the JSON scientific status even after exit 0: finding an off-target is\na successfully completed calculation. See the input contract for screen-specific exits.\n\n## Citing Scientific Agent Skills\n\nIf used in published work, cite the upstream methods in [sources.md](references\u002Fsources.md)\nand [Scientific Agent Skills](https:\u002F\u002Farxiv.org\u002Fabs\u002F2609.00065). Report the software\nversions and assay-specific settings required to reproduce the actual analysis.\n",{"name":5,"license":15,"category":44,"metadata":45,"description":7,"compatibility":49},"scientific-computing",{"version":46,"skill-author":47,"last-reviewed":48},"1.1","K-Dense Inc.","2026-10-01","Requires Python 3.11+ and primer3-py 2.3.1 for design and thermodynamics. Local exhaustive screening uses the standard library; BLAST screening additionally needs blastn and makeblastdb on PATH. Network access is needed only for installation, reference retrieval, or external Primer-BLAST.","main","0da4485785ee599388900be50db1635489d53056",".agents\u002Fskills\u002Fkd-primer-design","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6","https:\u002F\u002Fdisha6.6.thenitishkr.in\u002F","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh","www.thenitishkr","thenitishkr | AI • Cyber-security • Research\r\n","2026-11-08 03:33:25",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add Tashima-Tarsh\u002FDisha6.6 --skill primer-design",{"tool":65,"command":66},"bunx","bunx skills add Tashima-Tarsh\u002FDisha6.6 --skill primer-design",{"tool":68,"command":69},"pnpm","pnpm dlx skills add Tashima-Tarsh\u002FDisha6.6 --skill primer-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002FSKILL.md",true,[73,79,83,87,91,97,101,105,109,113,119,123,127,131],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Fassay-report-template.md","ASSET","资产文件",2440,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fassets\u002Fassay-report-template.md",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"assets\u002Fdemo-template.fasta",577,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fassets\u002Fdemo-template.fasta",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"assets\u002Fqpcr-config.json",233,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fassets\u002Fqpcr-config.json",{"path":88,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":89,"sourceHtmlUrl":90},"assets\u002Frequirements.txt",18,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fassets\u002Frequirements.txt",{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fdesign-workflows.md","REFERENCE","参考文档",10570,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Freferences\u002Fdesign-workflows.md",{"path":98,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Finput-contract.md",11910,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Freferences\u002Finput-contract.md",{"path":102,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fsources.md",4552,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Freferences\u002Fsources.md",{"path":106,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fspecificity.md",10559,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Freferences\u002Fspecificity.md",{"path":110,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fthermodynamics.md",7172,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Freferences\u002Fthermodynamics.md",{"path":114,"resourceType":115,"resourceTypeDesc":116,"sizeBytes":117,"sourceHtmlUrl":118},"scripts\u002F_common.py","SCRIPT","脚本",5626,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fscripts\u002F_common.py",{"path":120,"resourceType":115,"resourceTypeDesc":116,"sizeBytes":121,"sourceHtmlUrl":122},"scripts\u002F_specificity.py",20595,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fscripts\u002F_specificity.py",{"path":124,"resourceType":115,"resourceTypeDesc":116,"sizeBytes":125,"sourceHtmlUrl":126},"scripts\u002Fcheck_thermodynamics.py",8742,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fscripts\u002Fcheck_thermodynamics.py",{"path":128,"resourceType":115,"resourceTypeDesc":116,"sizeBytes":129,"sourceHtmlUrl":130},"scripts\u002Fdesign_primers.py",15676,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fscripts\u002Fdesign_primers.py",{"path":132,"resourceType":115,"resourceTypeDesc":116,"sizeBytes":133,"sourceHtmlUrl":134},"scripts\u002Fscreen_specificity.py",11007,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkd-primer-design\u002Fscripts\u002Fscreen_specificity.py",[136,162,187,211,236,258],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":39},"01M6QRD07D4TGNDK6VJ4EHF8BV","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[],[143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,25,159,160,161],"youtube full","youtube","full","transcript","search","monitoring","data","Video","Audio","list","files","do","get","age","trigger","URL","browsing","request","youtube transcripts",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":39},"01M6QRCJ3112VYPA97YG7KGMC2","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[169,170,171,172,147,173,174,175,176,177,178,179,180,181,182,183,184,185,186,25],"twitter","x twitter growth","growth","research","content","engineering","plan","web search","competitors","analyze","engine","write","strategy","use","platform","grow","posting","competitive",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":39},"01M6QRBN3EHQNJY42RERP7A149","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[194,180,195,196,197,198,199,200,182,201,202,50,203,204,205,206,207,208,209,210],"write a skill","github","create","https","productivity","matt pocock","direct","example","build","new skill","structure","new agent","resources","with","tree","progressive disclosure","author",{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":215,"categories":216,"keywords":217,"publishedAt":39},"01M6QRB6G8P33PNGAF9Y69EJ9T","wrap-up","Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2 upgrades. Use when the user says \"wrap up\", \"close this out\", \"what do I own now\", \"give me the summary\", \"recap the agent\", or when the orchestrator routes phase=wrap-up. primitives_inventory.py tables everything owned (agent, environment, session, memory, outcome, deployment); overview_page.py regenerates a self-contained .\u002Fmy-agent\u002Fagent-overview.html; upgrade_suggester.py ranks the next moves from recorded deferrals plus standing hardening steps. Companion to run-without-you; the last stop before phase=done.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[218,219,220,221,222,223,224,225,226,182,227,154,228,229,230,231,232,233,234,235],"wrap up","up","wrap","gemini","deployment","run","file","hardening","closeout","stop","upgrade","founder","close","companion","you","tables","directions","phase",{"skillNo":237,"name":238,"nameZh":6,"description":239,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":240,"categories":241,"keywords":242,"publishedAt":39},"01M6QRA5AYC1RBFZ39GTWGS3N8","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[],[243,244,245,21,246,196,223,247,248,249,250,251,180,252,153,253,254,255,256,257],"workflow","workflow builder","builder","workflows","code","orchestrate","pipeline","loop","multi-agent","context","across","fresh","scripts","judge","claude code workflow",{"skillNo":259,"name":260,"nameZh":6,"description":261,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":262,"categories":263,"keywords":264,"publishedAt":39},"01M6QR7QMCZESKQA0ERW1E657M","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[265,266,267,268,269,270,271,272,273,250,274,275,276,277,278,279,155,280,281,235],"review","weekly review","weekly","deterministic scripts","reflect","feeds","inventory","open","team","projects","project-management","scanner","conversation","back","project","sprint","cadence"]