novainsilico/jinko-skills

jinko-sdk-setup

Authenticate and configure access to a Jinkō project via the jinko-sdk.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/novainsilico/jinko-skills --skill jinko-sdk-setup

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Jinkō SDK Setup

Use this skill for SDK setup and credential checks only. Keep the user focused on proving that Python can authenticate against Jinkō and read one project item list before moving to model, vpop, protocol, output-set, or trial workflows.

BE CAREFUL: the right package is jinko-sdk that export a jinko module. jinko is a different package unrelated to the Jinko SDK.

Workflow

SDK VERSION PREREQUISITE: Run the check below. It ships with the SDK and verifies the installed SDK against every neighboring SDK-dependent skill before API access.

Run the deterministic check and follow its success or error message:

bash
python -m jinko.cli.check_jinko_connection

The script:

  • Loads .env when python-dotenv is installed.
  • Redacts sensitive values when showing configuration.
  • Requires both JINKO_API_KEY and JINKO_PROJECT_ID.
  • Constructs JinkoClient() from environment variables.
  • Calls client.auth_check() to prove authentication.
  • Calls client.search(limit=1, show_table=False, show_table_hint=False) to prove minimal read-only project-item access.
  • Prints minimal output on success.

Use --show-config only when debugging local setup; it prints presence and redacted values, never the full API key.

After Validation

Once the connection check passes, prefer client.search(...) for project exploration because it gives the user an immediate view across project items.

Use a minimal example like:

python
from jinko import JinkoClient

client = JinkoClient()
client.search(limit=20, columns="compact")

Use search() when the user wants to:

  • browse what exists in the configured project
  • find an item by name or free text
  • orient themselves before choosing a model, protocol, vpop, or trial workflow

The setup script uses a one-item, non-rendered search() only as its project-read check after authentication. Use a larger interactive search() only for exploration after validation succeeds.

Troubleshooting

Run the check again and act on its deterministic diagnostic. Do not replace it with ad hoc checks or ask the user to share secrets.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
novainsilico
コミュニティ

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.

導入数
1
GitHub Stars
1
更新日
9月7日
novainsilico
コミュニティ

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, sources, extracts, protocols, trials, calibration, virtual populations, references, or modeling context; when translating between generic terms and Jinkō terminology; or when an agent needs orientation before navigating or modifying Jinkō artifacts. This skill is conceptual and terminolo

導入数
1
GitHub Stars
1
更新日
9月7日
novainsilico
コミュニティ

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.

導入数
1
GitHub Stars
1
更新日
9月7日
novainsilico
コミュニティ

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. Use when the user wants to perform a CMA-ES calibration, not when they need to choose a calibration strategy, infer priors, design objectives, or decide whether results are acceptable.

導入数
1
GitHub Stars
1
更新日
9月7日