novainsilico/jinko-skills

jinko-task-cmaes

Execute a CMA-ES calibration from confirmed Jinkō inputs: assemble the model, protocol, output sets, fitness data tables, parameter priors, and optimizer options; create and run the Calibration; and return the supported results.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/novainsilico/jinko-skills --skill jinko-task-cmaes

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

CMA-ES Calibration Task

Execute a confirmed calibration specification. Do not invent objectives, constraints, parameter priors, optimizer options, or acceptance criteria.

PREREQUISITE: This skill needs an initialized jinko-sdk connection and an SDK satisfying its metadata.requires_sdk range. Run the jinko-sdk-setup skill (../jinko-sdk-setup/SKILL.md) and proceed only once its check passes. Use JINKO_API_KEY when it is set. Only without a key, call get_session_code again before this skill's own SDK process, because a session code can be exchanged only once. If that skill is not found, install it from novainsilico/jinko-skills.

Inputs

Require:

  • a model SID;
  • parameter priors with physical bounds;
  • seed, thresholdWeightedScore, numberOfIterations, and populationSize;
  • at least one fitness source: calibration-ready data tables and/or an advanced

output set containing objectives;

  • any protocol, simple output set, advanced output set, folder, and name needed

by the specification.

If quantitative evidence has not yet been converted into a calibration-ready table, use jinko-task-extract-data-table. Use jinko-data-table, jinko-output-set, jinko-model, and jinko-protocol only for their respective Jinkō object mechanics.

Workflow

  1. Resolve every input to its intended SID and snapshot. Present missing or

ambiguous inputs instead of guessing.

  1. Use jinko-calibration-cmaes and its bundled creation script. Review its

dry-run output before applying it. The script owns parameter encoding, fitness-table eligibility, bound scaling, creation, and post-creation sanity; stop on an error and surface warnings.

  1. Return the created calibration SID, revision, snapshot, URL, and effective

options for confirmation.

  1. Use the lower-level run script to perform pre-launch sanity, launch, and wait

for a terminal state. Do not relaunch a terminal snapshot. Update the existing calibration (for example with calibration.set_components(...) from jinko-calibration-cmaes) so the intended change has a new snapshot; create a calibration only for an independent configuration.

  1. Use the lower-level inspection interfaces to collect the final status,

stopping reason, performance, results summary, objective weights, and the patient sorted first by optimizationWeightedScore when available. Fetch per-patient scalars, timeseries, errors, or augmented data tables only when their required selectors are present in the result metadata.

Optional uncertainty qualification

After a completed run, offer the user a post-calibration uncertainty qualification, and run it only when the user accepts or asks for it. It also applies to a completed calibration that the user names. Ask the user for the explored range: a factor (best / f to best x f, default f = 2), ranges per parameter, or the prior bounds. Then follow references/uncertainty-qualification.md.

Return

Return:

  • calibration SID, revision, snapshot, and URL;
  • effective input references, priors, and optimizer options;
  • sanity warnings, terminal status, stopping reason, and performance;
  • supported result payloads and best-patient identity, with the iteration and

scenario arm needed for subsequent result calls;

  • a concise account of unavailable requested outputs.

Do not claim a separate run ID, convergence analysis, score-evolution curve, best-patient parameter values, parameter posterior, or simulation-vs-data plot unless the returned API payloads actually provide the required data. By default, draw the plots that the payloads support with the Jinkō plot style (jinko.plotting; see jinko-trial, references/trial-plots.md).

aus demselben Repository

Weitere Skills

Alle Skills
novainsilico
Community

jinko-data-table

Create or inspect Jinkō data tables via the jinko-sdk. Use this skill whenever the user wants to upload observed data for trial overlays or calibration objectives from CSV, SQLite, or pandas DataFrame; check data-table schema columns; inspect existing data tables; or verify metadata.public.validForFitnessFunction. Do not use this skill for output sets; use jinko-output-set for that.

Installationen / 1h
2
GitHub Stars
4
Aktualisiert
16. Nov.
novainsilico
Community

jinko-sdk-setup

Authenticate and configure access to a Jinkō project via the jinko-sdk. Use this skill whenever the user wants to connect to Jinkō, install the SDK, set up credentials or a .env file, verify API access, fail-fast check that a JINKOAPIKEY (preferred) or a JINKOSESSIONCODE works, choose the JINKOPROJECTID when the key reaches several projects, obtain a session code from the Jinko MCP getsessioncode tool when no API key is set, tell a project key from an organization key, choose between JinkoClient

Installationen / 1h
2
GitHub Stars
4
Aktualisiert
16. Nov.
novainsilico
Community

jinko-context

Explain core Jinkō context, navigation, version management, and domain language for agents and users. Use this skill whenever the user needs a mental model of Jinkō projects, folders, project items, snapshots, references, extracts, highlights, protocols, trials, calibration, virtual populations, traceability links, or modeling context; when translating between generic terms and Jinkō terminology; or when an agent needs orientation before navigating or modifying Jinkō artifacts. It includes a saf

Installationen / 1h
1
GitHub Stars
4
Aktualisiert
16. Nov.
novainsilico
Community

jinko

- Discover and route Jinkō QSP and mechanistic-modeling requests to the public Jinkō skill that owns the work. Use when the user is starting a Jinkō session, asks what capability or skill to use, describes a multi-area modeling request, or has not yet identified the relevant jinko- or jinko-task- skill. This skill does not make scientific decisions, plan workflows, execute SDK calls, or decide that a task step is complete.

Installationen / 1h
1
GitHub Stars
1
Aktualisiert
7. Sept.