AGENT SKILL

fpbase-spectral-peaks-read-from-states

Use when a task selects or validates donor/acceptor fluorescent proteins by peak excitation or emission through the FPbase API and direct top-level ex_max/em_max reads return None.

License 许可
Apache-2.0
所属仓库
RUC-NLPIR/FlashRSI
最近更新
2026-11-12
Stars
★ 394
Forks
23

01 前言 Front Matter

name
fpbase-spectral-peaks-read-from-states
flashrsi
{ "level": "topic", "algorithm": "evo_harness", "source_task_ids": [ "protein-assembly" ] }
description
Use when a task selects or validates donor/acceptor fluorescent proteins by peak excitation or emission through the FPbase API and direct top-level ex_max/em_max reads return None.

03 SKILL.md 正文

Read FPbase spectral peaks from per-state records

FPbase protein records do not expose spectral peaks as top-level ex_max/em_max keys. Peak excitation and emission are stored per state, so read them from the relevant state object before filtering or validating candidates.

Procedure:

  1. Fetch and inspect a record before matching:
    p = fpbase_protein(...)  # or requests.get(f"https://www.fpbase.org/api/proteins/{slug}/")
    print(p)
    
  2. If direct reads are None, inspect the states list:
    print(p.get("states"))
    
  3. Read the relevant/default state, e.g.:
    ex = p["states"][0].get("ex_max")
    em = p["states"][0].get("em_max")
    print(ex, em)
    
  4. Use these per-state values for any candidate scoring or donor/acceptor matching; do not trust top-level keys.

Why: an execution script printed candidates like ('10B', None, None, 33) because it read top-level ex_max/em_max; the mCherry record actually stores them as {"states": [{"ex_max": 587, "em_max": 610, ...}]}.

Supporting evidence: protein-assembly (this batch).

04 同仓库更多 Skills

RUC-NLPIR
RUC-NLPIR/FlashRSI

dynamic-resources

Example skill loaded from resources_discover

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

hermes-agent

Use the FlashRSI Hermes Snapshot's headless Python runtime, tools, sessions, and compression paths.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

review-agent

Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

plugin-creator

Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.

★ 394