用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/geneontology/gocam-agent --skill noctua命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | noctua |
| description | Use whenever you need to access the GO-CAM store (Noctua). This is accomplished via an API called barista. |
Use for listing and searching models, create/read/update on models.
This uses the noctua command line tool, which should have been installed when we ran uv sync
I recommend:
alias barista='uv run noctua barista'
You can get help at any time
barista --help
subcommands also have help
Ask your the user to get a barista token. This should be on the test server:
http://noctua-dev.berkeleybop.org/workbench/noctua-landing-page/
Click "login"
The token should be in the environment
export BARISTA_TOKEN=<token>
or in .env
To dump a model in minerva JSON:
barista export-model --model 646ff70100002557
This is the low-level triple representation used natively in Noctua
In gocam-yaml:
barista export-model --model 646ff70100002557 -f gocam-yaml
This is the structured version
Most recent 50:
barista list-models --limit 50
All that reference a gene product
barista list-models --gp UniProtKB:Q14457
Search by title
barista list-models --title "immune"
Please see the /gocam-best-practice skill
The barista command (alias for noctua barista) provides tools for model creation and editing.
# Export model in Minerva JSON format
barista export-model --model <model-id>
# Export in GO-CAM YAML format
barista export-model --model <model-id> -f gocam-yaml
# List recent models
barista list-models --limit 50
# Search models by gene product
barista list-models --gp UniProtKB:Q14457
# Search models by title
barista list-models --title "immune"
# Create a new empty model
barista create-model
# Add an individual (molecular activity, BP, or CC)
barista add-individual --model <model-id> --class <GO-term> --assign <variable-name>
# Create a relationship between individuals
barista add-fact --model <model-id> \
--subject <variable-or-id> \
--object <variable-or-id> \
--predicate <relation-id>
# Add evidence to support a relationship
barista add-fact-evidence --model <model-id> \
--subject <variable-or-id> \
--object <variable-or-id> \
--evidence <evidence-code> \
--reference <PMID>
--live flag--assign) for readability when building complex models