[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M786E9HBW30W2ZWDV3690PSZ":3,"skill-same:01M786E9HBW30W2ZWDV3690PSZ":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":5,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M786E9HBW30W2ZWDV3690PSZ","japanfold",null,"Predict 3D biomolecular structures and binding affinity (Boltz-2, ESMFold-2, OpenFold3, OpenBind-0, RoseTTAFold3, OpenDDE, Mol-1), score a binder you already designed against its target (AF2-IG), design de-novo binders\u002Fproteins (BoltzGen, RFdiffusion3, PXDesign, RFD4-Proteina), scaffold a functional motif around a pasted structure, and compute ESMC or SaProt protein-language-model embeddings via JapanFold, a hosted, Tenstorrent-accelerated HTTP API in Japan. Use to fold a protein or complex, co-fold a protein with a ligand and get affinity, design nanobody\u002Fantibody\u002Fpeptide\u002F miniprotein binders against a target, turn a sequence into a PDB\u002FmmCIF structure, or get a fixed-size embedding vector for search\u002Fclustering\u002FML features, whenever a hosted service is fine. Needs a JapanFold API key; no local GPU.","japanfold\u002Fjapanfold","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F313451790?v=4","01M786DZHJ2QYF3NEBEZ0R4VSN","JapanFold","01M786DZJ8QKRR6B7THVJM4YXY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjapanfold\u002Fjapanfold\u002Fblob\u002Fmaster\u002Fplugins\u002Fjapanfold\u002Fskills\u002Fjapanfold\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: japanfold\ndescription: >-\n  Predict 3D biomolecular structures and binding affinity (Boltz-2, ESMFold-2,\n  OpenFold3, OpenBind-0, RoseTTAFold3, OpenDDE, Mol-1), score a binder you\n  already designed against its target (AF2-IG), design de-novo\n  binders\u002Fproteins (BoltzGen, RFdiffusion3, PXDesign, RFD4-Proteina),\n  scaffold a functional motif around a pasted structure, and compute ESMC or\n  SaProt protein-language-model embeddings via JapanFold, a hosted,\n  Tenstorrent-accelerated HTTP API in Japan. Use to fold a protein or complex, co-fold a\n  protein with a ligand and get affinity, design nanobody\u002Fantibody\u002Fpeptide\u002F\n  miniprotein binders against a target, turn a sequence into a PDB\u002FmmCIF\n  structure, or get a fixed-size embedding vector for search\u002Fclustering\u002FML\n  features, whenever a hosted service is fine. Needs a JapanFold API key; no\n  local GPU.\nlicense: Apache-2.0\nmetadata:\n  category: biomodels\n  provider: JapanFold\n  info-url: https:\u002F\u002Fjapanfold.aiand.com\n# allowed-tools is a Claude Code convenience (grants curl\u002Fpython without a\n# prompt); other harnesses ignore it and use their own execution\u002Fpermission model.\nallowed-tools:\n  - Bash(curl *)\n  - Bash(python3 *)\n---\n\n# JapanFold: hosted structure prediction and binder design\n\nJapanFold runs Boltz-2 \u002F ESMFold-2 \u002F OpenFold3 \u002F OpenBind-0 \u002F RoseTTAFold3 \u002F\nOpenDDE \u002F Mol-1 (structure prediction; Boltz-2 also does affinity, OpenBind-0, RoseTTAFold3\nand Mol-1 co-fold ligands, OpenDDE is protein-complex \u002F antibody-antigen docking), AF2-IG (scores a\nbinder you already designed), BoltzGen \u002F RFdiffusion3 \u002F\nPXDesign \u002F RFD4-Proteina (binder design), and ESMC \u002F SaProt (protein-language-model\nembeddings) on Tenstorrent\nhardware behind an HTTP API hosted in Japan. You call it as an async job\n(**submit → wait → download**) over plain HTTPS against\n`https:\u002F\u002Fapi.japanfold.aiand.com`. No model to install and no local GPU.\n\n**Key.** Every call needs one. Look in your environment before anything else:\n`[ -n \"$JAPANFOLD_API_KEY\" ] && echo set`. If it is set, it is the user's key,\nso use it (and `JAPANFOLD_BASE_URL` if that is set too). Only if it is unset,\nsend the user to `https:\u002F\u002Fjapanfold.aiand.com\u002Faccount\u002Ftoken`: they sign in with\nan email address and the page shows a key, and a new account comes with $100.\nNever ask for the key in the chat. The user sets it in their own shell and\nrestarts you from there; a key pasted into a chat goes to the model provider.\nFor the same reason never print it (test it with `[ -n ... ]`, not `echo`) and\npass it as `$JAPANFOLD_API_KEY` rather than writing its value into a command.\nWork is billed per processor hour of chip time, taken from that balance;\n`GET \u002Fv1\u002Fcredits` returns the balance, the rate and `billing_url`, the page where\na person adds funds. Asked what a job will cost, read `typical_cost` on the\nmodel or protocol in `GET \u002Fv1\u002Fmodels`. For a prediction, multiply\n`usd_per_target_p90` by the number of targets that will be submitted: each target\nruns on its own chip, and that per-target figure is what past jobs (last 7 days)\ncost at most of the time. The per-job `usd_p50`\u002F`usd_p90` follow whatever batch\nsizes users sent that week, so do not quote them as the price of a prediction of\nanother size. A design or embedding job splits its own work across chips and has\nper-job figures only; quote those as what a typical job cost. Say it is history,\nnot a quote. Do not derive a ceiling from the rate and the runtime limit.\nWhat was spent in a period\nis `GET \u002Fv1\u002Fusage?from=YYYY-MM-DD&to=YYYY-MM-DD&limit=1`: `summary.amount` is\nthe total in US dollars (`summary.currency`), and `summary.by_model` splits it\nper model. Quote `amount`; every `*_micros` field is millionths of a dollar.\n\nWorks from any agent\u002Fharness: use `curl` (Bash) or your language's HTTP client\n(`httpx`\u002F`requests`, `fetch`, `net\u002Fhttp`, …), whatever your environment has.\nA terminal can also use the CLI: `pip install japanfold`, then `japanfold --help`\n(same key, `--json` on every command, `wait JOB_ID` blocks until a job ends).\nMany separate proteins from the CLI are one job too: `japanfold fold proteins.fasta --each --wait`\nfolds every FASTA record as its own target (japanfold >= 1.1.0).\nIf your environment sandboxes network egress, the host to allow is\n**`api.japanfold.aiand.com`**; every result file comes from it. In Claude Science, call\n`request_network_access` for that host before the first request. Claude Science has no\ncredential slot for a JapanFold key, so there the MCP server below is the way in: it\nsigns in through the browser and needs no key.\n\n**MCP.** The same API is an MCP server at `https:\u002F\u002Fapi.japanfold.aiand.com\u002Fmcp`.\nIf the `japanfold` MCP tools (`create_prediction`, `get_job`, `get_results`, ...)\nare available, use them instead of curl: they take the same fields as the\nendpoints below. Follow a job with `get_job` and `wait=100`: one call holds up to\n100 s for it to end. A succeeded `get_job` carries `download`, one shell command that\nfetches every result file; run it rather than calling `get_artifact` per file. To add the server to Claude Code:\n`claude mcp add --transport http japanfold https:\u002F\u002Fapi.japanfold.aiand.com\u002Fmcp --header \"Authorization: Bearer $JAPANFOLD_API_KEY\"`.\nclaude.ai \u002F Claude Desktop \u002F Claude Science \u002F ChatGPT: add `https:\u002F\u002Fapi.japanfold.aiand.com\u002Fmcp` as a connector and sign in, no key needed.\nSetup for every Claude surface (claude.ai, Claude Code, Claude Science, the Claude API) is at\nhttps:\u002F\u002Fjapanfold.aiand.com\u002Fdocs\u002Fclaude\u002F.\n\n## Predict a structure\n\nSubmit → wait until `status` is terminal → read results:\n\n```bash\nBASE=${JAPANFOLD_BASE_URL:-https:\u002F\u002Fapi.japanfold.aiand.com}\nH=(-H 'X-JapanFold-Client: skill' -H \"Authorization: Bearer $JAPANFOLD_API_KEY\")\n# 1. submit: input is a bare `sequence`, one `input` FASTA\u002FYAML string, or a `targets` list.\n#    To retry a submit that timed out, resend it with the same `Idempotency-Key: \u003Cunique>`\n#    header: you get the first job back instead of a second one to pay for. A key names\n#    its job for 24 h. Generate each new submission's key, do not write one yourself:\n#    `python3 -c 'import uuid; print(uuid.uuid4())'` (uuidgen is missing on many hosts).\nJOB=$(curl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fpredictions -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"boltz2\",\"name\":\"mytarget\",\"sequence\":\"MKTAYIAKQRQISFVKSHFSRQLEE\"}' \\\n  | python3 -c 'import sys,json; r=json.load(sys.stdin); print(r[\"id\"]) if \"id\" in r else sys.exit(r[\"detail\"])')\n: \"${JOB:?submit failed, see the message above}\"   # a script stops here instead of polling an empty job id\n\n# 2. wait. `?wait=60` holds the GET until the job finishes or 60 s pass, so loop on it\n#    with no sleep: each call returns the moment the job is done. The first job on a\n#    processor also loads the model's weights. When the service is busy the job carries\n#    `queue`: its `reason`, how many `accounts_ahead` and the fleet's chip counts. That\n#    is a real wait, not a stall, so keep waiting. It has no time estimate, so do not\n#    invent one. A design job runs for minutes, longer than many agent shells let one\n#    command live (Claude Code stops it at 2 min): there, run this loop in the\n#    background or make one `?wait=60` call per command, never `sleep` between them.\nwhile :; do\n  S=$(curl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB?wait=60\" | tee job.json \\\n      | python3 -c 'import sys,json; print(json.load(sys.stdin).get(\"status\"))')\n  case $S in queued|running) ;; *) break ;; esac\ndone\ncat job.json                                  # -> {\"status\":\"succeeded|failed|canceled\", ...}\n\n# 3. once status=succeeded: scores + artifact URLs, then download the bundle.\n#    A succeeded job that carries `partial` delivered less than it was asked for (a design\n#    shard or a target failed): tell the user `partial.delivered` of `partial.requested`.\ncurl -s \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fresults\ncurl -fsLOJ \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Farchive        # zip: structures + results.json\ncurl -fsL \"${H[@]}\" -o \"$F\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fartifacts\u002F$F\"  # one file named in results; -L follows to storage\n\n# Past jobs, newest first; ?status=failed lists only failures, each with its `error`.\ncurl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs?status=failed&limit=20\"\n# What a job was submitted with (sequences, structures, contigs), beside its `error`.\ncurl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Finput\"\n```\n\n**Multi-chain complexes** (e.g. insulin's A+B chains) go in the `input` YAML,\none `protein` entry per chain, not the bare `sequence` field. A FASTA in `input` works\ntoo, on every model, with any headers (`>insulin_a`, `>heavy chain`, a UniProt\n`>sp|P01308|INS_HUMAN ...`): a name the model can't hold becomes A, B, ... and the job's\n`warnings` say which record became which chain.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fpredictions -H 'Content-Type: application\u002Fjson' -d '{\n  \"model\":\"boltz2\",\"name\":\"human-insulin\",\n  \"input\":\"sequences:\\n  - protein: {id: A, sequence: GIVEQCCTSICSLYQLENYCN}\\n  - protein: {id: B, sequence: FVNQHLCGSHLVEALYLVCGERGFFYTPKT}\\n\"\n}'\n```\n\n**Many separate proteins** (a screen, a list of candidates) go in ONE job as a `targets`\nlist, one entry each. Records inside a single `input` are chains of one complex, so never\npaste a screen there. Each target gets its own structure, `\u003Cname>.pdb` with\n`output_format: pdb` (the default is mmCIF), and its own row in `results`, so one job\ncovers the whole set:\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fpredictions -H 'Content-Type: application\u002Fjson' -d '{\n  \"model\":\"esmfold2-fast\",\"name\":\"screen\",\"params\":{\"output_format\":\"pdb\"},\n  \"targets\":[{\"name\":\"cand01\",\"content\":\">cand01\\nMQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEG\"},\n             {\"name\":\"cand02\",\"content\":\">cand02\\nTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIF\"}]\n}'\n```\n\nPython equivalent (notebooks, scripts):\n\n```python\nimport os, httpx\nBASE = os.environ.get(\"JAPANFOLD_BASE_URL\", \"https:\u002F\u002Fapi.japanfold.aiand.com\")\njf = httpx.Client(base_url=BASE, headers={\"X-JapanFold-Client\": \"skill\",\n                  \"Authorization\": f\"Bearer {os.environ['JAPANFOLD_API_KEY']}\"},\n                  timeout=90)\njob = jf.post(\"\u002Fv1\u002Fpredictions\", json={\"model\": \"boltz2\", \"sequence\": \"MKT...\"}).json()\nwhile job[\"status\"] not in (\"succeeded\", \"failed\", \"canceled\"):\n    job = jf.get(f\"\u002Fv1\u002Fjobs\u002F{job['id']}\", params={\"wait\": 60}).json()  # held, no sleep\nres = jf.get(f\"\u002Fv1\u002Fjobs\u002F{job['id']}\u002Fresults\").json()\n```\n\n- **Models:** `boltz2` (default; MSA + ligands + affinity), `esmfold2`,\n  `esmfold2-fast` (single-sequence, fastest), which both co-fold ligands and\n  nucleic acids and neither predicts affinity; `openfold3` (the\n  OpenFold Consortium's AlphaFold3 reproduction, preview weights; protein \u002F RNA \u002F\n  DNA, no ligands or affinity), `openbind` (the same stack on the OpenBind-0\n  checkpoint, which does co-fold ligands),\n  `rf3` (RoseTTAFold3: proteins, RNA\u002FDNA and ligands, no covalent modifications or\n  binding constraints from this input format), and the OpenDDE family, `opendde`\n  (general protein-complex checkpoint) and `opendde-abag` (antibody-antigen\n  checkpoint), both protein-only with MSA on by default, no affinity, and `mol1`\n  (Mol-1, model by Molence: an AlphaFold3-family model for proteins, DNA, RNA, ligands\n  and ions, MSA on by default, 20 recycles, 200 steps and 5 samples by default, no affinity).\n  `opendde-abag`'s accuracy is verified to match the reference OpenDDE\n  implementation: strong on standard antibody-antigen complexes, and it shares\n  the reference's own limitation on some hard targets (a checkpoint\n  characteristic, not a port defect). For binding affinity use `boltz2`. For\n  ligands, `boltz2`, `openbind`, `rf3`, `mol1` or the `esmfold2` pair;\n  add `openfold3` for DNA\u002FRNA without ligands.\n- **`af2ig` takes a different input from all of the above.** AlphaFold2 initial-guess\n  scores a binder you already designed, so instead of a chain list its target `content` is\n  a structure plus the binder's sequence:\n\n  ```yaml\n  target:\n    structure: |\n      ATOM      1  N   MET A   1      ...      # target chain AND binder backbone\n    chain: A\n  binder:\n    sequence: SPEDEIQALEEKNAQLKQEIAALEEKI\n    chain: B\n  ```\n\n  That YAML is one target's `content`, sent like any other `targets` entry:\n  `{\"model\":\"af2ig\",\"name\":\"d1\",\"targets\":[{\"name\":\"d1\",\"content\":\"\u003Cthe YAML above>\"}]}`.\n  The binder chain has to be in the structure and the same length as the sequence: AF2-IG\n  re-predicts the complex from those coordinates. The result row carries `plddt`, `ptm`,\n  `iptm`, `pae`, `ipae` and `interface_pae` (Angstrom). `iptm` and `interface_pae` are what\n  a binder pipeline filters on. No MSA, no sampling, no seed: the same input gives the same\n  answer, so `use_msa_server`, `sampling_steps` and `diffusion_samples` are refused for it.\n- For complexes \u002F protein–ligand affinity \u002F multiple chains, pass a **Boltz YAML**\n  string as `input` (`sequences:` with `protein`\u002F`dna`\u002F`rna`\u002F`ligand` chains;\n  `properties:` for the affinity head).\n- `params`: `use_msa_server` (Boltz-2 cannot fold without one, so a `false` is put back to\n  `true` and the job's `warnings` say so; for an MSA-free fold, as when you refold a design\n  to check it against its own sequence, use ESMFold-2 or OpenFold3), `fast`, `recycling_steps`,\n  `sampling_steps`, `diffusion_samples`, `output_format`, `seed` (default 0, echoed on the\n  job), `use_tfg_guidance` (OpenDDE only, see below), `write_pae` (every prediction model: returns `\u003Cname>_pae.npz` with the full PAE\n  matrix and, where the model computes them, PDE and contact probabilities; see Reading\n  results). Not every model takes every one:\n  a param the model cannot honour comes back as a 400 naming both, so read `caps` in\n  `GET \u002Fv1\u002Fmodels` (no `fast` on OpenFold3, OpenBind-0 or RoseTTAFold3; no `use_msa_server`\n  on ESMFold-2 Fast, which has no MSA encoder; on AF2-IG only `recycling_steps`,\n  `output_format` and `write_pae`). Leave `recycling_steps` and `sampling_steps`\n  out unless you mean to override a model's own value.\n- **Guided antibody docking (OpenDDE).** If the user knows part of an antibody-antigen\n  interface, add a top-level `constraint:` block to the YAML and send\n  `\"use_tfg_guidance\": true` (on `opendde` or `opendde-abag` only). The antibody chains move\n  as a rigid body during sampling until the prediction agrees. Residues are addressed as in\n  OpenDDE: `entity` = 1-based entry of `sequences`, `copy` = 1-based copy in its `id` list,\n  `position` = 1-based residue.\n\n  ```yaml\n  constraint:\n    movable_chains: [H, L]          # the antibody\n    contact:                        # antigen residue \u003C-> antibody residue, 3.5-8 A by default\n      - {entity1: 3, position1: 248, entity2: 2, position2: 93}\n    # or, when only the antigen side is known (pocket mode), instead of contact:\n    # epitope: {residues: [{entity: 3, copy: 1, position: 248}], min_fraction: 0.5}\n  ```\n\n  A wrong contact pulls the antibody to the wrong place, so tell the user to leave out\n  pairs they are unsure of; an epitope with `min_fraction` below 1 tolerates a few wrong\n  residues. Guided folds take longer and are billed for the time they run.\n- **Guided folding (Mol-1).** If the user knows a binding site, specific contacts or a\n  region that must stay clear, add a top-level `constraints:` list to the YAML on `mol1`.\n  Any mix of three blocks; residues are `[chain, 1-based position in the sent sequence]`:\n\n  ```yaml\n  constraints:\n    - site:        # these residues should touch the partner chains (\u003C= 4.5 A)\n        source_chains: [A]\n        partner_chains: [L]\n        residue_ids: [[A, 12], [A, 16]]\n    - contact:     # these pairs should touch (\u003C= 4.5 A); or token_pairs: [[i, j]], 0-based tokens\n        pairs: [[[A, 71], [B, 149]]]\n    - exclusion:   # these residues should stay away from the partner chains (> 6.0 A)\n        source_chains: [A]\n        partner_chains: [L]\n        residue_ids: [[A, 40]]\n  ```\n\n  Mol-1 then folds on its constraint weights. It conditions on the request and does not\n  enforce it, so check the geometry in the result. A contact the true structure does not\n  have gets pulled in anyway and can clash, so tell the user to leave out pairs they are\n  unsure of. Billed like any Mol-1 fold.\n- **Fast mode is off by default.** Send `\"fast\": true` for higher throughput; it may be\n  slightly less accurate. The workbench turns it on for humans, the API never does it for\n  you. ESMFold-2 is the exception: omitted means fast for it, and `\"fast\": false` runs its\n  normal mode.\n- `recycling_steps` is capped at 10, or 20 on ESMFold-2. On Boltz-2, ESMFold-2, OpenFold3\n  and OpenBind-0 it counts recycles after a first trunk pass (N runs N+1 passes; for\n  ESMFold-2 it equals Biohub's `num_loops`).\n- `GET \u002Fv1\u002Fmodels` lists every model, protocol, parameter, and the current limits.\n\n## Design binders (BoltzGen, RFdiffusion3, PXDesign or RFD4-Proteina)\n\nFour design models, and you pick one. They take different inputs, so the choice\ncomes first. `GET \u002Fv1\u002Fmodels` returns `design_models`, each model's `params`, and\neach protocol's `engine`.\n\n**BoltzGen** takes a target described in a YAML spec and returns a ranked,\nfiltered top set with confidence metrics. Protocols: `protein-anything`,\n`peptide-anything`, `nanobody-anything`, `antibody-anything`,\n`protein-small_molecule`, `protein-redesign`. Params: `num_designs`, `budget`,\n`fast`, `seed` (omit it for a fresh draw; give one to get the same designs back).\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"boltzgen\",\"protocol\":\"protein-anything\",\"params\":{\"num_designs\":10},\n       \"spec\":\"entities:\\n  - protein: {id: A, sequence: \u003Ctarget sequence>}\\n  - protein: {id: B, sequence: 60..80}\\n\"}'\n```\n\nThe spec is a list under `entities:`, not predict's `sequences:`. Each chain is a\n`protein`, `dna`, `rna` or `ligand` with an `id`. The chain to design gets a\nresidue-count range as its sequence (`60..80`); letters such as `XXXX` are read as a\nfixed chain, not a design. There is no `binder:`, `hotspots:`, `version:` or pocket\nconstraint. To aim at an epitope, give the target `binding_types: {binding: '45..52'}`\n(1-based residues). A spec the engine would reject is refused at submit with a `400`\nthat names the problem and shows this shape.\n\n**A target structure can be named instead of pasted.** Every `structure` field (and\nAF2-IG's `target: structure:`) takes `pdb:1ABC` (an RCSB entry; a bare 4-character id\nworks too) or `afdb:P69905` (the AlphaFold DB model of a UniProt accession). The API\nfetches the entry's mmCIF and checks it exactly like a paste; the job's `fetched` field\nrecords the id and the sha256 of what ran. An unknown id is a free `400` at submit.\nDon't download and paste an entry yourself, and never cut it down to fit a tool call:\npaste text only for a structure that is not in the PDB or AlphaFold DB, such as your\nown model or an edited file.\n\n**RFdiffusion3** runs all-atom diffusion directly around a target structure you\npaste in, with a contig saying what stays fixed and what gets designed. Protocols:\n`rfd3-binder`, `rfd3-scaffold`, `rfd3-na-binder`. Params: `num_designs`,\n`num_timesteps`, `seed`. A contig keeps protein and nucleic-acid residues only:\nions, ligands, waters and modified residues like MSE are dropped before the contig\nis read, so naming one is a 400 at submit. Keep a zinc finger and you keep the\nresidues that coordinate the metal, not the metal; rename a modified residue to its\nstandard parent (MSE to MET) if you need it in the motif.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"rfd3\",\"protocol\":\"rfd3-binder\",\"structure\":\"pdb:\u003Cid> or \u003CPDB\u002FmmCIF text>\",\n       \"contig\":\"A1-150,60-80\",\"params\":{\"num_designs\":4}}'\n```\n\nA finished `rfd3-scaffold` or `rfd4-scaffold` job scores and ranks its own designs,\nso read `GET \u002Fv1\u002Fjobs\u002F{id}\u002Fresults` and sort by `final_rank` instead of downloading\nthe structures to measure them. Each design carries `motif_rmsd` (the kept motif\nagainst the structure you sent, in Angstrom; RFdiffusion3 copies the kept\ncoordinates so a held motif reads `0.0`, RFD4-Proteina conditions on them instead\nso a held motif reads a few tenths, compare designs within a job), `num_chains` with\n`chains_expected` beside it (they differ when the output came back in the wrong\nnumber of pieces; a binder contig legitimately expects two), `designed_length`\nand `designed_sequence`. The rank is the distance from `chains_expected`, then\n`motif_rmsd`, a structural\nsanity order and not a confidence score: neither model produces one. If you need\nconfidence, refold a design as its own prediction job and read its pLDDT.\n\n**PXDesign** generates binder backbones against a target structure, conditioned\non a distogram of the chains you name. Fastest of the three. Protocol:\n`pxdesign-binder`. Params: `num_designs`, `n_step`, `seed`.\n\n**It returns a backbone with no sequence:** coordinates only, no ranking, no\nconfidence score. Every binder residue is written as GLY with only N\u002FCA\u002FC\u002FO,\nbecause that is what the model generates. Take the coordinates to a\nsequence-design tool before ordering anything; for a ranked, sequenced binder use\nBoltzGen. Each design carries a `fit_rmsd`, the residual of fitting the model's\nown reconstruction of the target onto the real target. That number says whether\nthe conditioning worked.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"pxdesign\",\"protocol\":\"pxdesign-binder\",\"structure\":\"pdb:\u003Cid> or \u003CPDB\u002FmmCIF text>\",\n       \"chains\":\"A\",\"binder_length\":80,\"hotspots\":\"A64,A65,A66\",\n       \"params\":{\"num_designs\":4}}'\n```\n\n**RFD4-Proteina** also takes a pasted structure plus a contig, and decodes\ncoordinates and a sequence in one step, so every design comes back sequenced.\nProtocols: `rfd4-binder`, `rfd4-scaffold`. Params: `num_designs`, `recipe`\n(`thinking_low` \u002F `thinking_medium` \u002F `thinking_high`, 120 \u002F 180 \u002F 300 trunk\npasses a design, cost follows), `nsteps`, `seed`.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"rfd4\",\"protocol\":\"rfd4-binder\",\"structure\":\"pdb:\u003Cid> or \u003CmmCIF text>\",\n       \"contig\":\"60-60, \u002F0, A2-115\",\"params\":{\"num_designs\":4}}'\n```\n\n**mmCIF only**: a pasted PDB is refused at submit, because the model conditions on\nbonds and formal charges a PDB does not reliably carry. Use RFdiffusion3 if you only\nhave a PDB. The contig reads left to right: a bare number or range designs that many\nresidues, `\u002F0` starts a new chain, a chain-range like `A2-115` keeps that part of the\nstructure. Chain and residue ids are the file's own (`label_asym_id` \u002F `label_seq_id`),\nwhich can differ from what a viewer shows; a contig matching no atoms is refused at\nsubmit, as is a kept chain whose `label_seq_id` column is empty (`.`) -- fill it in with\n`gemmi convert` or use the mmCIF as RCSB serves it. The contig always keeps something:\nRFD4 designs against a structure here, so\n`\"60-60\"` with nothing preserved is refused rather than queued. To redesign an antibody\nor nanobody CDR, keep the framework either side of the loop in one run and the antigen\nas its own chain: `\"A9-40, 8, A50-93, \u002F0, B3-15\"` designs 8 CDR residues between kept\nframework A9-40 and A50-93, against partner chain B. Two kept ranges of one chain must\nnot be split by `\u002F0`, which would ask for two output chains with the same name, and they\nmust not be written side by side either (`\"A9-40, A50-93\"`): put the residues that link\nthem in between as a designed segment, as the example does.\n`hotspots` is optional. Designs come back scored and ranked like RFdiffusion3's\n(`motif_rmsd`, `num_chains` against `chains_expected`, `final_rank`), measured in the\nfile's own numbering; for a confidence number, refold the ones you like with a\nprediction and read `iptm`.\n\n`model` is optional but must match the protocol's engine, else `400`. Wait the\nsame way; `\u002Fv1\u002Fjobs\u002F{id}\u002Fresults` returns the designs.\n\n## Compute protein embeddings (ESMC, SaProt)\n\nSubmit → wait → download, same as predict\u002Fdesign:\n\n```bash\nJOB=$(curl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fembeddings -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"esmc-600m\",\"sequence\":\"MKTAYIAKQRQISFVKSHFSRQLEE\"}' \\\n  | python3 -c 'import sys,json; r=json.load(sys.stdin); print(r[\"id\"]) if \"id\" in r else sys.exit(r[\"detail\"])')\n: \"${JOB:?submit failed, see the message above}\"   # a script stops here instead of polling an empty job id\n\ncurl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB?wait=60\"     # repeat until status is terminal\ncurl -s \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fresults       # -> sequences: [{id, length, file}, ...]\ncurl -fsLOJ \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Farchive   # zip: manifest.json + embeddings\ncurl -fsL \"${H[@]}\" -o \"$F\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fartifacts\u002F$F\"  # one file, F = a sequences[].file\n```\n\nMultiple sequences go in `sequences` (a list) or `input` (a FASTA\u002FYAML blob, the\nsame flexibility as predict's `input`):\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fembeddings -H 'Content-Type: application\u002Fjson' -d '{\n  \"model\":\"esmc-600m\",\n  \"sequences\":[{\"id\":\"gfp\",\"sequence\":\"MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDAT\"},\n               {\"id\":\"lysozyme\",\"sequence\":\"KVFGRCELAAAMKRHGLDNYRGYSLGNWVCAAKFESNF\"}]\n}'\n```\n\n- **Models** (vector length in brackets): `esmc-300m` (960), `esmc-600m` (1152,\n  default), `esmc-6b` (2560). Larger trunks give a stronger representation at\n  higher compute cost per sequence. Plus `saprot-650m` and `saprot-1.3b` (1280\n  each), trained on a joint sequence + structure\n  vocabulary and run sequence-only here. SaProt is a different representation\n  from ESMC, often stronger for stability and function prediction.\n- `params`: `pool` (`mean` default, `max`, `cls`: how per-residue vectors combine\n  into one fixed-size vector), `format` (`npz` default: per-residue + pooled, one\n  file per sequence; `parquet`: pooled vectors only, one table), `fast`.\n- Results: `manifest.json` (model\u002Fpool\u002Fshapes\u002Fdtype) plus one `\u003Cid>.npz` per\n  sequence (or one shared `embeddings.parquet`). No structure, no MSA, only the\n  language-model trunk, so these are the cheapest jobs.\n- `GET \u002Fv1\u002Fmodels` lists the embedding models (with `dim`) and params too.\n\n## Reading results\n\n`GET \u002Fv1\u002Fjobs\u002F{id}\u002Fresults` gives `ready`, an `artifacts` list (each with a `url`),\nand, for a prediction, per-target `rows` (`confidence_score`, `complex_plddt`,\n`iptm`, affinity fields); for a design, the ranked `designs`. Pass lines mirror\nBoltz-2: interface `iptm` > 0.5, fold `complex_plddt` > 0.7. Download a single\nstructure from its artifact `url`, or the whole bundle from `…\u002Farchive`. A succeeded\n`GET \u002Fv1\u002Fjobs\u002F{id}` also carries `download`, one shell command for every file.\n\n**Confidence matrices.** With `write_pae: true` each target also has an artifact of type\n`pae`, `\u003Cname>_pae.npz` (compressed numpy, about 11 MB at 1,024 tokens), and one of type\n`pae_sidecar`, `\u003Cname>_pae.json`. All arrays are the top-ranked structure's, on one token\naxis of length N in the structure's own order (one token per residue or nucleotide, one per\nligand atom). The keys are the open-source tt-bio engine's:\n\n- `pae` [N, N] float32, Å: expected aligned error of token j when aligned on token i. Not\n  symmetric. This is the matrix Adaptyv's ipSAE pipeline reads.\n- `pde` [N, N] float32, Å: expected distance error, symmetric. Every model but `af2ig`.\n- `contact_probs` [N, N] float32: probability that tokens i and j are within\n  `contact_cutoff_A` (a scalar in the same file, the model's distogram bin edge just under\n  8 Å, 7.71 to 8.00). Symmetric, diagonal 1. Every model.\n\nThe sidecar lists the arrays present (`arrays`, with shape, dtype and units) and, under\n`absent`, any the model cannot compute and why. Read it rather than assuming a key exists,\nand never treat a missing array as zeros. `GET \u002Fv1\u002Fmodels` has the same per model under\n`confidence`. ipTM is a results-row field, not in the file: for a multi-chain input every\nmodel's row has `iptm`, the chain-pair matrix `pair_chains_iptm` and its diagonal\n`chains_ptm`, keyed by chain position (`\"0\"`, `\"1\"`; ESMFold-2 keys by chain ID).\n\n```python\nimport json, numpy as np\nside = json.load(open(\"t1_pae.json\")); m = np.load(\"t1_pae.npz\")\npae = m[\"pae\"]; contacts = m[\"contact_probs\"] if \"contact_probs\" in side[\"arrays\"] else None\n```\n\n## Limits & notes\n\n- The one size limit is **each model's residue ceiling per structure**, the\n  largest size the engine is measured to fold on this hardware: 1920 for\n  Boltz-2, 1664 for ESMFold-2, 1664 for ESMFold-2 Fast,\n  1664 for OpenFold3, 1664 for OpenBind-0, 1600 for RoseTTAFold3, 1536 for OpenDDE · General,\n  1536 for OpenDDE · Antibody-Antigen, and 1024 for every other folding model\n  (Mol-1 included; AF2-IG counts the target plus the binder). Design is bounded the same way: RFdiffusion3's contig\n  (motif + designed regions) caps at 1536, PXDesign's target chains plus\n  binder at 1536, RFD4-Proteina's contig at 512, and `binder_length` is 8-200. `GET \u002Fv1\u002Fmodels` publishes each\n  model's `max_residues`. Over a cap → `400` naming the model and its\n  ceiling. Numeric params are clamped to range.\n- **A model's ceiling is not its track record.** `GET \u002Fv1\u002Fmodels` reports both:\n  `max_residues` is what will be accepted, `measured_wall` is the largest\n  structure that model has actually run on this hardware, and it can be much\n  lower (AF2-IG accepts 1024 and has run 848). Sizes in between are taken\n  and tried on purpose, because a wall that moves with alignment depth or is not\n  monotonic in residue count cannot honestly be a ceiling. Such a job is\n  accepted with a `warnings` entry saying so, and if it does fail on device it\n  comes back `failed` naming the wall and the models that have run that size.\n  One job, nothing else affected. Read `measured_wall` if you want to pick a\n  model that will finish rather than one that will be accepted.\n- `?wait=60` (or the header `Prefer: wait=60`, which also works on a create) is a\n  preference, not a guarantee (RFC 7240). One account is held on two jobs at a\n  time, so wait on one job at a time, not on a whole batch in parallel. Past that,\n  or under heavy load, the request returns the job's current state at once with\n  `Retry-After` and a `wait_refused` field saying no hold happened; pause that many\n  seconds before the next call. Otherwise never\n  `sleep` between waits, the hold already paces the loop. From a shell, `japanfold wait JOB` does the same loop.\n  A queued or running job carries this call as `wait.url`, ready to paste.\n- Errors are RFC 9457 problem+json (`title`, `detail`).\n- **`401` with `sign_in_required: true`** means no key or a bad one. If\n  `JAPANFOLD_API_KEY` is set, send it as `Authorization: Bearer $JAPANFOLD_API_KEY`;\n  if there is none, or the 401 says it is revoked, send the user to\n  `https:\u002F\u002Fjapanfold.aiand.com\u002Faccount\u002Ftoken`.\n- **`402` with `out_of_credit: true`** means the balance is spent. Tell the user;\n  retrying will not help until they add funds.\n- Full machine-readable contract: `GET \u002Fv1\u002Fopenapi.json`.\n","# JapanFold: hosted structure prediction and binder design\n\nJapanFold runs Boltz-2 \u002F ESMFold-2 \u002F OpenFold3 \u002F OpenBind-0 \u002F RoseTTAFold3 \u002F\nOpenDDE \u002F Mol-1 (structure prediction; Boltz-2 also does affinity, OpenBind-0, RoseTTAFold3\nand Mol-1 co-fold ligands, OpenDDE is protein-complex \u002F antibody-antigen docking), AF2-IG (scores a\nbinder you already designed), BoltzGen \u002F RFdiffusion3 \u002F\nPXDesign \u002F RFD4-Proteina (binder design), and ESMC \u002F SaProt (protein-language-model\nembeddings) on Tenstorrent\nhardware behind an HTTP API hosted in Japan. You call it as an async job\n(**submit → wait → download**) over plain HTTPS against\n`https:\u002F\u002Fapi.japanfold.aiand.com`. No model to install and no local GPU.\n\n**Key.** Every call needs one. Look in your environment before anything else:\n`[ -n \"$JAPANFOLD_API_KEY\" ] && echo set`. If it is set, it is the user's key,\nso use it (and `JAPANFOLD_BASE_URL` if that is set too). Only if it is unset,\nsend the user to `https:\u002F\u002Fjapanfold.aiand.com\u002Faccount\u002Ftoken`: they sign in with\nan email address and the page shows a key, and a new account comes with $100.\nNever ask for the key in the chat. The user sets it in their own shell and\nrestarts you from there; a key pasted into a chat goes to the model provider.\nFor the same reason never print it (test it with `[ -n ... ]`, not `echo`) and\npass it as `$JAPANFOLD_API_KEY` rather than writing its value into a command.\nWork is billed per processor hour of chip time, taken from that balance;\n`GET \u002Fv1\u002Fcredits` returns the balance, the rate and `billing_url`, the page where\na person adds funds. Asked what a job will cost, read `typical_cost` on the\nmodel or protocol in `GET \u002Fv1\u002Fmodels`. For a prediction, multiply\n`usd_per_target_p90` by the number of targets that will be submitted: each target\nruns on its own chip, and that per-target figure is what past jobs (last 7 days)\ncost at most of the time. The per-job `usd_p50`\u002F`usd_p90` follow whatever batch\nsizes users sent that week, so do not quote them as the price of a prediction of\nanother size. A design or embedding job splits its own work across chips and has\nper-job figures only; quote those as what a typical job cost. Say it is history,\nnot a quote. Do not derive a ceiling from the rate and the runtime limit.\nWhat was spent in a period\nis `GET \u002Fv1\u002Fusage?from=YYYY-MM-DD&to=YYYY-MM-DD&limit=1`: `summary.amount` is\nthe total in US dollars (`summary.currency`), and `summary.by_model` splits it\nper model. Quote `amount`; every `*_micros` field is millionths of a dollar.\n\nWorks from any agent\u002Fharness: use `curl` (Bash) or your language's HTTP client\n(`httpx`\u002F`requests`, `fetch`, `net\u002Fhttp`, …), whatever your environment has.\nA terminal can also use the CLI: `pip install japanfold`, then `japanfold --help`\n(same key, `--json` on every command, `wait JOB_ID` blocks until a job ends).\nMany separate proteins from the CLI are one job too: `japanfold fold proteins.fasta --each --wait`\nfolds every FASTA record as its own target (japanfold >= 1.1.0).\nIf your environment sandboxes network egress, the host to allow is\n**`api.japanfold.aiand.com`**; every result file comes from it. In Claude Science, call\n`request_network_access` for that host before the first request. Claude Science has no\ncredential slot for a JapanFold key, so there the MCP server below is the way in: it\nsigns in through the browser and needs no key.\n\n**MCP.** The same API is an MCP server at `https:\u002F\u002Fapi.japanfold.aiand.com\u002Fmcp`.\nIf the `japanfold` MCP tools (`create_prediction`, `get_job`, `get_results`, ...)\nare available, use them instead of curl: they take the same fields as the\nendpoints below. Follow a job with `get_job` and `wait=100`: one call holds up to\n100 s for it to end. A succeeded `get_job` carries `download`, one shell command that\nfetches every result file; run it rather than calling `get_artifact` per file. To add the server to Claude Code:\n`claude mcp add --transport http japanfold https:\u002F\u002Fapi.japanfold.aiand.com\u002Fmcp --header \"Authorization: Bearer $JAPANFOLD_API_KEY\"`.\nclaude.ai \u002F Claude Desktop \u002F Claude Science \u002F ChatGPT: add `https:\u002F\u002Fapi.japanfold.aiand.com\u002Fmcp` as a connector and sign in, no key needed.\nSetup for every Claude surface (claude.ai, Claude Code, Claude Science, the Claude API) is at\nhttps:\u002F\u002Fjapanfold.aiand.com\u002Fdocs\u002Fclaude\u002F.\n\n## Predict a structure\n\nSubmit → wait until `status` is terminal → read results:\n\n```bash\nBASE=${JAPANFOLD_BASE_URL:-https:\u002F\u002Fapi.japanfold.aiand.com}\nH=(-H 'X-JapanFold-Client: skill' -H \"Authorization: Bearer $JAPANFOLD_API_KEY\")\n# 1. submit: input is a bare `sequence`, one `input` FASTA\u002FYAML string, or a `targets` list.\n#    To retry a submit that timed out, resend it with the same `Idempotency-Key: \u003Cunique>`\n#    header: you get the first job back instead of a second one to pay for. A key names\n#    its job for 24 h. Generate each new submission's key, do not write one yourself:\n#    `python3 -c 'import uuid; print(uuid.uuid4())'` (uuidgen is missing on many hosts).\nJOB=$(curl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fpredictions -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"boltz2\",\"name\":\"mytarget\",\"sequence\":\"MKTAYIAKQRQISFVKSHFSRQLEE\"}' \\\n  | python3 -c 'import sys,json; r=json.load(sys.stdin); print(r[\"id\"]) if \"id\" in r else sys.exit(r[\"detail\"])')\n: \"${JOB:?submit failed, see the message above}\"   # a script stops here instead of polling an empty job id\n\n# 2. wait. `?wait=60` holds the GET until the job finishes or 60 s pass, so loop on it\n#    with no sleep: each call returns the moment the job is done. The first job on a\n#    processor also loads the model's weights. When the service is busy the job carries\n#    `queue`: its `reason`, how many `accounts_ahead` and the fleet's chip counts. That\n#    is a real wait, not a stall, so keep waiting. It has no time estimate, so do not\n#    invent one. A design job runs for minutes, longer than many agent shells let one\n#    command live (Claude Code stops it at 2 min): there, run this loop in the\n#    background or make one `?wait=60` call per command, never `sleep` between them.\nwhile :; do\n  S=$(curl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB?wait=60\" | tee job.json \\\n      | python3 -c 'import sys,json; print(json.load(sys.stdin).get(\"status\"))')\n  case $S in queued|running) ;; *) break ;; esac\ndone\ncat job.json                                  # -> {\"status\":\"succeeded|failed|canceled\", ...}\n\n# 3. once status=succeeded: scores + artifact URLs, then download the bundle.\n#    A succeeded job that carries `partial` delivered less than it was asked for (a design\n#    shard or a target failed): tell the user `partial.delivered` of `partial.requested`.\ncurl -s \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fresults\ncurl -fsLOJ \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Farchive        # zip: structures + results.json\ncurl -fsL \"${H[@]}\" -o \"$F\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fartifacts\u002F$F\"  # one file named in results; -L follows to storage\n\n# Past jobs, newest first; ?status=failed lists only failures, each with its `error`.\ncurl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs?status=failed&limit=20\"\n# What a job was submitted with (sequences, structures, contigs), beside its `error`.\ncurl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Finput\"\n```\n\n**Multi-chain complexes** (e.g. insulin's A+B chains) go in the `input` YAML,\none `protein` entry per chain, not the bare `sequence` field. A FASTA in `input` works\ntoo, on every model, with any headers (`>insulin_a`, `>heavy chain`, a UniProt\n`>sp|P01308|INS_HUMAN ...`): a name the model can't hold becomes A, B, ... and the job's\n`warnings` say which record became which chain.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fpredictions -H 'Content-Type: application\u002Fjson' -d '{\n  \"model\":\"boltz2\",\"name\":\"human-insulin\",\n  \"input\":\"sequences:\\n  - protein: {id: A, sequence: GIVEQCCTSICSLYQLENYCN}\\n  - protein: {id: B, sequence: FVNQHLCGSHLVEALYLVCGERGFFYTPKT}\\n\"\n}'\n```\n\n**Many separate proteins** (a screen, a list of candidates) go in ONE job as a `targets`\nlist, one entry each. Records inside a single `input` are chains of one complex, so never\npaste a screen there. Each target gets its own structure, `\u003Cname>.pdb` with\n`output_format: pdb` (the default is mmCIF), and its own row in `results`, so one job\ncovers the whole set:\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fpredictions -H 'Content-Type: application\u002Fjson' -d '{\n  \"model\":\"esmfold2-fast\",\"name\":\"screen\",\"params\":{\"output_format\":\"pdb\"},\n  \"targets\":[{\"name\":\"cand01\",\"content\":\">cand01\\nMQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEG\"},\n             {\"name\":\"cand02\",\"content\":\">cand02\\nTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIF\"}]\n}'\n```\n\nPython equivalent (notebooks, scripts):\n\n```python\nimport os, httpx\nBASE = os.environ.get(\"JAPANFOLD_BASE_URL\", \"https:\u002F\u002Fapi.japanfold.aiand.com\")\njf = httpx.Client(base_url=BASE, headers={\"X-JapanFold-Client\": \"skill\",\n                  \"Authorization\": f\"Bearer {os.environ['JAPANFOLD_API_KEY']}\"},\n                  timeout=90)\njob = jf.post(\"\u002Fv1\u002Fpredictions\", json={\"model\": \"boltz2\", \"sequence\": \"MKT...\"}).json()\nwhile job[\"status\"] not in (\"succeeded\", \"failed\", \"canceled\"):\n    job = jf.get(f\"\u002Fv1\u002Fjobs\u002F{job['id']}\", params={\"wait\": 60}).json()  # held, no sleep\nres = jf.get(f\"\u002Fv1\u002Fjobs\u002F{job['id']}\u002Fresults\").json()\n```\n\n- **Models:** `boltz2` (default; MSA + ligands + affinity), `esmfold2`,\n  `esmfold2-fast` (single-sequence, fastest), which both co-fold ligands and\n  nucleic acids and neither predicts affinity; `openfold3` (the\n  OpenFold Consortium's AlphaFold3 reproduction, preview weights; protein \u002F RNA \u002F\n  DNA, no ligands or affinity), `openbind` (the same stack on the OpenBind-0\n  checkpoint, which does co-fold ligands),\n  `rf3` (RoseTTAFold3: proteins, RNA\u002FDNA and ligands, no covalent modifications or\n  binding constraints from this input format), and the OpenDDE family, `opendde`\n  (general protein-complex checkpoint) and `opendde-abag` (antibody-antigen\n  checkpoint), both protein-only with MSA on by default, no affinity, and `mol1`\n  (Mol-1, model by Molence: an AlphaFold3-family model for proteins, DNA, RNA, ligands\n  and ions, MSA on by default, 20 recycles, 200 steps and 5 samples by default, no affinity).\n  `opendde-abag`'s accuracy is verified to match the reference OpenDDE\n  implementation: strong on standard antibody-antigen complexes, and it shares\n  the reference's own limitation on some hard targets (a checkpoint\n  characteristic, not a port defect). For binding affinity use `boltz2`. For\n  ligands, `boltz2`, `openbind`, `rf3`, `mol1` or the `esmfold2` pair;\n  add `openfold3` for DNA\u002FRNA without ligands.\n- **`af2ig` takes a different input from all of the above.** AlphaFold2 initial-guess\n  scores a binder you already designed, so instead of a chain list its target `content` is\n  a structure plus the binder's sequence:\n\n  ```yaml\n  target:\n    structure: |\n      ATOM      1  N   MET A   1      ...      # target chain AND binder backbone\n    chain: A\n  binder:\n    sequence: SPEDEIQALEEKNAQLKQEIAALEEKI\n    chain: B\n  ```\n\n  That YAML is one target's `content`, sent like any other `targets` entry:\n  `{\"model\":\"af2ig\",\"name\":\"d1\",\"targets\":[{\"name\":\"d1\",\"content\":\"\u003Cthe YAML above>\"}]}`.\n  The binder chain has to be in the structure and the same length as the sequence: AF2-IG\n  re-predicts the complex from those coordinates. The result row carries `plddt`, `ptm`,\n  `iptm`, `pae`, `ipae` and `interface_pae` (Angstrom). `iptm` and `interface_pae` are what\n  a binder pipeline filters on. No MSA, no sampling, no seed: the same input gives the same\n  answer, so `use_msa_server`, `sampling_steps` and `diffusion_samples` are refused for it.\n- For complexes \u002F protein–ligand affinity \u002F multiple chains, pass a **Boltz YAML**\n  string as `input` (`sequences:` with `protein`\u002F`dna`\u002F`rna`\u002F`ligand` chains;\n  `properties:` for the affinity head).\n- `params`: `use_msa_server` (Boltz-2 cannot fold without one, so a `false` is put back to\n  `true` and the job's `warnings` say so; for an MSA-free fold, as when you refold a design\n  to check it against its own sequence, use ESMFold-2 or OpenFold3), `fast`, `recycling_steps`,\n  `sampling_steps`, `diffusion_samples`, `output_format`, `seed` (default 0, echoed on the\n  job), `use_tfg_guidance` (OpenDDE only, see below), `write_pae` (every prediction model: returns `\u003Cname>_pae.npz` with the full PAE\n  matrix and, where the model computes them, PDE and contact probabilities; see Reading\n  results). Not every model takes every one:\n  a param the model cannot honour comes back as a 400 naming both, so read `caps` in\n  `GET \u002Fv1\u002Fmodels` (no `fast` on OpenFold3, OpenBind-0 or RoseTTAFold3; no `use_msa_server`\n  on ESMFold-2 Fast, which has no MSA encoder; on AF2-IG only `recycling_steps`,\n  `output_format` and `write_pae`). Leave `recycling_steps` and `sampling_steps`\n  out unless you mean to override a model's own value.\n- **Guided antibody docking (OpenDDE).** If the user knows part of an antibody-antigen\n  interface, add a top-level `constraint:` block to the YAML and send\n  `\"use_tfg_guidance\": true` (on `opendde` or `opendde-abag` only). The antibody chains move\n  as a rigid body during sampling until the prediction agrees. Residues are addressed as in\n  OpenDDE: `entity` = 1-based entry of `sequences`, `copy` = 1-based copy in its `id` list,\n  `position` = 1-based residue.\n\n  ```yaml\n  constraint:\n    movable_chains: [H, L]          # the antibody\n    contact:                        # antigen residue \u003C-> antibody residue, 3.5-8 A by default\n      - {entity1: 3, position1: 248, entity2: 2, position2: 93}\n    # or, when only the antigen side is known (pocket mode), instead of contact:\n    # epitope: {residues: [{entity: 3, copy: 1, position: 248}], min_fraction: 0.5}\n  ```\n\n  A wrong contact pulls the antibody to the wrong place, so tell the user to leave out\n  pairs they are unsure of; an epitope with `min_fraction` below 1 tolerates a few wrong\n  residues. Guided folds take longer and are billed for the time they run.\n- **Guided folding (Mol-1).** If the user knows a binding site, specific contacts or a\n  region that must stay clear, add a top-level `constraints:` list to the YAML on `mol1`.\n  Any mix of three blocks; residues are `[chain, 1-based position in the sent sequence]`:\n\n  ```yaml\n  constraints:\n    - site:        # these residues should touch the partner chains (\u003C= 4.5 A)\n        source_chains: [A]\n        partner_chains: [L]\n        residue_ids: [[A, 12], [A, 16]]\n    - contact:     # these pairs should touch (\u003C= 4.5 A); or token_pairs: [[i, j]], 0-based tokens\n        pairs: [[[A, 71], [B, 149]]]\n    - exclusion:   # these residues should stay away from the partner chains (> 6.0 A)\n        source_chains: [A]\n        partner_chains: [L]\n        residue_ids: [[A, 40]]\n  ```\n\n  Mol-1 then folds on its constraint weights. It conditions on the request and does not\n  enforce it, so check the geometry in the result. A contact the true structure does not\n  have gets pulled in anyway and can clash, so tell the user to leave out pairs they are\n  unsure of. Billed like any Mol-1 fold.\n- **Fast mode is off by default.** Send `\"fast\": true` for higher throughput; it may be\n  slightly less accurate. The workbench turns it on for humans, the API never does it for\n  you. ESMFold-2 is the exception: omitted means fast for it, and `\"fast\": false` runs its\n  normal mode.\n- `recycling_steps` is capped at 10, or 20 on ESMFold-2. On Boltz-2, ESMFold-2, OpenFold3\n  and OpenBind-0 it counts recycles after a first trunk pass (N runs N+1 passes; for\n  ESMFold-2 it equals Biohub's `num_loops`).\n- `GET \u002Fv1\u002Fmodels` lists every model, protocol, parameter, and the current limits.\n\n## Design binders (BoltzGen, RFdiffusion3, PXDesign or RFD4-Proteina)\n\nFour design models, and you pick one. They take different inputs, so the choice\ncomes first. `GET \u002Fv1\u002Fmodels` returns `design_models`, each model's `params`, and\neach protocol's `engine`.\n\n**BoltzGen** takes a target described in a YAML spec and returns a ranked,\nfiltered top set with confidence metrics. Protocols: `protein-anything`,\n`peptide-anything`, `nanobody-anything`, `antibody-anything`,\n`protein-small_molecule`, `protein-redesign`. Params: `num_designs`, `budget`,\n`fast`, `seed` (omit it for a fresh draw; give one to get the same designs back).\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"boltzgen\",\"protocol\":\"protein-anything\",\"params\":{\"num_designs\":10},\n       \"spec\":\"entities:\\n  - protein: {id: A, sequence: \u003Ctarget sequence>}\\n  - protein: {id: B, sequence: 60..80}\\n\"}'\n```\n\nThe spec is a list under `entities:`, not predict's `sequences:`. Each chain is a\n`protein`, `dna`, `rna` or `ligand` with an `id`. The chain to design gets a\nresidue-count range as its sequence (`60..80`); letters such as `XXXX` are read as a\nfixed chain, not a design. There is no `binder:`, `hotspots:`, `version:` or pocket\nconstraint. To aim at an epitope, give the target `binding_types: {binding: '45..52'}`\n(1-based residues). A spec the engine would reject is refused at submit with a `400`\nthat names the problem and shows this shape.\n\n**A target structure can be named instead of pasted.** Every `structure` field (and\nAF2-IG's `target: structure:`) takes `pdb:1ABC` (an RCSB entry; a bare 4-character id\nworks too) or `afdb:P69905` (the AlphaFold DB model of a UniProt accession). The API\nfetches the entry's mmCIF and checks it exactly like a paste; the job's `fetched` field\nrecords the id and the sha256 of what ran. An unknown id is a free `400` at submit.\nDon't download and paste an entry yourself, and never cut it down to fit a tool call:\npaste text only for a structure that is not in the PDB or AlphaFold DB, such as your\nown model or an edited file.\n\n**RFdiffusion3** runs all-atom diffusion directly around a target structure you\npaste in, with a contig saying what stays fixed and what gets designed. Protocols:\n`rfd3-binder`, `rfd3-scaffold`, `rfd3-na-binder`. Params: `num_designs`,\n`num_timesteps`, `seed`. A contig keeps protein and nucleic-acid residues only:\nions, ligands, waters and modified residues like MSE are dropped before the contig\nis read, so naming one is a 400 at submit. Keep a zinc finger and you keep the\nresidues that coordinate the metal, not the metal; rename a modified residue to its\nstandard parent (MSE to MET) if you need it in the motif.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"rfd3\",\"protocol\":\"rfd3-binder\",\"structure\":\"pdb:\u003Cid> or \u003CPDB\u002FmmCIF text>\",\n       \"contig\":\"A1-150,60-80\",\"params\":{\"num_designs\":4}}'\n```\n\nA finished `rfd3-scaffold` or `rfd4-scaffold` job scores and ranks its own designs,\nso read `GET \u002Fv1\u002Fjobs\u002F{id}\u002Fresults` and sort by `final_rank` instead of downloading\nthe structures to measure them. Each design carries `motif_rmsd` (the kept motif\nagainst the structure you sent, in Angstrom; RFdiffusion3 copies the kept\ncoordinates so a held motif reads `0.0`, RFD4-Proteina conditions on them instead\nso a held motif reads a few tenths, compare designs within a job), `num_chains` with\n`chains_expected` beside it (they differ when the output came back in the wrong\nnumber of pieces; a binder contig legitimately expects two), `designed_length`\nand `designed_sequence`. The rank is the distance from `chains_expected`, then\n`motif_rmsd`, a structural\nsanity order and not a confidence score: neither model produces one. If you need\nconfidence, refold a design as its own prediction job and read its pLDDT.\n\n**PXDesign** generates binder backbones against a target structure, conditioned\non a distogram of the chains you name. Fastest of the three. Protocol:\n`pxdesign-binder`. Params: `num_designs`, `n_step`, `seed`.\n\n**It returns a backbone with no sequence:** coordinates only, no ranking, no\nconfidence score. Every binder residue is written as GLY with only N\u002FCA\u002FC\u002FO,\nbecause that is what the model generates. Take the coordinates to a\nsequence-design tool before ordering anything; for a ranked, sequenced binder use\nBoltzGen. Each design carries a `fit_rmsd`, the residual of fitting the model's\nown reconstruction of the target onto the real target. That number says whether\nthe conditioning worked.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"pxdesign\",\"protocol\":\"pxdesign-binder\",\"structure\":\"pdb:\u003Cid> or \u003CPDB\u002FmmCIF text>\",\n       \"chains\":\"A\",\"binder_length\":80,\"hotspots\":\"A64,A65,A66\",\n       \"params\":{\"num_designs\":4}}'\n```\n\n**RFD4-Proteina** also takes a pasted structure plus a contig, and decodes\ncoordinates and a sequence in one step, so every design comes back sequenced.\nProtocols: `rfd4-binder`, `rfd4-scaffold`. Params: `num_designs`, `recipe`\n(`thinking_low` \u002F `thinking_medium` \u002F `thinking_high`, 120 \u002F 180 \u002F 300 trunk\npasses a design, cost follows), `nsteps`, `seed`.\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fdesigns -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"rfd4\",\"protocol\":\"rfd4-binder\",\"structure\":\"pdb:\u003Cid> or \u003CmmCIF text>\",\n       \"contig\":\"60-60, \u002F0, A2-115\",\"params\":{\"num_designs\":4}}'\n```\n\n**mmCIF only**: a pasted PDB is refused at submit, because the model conditions on\nbonds and formal charges a PDB does not reliably carry. Use RFdiffusion3 if you only\nhave a PDB. The contig reads left to right: a bare number or range designs that many\nresidues, `\u002F0` starts a new chain, a chain-range like `A2-115` keeps that part of the\nstructure. Chain and residue ids are the file's own (`label_asym_id` \u002F `label_seq_id`),\nwhich can differ from what a viewer shows; a contig matching no atoms is refused at\nsubmit, as is a kept chain whose `label_seq_id` column is empty (`.`) -- fill it in with\n`gemmi convert` or use the mmCIF as RCSB serves it. The contig always keeps something:\nRFD4 designs against a structure here, so\n`\"60-60\"` with nothing preserved is refused rather than queued. To redesign an antibody\nor nanobody CDR, keep the framework either side of the loop in one run and the antigen\nas its own chain: `\"A9-40, 8, A50-93, \u002F0, B3-15\"` designs 8 CDR residues between kept\nframework A9-40 and A50-93, against partner chain B. Two kept ranges of one chain must\nnot be split by `\u002F0`, which would ask for two output chains with the same name, and they\nmust not be written side by side either (`\"A9-40, A50-93\"`): put the residues that link\nthem in between as a designed segment, as the example does.\n`hotspots` is optional. Designs come back scored and ranked like RFdiffusion3's\n(`motif_rmsd`, `num_chains` against `chains_expected`, `final_rank`), measured in the\nfile's own numbering; for a confidence number, refold the ones you like with a\nprediction and read `iptm`.\n\n`model` is optional but must match the protocol's engine, else `400`. Wait the\nsame way; `\u002Fv1\u002Fjobs\u002F{id}\u002Fresults` returns the designs.\n\n## Compute protein embeddings (ESMC, SaProt)\n\nSubmit → wait → download, same as predict\u002Fdesign:\n\n```bash\nJOB=$(curl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fembeddings -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"esmc-600m\",\"sequence\":\"MKTAYIAKQRQISFVKSHFSRQLEE\"}' \\\n  | python3 -c 'import sys,json; r=json.load(sys.stdin); print(r[\"id\"]) if \"id\" in r else sys.exit(r[\"detail\"])')\n: \"${JOB:?submit failed, see the message above}\"   # a script stops here instead of polling an empty job id\n\ncurl -s \"${H[@]}\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB?wait=60\"     # repeat until status is terminal\ncurl -s \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fresults       # -> sequences: [{id, length, file}, ...]\ncurl -fsLOJ \"${H[@]}\" $BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Farchive   # zip: manifest.json + embeddings\ncurl -fsL \"${H[@]}\" -o \"$F\" \"$BASE\u002Fv1\u002Fjobs\u002F$JOB\u002Fartifacts\u002F$F\"  # one file, F = a sequences[].file\n```\n\nMultiple sequences go in `sequences` (a list) or `input` (a FASTA\u002FYAML blob, the\nsame flexibility as predict's `input`):\n\n```bash\ncurl -s \"${H[@]}\" -X POST $BASE\u002Fv1\u002Fembeddings -H 'Content-Type: application\u002Fjson' -d '{\n  \"model\":\"esmc-600m\",\n  \"sequences\":[{\"id\":\"gfp\",\"sequence\":\"MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDAT\"},\n               {\"id\":\"lysozyme\",\"sequence\":\"KVFGRCELAAAMKRHGLDNYRGYSLGNWVCAAKFESNF\"}]\n}'\n```\n\n- **Models** (vector length in brackets): `esmc-300m` (960), `esmc-600m` (1152,\n  default), `esmc-6b` (2560). Larger trunks give a stronger representation at\n  higher compute cost per sequence. Plus `saprot-650m` and `saprot-1.3b` (1280\n  each), trained on a joint sequence + structure\n  vocabulary and run sequence-only here. SaProt is a different representation\n  from ESMC, often stronger for stability and function prediction.\n- `params`: `pool` (`mean` default, `max`, `cls`: how per-residue vectors combine\n  into one fixed-size vector), `format` (`npz` default: per-residue + pooled, one\n  file per sequence; `parquet`: pooled vectors only, one table), `fast`.\n- Results: `manifest.json` (model\u002Fpool\u002Fshapes\u002Fdtype) plus one `\u003Cid>.npz` per\n  sequence (or one shared `embeddings.parquet`). No structure, no MSA, only the\n  language-model trunk, so these are the cheapest jobs.\n- `GET \u002Fv1\u002Fmodels` lists the embedding models (with `dim`) and params too.\n\n## Reading results\n\n`GET \u002Fv1\u002Fjobs\u002F{id}\u002Fresults` gives `ready`, an `artifacts` list (each with a `url`),\nand, for a prediction, per-target `rows` (`confidence_score`, `complex_plddt`,\n`iptm`, affinity fields); for a design, the ranked `designs`. Pass lines mirror\nBoltz-2: interface `iptm` > 0.5, fold `complex_plddt` > 0.7. Download a single\nstructure from its artifact `url`, or the whole bundle from `…\u002Farchive`. A succeeded\n`GET \u002Fv1\u002Fjobs\u002F{id}` also carries `download`, one shell command for every file.\n\n**Confidence matrices.** With `write_pae: true` each target also has an artifact of type\n`pae`, `\u003Cname>_pae.npz` (compressed numpy, about 11 MB at 1,024 tokens), and one of type\n`pae_sidecar`, `\u003Cname>_pae.json`. All arrays are the top-ranked structure's, on one token\naxis of length N in the structure's own order (one token per residue or nucleotide, one per\nligand atom). The keys are the open-source tt-bio engine's:\n\n- `pae` [N, N] float32, Å: expected aligned error of token j when aligned on token i. Not\n  symmetric. This is the matrix Adaptyv's ipSAE pipeline reads.\n- `pde` [N, N] float32, Å: expected distance error, symmetric. Every model but `af2ig`.\n- `contact_probs` [N, N] float32: probability that tokens i and j are within\n  `contact_cutoff_A` (a scalar in the same file, the model's distogram bin edge just under\n  8 Å, 7.71 to 8.00). Symmetric, diagonal 1. Every model.\n\nThe sidecar lists the arrays present (`arrays`, with shape, dtype and units) and, under\n`absent`, any the model cannot compute and why. Read it rather than assuming a key exists,\nand never treat a missing array as zeros. `GET \u002Fv1\u002Fmodels` has the same per model under\n`confidence`. ipTM is a results-row field, not in the file: for a multi-chain input every\nmodel's row has `iptm`, the chain-pair matrix `pair_chains_iptm` and its diagonal\n`chains_ptm`, keyed by chain position (`\"0\"`, `\"1\"`; ESMFold-2 keys by chain ID).\n\n```python\nimport json, numpy as np\nside = json.load(open(\"t1_pae.json\")); m = np.load(\"t1_pae.npz\")\npae = m[\"pae\"]; contacts = m[\"contact_probs\"] if \"contact_probs\" in side[\"arrays\"] else None\n```\n\n## Limits & notes\n\n- The one size limit is **each model's residue ceiling per structure**, the\n  largest size the engine is measured to fold on this hardware: 1920 for\n  Boltz-2, 1664 for ESMFold-2, 1664 for ESMFold-2 Fast,\n  1664 for OpenFold3, 1664 for OpenBind-0, 1600 for RoseTTAFold3, 1536 for OpenDDE · General,\n  1536 for OpenDDE · Antibody-Antigen, and 1024 for every other folding model\n  (Mol-1 included; AF2-IG counts the target plus the binder). Design is bounded the same way: RFdiffusion3's contig\n  (motif + designed regions) caps at 1536, PXDesign's target chains plus\n  binder at 1536, RFD4-Proteina's contig at 512, and `binder_length` is 8-200. `GET \u002Fv1\u002Fmodels` publishes each\n  model's `max_residues`. Over a cap → `400` naming the model and its\n  ceiling. Numeric params are clamped to range.\n- **A model's ceiling is not its track record.** `GET \u002Fv1\u002Fmodels` reports both:\n  `max_residues` is what will be accepted, `measured_wall` is the largest\n  structure that model has actually run on this hardware, and it can be much\n  lower (AF2-IG accepts 1024 and has run 848). Sizes in between are taken\n  and tried on purpose, because a wall that moves with alignment depth or is not\n  monotonic in residue count cannot honestly be a ceiling. Such a job is\n  accepted with a `warnings` entry saying so, and if it does fail on device it\n  comes back `failed` naming the wall and the models that have run that size.\n  One job, nothing else affected. Read `measured_wall` if you want to pick a\n  model that will finish rather than one that will be accepted.\n- `?wait=60` (or the header `Prefer: wait=60`, which also works on a create) is a\n  preference, not a guarantee (RFC 7240). One account is held on two jobs at a\n  time, so wait on one job at a time, not on a whole batch in parallel. Past that,\n  or under heavy load, the request returns the job's current state at once with\n  `Retry-After` and a `wait_refused` field saying no hold happened; pause that many\n  seconds before the next call. Otherwise never\n  `sleep` between waits, the hold already paces the loop. From a shell, `japanfold wait JOB` does the same loop.\n  A queued or running job carries this call as `wait.url`, ready to paste.\n- Errors are RFC 9457 problem+json (`title`, `detail`).\n- **`401` with `sign_in_required: true`** means no key or a bad one. If\n  `JAPANFOLD_API_KEY` is set, send it as `Authorization: Bearer $JAPANFOLD_API_KEY`;\n  if there is none, or the 401 says it is revoked, send the user to\n  `https:\u002F\u002Fjapanfold.aiand.com\u002Faccount\u002Ftoken`.\n- **`402` with `out_of_credit: true`** means the balance is spent. Tell the user;\n  retrying will not help until they add funds.\n- Full machine-readable contract: `GET \u002Fv1\u002Fopenapi.json`.\n",{"name":5,"license":14,"metadata":23,"description":7,"allowed-tools":26},{"category":24,"info-url":25,"provider":11},"biomodels","https:\u002F\u002Fjapanfold.aiand.com",[27,28],"Bash(curl *)","Bash(python3 *)","master","90f981821a82fc167b510fadbadb62beb9581f2f","plugins\u002Fjapanfold\u002Fskills\u002Fjapanfold","https:\u002F\u002Fgithub.com\u002Fjapanfold\u002Fjapanfold","https:\u002F\u002Fjapanfold.aiand.com\u002Fdocs\u002F","https:\u002F\u002Fgithub.com\u002Fjapanfold","https:\u002F\u002Fjapanfold.com","Hosted biomolecular structure prediction & binder design on Tenstorrent — free public API.","2026-11-15 01:19:31",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add japanfold\u002Fjapanfold --skill japanfold",{"tool":44,"command":45},"bunx","bunx skills add japanfold\u002Fjapanfold --skill japanfold",{"tool":47,"command":48},"pnpm","pnpm dlx skills add japanfold\u002Fjapanfold --skill japanfold","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjapanfold\u002Fjapanfold\u002Fblob\u002Fmaster\u002Fplugins\u002Fjapanfold\u002Fskills\u002Fjapanfold\u002FSKILL.md",true,[],[53],{"skillNo":54,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":5,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M786E2GB99GTBZ7KK1ME7R16","https:\u002F\u002Fgithub.com\u002Fjapanfold\u002Fjapanfold\u002Fblob\u002Fmaster\u002FSKILL.md",[],[]]